Software Guide
Page 4
Contents 3 C H A P T E R 4 C H A P T E R Using Command Aliases 2-7 Specifying Modules, Ports, and VLANs 2-7 Specifying MAC Addresses 2-8 Specifying IP Addresses, Host Names, and IP Aliases 2-8 ROM Monitor CLI 2-9 Example of a Catalyst 4003 Bootup Display 2-9 Configuring the Switch IP Address and Default Gateway 3-1 Understanding How the Switch Management Interfaces Work 3-1 Understanding How Automatic IP Configuration Works 3-2 Automatic IP Configuration Overview 3-2 Understanding...
Contents 3 C H A P T E R 4 C H A P T E R Using Command Aliases 2-7 Specifying Modules, Ports, and VLANs 2-7 Specifying MAC Addresses 2-8 Specifying IP Addresses, Host Names, and IP Aliases 2-8 ROM Monitor CLI 2-9 Example of a Catalyst 4003 Bootup Display 2-9 Configuring the Switch IP Address and Default Gateway 3-1 Understanding How the Switch Management Interfaces Work 3-1 Understanding How Automatic IP Configuration Works 3-2 Automatic IP Configuration Overview 3-2 Understanding...
Software Guide
Page 5
... PAgP and LACP 6-2 EtherChannel Configuration Guidelines and Restrictions 6-3 Guidelines for Configuring a Port 6-3 Guidelines for Configuring VLANs and Trunks 6-4 EtherChannel Interaction with other Features 6-4 Understanding the PAgP 6-5 PAgP Modes 6-5 Understanding Administrative Groups...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 ...
... PAgP and LACP 6-2 EtherChannel Configuration Guidelines and Restrictions 6-3 Guidelines for Configuring a Port 6-3 Guidelines for Configuring VLANs and Trunks 6-4 EtherChannel Interaction with other Features 6-4 Understanding the PAgP 6-5 PAgP Modes 6-5 Understanding Administrative Groups...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 Guide
Page 6
...Specifying the Port Priority 6-19 Specifying an Administrative Key Value 6-19 Changing the Channel Mode 6-20 Specifying the Channel Path Cost 6-21 Specifying the Channel VLAN Cost 6-21 Clearing LACP Statistics 6-21 Displaying EtherChannel Traffic Utilization 6-21 Disabling an EtherChannel 6-22 Displaying Spanning Tree-Related Information for EtherChannels 6-22 7 ...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
...Specifying the Port Priority 6-19 Specifying an Administrative Key Value 6-19 Changing the Channel Mode 6-20 Specifying the Channel Path Cost 6-21 Specifying the Channel VLAN Cost 6-21 Clearing LACP Statistics 6-21 Displaying EtherChannel Traffic Utilization 6-21 Disabling an EtherChannel 6-22 Displaying Spanning Tree-Related Information for EtherChannels 6-22 7 ...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
... 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
... 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 9
... 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...
... 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
...H A P T E R Configuring Private VLANs 10-16 Private VLAN Configuration Guidelines 10-17 Creating a Private VLAN 10-19 Viewing the Port Capability of a Private VLAN Port 10-22 Deleting a Private VLAN 10-22 Deleting an Isolated or Community VLAN 10-23 Deleting a Private VLAN Mapping 10-23 Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports ... 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-01
...H A P T E R Configuring Private VLANs 10-16 Private VLAN Configuration Guidelines 10-17 Creating a Private VLAN 10-19 Viewing the Port Capability of a Private VLAN Port 10-22 Deleting a Private VLAN 10-22 Deleting an Isolated or Community VLAN 10-23 Deleting a Private VLAN Mapping 10-23 Configuring VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports ... 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-01
Software Guide
Page 11
... 12-11 Troubleshooting Dynamic Ports 12-11 VMPS Example 12-12 Dynamic Port VLAN Membership with Auxiliary VLANs 12-14 Configuration Guidelines 12-15 Configuring Dynamic Port VLAN Membership with Auxiliary VLANs 12-15 Configuring GVRP 13-1 Understanding How GVRP Works 13-1 GVRP Hardware ... 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-...
... 12-11 Troubleshooting Dynamic Ports 12-11 VMPS Example 12-12 Dynamic Port VLAN Membership with Auxiliary VLANs 12-14 Configuration Guidelines 12-15 Configuring Dynamic Port VLAN Membership with Auxiliary VLANs 12-15 Configuring GVRP 13-1 Understanding How GVRP Works 13-1 GVRP Hardware ... 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 16
... SPAN Session 26-1 Destination Port 26-2 Source Port 26-2 Reflector Port 26-3 Ingress SPAN 26-3 Egress SPAN 26-3 VSPAN 26-3 Trunk VLAN Filtering 26-4 SPAN Traffic 26-4 SPAN and RSPAN Session Limits 26-4 Configuring SPAN 26-4 Understanding How SPAN Works 26-4 SPAN Configuration Guidelines 26... RSPAN Works 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...
... SPAN Session 26-1 Destination Port 26-2 Source Port 26-2 Reflector Port 26-3 Ingress SPAN 26-3 Egress SPAN 26-3 VSPAN 26-3 Trunk VLAN Filtering 26-4 SPAN Traffic 26-4 SPAN and RSPAN Session Limits 26-4 Configuring SPAN 26-4 Understanding How SPAN Works 26-4 SPAN Configuration Guidelines 26... RSPAN Works 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...
Software Guide
Page 19
...-2 Authentication Initiation and Message Exchange 31-3 Ports in Authorized and Unauthorized States 31-4 Authentication Server 31-5 802.1x Parameters Configurable on the Switch 31-6 802.1x VLAN Assignment Using a RADIUS Server 31-6 Authentication Default Configuration 31-7 Authentication Configuration Guidelines 31-8 Configuring 802.1x Authentication on the...-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
...-2 Authentication Initiation and Message Exchange 31-3 Ports in Authorized and Unauthorized States 31-4 Authentication Server 31-5 802.1x Parameters Configurable on the Switch 31-6 802.1x VLAN Assignment Using a RADIUS Server 31-6 Authentication Default Configuration 31-7 Authentication Configuration Guidelines 31-8 Configuring 802.1x Authentication on the...-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 24
..., Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 78-15486-01 Configuring VLANs Describes how to configure quality of service (QoS). Configuring QoS Describes how to configure VLANs and private VLANs on the switch. Configuring CDP Describes how to configure Remote Monitoring (RMON) on the switch. Configuring RMON Describes how to configure Cisco Discovery Protocol (CDP) on the switch...
..., Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 78-15486-01 Configuring VLANs Describes how to configure quality of service (QoS). Configuring QoS Describes how to configure VLANs and private VLANs on the switch. Configuring CDP Describes how to configure Remote Monitoring (RMON) on the switch. Configuring RMON Describes how to configure Cisco Discovery Protocol (CDP) on the switch...
Software Guide
Page 35
...VLANs, page 2-7 • Specifying MAC Addresses, page 2-8 • Specifying IP Addresses, Host Names, and IP Aliases, page 2-8 • ROM Monitor CLI, page 2-9 • Example of all switch and ROM monitor commands, refer to the Catalyst 4500 Series, Catalyst 2948G, and Catalyst 2980G Switches Command Reference. However, switch...the command-line interface (CLI) that you use to the Cisco IOS software command reference publications. Note For descriptions of a Catalyst 4003 Bootup Display, page 2-9 Switch CLI Overview The switch CLI is a basic command-line interpreter, similar to be ...
...VLANs, page 2-7 • Specifying MAC Addresses, page 2-8 • Specifying IP Addresses, Host Names, and IP Aliases, page 2-8 • ROM Monitor CLI, page 2-9 • Example of all switch and ROM monitor commands, refer to the Catalyst 4500 Series, Catalyst 2948G, and Catalyst 2980G Switches Command Reference. However, switch...the command-line interface (CLI) that you use to the Cisco IOS software command reference publications. Note For descriptions of a Catalyst 4003 Bootup Display, page 2-9 Switch CLI Overview The switch CLI is a basic command-line interpreter, similar to be ...
Software Guide
Page 36
... on a UNIX system). For more information, see this display: Cisco Systems, Inc. To access the switch CLI through a Telnet session. Accessing the Switch CLI Chapter 2 Using the Command-Line Interface The Catalyst enterprise LAN switches are multi-module systems. Commands you enter from the CLI might...or to change the configuration. Accessing the Switch CLI You can use set commands to a specific module, port, or VLAN. You configure the switch using the tip command on the terminal (for your switch. Enter set commands) to see the "Switch CLI Command Modes" section on page ...
... on a UNIX system). For more information, see this display: Cisco Systems, Inc. To access the switch CLI through a Telnet session. Accessing the Switch CLI Chapter 2 Using the Command-Line Interface The Catalyst enterprise LAN switches are multi-module systems. Commands you enter from the CLI might...or to change the configuration. Accessing the Switch CLI You can use set commands to a specific module, port, or VLAN. You configure the switch using the tip command on the terminal (for your switch. Enter set commands) to see the "Switch CLI Command Modes" section on page ...
Software Guide
Page 41
... be abbreviated. batch di exit logout Command help configure show quit quit Specifying Modules, Ports, and VLANs The Catalyst 4000 series switches sequentially number modules, ports, and VLANs, beginning with 1. The Catalyst 4912G, the Catalyst 2948G, and the Catalyst 2980G switches have two modules but only one screen To quit from the More program Keystrokes Press the Return...
... be abbreviated. batch di exit logout Command help configure show quit quit Specifying Modules, Ports, and VLANs The Catalyst 4000 series switches sequentially number modules, ports, and VLANs, beginning with 1. The Catalyst 4912G, the Catalyst 2948G, and the Catalyst 2980G switches have two modules but only one screen To quit from the More program Keystrokes Press the Return...
Software Guide
Page 42
...For information on using the VLAN ID, a single number that is associated with the VLAN. Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 2-8 78-15486-01 Table 2-5 shows examples of VLANs. The IP address format is configured properly on the switch, you can use IP ...on module 3 Specifies ports 2 and 4 on module 5 and port 10 on module 6 Specifies ports 1 and 2 on module 3 and port 8 on the switch, which you specify a MAC address, which must be used for most commands that use an IP address, except for commands that define the IP address...
...For information on using the VLAN ID, a single number that is associated with the VLAN. Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 2-8 78-15486-01 Table 2-5 shows examples of VLANs. The IP address format is configured properly on the switch, you can use IP ...on module 3 Specifies ports 2 and 4 on module 5 and port 10 on module 6 Specifies ports 1 and 2 on module 3 and port 8 on the switch, which you specify a MAC address, which must be used for most commands that use an IP address, except for commands that define the IP address...
Software Guide
Page 45
... connected to the Catalyst 4500 Series, Catalyst 2948G, and Catalyst 2980G Switches Command Reference. Note For complete syntax and usage information for the commands used in this chapter, refer to the switching fabric and do not participate in all of the functions of a normal switch port, such as spanning tree, Cisco Discovery Protocol (CDP), and VLAN membership. CH...
... connected to the Catalyst 4500 Series, Catalyst 2948G, and Catalyst 2980G Switches Command Reference. Note For complete syntax and usage information for the commands used in this chapter, refer to the switching fabric and do not participate in all of the functions of a normal switch port, such as spanning tree, Cisco Discovery Protocol (CDP), and VLAN membership. CH...
Software Guide
Page 46
... and subnet mask 255.255.255.0). Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-2 78-15486-01 Understanding How Automatic IP Configuration Works Chapter 3 Configuring the Switch IP Address and Default Gateway When you ...configure the IP address, subnet mask, and broadcast address (and when you configure VLAN...
... and subnet mask 255.255.255.0). Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-2 78-15486-01 Understanding How Automatic IP Configuration Works Chapter 3 Configuring the Switch IP Address and Default Gateway When you ...configure the IP address, subnet mask, and broadcast address (and when you configure VLAN...
Software Guide
Page 48
... and Default Gateway Before you reset or power cycle a switch with a RARP-obtained IP address, the information that DHCP requests fail as well). Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-4 78-15486-01 or ...BOOTP-obtained IP address, the information learned from the server automatically when it boots up. SLIP (sl0) interface Configure this interface when assigning an IP address, subnet mask, and VLAN...
... and Default Gateway Before you reset or power cycle a switch with a RARP-obtained IP address, the information that DHCP requests fail as well). Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-4 78-15486-01 or ...BOOTP-obtained IP address, the information learned from the server automatically when it boots up. SLIP (sl0) interface Configure this interface when assigning an IP address, subnet mask, and VLAN...
Software Guide
Page 49
...the interface configuration. Console> (enable) 78-15486-01 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-5 You can Telnet to the switch or use Simple Network Management Protocol (SNMP) to manage the switch, you must assign an IP address to either the... in -band (sc0) interface. To set the IP address and VLAN...
...the interface configuration. Console> (enable) 78-15486-01 Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-5 You can Telnet to the switch or use Simple Network Management Protocol (SNMP) to manage the switch, you must assign an IP address to either the... in -band (sc0) interface. To set the IP address and VLAN...
Software Guide
Page 50
....124/255.255.255.248 Interface sc0 vlan set, IP address and netmask set interface me1 up . The me1 interface is present only on the Catalyst 4500 series, Catalyst 2948G, and Catalyst 2980G switches. If necessary, bring the interface up Verify the interface configuration. set . Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-6 78-15486...
....124/255.255.255.248 Interface sc0 vlan set, IP address and netmask set interface me1 up . The me1 interface is present only on the Catalyst 4500 series, Catalyst 2948G, and Catalyst 2980G switches. If necessary, bring the interface up Verify the interface configuration. set . Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-6 78-15486...
Software Guide
Page 52
...interface and one reachable through the me1 interface: Console> (enable) show interface sl0: flags=50 slip 0.0.0.0 dest 0.0.0.0 sc0: flags=63 vlan 5 inet 172.20.52.38 netmask 255.255.255.240 broadcast 172.20.52.47 me1: flags=63 inet 10.1.1.100 netmask 255... host. Console> (enable) show interface slip attach Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-8 78-15486-01 Use Telnet to access the switch, enter privileged mode, and enter the slip detach command to the switch CLI through the console port. Enable SLIP for the...
...interface and one reachable through the me1 interface: Console> (enable) show interface sl0: flags=50 slip 0.0.0.0 dest 0.0.0.0 sc0: flags=63 vlan 5 inet 172.20.52.38 netmask 255.255.255.240 broadcast 172.20.52.47 me1: flags=63 inet 10.1.1.100 netmask 255... host. Console> (enable) show interface slip attach Catalyst 4500 Series, Catalyst 2948G, Catalyst 2980G Switches Software Configuration Guide-Release 8.1 3-8 78-15486-01 Use Telnet to access the switch, enter privileged mode, and enter the slip detach command to the switch CLI through the console port. Enable SLIP for the...