Category:

Initial setup of Cisco Catalyst 2490, 2900

cisco-1

Almost all models of this configuration are configured identically.

After entering through the console on the communicator we will see:

Switch>

All main settings are made in the "enable" mode.

Next you need to go to "enable" mode :

Switch> enable

Set the password on the switch. In order to keep all the settings in secret☺. To do this, go to configuration mode:

Switch# configure terminal
Switch (config)# enable password YOUR_PASSWORD

Put the password on telnet:

Switch(config)# line vty 0 15
Switch(config-line)#password YOUR_TELNET_PASSWORD

Allow login via telnet:

Switch(config-line)# login
Switch(config)# exit

Assign host name:

Switch(config)# hostname cisco

Add the network address to the switch (by default, only the first VLAN is set):

cisco(config)# interface vlan 1
cisco(config-if)# ip address 192.168.1.2 255.255.255.0
cisco(config-if)# exit

Add DNS server address:

cisco(config)# ip name-server 192.168.1.111
cisco(config)# exit

Set the time:

cisco# clock set 09:00:50 16 Sep 2012

We will configure interfaces at once, after these settings the switch has to start pinging:

cisco# configure terminal
cisco(config)# interface vlan 1
cisco(config-if-range)# description not_used
cisco(config-if-range)# no shutdown
cisco(config-if-range)# no cdp enable
cisco(config-if-range)# exit

Turn on the web interface, I think it will not hurt:

cisco(config)# ip http server

Set the default gateway:

cisco(config)# ip default-gateway 192.168.1.1
cisco(config)#exit

To view the configuration, use the command:

cisco#show running-config

To save the configuration, use the command:

cisco# copy running-config startup-config

Or:

cisco# wri

At this point, the basic setup is complete.


Posted: 2013-02-20

Comments