Chapter Eight

Configuration of Switch
This chapter will walk you through the commands and information that are related to the configuration of switch. I will shed light on the hostnames, passwords, duplex and speed settings, interface descriptions and port security and I will explain each command and its purpose. The first on the line is the help command.
Command Modes
Command Verification
Resetting Configuration
The following settings are for the 1900 series switches.
The following settings are for the 2900/2950 series switches.
Setting Hostnames
For 1900 series switches:
For 2900/2950 series switches:
Setting passwords for 1900 Series Switches:
Setting passwords in 2900/2950 series:
Setting IP Addresses
For 2900/2950 series:
Interface Descriptions
For 2900/2950 series switches:
Duplex Settings
Duplex Settings for 2900/2950 series:
Web-based Interface for Configuration Setting
MAC Address Management
Configuring Static MAC Addresses
For 2900/2950 series
Port Security
For 2900 series:
For 2950 series:
Port Security Violation
2900 Switch Configuration
Spanning Tree Protocol
In this section, I will explain the concept of spanning-tree verification and the troubleshooting process.
Verifying Spanning-Tree Protocol
Changing Spanning-tree Priority of the Switch
Changing the Spanning Tree Cost
Changing Spanning Tree
Portfast BPDU Guard Command
Configuration of EtherChannel
Verification
The EtherChannel may combine about two to eight parallel links of Ethernet. The 1900 switches need 9.00.03 or the later Enterprise Edition software, the 2900 switches need the IOS 11.2(8)SA or later versions and the 2950 switches need the IOS 12.0(5.2)WC(1). You can set up the auto mode, the desirable mode and the on mode.
The auto mode tells the switch to wait for the other switches to kick off the EtherChannel negotiations. If the auto mode is set on both sides, the EtherChannel will never be able to form. Both sides will keep waiting for the other side to initiate negotiations. The desirable mode tells the switch that it is willing to turn the EtherChannel on. The on mode tells the switch that it wants to form the Ether Channel.