C H A P T E R Type of Memory Platforms CLI Command Modes User EXEC Mode Privileged EXEC Mode Global Configuration Mode Interface Configuration Mode config-vlan Mode VLAN Configuration Mode Line Configuration Mode Command Summary Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 6
2-180 show mls masks 2-182 show mls qos interface 2-184 show mls qos maps 2-186 show monitor 2-188 show mvr 2-190 show mvr interface 2-192 show mvr members 2-194 Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 11
This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 2950 switch, hereafter referred to as the switch. Before using this guide, you should have experience working with the Cisco IOS and be familiar with the concepts and terminology of Ethernet and local area networking.
Preface Organization This guide does not describe system messages you might encounter. For more information, refer to the Catalyst 2950 Desktop Switch System Message Guide for this release. Organization This guide is organized into these chapters: Chapter 1, “Using the Command-Line Interface,”...
The following sections explain how to obtain documentation from Cisco Systems. World Wide Web You can access the most current Cisco documentation on the World Wide Web at the following URLs: http://www.cisco.com Translated documentation is available at the following URL: http://www.cisco.com/public/countries_languages.shtml...
America, by calling 800 553-NETS (6387). Documentation Feedback If you are reading Cisco product documentation on the World Wide Web, you can send us your comments by completing the online survey. When you display the document listing for this platform, click Give Us Your Feedback.
Priority level 1 (P1)—Your production network is down, and a critical impact to business operations • will occur if service is not restored quickly. No workaround is available. Which Cisco TAC resource you choose is based on the priority of the problem and the conditions of service contracts, when applicable. Cisco TAC Website...
TAC Case Open tool at the following URL: http://www.cisco.com/tac/caseopen If you have Internet access, it is recommended that you open P3 and P4 cases through the Cisco TAC website.
C H A P T E R Using the Command-Line Interface The Catalyst 2950 switches are supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure the software features. For a complete description of the commands that support these features, see Chapter 2, “Cisco IOS...
CLI Command Modes CLI Command Modes This section describes the CLI command mode structure. Command modes support specific Cisco IOS commands. For example, the interface type_number command works only when entered in global configuration mode. These are the main command modes: •...
The supported commands can vary depending on the version of IOS software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt. Switch# ? To return to user EXEC mode, enter the disable command. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
EXEC command. The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database if VTP is in transparent or server mode. The extended-range VLAN configurations are not saved in the VLAN database. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Release 12.1(6)EA2 or later. For information about commands listed in the left column of Table 1-2, refer to the Catalyst 2950 Desktop Switch Command Reference, Cisco IOS Release 12.0(5.2)WC(1) (April 2001). You can access this document at this URL: http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/2950_wc/index.htm. Table 1-2...
Page 23
In Release 12.1(6)EA2 or later, the switch supports only IEEE Ethernet STP. For detailed command syntax and descriptions, see Chapter 2, “Cisco IOS Commands.” task-oriented configuration steps, refer to the software configuration guide for this release. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 24
Chapter 1 Using the Command-Line Interface Command Summary Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
The client is automatically authenticated by the switch without using the information supplied by the client. Defaults No authentication is performed. Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was first introduced. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
0.0.0.0. • The keyword any as an abbreviation for destination and destination-wildcard of 0.0.0.0 255.255.255.255. You do not need to enter a destination-wildcard. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 28
Use the show access-lists command to display the contents of all ACLs. Note For more information about configuring IP ACLs, refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 29
(IP standard) Configures a standard IP ACL. ip access-group Controls access to an interface. show access-lists Displays ACLs configured on the switch. show ip access-lists Displays IP ACLs configured on the switch. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Plan your access conditions carefully. The ACL is always terminated by an implicit deny statement for all packets. You can use ACLs to control virtual terminal line access by controlling the transmission of packets on an interface. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 31
For more information about configuring IP ACLs, refer to the “Configuring Network Security with Note ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to configure a standard IP ACL that allows only traffic from the host network 128.88.1.10 and how to apply it to an interface:...
This example shows how to specify the name of the private configuration file as pconfig: Switch(config)# boot private-config-file pconfig Related Commands Command Description show boot Displays the settings of the boot environment variables. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
This command was first introduced. It replaced the port group command. Usage Guidelines You must specify the mode when entering this command. If the mode is not entered, an Ethernet interface is not assigned to an EtherChannel group, and an error message appears. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 34
Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 Desktop Switch Command Reference 2-10...
In a policy map, the class named class-default is not supported. The switch does not filter traffic based Note on the policy map defined by the class class-default policy-map configuration command. Catalyst 2950 Desktop Switch Command Reference 2-11 78-11381-05...
Page 36
For more information about configuring ACLs, refer to the “Configuring Network Security with ACLs” Note chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to create a policy map named policy1. When attached to the ingress port, it matches all the incoming traffic defined in class1 and polices the traffic at an average rate of 1 Mbps and bursts at 131072 bytes.
Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access control entries (ACEs). The switch does not support any deny conditions in an ACL configured in a class map. Note Catalyst 2950 Desktop Switch Command Reference 2-13 78-11381-05...
Page 38
Note For more information about configuring ACLs, refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to configure the class map named class1. class1 has one match criteria, which is a numbered ACL.
This example shows how to clear the hardware logic on a specific VLAN: Switch# clear interface vlan 5 You can verify that the interface-reset counter for an interface is incremented by entering the show interfaces privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-15 78-11381-05...
This example shows how to remove a specific dynamic address from the MAC address table: Switch# clear mac address-table dynamic address 0008.0070.0007 You can verify that the information was deleted by entering the show mac address-table privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-16 78-11381-05...
Page 41
Displays the MAC address notification settings for all interfaces or the specified interface. snmp trap mac-notification Enables the Simple Network Management Protocol (SNMP) MAC address notification trap on a specific interface. Catalyst 2950 Desktop Switch Command Reference 2-17 78-11381-05...
This example shows how to clear channel-group traffic counters: Switch# clear pagp counters You can verify that the information was deleted by entering the show pagp privileged EXEC command. Related Commands Command Description show pagp Displays PAgP channel-group information. Catalyst 2950 Desktop Switch Command Reference 2-18 78-11381-05...
Configures a maximum number of secure MAC addresses on a value secure interface. show port-security Displays the port security settings defined for an interface or for the switch. Catalyst 2950 Desktop Switch Command Reference 2-19 78-11381-05...
Use the clear spanning-tree detected-protocols command in this situation. Examples This example shows how to restart the protocol migration process on Fast Ethernet interface 0/1: Switch# clear spanning-tree detected-protocols interface fastethernet0/1 Catalyst 2950 Desktop Switch Command Reference 2-20 78-11381-05...
You can verify that the information was deleted by entering the show vmps statistics privileged EXEC command. Related Commands Command Description show vmps statistics Displays the VQP version, reconfirmation interval, retry count, VMPS IP addresses, and the current and primary servers. Catalyst 2950 Desktop Switch Command Reference 2-21 78-11381-05...
You can verify that the information was deleted by entering the show vtp counters privileged EXEC command. Related Commands Command Description show vtp counters Displays general information about the VTP management domain, status, and counters. Catalyst 2950 Desktop Switch Command Reference 2-22 78-11381-05...
Examples This is an example of text from the running configuration of a cluster member: Switch(config)# show running-config <output truncated> cluster commander-address 00e0.9bc0.a500 member 4 name my_cluster <output truncated> Catalyst 2950 Desktop Switch Command Reference 2-23 78-11381-05...
Page 48
Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 Desktop Switch Command Reference 2-24...
You can verify your settings by entering the show cluster privileged EXEC command on the command switch. Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster candidates Displays a list of candidate switches. Catalyst 2950 Desktop Switch Command Reference 2-25 78-11381-05...
You can verify your settings by entering the show cluster privileged EXEC command on the command switch. Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 2950 Desktop Switch Command Reference 2-26 78-11381-05...
You can verify your settings by entering the show cluster privileged EXEC command. Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 2950 Desktop Switch Command Reference 2-27 78-11381-05...
You can verify your settings by entering the show interfaces vlan vlan-id privileged EXEC command. Related Commands Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) port. Catalyst 2950 Desktop Switch Command Reference 2-28 78-11381-05...
If you do not specify a VLAN ID, the command switch automatically chooses a VLAN and adds the candidate to the cluster. Catalyst 2950 Desktop Switch Command Reference 2-29 78-11381-05...
Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster candidates Displays a list of candidate switches. show cluster members Displays information about the cluster members. Catalyst 2950 Desktop Switch Command Reference 2-30 78-11381-05...
You can verify that clustering is disabled by entering the show cluster privileged EXEC command. Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 2950 Desktop Switch Command Reference 2-31 78-11381-05...
This example shows the error message when this command is entered on a command switch and the specified HSRP standby group does not exist: Switch(config)# cluster standby-group my_hsrp %ERROR:Standby (my_hsrp) group does not exist Catalyst 2950 Desktop Switch Command Reference 2-32 78-11381-05...
Page 57
Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show standby Displays standby group information. standby ip Enables HSRP on the interface. Catalyst 2950 Desktop Switch Command Reference 2-33 78-11381-05...
You can verify your settings by entering the show cluster privileged EXEC command. Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 2950 Desktop Switch Command Reference 2-34 78-11381-05...
VLAN interfaces must have been configured with the interface vlan command (the show running-config privileged EXEC command displays the configured VLAN interfaces). VLAN interfaces not displayed by the show running-config command cannot be used in interface-ranges. Catalyst 2950 Desktop Switch Command Reference 2-35 78-11381-05...
Page 60
Displays the current operating configuration, including defined macros. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 Desktop Switch Command Reference 2-36...
The prompting behavior depends on the setting of the file prompt global configuration command. By default, the switch prompts for confirmation on destructive file operations. For more information about this command, refer to the Cisco IOS Command Reference for Release 12.1. Examples...
0.0.0.0. • The keyword any as an abbreviation for destination and destination-wildcard of 0.0.0.0 255.255.255.255. You do not need to enter a destination-wildcard. Catalyst 2950 Desktop Switch Command Reference 2-38 78-11381-05...
Page 63
For more information about configuring IP ACLs, refer to the “Configuring Network Security with Note ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to create an extended IP ACL and to configure deny conditions for it: Switch(config)# ip access-list extended Internetfilter Switch(config-ext-nacl)# deny tcp host 190.5.88.10 any...
Page 64
Sets conditions for an IP ACL. configuration) ip access-group Controls access to an interface. show ip access-lists Displays IP ACLs configured on the switch. show access-lists Displays ACLs configured on a switch. Catalyst 2950 Desktop Switch Command Reference 2-40 78-11381-05...
Page 66
Link Service Access Point (LSAP) number of a packet with 802.2 encapsulation Note For more information about configuring MAC extended ACLs, refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to define the MAC named extended ACL to deny NETBIOS traffic from any source to MAC address 00c0.00a0.03fa.
Page 67
Creates an ACL based on MAC addresses for non-IP traffic. permit (MAC access-list Permits Layer 2 traffic to be forwarded if conditions are matched. configuration) show access-lists Displays ACLs configured on a switch. Catalyst 2950 Desktop Switch Command Reference 2-43 78-11381-05...
Sets the number of seconds that the switch waits for a response to an tx-period EAP-request/identity frame from the client before retransmitting the request. show dot1x Displays the 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-44 78-11381-05...
Sets the number of seconds that the switch waits for a response to an tx-period EAP-request/identity frame from the client before retransmitting the request. show dot1x Displays the 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-45 78-11381-05...
Command Description dot1x port-control Enables manual control of the authorization state of the port. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-46 78-11381-05...
EtherChannel. If you try to enable 802.1X on an EtherChannel or on an active port in an EtherChannel, an error appears, and 802.1X is not enabled. If you enable 802.1X on a not-yet active port of an EtherChannel, the port does not join the EtherChannel. Catalyst 2950 Desktop Switch Command Reference 2-47 78-11381-05...
Page 72
Related Commands Command Description show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-48 78-11381-05...
You can verify your settings by entering the show dot1x privileged EXEC command. Related Commands Command Description show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-49 78-11381-05...
Related Commands Command Description dot1x timeout re-authperiod Sets the number of seconds between re-authentication attempts. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-50 78-11381-05...
You can verify your settings by entering the show dot1x privileged EXEC command. Related Commands Command Description show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-51 78-11381-05...
You can verify your settings by entering the show dot1x privileged EXEC command. Related Commands Command Description dot1x re-authentication Enables periodic re-authentication of the client. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-52 78-11381-05...
Sets the maximum number of times that the switch sends an EAP-request/identity frame before restarting the authentication process. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 Desktop Switch Command Reference 2-53 78-11381-05...
If both the speed and duplex are set to specific values, autonegotiation is disabled. Note For guidelines on setting the switch speed and duplex parameters, refer to the Catalyst 2950 Desktop Switch Hardware Installation Guide. Catalyst 2950 Desktop Switch Command Reference...
Page 79
Description show running-config Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. speed Specifies the port speed. Catalyst 2950 Desktop Switch Command Reference...
This example shows how to enable error disable detection for the link-flap error-disable cause: Switch(config)# errdisable detect cause link-flap You can verify your settings by entering the show errdisable detect privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-56 78-11381-05...
Related Commands Command Description errdisable recovery Configures the recovery mechanism variables. show errdisable detect Displays errdisable detection status. show interfaces trunk Displays interface status or a list of interfaces in error-disabled state. Catalyst 2950 Desktop Switch Command Reference 2-57 78-11381-05...
15 percent of the configured interval. Though visible in the command-line help string, the channel-misconfig keyword is not supported. Note Defaults Recovery is disabled for all causes. The default interval is 300 seconds. Command Modes Global configuration Catalyst 2950 Desktop Switch Command Reference 2-58 78-11381-05...
You can verify your settings by entering the show errdisable recovery privileged EXEC command. Related Commands Command Description show errdisable recovery Displays errdisable recovery timer information. show interfaces status Displays interface status. Catalyst 2950 Desktop Switch Command Reference 2-59 78-11381-05...
Command Modes Interface configuration Command History Release Modification 12.0(5.2)WC(1) This command was first introduced. 12.1(6)EA2 The asymmetric and symmetric keywords were replaced with the receive, send, off, on, and desired keywords. Catalyst 2950 Desktop Switch Command Reference 2-60 78-11381-05...
Page 85
Does not send or receive Does not send or receive send off/receive on Sends only Receives only send off/receive off Does not send or receive Does not send or receive Catalyst 2950 Desktop Switch Command Reference 2-61 78-11381-05...
Page 86
This example shows how to configure the local port to not support any level of flow control by the remote port: Switch(config-if)# flowcontrol receive off Switch(config-if)# flowcontrol send off You can verify your settings by entering the show interfaces counters privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-62 78-11381-05...
Page 87
Chapter 2 Cisco IOS Commands flowcontrol Related Commands Command Description show interfaces counters Displays the interface settings on a switch, including input and output flow control. Catalyst 2950 Desktop Switch Command Reference 2-63 78-11381-05...
Telnet session, the shutdown command disconnects the session, and there is no way to use IP to access the system. Switch# configure terminal Switch(config)# interface vlan 3 Switch(config-if)# ip address 172.20.128.176 255.255.255.0 Switch(config-if)# no shutdown Switch(config-if)# exit Catalyst 2950 Desktop Switch Command Reference 2-64 78-11381-05...
Page 89
You can verify your settings by entering the show interfaces and show interfaces vlan vlan-id privileged EXEC commands. Related Commands Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) port. shutdown Disables a port and shuts down the management VLAN. Catalyst 2950 Desktop Switch Command Reference 2-65 78-11381-05...
Only one port channel in a channel group is allowed. Follow these guidelines when you use the interface port-channel command: If you want to use the Cisco Discovery Protocol (CDP), you must configure it only on the physical • interface and not on the port-channel interface.
You can define up to five interface ranges with a single command, with each range separated by a comma (,). All interfaces in a range must be the same type; that is, all Fast Ethernet ports, all Gigabit Ethernet ports, all EtherChannel ports, or all VLANs. Catalyst 2950 Desktop Switch Command Reference 2-67 78-11381-05...
Page 92
A single interface can also be specified in port-range. (The command is then similar to the interface interface-id global configuration command.) Note For more information about configuring interface ranges, refer to the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples...
IP access groups can be separated on Layer 2 and Layer 3 interfaces. Note For more information about configuring IP ACLs, refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Catalyst 2950 Desktop Switch Command Reference 2-69...
Page 94
Defines an IP ACL. permit (access-list configuration) Configures conditions for an IP ACL. show access-lists Displays ACLs configured on the switch. show ip access-lists Displays IP ACLs configured on the switch. Catalyst 2950 Desktop Switch Command Reference 2-70 78-11381-05...
Note For more information about configuring IP ACLs, refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Catalyst 2950 Desktop Switch Command Reference 2-71...
Page 96
Configures conditions for an IP ACL. service-policy Applies a policy map to the input of an interface. show access-lists Displays ACLs configured on the switch. show ip access-lists Displays IP ACLs configured on the switch. Catalyst 2950 Desktop Switch Command Reference 2-72 78-11381-05...
Configures a Layer 2 port as a multicast router port. ip igmp snooping vlan static Configures a Layer 2 port as a member of a group. show ip igmp snooping Displays the IGMP snooping configuration. Catalyst 2950 Desktop Switch Command Reference 2-74 78-11381-05...
Configures a Layer 2 port as a multicast router port. ip igmp snooping vlan static Configures a Layer 2 port as a member of a group. show ip igmp snooping Displays the IGMP snooping configuration. Catalyst 2950 Desktop Switch Command Reference 2-75 78-11381-05...
Displays the IGMP snooping configuration. ip igmp snooping vlan static Configures a Layer 2 port as a member of a group. show mac address-table multicast Displays the Layer 2 multicast entries for a VLAN. Catalyst 2950 Desktop Switch Command Reference 2-76 78-11381-05...
This command was first introduced. Usage Guidelines The CGMP learning method is useful for controlling traffic in Cisco router environments. The configured learning method is saved in nonvolatile RAM (NVRAM). Static connections to multicast routers are supported only on switch ports.
Configures IGMP Immediate-Leave processing. immediate-leave ip igmp snooping vlan static Configures a Layer 2 port as a member of a group. show ip igmp snooping mrouter Displays the statically and dynamically learned multicast router ports. Catalyst 2950 Desktop Switch Command Reference 2-78 78-11381-05...
Switch(config)# ip igmp snooping vlan 1 static 0100.5e02.0203 interface fastethernet0/6 Configuring port FastEthernet 0/6 on group 0100.5e02.0203 You can verify your settings by entering the show mac address-table multicast privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-79 78-11381-05...
Configures IGMP Immediate-Leave processing. immediate-leave ip igmp snooping vlan mrouter Configures a Layer 2 port as a multicast router port. show mac address-table multicast Displays the Layer 2 multicast entries for a VLAN. Catalyst 2950 Desktop Switch Command Reference 2-80 78-11381-05...
If the specified ACL does not exist, the switch forwards all packets. For more information about configuring MAC extended ACLs, refer to the “Configuring Network Note Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples...
Page 106
{deny (MAC access-list configuration) Configures a MAC ACL. permit (MAC access-list configuration)} show access-lists Displays the ACLs configured on the switch. show mac access-group Displays the MAC ACLs configured on the switch. Catalyst 2950 Desktop Switch Command Reference 2-82 78-11381-05...
For more information about configuring MAC extended ACLs, refer to the “Configuring Network Note Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to enter extended MAC access-list configuration mode and to create a MAC...
Page 108
{deny (MAC access-list configuration) | Configures a MAC ACL. permit (MAC access-list configuration)} mac access-group Applies a MAC ACL to an interface. show access-lists Displays the ACLs configured on the switch. Catalyst 2950 Desktop Switch Command Reference 2-84 78-11381-05...
This example shows how to set the aging time to 200 seconds: Switch(config)# mac address-table aging-time 200 This example shows how to disable aging in VLAN 1. Switch(config)# mac address-table aging-time 0 Catalyst 2950 Desktop Switch Command Reference 2-85 78-11381-05...
Page 110
Deletes dynamic entries from the MAC address table. show mac address-table Displays the MAC address table. show mac address-table Displays the MAC address table aging time for all VLANs or the aging-time specified VLAN. Catalyst 2950 Desktop Switch Command Reference 2-86 78-11381-05...
You must also enable MAC address notification traps on an interface by using the snmp trap mac-notification interface configuration command, and configure the switch to send MAC address traps to the NMS by using the snmp-server enable traps mac-notification global configuration command. Catalyst 2950 Desktop Switch Command Reference 2-87 78-11381-05...
Page 112
Sends the SNMP MAC notification traps when the mac-notification keyword is appended. snmp trap mac-notification Enables the SNMP MAC notification trap on a specific interface. Catalyst 2950 Desktop Switch Command Reference 2-88 78-11381-05...
The mac-address-table static command was replaced by the mac address-table static command. Examples This example shows how to add the static address 0004.5600.67ab to the MAC address table: Switch(config)# mac address-table static 0004.5600.67ab vlan 1 interface fastethernet0/2 Catalyst 2950 Desktop Switch Command Reference 2-89 78-11381-05...
Page 114
Sets the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated. show mac address-table Displays the MAC address table. show mac address-table static Displays static MAC address table entries only. Catalyst 2950 Desktop Switch Command Reference 2-90 78-11381-05...
Only one match command per class map is supported. For more information about configuring ACLs, refer to the “Configuring Network Security with ACLs” Note chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Catalyst 2950 Desktop Switch Command Reference 2-91...
Page 116
Controls access to an interface. mac access-group Applies a named extended MAC ACL to an interface. show class-map Displays quality of service (QoS) class maps. show policy-map Displays QoS policy maps. Catalyst 2950 Desktop Switch Command Reference 2-92 78-11381-05...
CoS of the port at the ingress port. Examples This example shows how to configure the default port CoS to 4: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# mls qos trust cos Switch(config-if)# mls qos cos 4 Catalyst 2950 Desktop Switch Command Reference 2-93 78-11381-05...
Page 118
Related Commands Command Description mls qos map Defines the CoS-to-DSCP map or the DSCP-to-CoS map. mls qos trust Configures the port trust state. show mls qos interface Displays quality of service (QoS) information. Catalyst 2950 Desktop Switch Command Reference 2-94 78-11381-05...
Table 2-3 Default DSCP-to-CoS Map DSCP Values 8, 10 16, 18 24, 26 32, 34 40, 46 CoS Value Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was first introduced. Catalyst 2950 Desktop Switch Command Reference 2-95 78-11381-05...
Page 120
Defines the default CoS value of a port or assigns the default CoS to all incoming packets on the port. mls qos trust Configures the port trust state. show mls qos maps Displays quality of service (QoS) mapping information. Catalyst 2950 Desktop Switch Command Reference 2-96 78-11381-05...
DSCP value (pass-through mode). device cisco-phone (Optional) Classify ingress packets by trusting the value sent from the Cisco IP phone (trusted boundary). dscp (Optional) Classify ingress packets with packet DSCP values (most significant 6 bits of the 8-bit service-type field).
The trusted boundary feature prevents security problems if users disconnect their PCs from networked Cisco IP phones and connect them into the switch port to take advantage of trusted CoS settings. You must globally enable the Cisco Discovery Protocol (CDP) on both the switch and on the interface connected to the IP phone.
Page 123
Defines the default CoS value of a port or assigns the default CoS to all incoming packets on the port. mls qos map Defines the CoS-to-DSCP map or the DSCP-to-CoS map. show mls qos interface Displays QoS information. Catalyst 2950 Desktop Switch Command Reference 2-99 78-11381-05...
On a source interface, the default is to monitor both received and transmitted traffic. If encapsulation type is not specified on a destination port, packets are sent in native form with no encapsulation. Catalyst 2950 Desktop Switch Command Reference 2-100 78-11381-05...
Switch(config)# monitor session 1 source interface fastEthernet0/1 both Switch(config)# monitor session 1 destination interface fastEthernet0/8 This example shows how to delete a destination port from an existing SPAN session: Switch(config)# no monitor session 2 destination fastEthernet0/4 Catalyst 2950 Desktop Switch Command Reference 2-101 78-11381-05...
Page 126
You can verify your settings by entering the show monitor privileged EXEC command. Related Commands Command Description remote-span Configures an RSPAN VLAN in vlan configuration mode. show monitor Displays SPAN and RSPAN session information. Catalyst 2950 Desktop Switch Command Reference 2-102 78-11381-05...
(SI) is installed. Do not enter leading zeros. Defaults MVR is disabled. The default MVR mode is compatible mode. No IP multicast addresses are configured on the switch. The default group IP address count is 0. Catalyst 2950 Desktop Switch Command Reference 2-103 78-11381-05...
Page 128
Cannot add this IP address - aliases with previously configured IP address 228.1.23.4. This example shows how to configure ten contiguous IP multicast groups with multicast addresses from 228.1.23.1 to 228.1.23.10: Switch(config)# mvr group 228.1.23.1 10 Catalyst 2950 Desktop Switch Command Reference 2-104 78-11381-05...
Page 129
Displays all MVR groups of which the interface is a member. show mvr members Displays all ports that are members of an MVR multicast group; if the group has no members, its status is shown as Inactive. Catalyst 2950 Desktop Switch Command Reference 2-105 78-11381-05...
Switch(config-if)# mvr immediate This example shows how to disable the Immediate-Leave feature on a port: Switch(config-if)# no mvr immediate You can verify your settings by entering the show mvr privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-106 78-11381-05...
Page 131
Configures a port as a receiver or source port. mvr vlan group Configures a receiver port as a member of an MVR group. show mvr Displays MVR global parameters or port parameters. Catalyst 2950 Desktop Switch Command Reference 2-107 78-11381-05...
This port is a normal switch port and is able to send and receive multicast data with normal switch behavior. Examples This example shows how to configure a port as an MVR receiver port: Switch(config)# interface fastethernet0/1 Switch(config-if)# mvr type receiver Catalyst 2950 Desktop Switch Command Reference 2-108 78-11381-05...
Page 133
Enables the Immediate-Leave feature on an interface. mvr vlan group Configures a receiver port as a member of an MVR group. show mvr Displays MVR global parameters or port parameters. Catalyst 2950 Desktop Switch Command Reference 2-109 78-11381-05...
This example shows how to remove an entry on port 0/3 in VLAN 10: Switch(config)# interface fastethernet0/3 Switch(config-if)# no mvr 10 group 255.1.1.2 You can verify your settings by entering the show mvr privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-110 78-11381-05...
Description Enables MVR. mvr immediate Enables the Immediate-Leave feature on an interface. mvr type Configures a port as a receiver or source port. show mvr Displays MVR global parameters or port parameters. Catalyst 2950 Desktop Switch Command Reference 2-111 78-11381-05...
If the link partner to the switch is a physical learner that has the channel-group interface configuration command set to on, set the load-distribution method based on the source MAC address by using the port-channel load-balance src-mac global configuration command. Catalyst 2950 Desktop Switch Command Reference 2-112 78-11381-05...
Page 137
Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 Desktop Switch Command Reference 2-113...
0.0.0.0. • The keyword any as an abbreviation for source and source-wildcard of 0.0.0.0 255.255.255.255. You do not need to enter a source-wildcard. Catalyst 2950 Desktop Switch Command Reference 2-115 78-11381-05...
Page 140
There are no specific conditions that permit packets in a named or numbered IP ACL. The default ACL is always terminated by an implicit deny statement for all packets. Command Modes Access-list configuration Command History Release Modification 12.1(6)EA2 This command was first introduced. Catalyst 2950 Desktop Switch Command Reference 2-116 78-11381-05...
Page 141
For more information about configuring IP ACLs, refer to the “Configuring Network Security with Note ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to create an extended IP ACL and configure permit conditions for it: Switch(config)# ip access-list extended Internetfilter2 Switch(config-ext-nacl)# permit host 36.10.10.5 any...
Page 143
• For more information about configuring MAC extended ACLs, refer to the “Configuring Network Note Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to define the named MAC extended ACL to deny NETBIOS traffic from any source to MAC address 00c0.00a0.03fa.
Policers cannot be configured on egress Fast Ethernet and Gigabit-capable Ethernet ports. To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command. Catalyst 2950 Desktop Switch Command Reference 2-120 78-11381-05...
Page 145
Note For more information about configuring access control lists (ACLs), refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to configure a policer that sets the DSCP value to 46 if traffic does not exceed...
Entering this command also enables the policy-map configuration mode in which you can configure or modify the class policies for that policy map. Catalyst 2950 Desktop Switch Command Reference 2-122 78-11381-05...
Page 147
Note For more information about configuring access control lists (ACLs), refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples This example shows how to create a policy map called policy1.
Examples This example shows how to set the load-distribution method to dst-mac: Switch(config)# port-channel load-balance dst-mac You can verify your settings by entering the show etherchannel privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-124 78-11381-05...
Page 149
Displays the configuration information running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 Desktop Switch Command Reference 2-125...
This command does not work if the vty lines of the command switch have access-class configurations. You are not prompted for a password because the member switches inherited the password of the command switch when they joined the cluster. Catalyst 2950 Desktop Switch Command Reference 2-126 78-11381-05...
Page 151
3 until you enter the exit command or close the session. Switch# rcommand 3 Switch-3# show version Cisco Internet Operating System Software ... Switch-3# exit Switch# Related Commands Command Description show cluster members Displays information about the cluster members. Catalyst 2950 Desktop Switch Command Reference 2-127 78-11381-05...
Switch(config-vlan)# remote-span This example shows how to remove the RSPAN feature from a VLAN. Switch(config)# vlan 901 Switch(config-vlan)# no remote-span You can verify your settings by entering the show vlan user EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-128 78-11381-05...
Page 153
Enables SPAN and RSPAN monitoring on a port and configures a port as a source or destination port. vlan (global Changes to config-vlan mode where you can configure VLANs 1 to 1005. Do configuration) not enter leading zeros. Catalyst 2950 Desktop Switch Command Reference 2-129 78-11381-05...
Related Commands Command Description show rmon statistics Displays RMON statistics. For more information on this command, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS System Management Commands > RMON Commands. Catalyst 2950 Desktop Switch Command Reference...
Service policy maps cannot be defined on egress interfaces. For more information about configuring access control lists (ACLs), refer to the “Configuring Network Note Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Examples...
Note For more information about configuring access control lists (ACLs), refer to the “Configuring Network Security with ACLs” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide for this release. Catalyst 2950 Desktop Switch Command Reference...
Page 157
Defines a policer for classified traffic. policy-map Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy. show policy-map Displays quality of service (QoS) policy maps. Catalyst 2950 Desktop Switch Command Reference 2-133 78-11381-05...
10.245.137.0 any permit ip host 10.245.155.128 any permit ip host 10.221.111.64 any permit ip host 10.216.25.128 any permit ip host 10.186.122.64 any permit ip host 10.169.110.128 any permit ip host 10.146.106.192 any Catalyst 2950 Desktop Switch Command Reference 2-134 78-11381-05...
Page 159
Configures a standard IP ACL on the switch. ip access-list Configures an IP ACL on the switch. mac access-list extended Creates an ACL based on MAC addresses. show ip access-lists Displays the IP ACLs configured on a switch. Catalyst 2950 Desktop Switch Command Reference 2-135 78-11381-05...
The configuration file cannot be larger than the buffer size allocation. Related Commands Command Description boot private-config-file Specifies the filename that IOS uses to read and write a nonvolatile copy of the private configuration. Catalyst 2950 Desktop Switch Command Reference 2-137 78-11381-05...
Match access-group name testingacl Class Map match-any class-default (id 0) Match any Class Map match-all class1 (id 5) Match access-group Class Map match-all classtest (id 4) Description: This is a test. Match access-group name testingacl Catalyst 2950 Desktop Switch Command Reference 2-138 78-11381-05...
Page 163
Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify. match Defines the match criteria to classify traffic. Catalyst 2950 Desktop Switch Command Reference 2-139 78-11381-05...
Time since last status change: 0 days, 0 hours, 2 minutes Redundancy: Enabled Standby command switch: Member 1 Standby Group: Switch1_standby Standby Group Number: Heartbeat interval: Heartbeat hold-time: Extended discovery hop count: Catalyst 2950 Desktop Switch Command Reference 2-140 78-11381-05...
Page 165
Enables a command-capable switch as the cluster command switch, assigns a cluster name, and optionally assigns a member number to it. show cluster candidates Displays a list of candidate switches. show cluster members Displays information about the cluster members. Catalyst 2950 Desktop Switch Command Reference 2-141 78-11381-05...
Hops from command device: 2 Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster members Displays information about the cluster members. Catalyst 2950 Desktop Switch Command Reference 2-143 78-11381-05...
Hops from command device: 1 Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster candidates Displays a list of candidate switches. Catalyst 2950 Desktop Switch Command Reference 2-145 78-11381-05...
Output appear. Examples This is an example of output from the show dot1x command: Switch# show dot1x Global 802.1X Parameters reauth-enabled reauth-period 3600 quiet-period tx-period supp-timeout server-timeout reauth-max max-req Catalyst 2950 Desktop Switch Command Reference 2-146 78-11381-05...
Page 171
The Authorized column shows the authorization state of the port. For information about port states, refer to the “Configuring 802.1X Port-Based Authentication” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide. This is an example of output from the show dot1x interface gigabitethernet0/2 privileged EXEC command.
Page 172
Switch# show dot1x statistics interface gigabitethernet0/1 GigabitEthernet0/1 Rx: EAPOL EAPOL EAPOL EAPOL Start Logoff Invalid Total Resp/Id Resp/Oth LenError Last Last EAPOLVer EAPOLSrc 0002.4b29.2a03 Tx: EAPOL Total Req/Id Req/Oth Catalyst 2950 Desktop Switch Command Reference 2-148 78-11381-05...
Page 173
1. EAPOL = Extensible Authentication Protocol over LAN 2. EAP = Extensible Authentication Protocol Related Commands Command Description dot1x default Resets the global 802.1X parameters to their default values. Catalyst 2950 Desktop Switch Command Reference 2-149 78-11381-05...
This is an example of output from the show env all command: Switch> show env all FAN 1 is OK This is an example of output from the show env fan command: Switch# show env fan FAN 1 is FAULTY Catalyst 2950 Desktop Switch Command Reference 2-150 78-11381-05...
Chapter 2 Cisco IOS Commands show errdisable recovery Related Commands Command Description errdisable recovery Configures the recover mechanism variables. show interfaces trunk Displays interface status or a list of interfaces in error-disabled state. Catalyst 2950 Desktop Switch Command Reference 2-152 78-11381-05...
If you do not specify a channel-group, all channel groups appear. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-153 78-11381-05...
Page 178
This is an example of output from the show etherchannel 1 brief command: Switch> show etherchannel 1 brief Group state = L2 Ports: 1 Maxports = 8 Port-channels: 1 Max Port-channels = 1 Catalyst 2950 Desktop Switch Command Reference 2-154 78-11381-05...
Page 179
Fa0/3 U1/S1 Age of the port in the current state: 10d:23h:13m:21s Related Commands Command Description channel-group Assigns an Ethernet interface to an EtherChannel group. interface port-channel Accesses or creates the port channel. Catalyst 2950 Desktop Switch Command Reference 2-155 78-11381-05...
This is an example of output from the show file descriptors command: Switch# show file descriptors File Descriptors: Position Open Path 187392 0001 tftp://temp/hampton/c2950g.a 184320 030A flash:c2950-i-m.a Table 2-7 describes the fields in the show file descriptors command output. Catalyst 2950 Desktop Switch Command Reference 2-156 78-11381-05...
Page 182
The file system is of unknown type. Table 2-11 File System Flags Field Description The file system is Read Only. The file system is Write Only The file system is Read/Write. Catalyst 2950 Desktop Switch Command Reference 2-158 78-11381-05...
This command was first introduced. Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-159 78-11381-05...
Page 184
This is an example of output from the show interfaces fastethernet0/1 pruning command when pruning is enabled in the VTP domain: Switch# show interfaces fastethernet0/1 pruning Port Vlans pruned for lack of request by neighbor Fa0/1 4,196 Catalyst 2950 Desktop Switch Command Reference 2-160 78-11381-05...
Page 185
Gcchange = 0 Port-channel = Po1 = 0x00010001 Pseudo port-channel = Po1 Port index Load = 0x00 Age of the port in the current state:00d:00h:06m:54s ---- Port-channel1: Age of the Port-channel = 09d:22h:45m:14s Catalyst 2950 Desktop Switch Command Reference 2-161 78-11381-05...
Page 186
Trunking VLANs Enabled trunk. Trunking VLANs Active Pruning VLANs Enabled Lists the VLANs that are pruning-eligible. Protected Displays whether or not protected port is enabled (True) or disabled (False) on the interface. Catalyst 2950 Desktop Switch Command Reference 2-162 78-11381-05...
Page 187
Configures a port as a static-access or dynamic-access port. switchport protected Isolates Layer 2 unicast, multicast, and broadcast traffic from other protected ports on the same switch. switchport trunk pruning Configures the VLAN pruning-eligible list for ports in trunking mode. Catalyst 2950 Desktop Switch Command Reference 2-163 78-11381-05...
If you do not enter any keywords, all counters for all interfaces are included. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-164 78-11381-05...
This is an example of output from the show interfaces counters trunk command. It displays the trunk counters for all interfaces. Switch# show interfaces counters trunk Port TrunkFramesTx TrunkFramesRx WrongEncap Gi0/1 Gi0/2 Catalyst 2950 Desktop Switch Command Reference 2-165 78-11381-05...
Page 190
Switch# show interfaces counters unicast Port UcastSuppDiscards Gi0/1 6872 Gi0/2 Related Commands Command Description show interfaces Displays interface characteristics. storm-control Configures broadcast, multicast, and unicast storm control for an interface. Catalyst 2950 Desktop Switch Command Reference 2-166 78-11381-05...
10.146.106.192 any permit ip host 10.216.25.128 any permit ip host 10.228.215.0 any permit ip host 10.221.111.64 any permit ip host 10.123.222.192 any permit ip host 10.169.110.128 any permit ip host 10.186.122.64 any Catalyst 2950 Desktop Switch Command Reference 2-167 78-11381-05...
Page 192
Configures an extended IP ACL on the switch. access-list (IP standard) Configures a standard IP ACL on the switch. ip access-list Configures an IP ACL on the switch. show access-lists Displays ACLs configured on a switch. Catalyst 2950 Desktop Switch Command Reference 2-168 78-11381-05...
2 ---------- IGMP snooping is globally enabled IGMP snooping is enabled on this Vlan IGMP snooping immediate-leave is enabled on this Vlan IGMP snooping mrouter learn mode is cgmp on this Vlan Catalyst 2950 Desktop Switch Command Reference 2-169 78-11381-05...
Page 194
Configures IGMP Immediate-Leave processing. immediate-leave ip igmp snooping vlan mrouter Configures a Layer 2 port as a multicast router port. show mac address-table multicast Displays the Layer 2 multicast entries for a VLAN. Catalyst 2950 Desktop Switch Command Reference 2-170 78-11381-05...
In this example, is a dynamically learned router port, and is a configured static router port. Fa0/3 Fa0/2 Switch# show ip igmp snooping mrouter vlan 1 Vlan ports ---- ----- Fa0/2(static), Fa0/3(dynamic) Catalyst 2950 Desktop Switch Command Reference 2-171 78-11381-05...
Page 196
Configures IGMP Immediate-Leave processing. immediate-leave ip igmp snooping vlan mrouter Configures a Layer 2 port as a multicast router port. show mac address-table multicast Displays the Layer 2 multicast entries for a VLAN. Catalyst 2950 Desktop Switch Command Reference 2-172 78-11381-05...
Inbound access-list is not set Interface FastEthernet0/4: Inbound access-list is not set Interface FastEthernet0/47: Inbound access-list is not set Interface FastEthernet0/48: Inbound access-list is not set Interface GigabitEthernet0/1: Inbound access-list is not set Catalyst 2950 Desktop Switch Command Reference 2-173 78-11381-05...
Page 198
This is an example of output from the show mac access-group interface gigabitethernet 0/2 command: Switch# show mac access-group interface gigabitethernet 0/2 Interface GigabitEthernet0/2: Inbound access-list is 101 Related Commands Command Description mac access-group Applies a MAC ACL to an interface. Catalyst 2950 Desktop Switch Command Reference 2-174 78-11381-05...
The show mac-address table secure command was replaced by the show port-security command. The self keyword is not supported in this release or later. 12.1(11)EA1 The show mac-address-table command was replaced by the show mac address-table command. Catalyst 2950 Desktop Switch Command Reference 2-175 78-11381-05...
Page 200
Total MAC Addresses In Use:42 Remaining MAC addresses: 8150 This is an example of output from the show mac address-table aging-time command: Switch> show mac address-table aging-time Vlan Aging Time ---- ---------- Catalyst 2950 Desktop Switch Command Reference 2-176 78-11381-05...
Page 201
Related Commands Command Description clear mac address-table Deletes from the MAC address table a specific dynamic address, all dynamic dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. Catalyst 2950 Desktop Switch Command Reference 2-177 78-11381-05...
Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-178 78-11381-05...
Page 203
This is an example of output from the show mac address-table multicast vlan 1 igmp-snooping count command: Switch# show mac address-table multicast vlan 1 igmp-snooping count Number of igmp-snooping programmed entries : 1 Catalyst 2950 Desktop Switch Command Reference 2-179 78-11381-05...
Output appear. Examples This is an example of output from the show mac address-table notification command: Switch> show mac address-table notification MAC Notification Feature is Disabled on the switch Catalyst 2950 Desktop Switch Command Reference 2-180 78-11381-05...
Page 205
Related Commands Command Description clear mac address-table notification Clears the MAC address notification global counters. mac address-table notification Enables the MAC notification feature. snmp trap mac-notification Enables MAC-notification traps on a port. Catalyst 2950 Desktop Switch Command Reference 2-181 78-11381-05...
You can configure up to four ACPs (QoS and security) on a switch. Note Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-182 78-11381-05...
Applies an IP ACL to an interface. mac access-group Applies a named extended MAC ACL to an interface. policy-map Creates or modifies a policy map that can be attached to multiple interfaces and enters policy-map configuration mode. Catalyst 2950 Desktop Switch Command Reference 2-183 78-11381-05...
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Examples This is an example of output from the show mls qos interface command when the Cisco IP phone is a trusted device: Switch> show mls qos interface fastethernet0/1...
Page 209
Defines the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map and DSCP-to-CoS map. mls qos trust Configures the port trust state. Ingress traffic can be trusted and classification is performed by examining the CoS or DSCP value. Catalyst 2950 Desktop Switch Command Reference 2-185 78-11381-05...
Output appear. Examples This is an example of output from the show mls qos maps cos-dscp command: Switch> show mls qos maps cos-dscp Cos-dscp map: cos: -------------------------------- dscp: 8 24 32 56 56 Catalyst 2950 Desktop Switch Command Reference 2-186 78-11381-05...
The all, local, and remote keywords were added. Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed. Catalyst 2950 Desktop Switch Command Reference 2-188 78-11381-05...
Page 213
Fa0/4 Filter VLANs: None Dest RSPAN VLAN: 901 Related Commands Command Description monitor session Enables SPAN and RSPAN monitoring on a port and configures a port as a source or destination port. Catalyst 2950 Desktop Switch Command Reference 2-189 78-11381-05...
(for interoperability with Catalyst 2900 XL and Catalyst 3500 XL switches) or dynamic (where operation is consistent with Internet Group Management Protocol [IGMP] snooping operation, and dynamic MVR membership on source ports is supported). Catalyst 2950 Desktop Switch Command Reference 2-190 78-11381-05...
Page 215
Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs. show mvr members Displays all ports that are members of an MVR multicast group. Catalyst 2950 Desktop Switch Command Reference 2-191 78-11381-05...
In the previous example, Status is defined as: • Active means the port is part of a VLAN. • Up/Down means that the port is forwarding/nonforwarding. • Inactive means that the port is not part of any VLAN. Catalyst 2950 Desktop Switch Command Reference 2-192 78-11381-05...
Page 217
Configures an MVR port as a receiver or a source port. show mvr Displays the global MVR configuration on the switch. show mvr members Displays all receiver ports that are members of an MVR multicast group. Catalyst 2950 Desktop Switch Command Reference 2-193 78-11381-05...
Displays the global MVR configuration on the switch. show mvr interface Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs. Catalyst 2950 Desktop Switch Command Reference 2-195 78-11381-05...
Examples This is an example of output from the show pagp 1 counters command: Switch> show pagp 1 counters Information Flush Port Sent Recv Sent Recv -------------------------------------- Channel group: 1 Gi0/1 Gi0/2 Catalyst 2950 Desktop Switch Command Reference 2-196 78-11381-05...
Page 221
Gi0/2 device-p2 0002.4b29.4600 Gi0/2 24s SC 10001 Related Commands Command Description clear pagp Clears PAgP channel-group information. pagp learn-method Sets the source-address learning method of incoming packets received from an EtherChannel port. Catalyst 2950 Desktop Switch Command Reference 2-197 78-11381-05...
Examples This is an example of output from the show policy-map command: Switch> show policy-map Policy Map bumbum Description: this is a description. Policy Map wizard_policy3 class wizard_1-1-1-2 set ip dscp 34 Catalyst 2950 Desktop Switch Command Reference 2-198 78-11381-05...
Page 223
20 police 10000000 8192 exceed-action drop Related Commands Command Description policy-map Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy. Catalyst 2950 Desktop Switch Command Reference 2-199 78-11381-05...
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-200 78-11381-05...
Page 225
Fa0/1 0005.0005.0001 SecureConfigured Fa0/5 0005.0005.0002 SecureConfigured Fa0/5 0005.0005.0003 SecureConfigured Fa0/5 0011.0011.0001 SecureConfigured Fa0/11 25 (I) 0011.0011.0002 SecureConfigured Fa0/11 25 (I) ------------------------------------------------------------------- Total Addresses in System :10 Max Addresses limit in System :1024 Catalyst 2950 Desktop Switch Command Reference 2-201 78-11381-05...
Page 226
------------------------------------------------------------------- Total Addresses:3 Related Commands Command Description switchport port-security Enables port security on a port, restricts the use of the port to a user-defined group of stations, and configures secure MAC addresses. Catalyst 2950 Desktop Switch Command Reference 2-202 78-11381-05...
Chapter 2 Cisco IOS Commands show rps show rps Use the show rps privileged EXEC command to display the status of the Cisco Redundant Power System (RPS). show rps [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the specified expression.
Page 228
The RPS +12V or -48V voltages exceed the specified thresholds. • The RPS has a fan failure. • The RPS detects excessive temperature. • The RPS has a faulty connection to the switch. • Catalyst 2950 Desktop Switch Command Reference 2-204 78-11381-05...
Examples This is an example of output from the show running-config vlan command: Switch# show running-config vlan 900-2005 Building configuration... Current configuration: vlan 907 vlan 920 vlan 1025 vlan 2000 vlan 2001 Catalyst 2950 Desktop Switch Command Reference 2-205 78-11381-05...
Page 230
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. vlan (global Enters config-vlan mode for creating and editing VLANs. When VLAN...
1 to 4094 when the enhanced software image (EI) is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros. The valid port-channel range is 1 to 6. Catalyst 2950 Desktop Switch Command Reference 2-207 78-11381-05...
Page 232
If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed. Catalyst 2950 Desktop Switch Command Reference 2-208 78-11381-05...
Page 233
Switch> show spanning-tree interface fastethernet0/1 Vlan Port ID Designated Port ID Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr ---------------- -------- --------- --- --------- -------------------- -------- VLAN0001 128.1 19 FWD 38 32768 0030.9441.62c1 128.25 Catalyst 2950 Desktop Switch Command Reference 2-209 78-11381-05...
Page 234
2, forward delay 15, max age 20, max hops 20 Interface role state cost prio type -------------------- ---- ----- --------- ---- -------------------------------- GigabitEthernet0/1 root FWD 200000 P2P bound(STP) GigabitEthernet0/2 desg FWD 200000 P2P bound(STP) Port-channel1 desg FWD 200000 P2P bound(STP) Catalyst 2950 Desktop Switch Command Reference 2-210 78-11381-05...
Page 235
Accelerates the choice of a new root port when a link or switch fails or when the spanning tree reconfigures itself. spanning-tree vlan Configures spanning tree on a per-VLAN basis. Catalyst 2950 Desktop Switch Command Reference 2-211 78-11381-05...
When no option is specified, the default is to display broadcast storm-control information. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 2950 Desktop Switch Command Reference 2-212 78-11381-05...
Page 237
Displays the bandwidth utilization of a specific traffic type as a percentage of total available bandwidth. This field is valid only when storm control is enabled. Traps Sent Displays the number traps sent on an interface for a specific traffic type. Catalyst 2950 Desktop Switch Command Reference 2-213 78-11381-05...
Page 238
The duration field could be n/a when a storm is still present or when a new storm of a different type Note occurs before the current storm ends. Related Commands Command Description storm-control Enables broadcast, multicast, or unicast storm control on a port. Catalyst 2950 Desktop Switch Command Reference 2-214 78-11381-05...
This is an example of output from the show system mtu command: Switch# show system mtu System MTU size is 1500 bytes Related Commands Command Description system mtu Sets the MTU size for the switch. Catalyst 2950 Desktop Switch Command Reference 2-215 78-11381-05...
Current operational state: Advertisement - Single Neighbor detected Message interval: 60 Time out interval: 5 Entry 1 Expiration time: 146 Device ID: 1 Current neighbor state: Bidirectional Device name: 0050e2826000 Port ID: Gi0/2 Catalyst 2950 Desktop Switch Command Reference 2-216 78-11381-05...
Page 241
The port number ID of the neighbor from which the echo originated. Message interval The rate, in seconds, at which the neighbor is sending advertisement messages. device name CDP name of the device. 1. CDP = Cisco Discovery Protocol Catalyst 2950 Desktop Switch Command Reference 2-217 78-11381-05...
Page 242
Command Description udld (global configuration) Enables UDLD on all ports on the switch. udld (interface configuration) Enables UDLD on a port. udld reset Resets any interface that was shut down by UDLD. Catalyst 2950 Desktop Switch Command Reference 2-218 78-11381-05...
ROM:Bootstrap program is C2950 boot loader Switch uptime is 1 hour, 54 minutes System returned to ROM by power-on System image file is "flash:c2950-i6q4l2-mz.121-0.0.9.EA1.bin" cisco WS-C2950G-12-EI (RC32300) processor with 20830K bytes of memory. Last reset from system-reset Running Enhanced Image 12 FastEthernet/IEEE 802.3 interface(s) 2 Gigabit Ethernet/IEEE 802.3 interface(s)
The remote-span keyword was added. Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed. Catalyst 2950 Desktop Switch Command Reference 2-220 78-11381-05...
Page 245
Media type of the VLAN. SAID Security association ID value for the VLAN. Maximum transmission unit size for the VLAN. Parent Parent VLAN, if one exists. RingNo Ring number for the VLAN, if applicable. Catalyst 2950 Desktop Switch Command Reference 2-221 78-11381-05...
Page 246
This is an example of output from the show vlan summary command: Switch> show vlan summary Number of existing VLANs Number of existing VTP VLANs Number of existing extended VLANs : 0 Catalyst 2950 Desktop Switch Command Reference 2-222 78-11381-05...
Page 247
EI is installed and 1 to 1005 when the standard software image (SI) is installed. Do not enter leading zeros. vlan (VLAN Configures VLAN characteristics in the VLAN database. Only available for configuration) normal-range VLANs (VLAN IDs 1 to 1005). Do not enter leading zeros. Catalyst 2950 Desktop Switch Command Reference 2-223 78-11381-05...
This is an example of output from the show vmps statistics command. Table 2-17 describes each field in the example. Switch> show vmps statistics VMPS Client Statistics ---------------------- Queries: Responses: VMPS Changes: Shutdowns: Denied: Wrong Domain: Catalyst 2950 Desktop Switch Command Reference 2-224 78-11381-05...
Sends VQP queries to reconfirm all dynamic VLAN assignments with the (global configuration) VMPS. vmps retry Configures the per-server retry count for the VQP client. vmps server Configures the primary VMPS and up to three secondary servers. Catalyst 2950 Desktop Switch Command Reference 2-225 78-11381-05...
Number of config revision errors Number of config digest errors Number of V1 summary errors VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Fa0/9 Fa0/10 Fa0/11 Catalyst 2950 Desktop Switch Command Reference 2-226 78-11381-05...
Page 251
VTP password in the two switches is different or that the switches have different configurations. These errors means that the switch is filtering incoming advertisements, which causes the VTP database to become unsynchronized across the network. Catalyst 2950 Desktop Switch Command Reference 2-227 78-11381-05...
Page 252
1 but can be set to version 2. Configuration Revision Current configuration revision number on this switch. Maximum VLANs Supported Maximum number of VLANs supported locally. Locally Number of Existing VLANs Number of existing VLANs. Catalyst 2950 Desktop Switch Command Reference 2-228 78-11381-05...
Page 253
A 16-byte checksum of the VTP configuration. Configuration Last Modified Displays the date and time of the last configuration modification. Displays the IP address of the switch that caused the configuration change to the database. Catalyst 2950 Desktop Switch Command Reference 2-229 78-11381-05...
Page 254
You can save configuration resulting from this command in the switch configuration file. vtp (privileged EXEC) Configures the VTP password, pruning, and version. vtp (VLAN configuration) Configures the VTP domain name, password, pruning, and mode. Catalyst 2950 Desktop Switch Command Reference 2-230 78-11381-05...
Displays the mapping of the CoS to the priority queues. wrr-queue bandwidth Assigns WRR weights to the four CoS priority queues. wrr-queue cos-map Assigns CoS values to the CoS priority queues. Catalyst 2950 Desktop Switch Command Reference 2-231 78-11381-05...
Displays the WRR bandwidth allocation for the four CoS priority queues. wrr-queue bandwidth Assigns weighted round-robin (WRR) weights to the four CoS priority queues. wrr-queue cos-map Assigns CoS values to the CoS priority queues. Catalyst 2950 Desktop Switch Command Reference 2-232 78-11381-05...
This example shows how to disable fixed Fast Ethernet port 0/8 and how to re-enable it: Switch(config)# interface fastethernet0/8 Switch(config-if)# shutdown Switch(config-if)# no shutdown You can verify your settings by entering the show interfaces privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-233 78-11381-05...
Shuts down local traffic on the VLAN when in config-VLAN mode (accessed by the (config-vlan mode) vlan vlan-id global configuration command). vlan (global Enables config-vlan mode. configuration) vlan database Enters VLAN configuration mode. Catalyst 2950 Desktop Switch Command Reference 2-234 78-11381-05...
(Optional) Enable VLAN Trunking Protocol (VTP) traps. Defaults The sending of SNMP traps is disabled. Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was first introduced. 12.1(9)EA1 The vlan-membership keyword was added. Catalyst 2950 Desktop Switch Command Reference 2-235 78-11381-05...
Page 260
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. snmp-server host Specifies the host that receives SNMP traps.
Page 262
The snmp-server host command is used with the snmp-server enable traps global configuration command. Use the snmp-server enable traps command to specify which SNMP notifications are sent globally. For a host to receive most notifications, at least one snmp-server enable traps command and Catalyst 2950 Desktop Switch Command Reference 2-238 78-11381-05...
Page 263
The community string is defined as comaccess: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com comaccess snmp This example shows how to enable the switch to send all traps to the host myhost.cisco.com using the community string public: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com public...
You can verify your settings by entering the show mac address-table notification privileged EXEC command. Related Commands Command Description clear mac address-table notification Clears the MAC address notification global counters. mac address-table notification Enables the MAC notification feature on a switch. Catalyst 2950 Desktop Switch Command Reference 2-240 78-11381-05...
Page 265
Chapter 2 Cisco IOS Commands snmp trap mac-notification Command Description show mac address-table notification Displays MAC notification parameters. snmp-server enable traps Enables SNMP notification for various trap types. Catalyst 2950 Desktop Switch Command Reference 2-241 78-11381-05...
Switch(config)# spanning-tree backbonefast You can verify your setting by entering the show spanning-tree summary privileged EXEC command. Related Commands Command Description show spanning-tree summary Displays a summary of the spanning-tree port states. Catalyst 2950 Desktop Switch Command Reference 2-242 78-11381-05...
You can globally enable BPDU filtering on all Port Fast-enabled ports by using the spanning-tree portfast bpdufilter default global configuration command. You can use the spanning-tree bpdufilter interface configuration command to override the setting of the spanning-tree portfast bpdufilter default global configuration command. Catalyst 2950 Desktop Switch Command Reference 2-243 78-11381-05...
Page 268
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree portfast (global Globally enables the BPDU filtering or the BPDU guard feature...
This example shows how to enable the BPDU guard feature on a port: Switch(config)# interface fastethernet0/1 Switch(config-if)# spanning-tree bpduguard enable You can verify your setting by entering the show running-config privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-245 78-11381-05...
Page 270
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree portfast (global Globally enables the BPDU filtering or the BPDU guard feature...
You can set a cost on a VLAN that does not exist. The setting takes effect when the VLAN exists. Examples This example shows how to set a path cost of 250 on an interface (an access port): Switch(config)# interface fastethernet0/4 Switch(config-if)# spanning-tree cost 250 Catalyst 2950 Desktop Switch Command Reference 2-247 78-11381-05...
Page 272
Related Commands Command Description show spanning-tree interface Displays spanning-tree information for the specified interface. interface-id spanning-tree port-priority Configures an interface priority. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance. Catalyst 2950 Desktop Switch Command Reference 2-248 78-11381-05...
ID support will become the root switch. The extended system ID increases the switch priority value every time the VLAN number is greater than the priority of the connected switches running older software. Catalyst 2950 Desktop Switch Command Reference 2-249 78-11381-05...
Page 274
Displays a summary of spanning-tree port states. spanning-tree mst root Configures the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance. Catalyst 2950 Desktop Switch Command Reference 2-250 78-11381-05...
When the no spanning-tree guard or the no spanning-tree guard none command is entered, root guard is disabled for all VLANs on the selected interface. If this interface is in the root-inconsistent (blocked) state, it automatically transitions to the listening state. Catalyst 2950 Desktop Switch Command Reference 2-251 78-11381-05...
Page 276
Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree cost Sets the path cost for spanning-tree calculations.
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command. Related Commands Command Description show spanning-tree mst interface Displays multiple spanning-tree (MST) information for the interface-id specified interface. Catalyst 2950 Desktop Switch Command Reference 2-253 78-11381-05...
Examples This example shows how to globally enable loop guard: Switch(config)# spanning-tree loopguard default You can verify your settings by entering the show running-config privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-254 78-11381-05...
Page 279
Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree guard loop Enables the loop guard feature on all the VLANs associated with the specified interface.
1 vlan 1-63 maps VLANs 1 to 63 to MST instance 1. To specify a series, use a comma; for example, instance 1 vlan 10, 20, 30 maps VLANs 10, 20, and 30 to MST instance 1. Catalyst 2950 Desktop Switch Command Reference 2-257...
Page 282
Switch(config-mst)# instance 10 vlan 10 Switch(config-mst)# no instance 2 You can verify your settings by entering the show pending MST configuration command. Related Commands Command Description show spanning-tree mst configuration Displays the MST region configuration. Catalyst 2950 Desktop Switch Command Reference 2-258 78-11381-05...
This example shows how to set a path cost of 250 on an interface associated with instance 2: Switch(config)# interface fastethernet0/4 Switch(config-if)# spanning-tree mst 2 cost 250 You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-259 78-11381-05...
Page 284
Command Description show spanning-tree Displays MST information for the specified interface. interface interface-id spanning-tree mst Configures an interface priority. port-priority spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance. Catalyst 2950 Desktop Switch Command Reference 2-260 78-11381-05...
Sets the interval between messages that the spanning tree receives from the root switch. spanning-tree mst max-hops Sets the number of hops in a region before the BPDU is discarded. Catalyst 2950 Desktop Switch Command Reference 2-261 78-11381-05...
This example shows how to set the spanning-tree hello time to 3 seconds for all MST instances: Switch(config)# spanning-tree mst hello-time 3 You can verify your settings by entering the show spanning-tree mst privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-262 78-11381-05...
Page 287
Sets the interval between messages that the spanning tree receives from the root switch. spanning-tree mst max-hops Sets the number of hops in a region before the BPDU is discarded. Catalyst 2950 Desktop Switch Command Reference 2-263 78-11381-05...
This example shows how to set the spanning-tree max-age to 30 seconds for all MST instances: Switch(config)# spanning-tree mst max-age 30 You can verify your settings by entering the show spanning-tree mst privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-264 78-11381-05...
Page 289
Sets the forward-delay time for all MST instances. spanning-tree mst hello-time Sets the interval between hello BPDUs sent by root switch configuration messages. spanning-tree mst max-hops Sets the number of hops in a region before the BPDU is discarded. Catalyst 2950 Desktop Switch Command Reference 2-265 78-11381-05...
This example shows how to set the spanning-tree max-hops to 10 for all MST instances: Switch(config)# spanning-tree mst max-hops 10 You can verify your settings by entering the show spanning-tree mst privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-266 78-11381-05...
Page 291
Sets the interval between hello BPDUs sent by root switch configuration messages. spanning-tree mst max-age Sets the interval between messages that the spanning tree receives from the root switch. Catalyst 2950 Desktop Switch Command Reference 2-267 78-11381-05...
20 is placed into the forwarding state if a loop occurs: Switch(config)# interface fastethernet0/2 Switch(config-if)# spanning-tree mst 20 port-priority 0 You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-268 78-11381-05...
Page 293
Displays MST information for the specified interface. interface-id spanning-tree mst cost Sets the path cost for MST calculations. spanning-tree mst priority Sets the switch priority for the specified spanning-tree instance. Catalyst 2950 Desktop Switch Command Reference 2-269 78-11381-05...
Related Commands Command Description show spanning-tree mst instance-id Displays MST information for the specified interface. spanning-tree mst cost Sets the path cost for MST calculations. spanning-tree mst port-priority Configures an interface priority. Catalyst 2950 Desktop Switch Command Reference 2-270 78-11381-05...
28672. If the root switch fails, this switch becomes the next root switch (if the other switches in the network use the default switch priority of 32768 and are therefore unlikely to become the root switch). Catalyst 2950 Desktop Switch Command Reference 2-271...
Page 296
Sets the interval between messages that the spanning tree receives from the root switch. spanning-tree mst max-hops Sets the number of hops in a region before the BPDU is discarded. Catalyst 2950 Desktop Switch Command Reference 2-272 78-11381-05...
This example shows how to increase the likelihood that the Fast Ethernet interface 0/2 will be put in the forwarding state if a loop occurs: Switch(config)# interface fastethernet0/2 Switch(config-if)# spanning-tree vlan 20 port-priority 0 You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-273 78-11381-05...
Page 298
Displays spanning-tree information for the specified interface. interface-id spanning-tree cost Sets the path cost for spanning-tree calculations. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance. Catalyst 2950 Desktop Switch Command Reference 2-274 78-11381-05...
BPDUs. If a BPDU is received on a Port Fast-enabled port, the port loses its Port Fast-operational status and BPDU filtering is disabled. You can override the spanning-tree portfast bpdufilter default global configuration command by using the spanning-tree bdpufilter interface configuration command. Catalyst 2950 Desktop Switch Command Reference 2-275 78-11381-05...
Page 300
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree bpdufilter Prevents a port from sending or receiving BPDUs.
Fast on a port that is not a trunk port by using the no spanning-tree portfast interface configuration command. The no spanning-tree portfast interface configuration command is the same as the spanning-tree portfast disable interface configuration command. Catalyst 2950 Desktop Switch Command Reference 2-277 78-11381-05...
Page 302
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree bpdufilter Prevents a port from sending or receiving bridge protocol data units (BPDUs).
You must disable CSUF on the first interface before enabling it on a new interface. Examples This example shows how to enable CSUF on the GBIC interface: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# spanning-tree stack-port You can verify your settings by entering the show running-config privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-279 78-11381-05...
Page 304
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree uplinkfast Accelerates the choice of a new root port when a link or switch fails or when spanning tree reconfigures itself.
(in the blocked state) replace the root port in the case of a failure. However, if root guard is also enabled, all the backup interfaces used by the UplinkFast feature are placed in the root-inconsistent state (blocked) and prevented from reaching the forwarding state. Catalyst 2950 Desktop Switch Command Reference 2-281 78-11381-05...
Page 306
Forces this switch to be the root switch. Catalyst 2950 Desktop Switch Command Reference 2-282 78-11381-05...
The forward-delay time is 15 seconds. The hello time is 2 seconds. The max-age is 20 seconds. The primary root switch priority is 24576. The secondary root switch priority is 28672. Command Modes Global configuration Catalyst 2950 Desktop Switch Command Reference 2-283 78-11381-05...
Page 308
This example shows how to set the spanning-tree forwarding time to 18 seconds for VLAN 20: Switch(config)# spanning-tree vlan 20 forward-time 18 This example shows how to set the spanning-tree hello-delay time to 3 seconds for VLAN 20: Switch(config)# spanning-tree vlan 20 hello-time 3 Catalyst 2950 Desktop Switch Command Reference 2-284 78-11381-05...
Page 309
Enables the Port Fast feature on an interface in all its associated (interface configuration) VLANs. spanning-tree uplinkfast Enables the UplinkFast feature, which accelerates the choice of a new root port. Catalyst 2950 Desktop Switch Command Reference 2-285 78-11381-05...
(nonegotiate) for the 1000BASE-SX, -LX, or -ZX GBICs, if they are connected to devices that do not support autonegotiation. GBIC-module ports support only 1000 Mbps. The speed values of 10 Mbps and 100 Mbps are not supported. Catalyst 2950 Desktop Switch Command Reference 2-286 78-11381-05...
Page 311
Note For guidelines on setting the switch speed and duplex parameters, refer to “Configuring the Switch Ports” chapter in the Catalyst 2950 Desktop Switch Software Configuration Guide. Examples This example shows how to set FastEthernet port 1 to 100 Mbps:...
The default action is to filter traffic and to not send an SNMP trap. Command Modes Interface configuration Command History Release Modification 12.1(6)EA2 This command was first introduced. It replaced port storm-control command. Catalyst 2950 Desktop Switch Command Reference 2-288 78-11381-05...
Page 313
This example shows how to disable the shutdown action on a port: Switch(config-if)# no storm-control action shutdown You can verify your settings by entering the show storm-control privileged EXEC command. Related Commands Command Description show storm-control Displays the packet-storm control information. Catalyst 2950 Desktop Switch Command Reference 2-289 78-11381-05...
An access port can be assigned to only one VLAN. The VMPS server (such as a Catalyst 6000 series switch) must be configured before a port is configured as dynamic. Catalyst 2950 Desktop Switch Command Reference 2-290 78-11381-05...
Description show interfaces Displays the administrative and operational status of a switching switchport (nonrouting) port, including port blocking and port protection settings. switchport mode Configures the VLAN membership mode of a port. Catalyst 2950 Desktop Switch Command Reference 2-291 78-11381-05...
If you enter trunk mode, the interface changes into permanent trunking mode and negotiates to convert the link into a trunk link even if the interface connecting to it does not agree to the change. Catalyst 2950 Desktop Switch Command Reference 2-292...
Command Description show interfaces Displays the administrative and operational status of a switching switchport (nonrouting) port, including port blocking and port protection settings. switchport access Configures a port as a static-access port. Catalyst 2950 Desktop Switch Command Reference 2-293 78-11381-05...
If trunking is required on a GigaStack GBIC where both ports are in use, use the switchport mode trunk and switchport nonegotiate interface configuration commands on both GBIC interfaces to cause the interfaces to become trunks. Catalyst 2950 Desktop Switch Command Reference 2-294 78-11381-05...
Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. switchport mode Configures the VLAN membership mode of a port. Catalyst 2950 Desktop Switch Command Reference 2-295 78-11381-05...
Defaults Port security is disabled. When port security is enabled, if no keywords are entered, the default maximum number of secure MAC addresses is 1. Catalyst 2950 Desktop Switch Command Reference 2-296 78-11381-05...
Page 321
If you do not save the sticky secure addresses, they are lost. If sticky learning is not enabled, when the switch restarts or the port shuts down, all the addresses that Note were dynamically learned are removed. Catalyst 2950 Desktop Switch Command Reference 2-297 78-11381-05...
Page 322
This example shows how to set the action that the port takes when an address violation occurs: Switch(config-if)# switchport port-security violation shutdown This example shows how to set the maximum number of addresses that a port can learn to 20. Switch(config-if)# switchport port-security maximum 20 Catalyst 2950 Desktop Switch Command Reference 2-298 78-11381-05...
Page 323
Deletes from the MAC address table a specific dynamic secure address or all the dynamic secure addresses on an interface. show port-security Displays the port security settings defined for the port. Catalyst 2950 Desktop Switch Command Reference 2-299 78-11381-05...
To allow unlimited access to a secure address, configure it as a secure address, and disable aging for the statically configured secure address by using the no switchport port-security aging static interface configuration command. Catalyst 2950 Desktop Switch Command Reference 2-300 78-11381-05...
Page 325
Displays the port security settings defined for the port. switchport port-security Enables port security on a port, restricts the use of the port to a user-defined group of stations, and configures secure MAC addresses. Catalyst 2950 Desktop Switch Command Reference 2-301 78-11381-05...
You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command. Related Commands Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) port. switchport voice vlan Configures the voice VLAN on the port. Catalyst 2950 Desktop Switch Command Reference 2-302 78-11381-05...
Switch(config-if)# switchport protected You can verify your settings by entering the show interfaces switchport privileged EXEC command. Related Commands Command Description show interfaces switchport Displays the administrative and operational staus of a switching port. Catalyst 2950 Desktop Switch Command Reference 2-303 78-11381-05...
Separate nonconsecutive VLAN IDs with a comma; do not enter a space after the comma. Use a hyphen to designate a range of IDs; do not enter a space before or after the hyphen. Do not enter leading zeros. Catalyst 2950 Desktop Switch Command Reference 2-304 78-11381-05...
Page 329
The no form of the native vlan command resets the native mode VLAN to the appropriate default • VLAN for the device. Catalyst 2950 Desktop Switch Command Reference 2-305 78-11381-05...
Page 330
You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command. Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port. switchport mode Configures the VLAN membership mode of a port. Catalyst 2950 Desktop Switch Command Reference 2-306 78-11381-05...
(SI) is installed. Do not enter leading zeros. dot1p The telephone uses priority tagging and uses VLAN 0 (the native VLAN). By default, the Cisco IP phone forwards the voice traffic with an 802.1P priority of 5. none The telephone is not instructed through the CLI about the voice VLAN.
Displays the administrative and operational status of a switching (nonrouting) port. switchport priority extend Determines how the device connected to the specified port handles priority traffic received on its incoming port. Catalyst 2950 Desktop Switch Command Reference 2-308 78-11381-05...
Simple Network Management Protocol (SNMP), Telnet, or routing protocols. If you enter a value that is outside of the range for the switch, the value is not accepted. Note You cannot set the MTU on a per-interface basis. Catalyst 2950 Desktop Switch Command Reference 2-309 78-11381-05...
% Invalid input detected at '^' marker. You can verify your settings by entering the show system mtu privileged EXEC command. Related Commands Command Description show system mtu Displays the maximum packet size set for the switch. Catalyst 2950 Desktop Switch Command Reference 2-310 78-11381-05...
CPU load. By decreasing the time, you can make the detection-response faster but increase the load on the CPU. This command affects fiber-optic interfaces only. Use the udld interface configuration command to enable UDLD on other interface types. Catalyst 2950 Desktop Switch Command Reference 2-311 78-11381-05...
Page 336
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. show udld Displays the UDLD status for all ports or the specified port.
In this situation, UDLD probe packets can be considered as a heart beat whose presence guarantees the health of the link. Conversely, the loss of the heart beat means that the link must be shut down if it is not possible to re-establish a bidirectional link. Catalyst 2950 Desktop Switch Command Reference 2-313 78-11381-05...
Page 338
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. show udld Displays UDLD status for all ports or the specified port.
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. show udld Displays UDLD status for all ports or the specified port.
If the VTP mode is server, or if the startup VTP mode or domain names do not match the VLAN database, the VTP mode and the VLAN configuration for the first 1005 VLANs use the VLAN database information. Catalyst 2950 Desktop Switch Command Reference 2-316 78-11381-05...
Page 341
2 (v) mode is enabled. tr-net is Token Ring network entity title (NET) media type if the VTP v2 mode is disabled or – TrBRF media type if the VTP v2 mode is enabled. Catalyst 2950 Desktop Switch Command Reference 2-317 78-11381-05...
Page 342
VLAN is translationally bridged. Translational VLANs translate FDDI or Token Ring to Ethernet, for example. Valid values are from 0 to 1005. If no value is specified, 0 (no transitional bridging) is assumed. Catalyst 2950 Desktop Switch Command Reference 2-318 78-11381-05...
Page 343
VLAN ID. Only one backup concentrator relay function (CRF) can be enabled. VTP v2 mode is enabled, and you Do not specify a backup CRF. are configuring VLANs other than TrCRF media type. Catalyst 2950 Desktop Switch Command Reference 2-319 78-11381-05...
Page 344
VLAN in the switch startup configuration file: Switch(config)# vtp mode transparent Switch(config)# vlan 2000 Switch(config-vlan)# end Switch# copy running-config startup config You can verify your setting by entering the show vlan privileged EXEC command. Catalyst 2950 Desktop Switch Command Reference 2-320 78-11381-05...
Page 345
Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. vlan (VLAN Configures normal-range VLANs in the VLAN database. configuration) Catalyst 2950 Desktop Switch Command Reference 2-321 78-11381-05...
VLAN in FDDI-NET, Token Ring-NET, and TrBRF VLANs. Valid bridge numbers are from 0 to 15. The type keyword applies only to TrCRF VLANs and is one of these: srb (source-route bridging) • • srt (source-route transparent) bridging VLAN Catalyst 2950 Desktop Switch Command Reference 2-322 78-11381-05...
Page 347
Ring to Ethernet, for example. Valid values are from 0 to 1005. Zero is assumed if no value is specified. Table 2-22 shows the valid syntax options for different media types. Catalyst 2950 Desktop Switch Command Reference 2-323 78-11381-05...
Page 348
VLAN ID. Only one backup concentrator relay function (CRF) can be enabled. VTP v2 mode is enabled, and you Do not specify a backup CRF. are configuring VLANs other than TrCRF media type. Catalyst 2950 Desktop Switch Command Reference 2-324 78-11381-05...
Page 349
The STP type is ieee for FDDI-NET and ibm for Token Ring-NET VLANs. For FDDI and Token Ring VLANs, the default is no type specified. The tb-vlan1-id and tb-vlan2-id variables are zero (no translational bridging). Catalyst 2950 Desktop Switch Command Reference 2-325 78-11381-05...
Page 350
When the no vlan vlan-id name vlan-name form is used, the VLAN name returns to the default name (VLANxxxx, where xxxx represent four numeric digits [including leading zeros] equal to the VLAN ID number). Catalyst 2950 Desktop Switch Command Reference 2-326 78-11381-05...
Page 351
Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. vlan (global Enters config-vlan mode for configuring normal-range and extended-range configuration) VLANs. Catalyst 2950 Desktop Switch Command Reference 2-327 78-11381-05...
VLAN. For more information, see the vlan (VLAN configuration) command. • vtp: accesses subcommands to perform VTP administrative functions. For more information, see the vtp (VLAN configuration) command. Catalyst 2950 Desktop Switch Command Reference 2-328 78-11381-05...
Page 354
Displays the parameters for all configured VLANs in the administrative domain. shutdown vlan Shuts down (suspends) local traffic on the specified VLAN. vlan (global Enters config-vlan mode for configuring normal-range and extended-range configuration) VLANs. Catalyst 2950 Desktop Switch Command Reference 2-330 78-11381-05...
You can verify your settings by entering the show vmps privileged EXEC command and examining information in the Server Retry Count row. Related Commands Command Description show vmps Displays VQP and VMPS information. Catalyst 2950 Desktop Switch Command Reference 2-333 78-11381-05...
The servers with IP addresses 191.10.49.21 and 191.10.49.22 are configured as secondary servers. Switch(config)# vmps server 191.10.49.20 primary Switch(config)# vmps server 191.10.49.21 Switch(config)# vmps server 191.10.49.22 This example shows how to delete the server with IP address 191.10.49.21: Switch(config)# no vmps server 191.10.49.21 Catalyst 2950 Desktop Switch Command Reference 2-334 78-11381-05...
Page 359
You can verify your settings by entering the show vmps privileged EXEC command and examining information in the VMPS Domain Server row. Related Commands Command Description show vmps Displays VQP and VMPS information. Catalyst 2950 Desktop Switch Command Reference 2-335 78-11381-05...
VTP advertisements. The password can be an ASCII string from 1 to 32 characters. The password is case sensitive. pruning Enable VTP pruning on the switch. version number Set VTP version to version 1 or version 2. Catalyst 2950 Desktop Switch Command Reference 2-336 78-11381-05...
Page 361
0. After the switch leaves the no-management-domain state, it can not be configured to re-enter it until you clear the nonvolatile RAM (NVRAM) and reload the software. Domain names are case-sensitive. • Catalyst 2950 Desktop Switch Command Reference 2-337 78-11381-05...
Page 362
VTP domain. • If you are using VTP in a Token Ring environment, VTP version 2 must be enabled. Catalyst 2950 Desktop Switch Command Reference 2-338 78-11381-05...
Page 363
You can verify your settings by entering the show vtp status privileged EXEC command. Related Commands Command Description show vtp status Displays the VTP statistics for the switch and general information about the VTP management domain status. vtp (VLAN Configures most VTP characteristics. configuration) Catalyst 2950 Desktop Switch Command Reference 2-339 78-11381-05...
Only VLANs in the pruning-eligible list can be pruned. Pruning is supported with VTP version 1 and version 2. Toggling the version 2 (v2) mode state modifies parameters of certain default VLANs. Catalyst 2950 Desktop Switch Command Reference 2-340 78-11381-05...
Page 365
Configures the VTP filename, interface, domain-name, and mode, which can configuration) be saved in the switch configuration file. vtp (VLAN Configures all VTP characteristics but cannot be saved to the switch configuration) configuration file. Catalyst 2950 Desktop Switch Command Reference 2-341 78-11381-05...
Defaults The default mode is server mode. No domain name is defined. No password is configured. Catalyst 2950 Desktop Switch Command Reference 2-342 78-11381-05...
Page 367
After the switch leaves the no-management-domain state, it can never be configured to reenter it until you clear the nonvolatile RAM (NVRAM) and reload the software. Catalyst 2950 Desktop Switch Command Reference 2-343 78-11381-05...
Page 368
Setting device to VTP TRANSPARENT mode. This example shows how to set the administrative domain for the switch: Switch(vlan)# vtp domain OurDomainName Changing VTP domain name from cisco to OurDomainName This example shows how to configure the VTP domain password: Switch(vlan)# vtp password private Setting device VLAN database password to private.
Page 369
Displays the VTP statistics for the switch and general information about the VTP management domain status. switchport trunk Configures the VLAN pruning-eligible list for ports in trunking mode. pruning vtp (global Configures the VTP filename, interface, domain-name, and mode. configuration) Catalyst 2950 Desktop Switch Command Reference 2-345 78-11381-05...
Assigns CoS values to the CoS priority queues. show wrr-queue bandwidth Displays the WRR bandwidth allocation for the four CoS priority queues. show wrr-queue cos-map Displays the mapping of the CoS to the CoS priority queues. Catalyst 2950 Desktop Switch Command Reference 2-346 78-11381-05...
Switch(config)# wrr-queue cos-map 4 6 7 This example shows how to map CoS values 0, 1, 2, and 3 to CoS priority queue 2: Switch(config)# wrr-queue cos-map 2 0 1 2 3 Catalyst 2950 Desktop Switch Command Reference 2-347 78-11381-05...
Page 372
Assigns weighted round-robin (WRR) weights to the four CoS priority queues. show wrr-queue bandwidth Displays the WRR bandwidth allocation for the four CoS priority queues. show wrr-queue cos-map Displays the mapping of the CoS to the priority queues. Catalyst 2950 Desktop Switch Command Reference 2-348 78-11381-05...
For this reason, use the debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. It is best to use the debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface.
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show etherchannel Displays EtherChannel information for the channel.
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show pagp Displays PAgP channel-group information.
Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was first introduced. Usage Guidelines The undebug pm command is the same as the no debug pm command. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 378
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. Catalyst 2950 Desktop Switch Command Reference...
Command History Release Modification 12.1(6)EA2 This command was first introduced. 12.1(9)EA1 The mstp and csuf keywords were added. Usage Guidelines The undebug spanning-tree command is the same as the no debug spanning-tree command. Catalyst 2950 Desktop Switch Command Reference 78-11381-05...
Page 380
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Debug topology change notification events. timers Debug the MSTP timers for start, stop, and expire events. Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(9)EA1 This command was first introduced. Catalyst 2950 Desktop Switch Command Reference A-12 78-11381-05...
Page 385
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
The helper keyword was added. Usage Guidelines This command can be entered only from the switch console. The undebug spanning-tree switch command is the same as the no debug spanning-tree switch command. Catalyst 2950 Desktop Switch Command Reference A-14 78-11381-05...
Page 387
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was first introduced. 12.1(9)EA1 The cfg-vlan keyword was added. Usage Guidelines The undebug sw-vlan command is the same as the no debug sw-vlan command. Catalyst 2950 Desktop Switch Command Reference A-17 78-11381-05...
Page 390
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
They are generated by the VTP_PRUNING_LOG_NOTICE, VTP_PRUNING_LOG_INFO, VTP_PRUNING_LOG_DEBUG, VTP_PRUNING_LOG_ALERT, and VTP_PRUNING_LOG_WARNING macros in the VTP pruning code. The undebug sw-vlan vtp command is the same as the no debug sw-vlan vtp command. Catalyst 2950 Desktop Switch Command Reference A-21 78-11381-05...
Page 394
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show vtp Displays general information about VTP management domain, status, and counters.
Indications of the contents of the various pieces of packets received (such as type length versions • [TLVs]) as they are examined by the packet reception code • Packet transmission attempts and the outcome Catalyst 2950 Desktop Switch Command Reference A-23 78-11381-05...
Page 396
Displays information about the types of debugging that are enabled. For syntax information, refer to Cisco IOS Configuration Fundamentals Command Reference For IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show udld Displays UDLD administrative and operational status for all ports or the specified port.