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
..., Inc.; 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. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR...
..., Inc.; 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. IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR...
Software Configuration Guide
Page 3
...xxix Conventions xxx Related Publications xxxi Obtaining Documentation xxxi Cisco.com xxxi Ordering Documentation xxxii Documentation Feedback xxxii Obtaining Technical Assistance xxxii Cisco Technical Support Website xxxiii Submitting a Service Request xxxiii ...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...
...xxix Conventions xxx Related Publications xxxi Obtaining Documentation xxxi Cisco.com xxxi Ordering Documentation xxxii Documentation Feedback xxxii Obtaining Technical Assistance xxxii Cisco Technical Support Website xxxiii Submitting a Service Request xxxiii ...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
Page 4
... 2 C H A P T E R 3 C H A P T E R Using the Command-Line Interface 2-1 Cisco IOS Command Modes 2-1 Getting Help 2-3 Abbreviating Commands 2-4 Using no and default Forms of Commands 2-4 Understanding CLI Messages 2-5 ...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 Guide iv ...
... 2 C H A P T E R 3 C H A P T E R Using the Command-Line Interface 2-1 Cisco IOS Command Modes 2-1 Getting Help 2-3 Abbreviating Commands 2-4 Using no and default Forms of Commands 2-4 Understanding CLI Messages 2-5 ...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 Guide iv ...
Software Configuration Guide
Page 5
... 4 C H A P T E R Configuring Alarm Profiles 3-9 Creating or Modifying an Alarm Profile 3-9 Attaching an Alarm Profile to a Specific Port 3-10 Enabling SNMP Traps 3-11 Displaying Catalyst 2955 Switch Alarms Status 3-11 Getting Started with CMS 4-1 Understanding CMS 4-1 Front Panel View 4-1 Topology View 4-2 CMS Menu Bar, Toolbar, and Feature Bar 4-2 Online Help 4-5 Configuration Modes 4-5 ...) 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
... 4 C H A P T E R Configuring Alarm Profiles 3-9 Creating or Modifying an Alarm Profile 3-9 Attaching an Alarm Profile to a Specific Port 3-10 Enabling SNMP Traps 3-11 Displaying Catalyst 2955 Switch Alarms Status 3-11 Getting Started with CMS 4-1 Understanding CMS 4-1 Front Panel View 4-1 Topology View 4-2 CMS Menu Bar, Toolbar, and Feature Bar 4-2 Online Help 4-5 Configuration Modes 4-5 ...) 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
... Address and Default Gateway 5-1 Understanding the Boot Process 5-1 Assigning Switch Information 5-2 Default Switch Information 5-3 Understanding DHCP-Based Autoconfiguration 5-3 DHCP Client Request Process 5-4 Configuring DHCP-Based Autoconfiguration 5-5 DHCP Server Configuration Guidelines 5-5 Configuring the TFTP Server 5-6 Configuring ...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
... Address and Default Gateway 5-1 Understanding the Boot Process 5-1 Assigning Switch Information 5-2 Default Switch Information 5-3 Understanding DHCP-Based Autoconfiguration 5-3 DHCP Client Request Process 5-4 Configuring DHCP-Based Autoconfiguration 5-5 DHCP Server Configuration Guidelines 5-5 Configuring the TFTP Server 5-6 Configuring ...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
...Initial Configuration 6-9 Enabling a Partial Configuration 6-12 Displaying CNS Configuration 6-13 Clustering Switches 7-1 Understanding Switch Clusters 7-2 Command Switch Characteristics 7-3 Standby Command Switch Characteristics 7-3 Candidate Switch and Member Switch Characteristics 7-4 Planning a Switch Cluster 7-5 Automatic Discovery of Cluster Candidates and Members 7-5 Discovery through CDP Hops... 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
...Initial Configuration 6-9 Enabling a Partial Configuration 6-12 Displaying CNS Configuration 6-13 Clustering Switches 7-1 Understanding Switch Clusters 7-2 Command Switch Characteristics 7-3 Standby Command Switch Characteristics 7-3 Candidate Switch and Member Switch Characteristics 7-4 Planning a Switch Cluster 7-5 Automatic Discovery of Cluster Candidates and Members 7-5 Discovery through CDP Hops... 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
... H A P T E R Creating a Switch Cluster 7-18 Enabling a Command Switch 7-18 Adding Member Switches 7-19 Creating a Cluster Standby Group 7-21 Verifying a Switch Cluster 7-22 Using the CLI to Manage Switch Clusters 7-23 Catalyst 1900 and Catalyst 2820 CLI Considerations 7-24 Using SNMP to Manage Switch Clusters 7-24 Administering the Switch 8-1 Managing the System Time and Date 8-1 ... 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
... H A P T E R Creating a Switch Cluster 7-18 Enabling a Command Switch 7-18 Adding Member Switches 7-19 Creating a Cluster Standby Group 7-21 Verifying a Switch Cluster 7-22 Using the CLI to Manage Switch Clusters 7-23 Catalyst 1900 and Catalyst 2820 CLI Considerations 7-24 Using SNMP to Manage Switch Clusters 7-24 Administering the Switch 8-1 Managing the System Time and Date 8-1 ... 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
... the Privilege Level for a Command 9-8 Changing the Default Privilege Level for Lines 9-9 Logging into and Exiting a Privilege Level 9-10 Controlling Switch Access with TACACS+ 9-10 Understanding TACACS+ 9-10 TACACS+ Operation 9-12 Configuring TACACS+ 9-12 Default TACACS+ Configuration 9-13 Identifying the TACACS...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
... the Privilege Level for a Command 9-8 Changing the Default Privilege Level for Lines 9-9 Logging into and Exiting a Privilege Level 9-10 Controlling Switch Access with TACACS+ 9-10 Understanding TACACS+ 9-10 TACACS+ Operation 9-12 Configuring TACACS+ 9-12 Default TACACS+ Configuration 9-13 Identifying the TACACS...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
... Servers, Integrated Clients, and Supported Versions 9-33 Limitations 9-34 Configuring SSH 9-34 Configuration Guidelines 9-34 Cryptographic Software Image Guidelines 9-35 Setting Up the Switch to Run SSH 9-35 Configuring the SSH Server 9-36 Displaying the SSH Configuration and Status 9-37 Configuring 802.1x Port-Based Authentication 10-1 Understanding 802...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
... Servers, Integrated Clients, and Supported Versions 9-33 Limitations 9-34 Configuring SSH 9-34 Configuration Guidelines 9-34 Cryptographic Software Image Guidelines 9-35 Setting Up the Switch to Run SSH 9-35 Configuring the SSH Server 9-36 Displaying the SSH Configuration and Status 9-37 Configuring 802.1x Port-Based Authentication 10-1 Understanding 802...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
... Re-Authentication 10-14 Manually Re-Authenticating a Client Connected to a Port 10-15 Changing the Quiet Period 10-15 Changing the Switch-to-Client Retransmission Time 10-15 Setting the Switch-to-Client Frame-Retransmission Number 10-16 Configuring the Host Mode 10-17 Configuring a Guest VLAN 10-18 Resetting the 802... 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
... Re-Authentication 10-14 Manually Re-Authenticating a Client Connected to a Port 10-15 Changing the Quiet Period 10-15 Changing the Switch-to-Client Retransmission Time 10-15 Setting the Switch-to-Client Frame-Retransmission Number 10-16 Configuring the Host Mode 10-17 Configuring a Guest VLAN 10-18 Resetting the 802... 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
...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 13-2 LRE Profiles 13-2 LRE Sequences 13-5 CPE Ethernet... LRE Link Persistence 13-19 Configuring LRE Link Monitor 13-20 Configuring LRE Interleave 13-20 Configuring Upstream Power Back-Off 13-21 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xii 78-11380-10
...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 13-2 LRE Profiles 13-2 LRE Sequences 13-5 CPE Ethernet... LRE Link Persistence 13-19 Configuring LRE Link Monitor 13-20 Configuring LRE Interleave 13-20 Configuring Upstream Power Back-Off 13-21 Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide xii 78-11380-10
Software Configuration Guide
Page 13
...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 14-4 Spanning-Tree Interface States 14-4 Blocking State 14-6 Listening State 14-6 Learning State 14-6 Forwarding ... 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 Guide xiii
...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 14-4 Spanning-Tree Interface States 14-4 Blocking State 14-6 Listening State 14-6 Learning State 14-6 Forwarding ... 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 Guide xiii
Software Configuration Guide
Page 14
... the MST Region Configuration and Enabling MSTP 15-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 xiv 78-11380-10
... the MST Region Configuration and Enabling MSTP 15-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 xiv 78-11380-10
Software Configuration Guide
Page 15
... 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
... 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
... 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-11380-10
... 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-11380-10
Software Configuration Guide
Page 17
...-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 Guide xvii
...-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 Guide xvii
Software Configuration Guide
Page 18
... VLAN 19-1 Understanding 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 Voice Traffic in 802.1p Priority... 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 Guide 78-11380-10
... VLAN 19-1 Understanding 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 Voice Traffic in 802.1p Priority... 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 Guide 78-11380-10
Software Configuration Guide
Page 19
... 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 xix
... 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 xix
Software Configuration Guide
Page 20
... 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
... 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