Software Guide
Page 1
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide Software Release 8.1 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-7815486= Text Part Number: 78-15486-01
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide Software Release 8.1 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-7815486= Text Part Number: 78-15486-01
Software Guide
Page 2
... LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, Cisco Unity, Follow Me Browsing, FormShare, and StackWise are service marks of Cisco Systems, Inc. and certain other company. (0304R) Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide Copyright © 2000-2003, Cisco Systems, Inc. All rights reserved. The...
... LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, Cisco Unity, Follow Me Browsing, FormShare, and StackWise are service marks of Cisco Systems, Inc. and certain other company. (0304R) Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide Copyright © 2000-2003, Cisco Systems, Inc. All rights reserved. The...
Software Guide
Page 3
... Series Switches 1-1 Catalyst 2948G Switch 1-2 Catalyst 2980G Switch 1-3 Supervisor Engine Software 1-3 Using the Command-Line Interface 2-1 Switch CLI Overview 2-1 Accessing the Switch CLI 2-2 Accessing the CLI Through the Console Port 2-2 Accessing the CLI Through Telnet 2-3 Switch CLI Command Modes 2-3 Accessing Help 2-4 Command-Line Editing 2-5 History Substitution 2-6 Abbreviating a Command 2-6 Completing a Partial Command 2-6 Scrolling Through Command Output 2-6 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
... Series Switches 1-1 Catalyst 2948G Switch 1-2 Catalyst 2980G Switch 1-3 Supervisor Engine Software 1-3 Using the Command-Line Interface 2-1 Switch CLI Overview 2-1 Accessing the Switch CLI 2-2 Accessing the CLI Through the Console Port 2-2 Accessing the CLI Through Telnet 2-3 Switch CLI Command Modes 2-3 Accessing Help 2-4 Command-Line Editing 2-5 History Substitution 2-6 Abbreviating a Command 2-6 Completing a Partial Command 2-6 Scrolling Through Command Output 2-6 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
Software Guide
Page 4
...Configuration 3-9 Renewing and Releasing a DHCP-Assigned IP Address 3-10 Configuring Ethernet and Fast Ethernet Switching 4-1 Understanding How Ethernet Works 4-1 Ethernet Overview 4-1 Switching Frames Between Segments 4-2 Building the Address Table 4-2 Default Ethernet and Fast Ethernet Configurations 4-2 Configuring... Port Debounce Timers 4-6 Configuring errdisable State Ethernet and Fast Ethernet Port Timeout Periods 4-7 Checking Ethernet and Fast Ethernet Port Connectivity 4-8 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 iv 78-...
...Configuration 3-9 Renewing and Releasing a DHCP-Assigned IP Address 3-10 Configuring Ethernet and Fast Ethernet Switching 4-1 Understanding How Ethernet Works 4-1 Ethernet Overview 4-1 Switching Frames Between Segments 4-2 Building the Address Table 4-2 Default Ethernet and Fast Ethernet Configurations 4-2 Configuring... Port Debounce Timers 4-6 Configuring errdisable State Ethernet and Fast Ethernet Port Timeout Periods 4-7 Checking Ethernet and Fast Ethernet Port Connectivity 4-8 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 iv 78-...
Software Guide
Page 5
... 6-6 Configuring EtherChannel Using PAgP 6-6 Creating an EtherChannel 6-7 Defining an EtherChannel Administrative Group 6-7 Setting the EtherChannel Spanning Tree Port Cost 6-8 Setting the EtherChannel Spanning Tree Port VLAN Cost 6-9 Removing an EtherChannel Bundle 6-9 Displaying EtherChannel Configuration Information 6-10 Displaying EtherChannel Traffic Statistics 6-11 Displaying EtherChannel PAgP Statistics 6-12 EtherChannel Configuration Examples 6-12 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
... 6-6 Configuring EtherChannel Using PAgP 6-6 Creating an EtherChannel 6-7 Defining an EtherChannel Administrative Group 6-7 Setting the EtherChannel Spanning Tree Port Cost 6-8 Setting the EtherChannel Spanning Tree Port VLAN Cost 6-9 Removing an EtherChannel Bundle 6-9 Displaying EtherChannel Configuration Information 6-10 Displaying EtherChannel Traffic Statistics 6-11 Displaying EtherChannel PAgP Statistics 6-12 EtherChannel Configuration Examples 6-12 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
Software Guide
Page 6
... Displaying Spanning Tree-Related Information for EtherChannels 6-22 7 C H A P T E R Configuring Spanning Tree 7-1 Understanding How STPs Work 7-2 Understanding How a Topology Is Created 7-2 Understanding How a Switch or Port Becomes the Root Switch or Root Port 7-3 Understanding BPDUs 7-4 Calculating and Assigning Port Costs 7-4 Understanding Spanning Tree Port...Protocol 7-16 MST-to-SST Interoperability 7-17 Common Spanning Tree 7-18 MST Instances 7-18 MST Configuration 7-18 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 vi 78-15486-01
... Displaying Spanning Tree-Related Information for EtherChannels 6-22 7 C H A P T E R Configuring Spanning Tree 7-1 Understanding How STPs Work 7-2 Understanding How a Topology Is Created 7-2 Understanding How a Switch or Port Becomes the Root Switch or Root Port 7-3 Understanding BPDUs 7-4 Calculating and Assigning Port Costs 7-4 Understanding Spanning Tree Port...Protocol 7-16 MST-to-SST Interoperability 7-17 Common Spanning Tree 7-18 MST Instances 7-18 MST Configuration 7-18 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 vi 78-15486-01
Software Guide
Page 7
... Forward Delay Time 7-45 Configuring the Maximum Aging Time 7-45 Configuring MST 7-46 Enabling MST 7-46 Mapping and Unmapping VLANs to an MST Instance 7-54 Configuring Spanning Tree BPDU Skewing 7-57 Configuring Spanning Tree PortFast, BPDU Guard, BPDU Filter, UplinkFast, BackboneFast, and Loop Guard 8-1 Understanding How PortFast Works 8-1 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 vii
... Forward Delay Time 7-45 Configuring the Maximum Aging Time 7-45 Configuring MST 7-46 Enabling MST 7-46 Mapping and Unmapping VLANs to an MST Instance 7-54 Configuring Spanning Tree BPDU Skewing 7-57 Configuring Spanning Tree PortFast, BPDU Guard, BPDU Filter, UplinkFast, BackboneFast, and Loop Guard 8-1 Understanding How PortFast Works 8-1 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 vii
Software Guide
Page 8
... Loop Guard 8-19 9 C H A P T E R Configuring VTP 9-1 Understanding How VTP Version 1 and Version 2 Work 9-1 Understanding the VTP Domain 9-2 Understanding VTP Modes 9-2 Understanding VTP Advertisements 9-3 Understanding VTP Version 2 9-3 Understanding VTP Pruning 9-4 Default VTP Version 1 and Version 2 Configuration 9-5 VTP Version 1 and Version 2 Configuration Guidelines 9-6 Configuring VTP Version 1 and Version 2 9-6 Configuring a VTP Server 9-7 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 viii 78...
... Loop Guard 8-19 9 C H A P T E R Configuring VTP 9-1 Understanding How VTP Version 1 and Version 2 Work 9-1 Understanding the VTP Domain 9-2 Understanding VTP Modes 9-2 Understanding VTP Advertisements 9-3 Understanding VTP Version 2 9-3 Understanding VTP Pruning 9-4 Default VTP Version 1 and Version 2 Configuration 9-5 VTP Version 1 and Version 2 Configuration Guidelines 9-6 Configuring VTP Version 1 and Version 2 9-6 Configuring a VTP Server 9-7 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 viii 78...
Software Guide
Page 9
... VLAN 10-6 Creating or Modifying a Normal-Range Ethernet VLAN 10-7 Creating or Modifying an Extended-Range VLAN 10-9 Assigning Switch Ports to a VLAN 10-10 Mapping 802.1Q VLANs to ISL VLANs 10-11 Clearing 802.1Q-to-ISL VLAN Mappings 10-12 Deleting a VLAN 10-12 Configuring Auxiliary VLANs 10-13 Understanding Auxiliary VLANs 10-13 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release...
... VLAN 10-6 Creating or Modifying a Normal-Range Ethernet VLAN 10-7 Creating or Modifying an Extended-Range VLAN 10-9 Assigning Switch Ports to a VLAN 10-10 Mapping 802.1Q VLANs to ISL VLANs 10-11 Clearing 802.1Q-to-ISL VLAN Mappings 10-12 Deleting a VLAN 10-12 Configuring Auxiliary VLANs 10-13 Understanding Auxiliary VLANs 10-13 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release...
Software Guide
Page 10
... and Dynamic Port Configuration 12-3 Configuration Guidelines for Dynamic Ports and VMPS 12-3 Configuring VMPS 12-4 Creating the VMPS Database 12-4 Configuring the VMPS Server 12-7 Configuring VMPS Clients 12-8 Monitoring VMPS 12-9 Maintaining VMPS 12-9 Configuring Static Ports 12-10 Troubleshooting VMPS and Dynamic Port VLAN Membership 12-11 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 x 78-15486...
... and Dynamic Port Configuration 12-3 Configuration Guidelines for Dynamic Ports and VMPS 12-3 Configuring VMPS 12-4 Creating the VMPS Database 12-4 Configuring the VMPS Server 12-7 Configuring VMPS Clients 12-8 Monitoring VMPS 12-9 Maintaining VMPS 12-9 Configuring Static Ports 12-10 Troubleshooting VMPS and Dynamic Port VLAN Membership 12-11 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 x 78-15486...
Software Guide
Page 11
... Configuration 14-4 Configuring QoS on the Switch 14-4 Enabling QoS Globally 14-5 Configuring the Default CoS Value for the Switch 14-5 Reverting to the Default Switch CoS Value 14-5 Mapping CoS Values to Transmit Queues and Drop Thresholds 14-6 Reverting to the Default CoS-to-Transmit Queue and Drop Threshold Mapping 14-6 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
... Configuration 14-4 Configuring QoS on the Switch 14-4 Enabling QoS Globally 14-5 Configuring the Default CoS Value for the Switch 14-5 Reverting to the Default Switch CoS Value 14-5 Mapping CoS Values to Transmit Queues and Drop Thresholds 14-6 Reverting to the Default CoS-to-Transmit Queue and Drop Threshold Mapping 14-6 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
Software Guide
Page 12
... Processing 15-8 Disabling CGMP 15-8 Configuring GMRP 15-9 GMRP Software Requirements 15-9 Default GMRP Configuration 15-9 Enabling GMRP Globally 15-9 Enabling GMRP on Individual Switch Ports 15-10 Disabling GMRP on Individual Switch Ports 15-10 Enabling GMRP Forward-All Option 15-11...-15 Disabling GMRP 15-15 Configuring Multicast Router Ports and Group Entries 15-15 Specifying Multicast Router Ports 15-16 Configuring Multicast Groups 15-16 Disabling Multicast Router Ports 15-17 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xii 78-15486...
... Processing 15-8 Disabling CGMP 15-8 Configuring GMRP 15-9 GMRP Software Requirements 15-9 Default GMRP Configuration 15-9 Enabling GMRP Globally 15-9 Enabling GMRP on Individual Switch Ports 15-10 Disabling GMRP on Individual Switch Ports 15-10 Enabling GMRP Forward-All Option 15-11...-15 Disabling GMRP 15-15 Configuring Multicast Router Ports and Group Entries 15-15 Specifying Multicast Router Ports 15-16 Configuring Multicast Groups 15-16 Disabling Multicast Router Ports 15-17 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xii 78-15486...
Software Guide
Page 13
...-1 Configuration Guidelines for Unicast Flood Blocking 17-2 Configuring Unicast Flood Blocking on the Switch 17-2 Enabling Unicast Flood Blocking 17-2 Disabling Unicast Flood Blocking 17-3 Displaying Unicast Flood Blocking 17-3 Configuring the IP Permit List 18-1 Understanding How the IP Permit List Works 18-1 IP Permit List Default Configuration 18-2 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release...
...-1 Configuration Guidelines for Unicast Flood Blocking 17-2 Configuring Unicast Flood Blocking on the Switch 17-2 Enabling Unicast Flood Blocking 17-2 Disabling Unicast Flood Blocking 17-3 Displaying Unicast Flood Blocking 17-3 Configuring the IP Permit List 18-1 Understanding How the IP Permit List Works 18-1 IP Permit List Default Configuration 18-2 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release...
Software Guide
Page 14
...10 Using Layer 2 Traceroute 20-11 Layer 2 Traceroute Usage Guidelines 20-11 Identifying a Layer 2 Path 20-11 Using IP Traceroute 20-12 Understanding How IP Traceroute Works 20-12 Executing IP Traceroute 20-12 Configuring CDP 21-1 Understanding How CDP Works 21-1 Default CDP Configuration 21-2 Configuring CDP on the Switch... 21-2 Setting the CDP Global Enable State 21-2 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 ...
...10 Using Layer 2 Traceroute 20-11 Layer 2 Traceroute Usage Guidelines 20-11 Identifying a Layer 2 Path 20-11 Using IP Traceroute 20-12 Understanding How IP Traceroute Works 20-12 Executing IP Traceroute 20-12 Configuring CDP 21-1 Understanding How CDP Works 21-1 Default CDP Configuration 21-2 Configuring CDP on the Switch... 21-2 Setting the CDP Global Enable State 21-2 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 ...
Software Guide
Page 15
... SNMPv2c Default Configuration 24-6 Configuring SNMPv1 and SNMPv2c from an NMS 24-6 Configuring SNMPv1 and SNMPv2c from the CLI 24-6 SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1) 24-8 Understanding SNMPv3 24-11 Benefits of SNMPv3 24-11 SNMP Entity 24-11 Configuring SNMPv3 from an NMS 24-14 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xv
... SNMPv2c Default Configuration 24-6 Configuring SNMPv1 and SNMPv2c from an NMS 24-6 Configuring SNMPv1 and SNMPv2c from the CLI 24-6 SNMPv1 and SNMPv2c Enhancements in Software Release 7.5(1) 24-8 Understanding SNMPv3 24-11 Benefits of SNMPv3 24-11 SNMP Entity 24-11 Configuring SNMPv3 from an NMS 24-14 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xv
Software Guide
Page 16
... 26-8 RSPAN Configuration Guidelines 26-9 Configuring RSPAN 26-10 RSPAN Configuration Examples 26-13 27 C H A P T E R Administering the Switch 27-1 Setting the System Name and System Prompt 27-1 Configuring the System Name and Prompt 27-2 Setting the System Contact and Location 27-3 Setting the System Clock 27-4 Creating a Login Banner 27-4 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xvi...
... 26-8 RSPAN Configuration Guidelines 26-9 Configuring RSPAN 26-10 RSPAN Configuration Examples 26-13 27 C H A P T E R Administering the Switch 27-1 Setting the System Name and System Prompt 27-1 Configuring the System Name and Prompt 27-2 Setting the System Contact and Location 27-3 Setting the System Clock 27-4 Creating a Login Banner 27-4 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xvi...
Software Guide
Page 17
... Input 28-16 Setting the Power Budget for the Catalyst 4006 Switch 28-16 Displaying System Information 28-17 Migrating a Supervisor Engine II from a Catalyst 4006 Switch to a Catalyst 4500 Series Switch 28-18 Configuring Inline Power 28-18 Setting the Power Mode of a Port or Group of Ports 28-18 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xvii
... Input 28-16 Setting the Power Budget for the Catalyst 4006 Switch 28-16 Displaying System Information 28-17 Migrating a Supervisor Engine II from a Catalyst 4006 Switch to a Catalyst 4500 Series Switch 28-18 Configuring Inline Power 28-18 Setting the Power Mode of a Port or Group of Ports 28-18 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xvii
Software Guide
Page 18
... for Modules and Individual Ports 28-19 Configuring VoIP 29-1 Hardware and Software Requirements 29-1 Overview of IP Phones 29-2 Configuring VoIP on a Switch 29-3 Configuring Switch Access Using AAA 30-1 Understanding How Authentication...Configuring Authorization 30-43 Authorization Default Configuration 30-43 TACACS+ Authorization Configuration Guidelines 30-43 Configuring TACACS+ Authorization 30-43 Authorization Example 30-46 Understanding How Accounting Works 30-47 Accounting Overview 30-48 xviii Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
... for Modules and Individual Ports 28-19 Configuring VoIP 29-1 Hardware and Software Requirements 29-1 Overview of IP Phones 29-2 Configuring VoIP on a Switch 29-3 Configuring Switch Access Using AAA 30-1 Understanding How Authentication...Configuring Authorization 30-43 Authorization Default Configuration 30-43 TACACS+ Authorization Configuration Guidelines 30-43 Configuring TACACS+ Authorization 30-43 Authorization Example 30-46 Understanding How Accounting Works 30-47 Accounting Overview 30-48 xviii Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
Software Guide
Page 19
...Configuration 31-7 Authentication Configuration Guidelines 31-8 Configuring 802.1x Authentication on the Switch 31-8 Enabling 802.1x Globally 31-8 Disabling 802.1x Globally 31-8 Enabling and Initializing 802.1x Authentication for Individual Ports 31-9 Setting and Enabling Automatic Reauthentication of the Host 31-10 Manually Reauthenticating the Host 31-10...-End Authenticator-to-Host Frame-Retransmission Number 31-14 Resetting the 802.1x Configuration Parameters to the Default Values 31-15 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xix
...Configuration 31-7 Authentication Configuration Guidelines 31-8 Configuring 802.1x Authentication on the Switch 31-8 Enabling 802.1x Globally 31-8 Disabling 802.1x Globally 31-8 Enabling and Initializing 802.1x Authentication for Individual Ports 31-9 Setting and Enabling Automatic Reauthentication of the Host 31-10 Manually Reauthenticating the Host 31-10...-End Authenticator-to-Host Frame-Retransmission Number 31-14 Resetting the 802.1x Configuration Parameters to the Default Values 31-15 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 xix
Software Guide
Page 20
...Using the show Commands 31-16 Modifying the Switch Boot Configuration 32-1 Understanding How the Switch Boot Configuration Works 32-1 Understanding the Boot Process 32-1 Understanding the ROM Monitor 32-2 Understanding the Configuration Register 32-2 Understanding the BOOT Environment Variable ...Switch Using rcp 33-5 Understanding How rcp Software Image Downloads Work 33-6 Preparing to Download an Image Using rcp 33-6 Downloading Supervisor Engine Images Using rcp 33-6 Sample rcp Download Procedures 33-7 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...
...Using the show Commands 31-16 Modifying the Switch Boot Configuration 32-1 Understanding How the Switch Boot Configuration Works 32-1 Understanding the Boot Process 32-1 Understanding the ROM Monitor 32-2 Understanding the Configuration Register 32-2 Understanding the BOOT Environment Variable ...Switch Using rcp 33-5 Understanding How rcp Software Image Downloads Work 33-6 Preparing to Download an Image Using rcp 33-6 Downloading Supervisor Engine Images Using rcp 33-6 Sample rcp Download Procedures 33-7 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide...