Most of the switch functions are built into the device to enhance its performance. Due to this fact switch can be implemented with minimum configuration. However, most the configuration parameters can be changed according to your need. To configure the switch you have to enter into the command-line interface which allows you to change the configuration parameters. The task involved in configuring a switch is setting the basic information including switch’s name, manage IP address and the default gateway. In order to install and configure, you have to understand the start up sequence of the switch and describe the normal boot sequence. In this lesson, you will learn the process of starting and configuring a 1900 switch and 2950 switch.
Switch Bootup Process
When 1900 switch is switched on, it runs through a power-on-self-test (POST). Initially all the port LEDs are green and the POST determines whether all ports are in good state. The ports LEDs which are in good condition blinks any they are then turned off. If the POST finds a port which has failed both the system LED and the port’s LED turn amber. Color cable is connected to the switch, the menu given below appears after the POST.
By pressing K, you can use the command-line interface, and when you press M, you ‘II be allowed to configure the switch through a menu system. Pressing I allows you to configure the IP configuration of the switch, but you can also do this through the menu or CLI at any time. And once the IP configuration is set, this selection no longer appears. This is what the switch’s output looks like on the console screen when the switch is powered up:
You can just plug the switch into network and connect network segments together without any configuration! This is because switch ports are enabled by default, and you don’t need an IP address on a switch to make it work in a network-unless you want to manage the switch via the network.
Here’s the 2950 switch’s initial output:
When changes are made to the switch’s running-config, the switch will automatically copy the configuration itself on the NVRAM. This is the major difference between router and switch when user enters copy running-config startup-config.
But the 2950 switch has a running-config and a startup-config. User can save the configuration by using copy run start command and user can erase the contents of NVRAM with the help of erase startup-config command.
To delete files from 2950, just type erase startup-config from the privileged mode prompt like this:
Unlike the 1900, when you erase the configuration on the 2950, you have to reload the switch before the running-config actually deletes the file.
Switch Bootup Process
When 1900 switch is switched on, it runs through a power-on-self-test (POST). Initially all the port LEDs are green and the POST determines whether all ports are in good state. The ports LEDs which are in good condition blinks any they are then turned off. If the POST finds a port which has failed both the system LED and the port’s LED turn amber. Color cable is connected to the switch, the menu given below appears after the POST.
By pressing K, you can use the command-line interface, and when you press M, you ‘II be allowed to configure the switch through a menu system. Pressing I allows you to configure the IP configuration of the switch, but you can also do this through the menu or CLI at any time. And once the IP configuration is set, this selection no longer appears. This is what the switch’s output looks like on the console screen when the switch is powered up:
1 user(s) now connected to Management Console:When you power on a 2950 switch, it’s just like a Cisco router-the switch comes up into setup mode. However, unlike a router, the switch is actually usable in fresh-out-of-the-box condition.
User Interface Menu
[M] Menus
[k] Command Line
[I] IP Configuration
Enter selection Key:
CLI session with the switch is open
To end the CLI session, enter[Exit].
You can just plug the switch into network and connect network segments together without any configuration! This is because switch ports are enabled by default, and you don’t need an IP address on a switch to make it work in a network-unless you want to manage the switch via the network.
Here’s the 2950 switch’s initial output:
At any point you may enter a question mark '?' for help.Erasing the Switch Configuration
Use Ctrl+c to abort configuration dialog at any prompt
Default settings are in square brackets '[]'.
Continue with configuration dialog?[Yes/No]:yes
Enter IP address: 16.0.0.5
Enter IP netmask: 255.0.0.0
Would you like to enter a default gateway address?[Yes]: 255.0.0.0
% Please answer 'yes' or 'no'.
Would you like to enter a default gateway address?[Yes]: yes
IP address of default gateway: 17.0.0.5
Enter host name[Switch]: CCNA
The enable secret is a one-way cryptographic secret used
instead of enable password when it exists.
Enter enable secret: CCNA
Would you like to configure Telnet password?[Yes]: yes
Enter Telnet password: 123
Would you like to enable as a cluster command switch?[Yes/No]: no
The following configuration command script was created:
ip subnet-zero
interface VLAN1
ip address 16.0.0.5 255.0.0.0
ip default-gateway 17.0.0.5
hostname CCNA
enable secret 5
line vty 0 15
password 123
snmp community private rw
snmp community public ro
!
end
Use this configuration?[yes/no]: yes
Building configuration....
[OK]
Use the enabled mode 'configure' command to modify this configuration
Press RETURN to get started
CCNA>
When changes are made to the switch’s running-config, the switch will automatically copy the configuration itself on the NVRAM. This is the major difference between router and switch when user enters copy running-config startup-config.
But the 2950 switch has a running-config and a startup-config. User can save the configuration by using copy run start command and user can erase the contents of NVRAM with the help of erase startup-config command.
To delete files from 2950, just type erase startup-config from the privileged mode prompt like this:
CCNA#erase startup-config
Erasing the nvram filesystem will remove all files continue?[confirm](enter)
[OK]
Erase of nvram: complete
CCNA#
Unlike the 1900, when you erase the configuration on the 2950, you have to reload the switch before the running-config actually deletes the file.
0 comments:
Post a Comment