Software Configuration Guide
Page 1
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide Cisco IOS Release 12.1(20)EA2 May 2004 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: DOC-7811380= Text Part Number: 78-11380-10
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide Cisco IOS Release 12.1(20)EA2 May 2004 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: DOC-7811380= Text Part Number: 78-11380-10
Software Configuration Guide
Page 2
... or Website are trademarks of their respective owners. All other trademarks mentioned in the United States and certain other company. (0403R) Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide Copyright © 2001-2004 Cisco Systems, Inc. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF...
... or Website are trademarks of their respective owners. All other trademarks mentioned in the United States and certain other company. (0403R) Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide Copyright © 2001-2004 Cisco Systems, Inc. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF...
Software Configuration Guide
Page 3
... Concepts for Using the Switch 1-10 Small to Medium-Sized Network Configuration 1-13 Collapsed Backbone and Switch Cluster Configuration 1-14 Hotel Network Configuration 1-15 Service-Provider Central-Office Configuration 1-18 Large Campus Configuration 1-19 Multidwelling Network Using Catalyst 2950 Switches 1-20 Long-Distance, High-Bandwidth Transport Configuration 1-22 Where to Go Next 1-22 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide iii
... Concepts for Using the Switch 1-10 Small to Medium-Sized Network Configuration 1-13 Collapsed Backbone and Switch Cluster Configuration 1-14 Hotel Network Configuration 1-15 Service-Provider Central-Office Configuration 1-18 Large Campus Configuration 1-19 Multidwelling Network Using Catalyst 2950 Switches 1-20 Long-Distance, High-Bandwidth Transport Configuration 1-22 Where to Go Next 1-22 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide iii
Software Configuration Guide
Page 4
...P T E R Using the Command-Line Interface 2-1 Cisco IOS Command Modes 2-1 Getting Help 2-3 Abbreviating Commands ...Switch Alarm Configuration 3-4 Configuring the Power Supply Alarm 3-5 Setting the Power Mode 3-5 Setting the Power Supply Alarm Options 3-5 Configuring the Switch Temperature Alarms 3-6 Setting a Secondary Temperature Threshold for the Switch 3-6 Associating the Temperature Alarms to a Relay 3-7 Configuring the FCS Bit Error Rate Alarm 3-7 Setting the FCS Error Threshold 3-8 Setting the FCS Error Hysteresis Threshold 3-8 Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
...P T E R Using the Command-Line Interface 2-1 Cisco IOS Command Modes 2-1 Getting Help 2-3 Abbreviating Commands ...Switch Alarm Configuration 3-4 Configuring the Power Supply Alarm 3-5 Setting the Power Mode 3-5 Setting the Power Supply Alarm Options 3-5 Configuring the Switch Temperature Alarms 3-6 Setting a Secondary Temperature Threshold for the Switch 3-6 Associating the Temperature Alarms to a Relay 3-7 Configuring the FCS Bit Error Rate Alarm 3-7 Setting the FCS Error Threshold 3-8 Setting the FCS Error Hysteresis Threshold 3-8 Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
Software Configuration Guide
Page 5
... Plug-In 4-9 Cross-Platform Considerations 4-9 HTTP Access to CMS 4-9 Specifying an HTTP Port (Nondefault Configuration Only) 4-10 Configuring an Authentication Method (Nondefault Configuration Only) 4-10 Displaying CMS 4-10 Launching CMS 4-10 Front Panel View 4-13 Topology View 4-14 CMS Icons 4-15 Where to Go Next 4-15 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide v
... Plug-In 4-9 Cross-Platform Considerations 4-9 HTTP Access to CMS 4-9 Specifying an HTTP Port (Nondefault Configuration Only) 4-10 Configuring an Authentication Method (Nondefault Configuration Only) 4-10 Displaying CMS 4-10 Launching CMS 4-10 Front Panel View 4-13 Topology View 4-14 CMS Icons 4-15 Where to Go Next 4-15 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide v
Software Configuration Guide
Page 6
... Displaying Scheduled Reload Information 5-17 Configuring IE2100 CNS Agents 6-1 Understanding IE2100 Series Configuration Registrar Software 6-1 CNS Configuration Service 6-2 CNS Event Service 6-3 NameSpace Mapper 6-3 What You Should Know About ConfigID, DeviceID, and Host Name 6-3 ConfigID 6-3 DeviceID 6-4 Host Name and DeviceID 6-4 Using Host Name, DeviceID, and ConfigID 6-4 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide vi 78-11380-10
... Displaying Scheduled Reload Information 5-17 Configuring IE2100 CNS Agents 6-1 Understanding IE2100 Series Configuration Registrar Software 6-1 CNS Configuration Service 6-2 CNS Event Service 6-3 NameSpace Mapper 6-3 What You Should Know About ConfigID, DeviceID, and Host Name 6-3 ConfigID 6-3 DeviceID 6-4 Host Name and DeviceID 6-4 Using Host Name, DeviceID, and ConfigID 6-4 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide vi 78-11380-10
Software Configuration Guide
Page 7
... Standby Groups 7-12 Automatic Recovery of Cluster Configuration 7-14 IP Addresses 7-14 Host Names 7-15 Passwords 7-15 SNMP Community Strings 7-15 TACACS+ and RADIUS 7-16 Access Modes in CMS 7-16 Management VLAN 7-16 LRE Profiles 7-17 Availability of Switch-Specific Features in Switch Clusters 7-17 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide vii
... Standby Groups 7-12 Automatic Recovery of Cluster Configuration 7-14 IP Addresses 7-14 Host Names 7-15 Passwords 7-15 SNMP Community Strings 7-15 TACACS+ and RADIUS 7-16 Access Modes in CMS 7-16 Management VLAN 7-16 LRE Profiles 7-17 Availability of Switch-Specific Features in Switch Clusters 7-17 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide vii
Software Configuration Guide
Page 8
... Default System Name and Prompt Configuration 8-16 Configuring a System Name 8-16 Configuring a System Prompt 8-17 Understanding DNS 8-17 Default DNS Configuration 8-18 Setting Up DNS 8-18 Displaying the DNS Configuration 8-19 Creating a Banner 8-19 Default Banner Configuration 8-19 Configuring a Message-of-the-Day Login Banner 8-20 Configuring a Login Banner 8-21 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide viii 78-11380-10
... Default System Name and Prompt Configuration 8-16 Configuring a System Name 8-16 Configuring a System Prompt 8-17 Understanding DNS 8-17 Default DNS Configuration 8-18 Setting Up DNS 8-18 Displaying the DNS Configuration 8-19 Creating a Banner 8-19 Default Banner Configuration 8-19 Configuring a Message-of-the-Day Login Banner 8-20 Configuring a Login Banner 8-21 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide viii 78-11380-10
Software Configuration Guide
Page 9
... TACACS+ Server Host and Setting the Authentication Key 9-13 Configuring TACACS+ Login Authentication 9-14 Configuring TACACS+ Authorization for Privileged EXEC Access and Network Services 9-16 Starting TACACS+ Accounting 9-17 Displaying the TACACS+ Configuration 9-17 Controlling Switch Access with RADIUS 9-18 Understanding RADIUS 9-18 RADIUS Operation 9-19 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide ix
... TACACS+ Server Host and Setting the Authentication Key 9-13 Configuring TACACS+ Login Authentication 9-14 Configuring TACACS+ Authorization for Privileged EXEC Access and Network Services 9-16 Starting TACACS+ Accounting 9-17 Displaying the TACACS+ Configuration 9-17 Controlling Switch Access with RADIUS 9-18 Understanding RADIUS 9-18 RADIUS Operation 9-19 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide ix
Software Configuration Guide
Page 10
... VLAN Ports 10-7 Using 802.1x with VLAN Assignment 10-7 Using 802.1x with Guest VLAN 10-8 Configuring 802.1x Authentication 10-9 Default 802.1x Configuration 10-9 802.1x Configuration Guidelines 10-10 Upgrading from a Previous Software Release 10-11 Enabling 802.1x Authentication 10-11 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide x 78-11380-10
... VLAN Ports 10-7 Using 802.1x with VLAN Assignment 10-7 Using 802.1x with Guest VLAN 10-8 Configuring 802.1x Authentication 10-9 Default 802.1x Configuration 10-9 802.1x Configuration Guidelines 10-10 Upgrading from a Previous Software Release 10-11 Enabling 802.1x Authentication 10-11 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide x 78-11380-10
Software Configuration Guide
Page 11
... 11-10 Setting the Interface Speed and Duplex Parameters on a Non-LRE Switch Port 11-12 Setting the Interface Speed and Duplex Parameters on an LRE Switch Port 11-12 Configuring Media Types for Gigabit Ethernet Interfaces on LRE Switches 11-13 Configuring IEEE 802.3z Flow Control on Gigabit Ethernet Ports 11-13 Adding... Interface and Controller Status 11-15 Clearing and Resetting Interfaces and Counters 11-16 Shutting Down and Restarting the Interface 11-17 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xi
... 11-10 Setting the Interface Speed and Duplex Parameters on a Non-LRE Switch Port 11-12 Setting the Interface Speed and Duplex Parameters on an LRE Switch Port 11-12 Configuring Media Types for Gigabit Ethernet Interfaces on LRE Switches 11-13 Configuring IEEE 802.3z Flow Control on Gigabit Ethernet Ports 11-13 Adding... Interface and Controller Status 11-15 Clearing and Resetting Interfaces and Counters 11-16 Shutting Down and Restarting the Interface 11-17 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xi
Software Configuration Guide
Page 12
... Macros 12-1 Understanding Smartports Macros 12-1 Configuring Smartports Macros 12-2 Default Smartports Macro Configuration 12-2 Smartports Macro Configuration Guidelines 12-3 Creating Smartports Macros 12-4 Applying Smartports Macros 12-5 Applying Cisco-default Smartports Macros 12-6 Displaying Smartports Macros 12-8 Configuring LRE 13-1 Understanding LRE Features 13-1 Ports on the Catalyst 2950 LRE Switches 13-1 LRE Links and LRE Profiles...
... Macros 12-1 Understanding Smartports Macros 12-1 Configuring Smartports Macros 12-2 Default Smartports Macro Configuration 12-2 Smartports Macro Configuration Guidelines 12-3 Creating Smartports Macros 12-4 Applying Smartports Macros 12-5 Applying Cisco-default Smartports Macros 12-6 Displaying Smartports Macros 12-8 Configuring LRE 13-1 Understanding LRE Features 13-1 Ports on the Catalyst 2950 LRE Switches 13-1 LRE Links and LRE Profiles...
Software Configuration Guide
Page 13
... Displaying LRE Status 13-27 Configuring STP 14-1 Understanding Spanning-Tree Features 14-1 STP Overview 14-2 Spanning-Tree Topology and BPDUs 14-3 Bridge ID, Switch Priority, and Extended System ID...Configuring Spanning-Tree Features 14-11 Default Spanning-Tree Configuration 14-11 Spanning-Tree Configuration Guidelines 14-12 Changing the Spanning-Tree Mode 14-13 Disabling Spanning Tree 14-14 Configuring the Root Switch 14-14 Configuring a Secondary Root Switch 14-16 Configuring the Port Priority 14-17 Configuring the Path Cost 14-19 Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
... Displaying LRE Status 13-27 Configuring STP 14-1 Understanding Spanning-Tree Features 14-1 STP Overview 14-2 Spanning-Tree Topology and BPDUs 14-3 Bridge ID, Switch Priority, and Extended System ID...Configuring Spanning-Tree Features 14-11 Default Spanning-Tree Configuration 14-11 Spanning-Tree Configuration Guidelines 14-12 Changing the Spanning-Tree Mode 14-13 Disabling Spanning Tree 14-14 Configuring the Root Switch 14-14 Configuring a Secondary Root Switch 14-16 Configuring the Port Priority 14-17 Configuring the Path Cost 14-19 Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
Software Configuration Guide
Page 14
...-13 Configuring the Root Switch 15-14 Configuring a Secondary Root Switch 15-16 Configuring the Port Priority 15-17 Configuring the Path Cost 15-18 Configuring the Switch Priority 15-19 Configuring the Hello Time 15-19 Configuring the Forwarding-Delay Time 15-20 Configuring the Maximum-Aging Time 15-21 Configuring the Maximum-Hop Count 15-21 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide...
...-13 Configuring the Root Switch 15-14 Configuring a Secondary Root Switch 15-16 Configuring the Port Priority 15-17 Configuring the Path Cost 15-18 Configuring the Switch Priority 15-19 Configuring the Hello Time 15-19 Configuring the Forwarding-Delay Time 15-20 Configuring the Maximum-Aging Time 15-21 Configuring the Maximum-Hop Count 15-21 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide...
Software Configuration Guide
Page 15
... T E R Specifying the Link Type to Ensure Rapid Transitions 15-22 Restarting the Protocol Migration Process 15-22 Displaying the MST Configuration and Status 15-23 Configuring Optional Spanning-Tree Features 16-1 Understanding Optional Spanning-Tree Features 16-1 Understanding Port Fast 16-2 Understanding BPDU Guard 16-2 Understanding BPDU Filtering... 16-19 Displaying the Spanning-Tree Status 16-20 Configuring VLANs 17-1 Understanding VLANs 17-1 Supported VLANs 17-2 VLAN Port Membership Modes 17-3 Contents 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xv
... T E R Specifying the Link Type to Ensure Rapid Transitions 15-22 Restarting the Protocol Migration Process 15-22 Displaying the MST Configuration and Status 15-23 Configuring Optional Spanning-Tree Features 16-1 Understanding Optional Spanning-Tree Features 16-1 Understanding Port Fast 16-2 Understanding BPDU Guard 16-2 Understanding BPDU Filtering... 16-19 Displaying the Spanning-Tree Status 16-20 Configuring VLANs 17-1 Understanding VLANs 17-1 Supported VLANs 17-2 VLAN Port Membership Modes 17-3 Contents 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xv
Software Configuration Guide
Page 16
... Token Ring VLANs 17-5 Normal-Range VLAN Configuration Guidelines 17-5 VLAN Configuration Mode Options 17-6 VLAN Configuration in config-vlan Mode 17-6 VLAN Configuration in VLAN Configuration Mode 17-6 Saving VLAN Configuration 17-7 Default Ethernet VLAN Configuration 17-7 Creating or Modifying an Ethernet VLAN ... Cost 17-24 Configuring VMPS 17-25 Understanding VMPS 17-25 Dynamic Port VLAN Membership 17-26 VMPS Database Configuration File 17-26 Default VMPS Client Configuration 17-27 VMPS Configuration Guidelines 17-27 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xvi 78...
... Token Ring VLANs 17-5 Normal-Range VLAN Configuration Guidelines 17-5 VLAN Configuration Mode Options 17-6 VLAN Configuration in config-vlan Mode 17-6 VLAN Configuration in VLAN Configuration Mode 17-6 Saving VLAN Configuration 17-7 Default Ethernet VLAN Configuration 17-7 Creating or Modifying an Ethernet VLAN ... Cost 17-24 Configuring VMPS 17-25 Understanding VMPS 17-25 Dynamic Port VLAN Membership 17-26 VMPS Database Configuration File 17-26 Default VMPS Client Configuration 17-27 VMPS Configuration Guidelines 17-27 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xvi 78...
Software Configuration Guide
Page 17
...18-4 VTP Pruning 18-4 Configuring VTP 18-6 Default VTP Configuration 18-6 VTP Configuration Options 18-7 VTP Configuration in Global Configuration Mode 18-7 VTP Configuration in VLAN Configuration Mode 18-7 VTP Configuration Guidelines 18-8 Domain Names...Configuration Requirements 18-9 Configuring a VTP Server 18-9 Configuring a VTP Client 18-11 Disabling VTP (VTP Transparent Mode) 18-12 Enabling VTP Version 2 18-13 Enabling VTP Pruning 18-14 Adding a VTP Client Switch to a VTP Domain 18-14 Monitoring VTP 18-16 Contents 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
...18-4 VTP Pruning 18-4 Configuring VTP 18-6 Default VTP Configuration 18-6 VTP Configuration Options 18-7 VTP Configuration in Global Configuration Mode 18-7 VTP Configuration in VLAN Configuration Mode 18-7 VTP Configuration Guidelines 18-8 Domain Names...Configuration Requirements 18-9 Configuring a VTP Server 18-9 Configuring a VTP Client 18-11 Disabling VTP (VTP Transparent Mode) 18-12 Enabling VTP Version 2 18-13 Enabling VTP Pruning 18-14 Adding a VTP Client Switch to a VTP Domain 18-14 Monitoring VTP 18-16 Contents 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
Software Configuration Guide
Page 18
...Voice VLAN 19-1 Configuring Voice VLAN 19-2 Default Voice VLAN Configuration 19-2 Voice VLAN Configuration Guidelines 19-3 Configuring a Port to Connect to a Cisco 7960 IP Phone 19-3 Configuring Ports to Carry Voice Traffic in 802.1Q Frames 19-4 Configuring Ports to Carry...Configuration 20-8 Configuring IGMP Snooping and MVR 21-1 Understanding IGMP Snooping 21-1 IGMP Versions 21-2 Joining a Multicast Group 21-3 Leaving a Multicast Group 21-4 Immediate-Leave Processing 21-5 IGMP Report Suppression 21-5 Source-Only Networks 21-5 xviii Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
...Voice VLAN 19-1 Configuring Voice VLAN 19-2 Default Voice VLAN Configuration 19-2 Voice VLAN Configuration Guidelines 19-3 Configuring a Port to Connect to a Cisco 7960 IP Phone 19-3 Configuring Ports to Carry Voice Traffic in 802.1Q Frames 19-4 Configuring Ports to Carry...Configuration 20-8 Configuring IGMP Snooping and MVR 21-1 Understanding IGMP Snooping 21-1 IGMP Versions 21-2 Joining a Multicast Group 21-3 Leaving a Multicast Group 21-4 Immediate-Leave Processing 21-5 IGMP Report Suppression 21-5 Source-Only Networks 21-5 xviii Catalyst 2950 and Catalyst 2955 Switch Software Configuration...
Software Configuration Guide
Page 19
... Configuration 21-27 Configuring Port-Based Traffic Control 22-1 Configuring Storm Control 22-1 Understanding Storm Control 22-2 Default Storm Control Configuration 22-2 Enabling Storm Control 22-2 Disabling Storm Control 22-4 Configuring Protected Ports 22-4 Configuring Port Blocking 22-5 Blocking Flooded Traffic on an Interface 22-5 Resuming Normal Forwarding on a Port 22-6 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch...
... Configuration 21-27 Configuring Port-Based Traffic Control 22-1 Configuring Storm Control 22-1 Understanding Storm Control 22-2 Default Storm Control Configuration 22-2 Enabling Storm Control 22-2 Disabling Storm Control 22-4 Configuring Protected Ports 22-4 Configuring Port Blocking 22-5 Blocking Flooded Traffic on an Interface 22-5 Resuming Normal Forwarding on a Port 22-6 78-11380-10 Catalyst 2950 and Catalyst 2955 Switch...
Software Configuration Guide
Page 20
... Interface Shut Down by UDLD 23-6 Displaying UDLD Status 23-7 Configuring CDP 24-1 Understanding CDP 24-1 Configuring CDP 24-2 Default CDP Configuration 24-2 Configuring the CDP Characteristics 24-2 Disabling and Enabling CDP 24-3 Disabling and Enabling CDP on an Interface 24-4 Monitoring and Maintaining CDP 24-5 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xx 78-11380-10
... Interface Shut Down by UDLD 23-6 Displaying UDLD Status 23-7 Configuring CDP 24-1 Understanding CDP 24-1 Configuring CDP 24-2 Default CDP Configuration 24-2 Configuring the CDP Characteristics 24-2 Disabling and Enabling CDP 24-3 Disabling and Enabling CDP on an Interface 24-4 Monitoring and Maintaining CDP 24-5 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xx 78-11380-10