Cisco Catalyst 2950 Command Reference Manual

Cisco Catalyst 2950 Command Reference Manual

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Catalyst 2950 and Catalyst 2955 Switch
Command Reference
Cisco IOS Release 12.1(22)EA7
March 2006
Corporate Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
Text Part Number: OL-10102-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Catalyst 2950

  • Page 1 Catalyst 2950 and Catalyst 2955 Switch Command Reference Cisco IOS Release 12.1(22)EA7 March 2006 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Text Part Number: OL-10102-01...
  • Page 2 OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Access Registrar, Aironet, BPX, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, Cisco, the Cisco...
  • Page 3 Global Configuration Mode Interface Configuration Mode config-vlan Mode VLAN Configuration Mode Line Configuration Mode Command Summary Catalyst 2950 and 2955 Cisco IOS Commands C H A P T E R aaa accounting dot1x Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 4: Table Of Contents

    2-46 clear mac address-table 2-47 clear pagp 2-49 clear port-security 2-50 clear spanning-tree counters 2-53 clear spanning-tree detected-protocols 2-54 clear vmps statistics 2-55 clear vtp counters 2-56 cluster commander-address 2-57 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 5 2-96 dot1x host-mode 2-98 dot1x initialize 2-99 dot1x max-req 2-100 dot1x multiple-hosts 2-101 dot1x port-control 2-102 dot1x re-authenticate 2-104 dot1x re-authentication 2-105 dot1x reauthentication 2-106 dot1x timeout 2-107 duplex 2-109 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 6 2-157 ip igmp snooping vlan static 2-159 ip ssh 2-161 lacp port-priority 2-163 lacp system-priority 2-165 link monitor 2-167 link monitor logging 2-168 link monitor threshold rserr 2-169 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 7 2-215 mls qos trust 2-218 monitor session 2-221 2-224 mvr immediate 2-227 mvr type 2-228 mvr vlan group 2-230 pagp learn-method 2-232 pagp port-priority 2-234 permit (access-list configuration) 2-235 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 8 2-304 show controllers lre log 2-307 show controllers lre profile 2-309 show controllers lre sequence 2-312 show controllers lre status 2-314 show controllers lre version 2-319 show controllers utilization 2-320 Catalyst 2950 and Catalyst 2955 Switch Command Reference viii 78-11381-12...
  • Page 9 2-387 show pagp 2-389 show parser macro 2-391 show policy-map 2-394 show port-security 2-396 show rps 2-398 show running-config vlan 2-400 show setup express 2-402 show spanning-tree 2-403 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 10 2-464 spanning-tree mst max-age 2-465 spanning-tree mst max-hops 2-467 spanning-tree mst port-priority 2-468 spanning-tree mst priority 2-470 spanning-tree mst root 2-471 spanning-tree port-priority 2-473 spanning-tree portfast (global configuration) 2-475 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 11 2-543 vmps reconfirm (global configuration) 2-546 vmps reconfirm (privileged EXEC) 2-547 vmps retry 2-548 vmps server 2-549 vtp (global configuration) 2-551 vtp (privileged EXEC) 2-555 vtp (VLAN configuration) 2-557 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 12 A P P E N D I X Boot Loader Commands boot copy delete flash_init format B-10 fsck B-11 help B-12 load_helper B-13 memory B-14 mkdir B-16 more B-17 rename B-18 Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 13 C-19 debug switch dhcp C-20 debug sw-vlan C-21 debug sw-vlan ifs C-23 debug sw-vlan notification C-24 debug sw-vlan vtp C-26 debug udld C-28 N D E X Catalyst 2950 and Catalyst 2955 Switch Command Reference xiii 78-11381-12...
  • Page 14 Contents Catalyst 2950 and Catalyst 2955 Switch Command Reference 78-11381-12...
  • Page 15 This guide provides the information you need about the commands that have been created or changed for use with the Catalyst 2950 family of switches. For information about the standard Cisco IOS Release 12.1 commands, see the Cisco IOS documentation set available from the Cisco.com home page by selecting Service and Support >...
  • Page 16: Related Publications

    These documents provide complete information about the switch and are available from this URL: http://www.cisco.com/en/US/products/ps6738/tsd_products_support_series_home.html http://www.cisco.com/en/US/products/hw/switches/ps628/tsd_products_support_series_home.html You can order printed copies of documents with a DOC-xxxxxx= number from the Cisco.com sites and from the telephone numbers listed in the “Obtaining Documentation” section on page xvii.
  • Page 17: Obtaining Documentation

    The DVD enables you to access multiple versions of installation, configuration, and command guides for Cisco hardware and software products. With the DVD, you have access to the same HTML documentation that is found on the Cisco website without being connected to the Internet.
  • Page 18: Ordering Documentation

    Preface Documentation Feedback The Product Documentation DVD is available as a single unit or as a subscription. Registered Cisco.com users (Cisco direct customers) can order a Product Documentation DVD (product number DOC-DOCDVD= or DOC-DOCDVD=SUB) from Cisco Marketplace at this URL: http://www.cisco.com/go/marketplace/...
  • Page 19: Reporting Security Problems In Cisco Products

    We encourage you to use Pretty Good Privacy (PGP) or a compatible product (for example, GnuPG) to encrypt any sensitive information that you send to Cisco. PSIRT can work with information that has been encrypted with PGP versions 2.x through 9.x.
  • Page 20: Submitting A Service Request

    Cisco engineer. The TAC Service Request Tool is located at this URL: http://www.cisco.com/techsupport/servicerequest For S1 or S2 service requests, or if you do not have Internet access, contact the Cisco TAC by telephone. (S1 or S2 service requests are those in which your production network is down or severely degraded.) Cisco engineers are assigned immediately to S1 and S2 service requests to help keep your business operations running smoothly.
  • Page 21: Obtaining Additional Publications And Information

    Cisco products that are sold through channel partners. It is updated twice a year and includes the latest Cisco offerings. To order and find out more about the Cisco Product Quick Reference Guide, go to this URL: http://www.cisco.com/go/guide...
  • Page 22 You can access the Internet Protocol Journal at this URL: http://www.cisco.com/ipj • Networking products offered by Cisco Systems, as well as customer support services, can be obtained at this URL: http://www.cisco.com/en/US/products/index.html Networking Professionals Connection is an interactive website for networking professionals to share •...
  • Page 23: Type Of Memory

    C H A P T E R Using the Command-Line Interface The Catalyst 2950 and 2955 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, “Catalyst 2950...
  • Page 24: Cli Command Modes

    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: •...
  • Page 25: User Exec Mode

    The supported commands can vary depending on the version of 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 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 26: Global Configuration Mode

    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 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 27: Vlan Configuration Mode

    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 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 28: Command Summary

    Cisco IOS Release 12.1(6)EA2, the equivalent commands in Cisco IOS Release 12.1(6)EA2 or later, and command descriptions. If you are running Cisco IOS Release 12.1(6)EA2 or later, the switch supports the commands in the left column of Table 1-2 only if they are in a saved configuration file.
  • Page 29 Cisco IOS Release 12.1(6)EA2 or later. These commands are supported only in software releases earlier than Cisco IOS Release 12.1(6)EA2. If you are running Cisco IOS Release 12.1(6)EA2 or later, the switch supports the commands listed in Table 1-3 only if they are in a saved configuration file.
  • Page 30 Chapter 1 Using the Command-Line Interface Command Summary Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 31: Aaa Accounting Dot1X

    The group keyword is optional when you enter it after the broadcast group and group keywords. You can enter more than optional group keyword. radius (Optional) Enable RADIUS authorization. tacacs+ (Optional) Enable TACACS+ accounting. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 32 Specifies one or more AAA methods for use on interfaces running dot1x IEEE 802.1x. dot1x reauthentication Enables or disables periodic re-authentication. dot1x timeout Sets the number of seconds between re-authentication attempts. reauth-period Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 33: Aaa Authentication Dot1X

    This authentication first tries to contact a RADIUS server. If this action returns an error, the user is not allowed access to the network. Switch(config)# aaa new model Switch(config)# aaa authentication dot1x default group radius You can verify your settings by entering the show running-config privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 34 Related Commands Command Description aaa new-model Enables the AAA access control model. For syntax information, select Cisco IOS Security Command Reference for Release 12.1 > Authentication, Authorization, and Accounting > Authentication Commands. 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 >...
  • Page 35: Access-List (Ip Extended)

    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 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 36 Use the show access-lists command to display the contents of all ACLs. For more information about configuring IP ACLs, see the “Configuring Network Security with ACLs” Note chapter in the software configuration guide for this release. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 37 (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 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 38: Access-List (Ip Standard)

    0.0.0.0 255.255.255.255. You do not need to enter a source-wildcard. Defaults The default standard ACL is always terminated by an implicit deny statement for all packets. Command Modes Global configuration Command History Release Modification 12.1(6)EA2 This command was introduced. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 39 (IP extended) Configures an extended 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 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 40: Archive Download-Sw

    Use the archive download-sw privileged EXEC command to download a new image from a TFTP server to a Catalyst 2950 Long-Reach Ethernet (LRE) switch and to overwrite or to keep the existing image. archive download-sw {/force-reload | /imageonly | /leave-old-sw | /no-set-boot | /overwrite | /reload | /safe} source-url This command is available only on the Catalyst 2950 LRE switches.
  • Page 41 Creates a tar file, lists the files in a tar file, or extracts the files from a tar file. archive upload-sw Uploads an existing image on the switch to a server. delete Deletes a file or directory on the flash memory device. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-11 OL-10102-01...
  • Page 42: Archive Tar

    An optional list of files or directories within the source directory can be specified to write to the new tar file. If none are specified, all files and directories at this level are written to the newly created tar file. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-12 OL-10102-01...
  • Page 43 No default is defined. Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was introduced. Usage Guidelines Filenames and directory names are case sensitive. Image names are case sensitive. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-13 OL-10102-01...
  • Page 44 Switch# archive tar /xtract tftp:/172.20.10.30/saved.tar flash:/ new-configs Related Commands Command Description archive download-sw Downloads a new image to the switch. archive upload-sw Uploads an existing image on the switch to a server. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-14 OL-10102-01...
  • Page 45: Archive Upload-Sw

    Use the archive upload-sw privileged EXEC command to upload an existing Long-Reach Ethernet (LRE) switch image to a server. archive upload-sw [/version version_string] destination-url This command is supported only on Catalyst 2950 LRE switches. Syntax Description /version version_string (Optional) Specify the version string of the image to be uploaded.
  • Page 46 Command Description archive download-sw Downloads a new image to a Catalyst 2950 LRE switch. archive tar Creates a tar file, lists the files in a tar file, or extracts the files from a tar file. Catalyst 2950 and Catalyst 2955 Switch Command Reference...
  • Page 47: Auto Qos Voip

    QoS for VoIP. The QoS labels of incoming packets are trusted only when the phone is detected. cisco-softphone Identify this port as connected to a device running the Cisco SoftPhone, and automatically configure QoS for VoIP. trust Identify this interface as connected to a trusted switch or router. The QoS labels of incoming packets are trusted.
  • Page 48 In releases earlier than Cisco IOS Release 12.2(20)EA2, auto-QoS configures the switch only for VoIP with Cisco IP Phones on switch ports. In Cisco IOS Release 12.2(20)EA2 or later, auto-QoS configures the switch for VoIP with Cisco IP Phones and for VoIP with devices running the Cisco SoftPhone application. These releases support only Cisco IP SoftPhone Version 1.3(3) or later.
  • Page 49 When you enter the auto qos voip cisco-phone interface configuration command on a port at the • edge of the network that is connected to a Cisco IP Phone, the switch enables the trusted boundary feature. The switch uses the Cisco Discovery Protocol (CDP) to detect the presence or absence of a Cisco IP Phone.
  • Page 50 Switch(config-if)# auto qos voip trust This example shows how to enable auto-QoS and to trust the QoS labels received in incoming packets when the device connected to a port is detected as a Cisco IP phone: Switch(config)# interface fastethernet0/1 Switch(config-if)# auto qos voip cisco-phone...
  • Page 51: Boot Boothlpr

    Use the no form of this command to return to the default setting. boot boothlpr filesystem:/file-url no boot boothlpr This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description filesystem: Alias for a flash file system.
  • Page 52: Boot Buffersize

    This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description size The buffer allocation size in bytes. The range is 4096 to 524288 bytes.
  • Page 53: Boot Config-File

    Use the no form of this command to return to the default setting. boot config-file flash:/file-url no boot config-file This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description flash:/file-url The path (directory) and name of the configuration file.
  • Page 54: Boot Enable-Break

    Use the boot enable-break global configuration command to enable interrupting the automatic boot process on a Catalyst 2950 Long-Reach Ethernet (LRE) switch. Use the no form of this command to return to the default setting. boot enable-break no boot enable-break This command is available only on Catalyst 2950 LRE switches.
  • Page 55: Boot Helper

    ... no boot helper This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 56: Boot Helper-Config-File

    Use the boot helper-config-file global configuration command to specify the name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of the software that are loaded. This variable is used only for internal development and testing.
  • Page 57: Boot Manual

    Use the boot manual global configuration command to enable starting the Catalyst 2950 Long-Reach Ethernet (LRE) switch manually during the next power on cycle. Use the no form of this command to return to the default setting.
  • Page 58: Boot Private-Config-File

    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 and Catalyst 2955 Switch Command Reference 2-28 OL-10102-01...
  • Page 59: Boot System

    Use the no form of this command to return to the default setting. boot system filesystem:/file-url ... no boot system This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 60: Channel-Group

    When desirable is enabled, silent operation is the default. non-silent (Optional) Used with the auto or desirable keyword when PAgP traffic is expected from the other device. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-30 OL-10102-01...
  • Page 61 PAgP-capable and seldom, if ever, sends packets. An example of a silent partner is a file server or a packet analyzer that is not generating traffic. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-31...
  • Page 62 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 and Catalyst 2955 Switch Command Reference...
  • Page 63: Channel-Protocol

    Switch(config-if)# channel-protocol pagp This example shows how to set an EtherChannel into LACP mode: Switch(config-if)# channel-protocol lacp You can verify your settings by entering the show running-config privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-33 OL-10102-01...
  • Page 64 Display PAgP information. 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-34...
  • Page 65: Class

    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 and Catalyst 2955 Switch Command Reference 2-35 OL-10102-01...
  • Page 66 Defines the match criteria to classify 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 and Catalyst 2955 Switch Command Reference 2-36 OL-10102-01...
  • Page 67: Class-Map

    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 and Catalyst 2955 Switch Command Reference 2-37 OL-10102-01...
  • Page 68 Defines the match criteria to classify traffic. policy-map Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy. show class-map Displays QoS class maps. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-38 OL-10102-01...
  • Page 69: Clear Controllers Ethernet-Controller

    Ethernet link statistics for the specified port. On a Catalyst 2950 LRE switch, if you use the cpe keyword, the switch clears the Ethernet statistics of the LRE chipset and of all these CPE Ethernet ports: Ethernet port on the Cisco 575 LRE CPE or the Cisco 576 LRE 997 CPE •...
  • Page 70 This example shows how to clear the Ethernet link statistics for an LRE port: Switch# clear controllers ethernet-controller longreachethernet0/1 This example clears the Ethernet statistics for all the CPE Ethernet ports on a Cisco 585 LRE CPE: Switch# clear controllers ethernet-controller longreachethernet0/1 cpe You can verify that information was deleted by entering the show controllers ethernet-controller user EXEC command.
  • Page 71: Clear Controllers Lre

    This example shows how to reset the local LRE interfaces on the switch: Switch> clear controllers lre local link This example shows how to reset the Cisco 575 LRE, Cisco 576 LRE 997 CPE, and the Cisco 585 LRE CPE devices connected to the switch: Switch>...
  • Page 72: Clear Controllers Lre Link Monitor

    Use the clear controllers lre link monitor privileged EXEC command to clear Long-Reach Ethernet (LRE) link monitor data. clear controllers lre link monitor interface-id This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id ID of the LRE switch port.
  • Page 73: Clear Controllers Lre Log

    Use the clear controllers lre log privileged EXEC command to clear the history of link, configuration, and timer events for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports. clear controllers lre log [interface-id] This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id (Optional) ID of the LRE switch port.
  • Page 74: Clear Interface

    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 and Catalyst 2955 Switch Command Reference 2-44 OL-10102-01...
  • Page 75: Clear Lacp

    Switch# clear lacp counters You can verify that the information was deleted by entering the show lacp privileged EXEC command. Related Commands Command Description show lacp Displays LACP channel-group information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-45 OL-10102-01...
  • Page 76: Clear Lre Rate Selection

    Use the clear lre rate selection privileged EXEC command to reset the current rate selection setting and to restart rate selection for a specific Long-Reach Ethernet (LRE) port or for all switch LRE ports. clear lre rate selection [lock] [interface-id] This command is available only on Catalyst 2950 LRE switches. Syntax Description lock (Optional) Rate selection runs on all ports that have rate selection enabled, including ports that are locked.
  • Page 77: Clear Mac Address-Table

    VLAN. This command also clears the MAC address notification global counters. clear mac address-table {dynamic [address mac-addr | interface interface-id | vlan vlan-id] | notification} Beginning with Cisco IOS Release 12.1(11)EA1, the clear mac address-table command replaces the Note clear mac-address-table command (with the hyphen).
  • Page 78 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 and Catalyst 2955 Switch Command Reference 2-48 OL-10102-01...
  • Page 79: Clear Pagp

    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 and Catalyst 2955 Switch Command Reference 2-49 OL-10102-01...
  • Page 80: Clear Port-Security

    This example shows how to remove all secure addresses from the MAC address table: Switch# clear port-security all This example shows how to remove a configured secure address from the MAC address table: Switch# clear port-security configured address 0008.0070.0007 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-50 OL-10102-01...
  • Page 81 Enables port security on an interface. switchport port-security Configures secure MAC addresses. mac-address mac-address switchport port-security maximum Configures a maximum number of secure MAC addresses on a value secure interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-51 OL-10102-01...
  • Page 82: Clear Spanning-Tree Counters

    This command was introduced. Examples This example shows how to clear spanning-tree counters for all interfaces: Switch# clear spanning-tree counters Related Commands Command Description show spanning-tree Displays spanning-tree state information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-52 OL-10102-01...
  • Page 83: Clear Spanning-Tree Detected-Protocols

    Use the clear spanning-tree detected-protocols command in this situation. Examples This example shows how to restart the protocol migration process on an interface: Switch# clear spanning-tree detected-protocols interface fastethernet0/1 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-53 OL-10102-01...
  • Page 84: Clear Vmps Statistics

    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 and Catalyst 2955 Switch Command Reference 2-54 OL-10102-01...
  • Page 85: Clear Vtp Counters

    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 and Catalyst 2955 Switch Command Reference 2-55 OL-10102-01...
  • Page 86: Cluster Commander-Address

    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 and Catalyst 2955 Switch Command Reference 2-56 OL-10102-01...
  • Page 87 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 and Catalyst 2955 Switch Command Reference...
  • Page 88: Cluster Discovery Hop-Count

    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 and Catalyst 2955 Switch Command Reference 2-58 OL-10102-01...
  • Page 89: Cluster Enable

    This example shows how to enable the command switch, name the cluster, and set the command switch member number to 4: Switch(config)# cluster enable Engineering-IDF4 4 You can verify your settings by entering the show cluster privileged EXEC command on the command switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-59 OL-10102-01...
  • Page 90: Cluster Holdtime

    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 and Catalyst 2955 Switch Command Reference 2-60 OL-10102-01...
  • Page 91: Cluster Management-Vlan

    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 and Catalyst 2955 Switch Command Reference 2-61 OL-10102-01...
  • Page 92: Cluster Member

    If you do not specify a VLAN ID, the command switch automatically chooses a VLAN and adds the candidate to the cluster. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-62 OL-10102-01...
  • Page 93 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 and Catalyst 2955 Switch Command Reference 2-63 OL-10102-01...
  • Page 94: Cluster Run

    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 and Catalyst 2955 Switch Command Reference 2-64 OL-10102-01...
  • Page 95: Cluster Standby-Group

    %ERROR:Standby (my_hsrp) group does not exist This example shows the error message when this command is entered on a member switch: Switch(config)# cluster standby-group my_hsrp %ERROR:This command runs on a cluster command switch Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-65 OL-10102-01...
  • Page 96 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 and Catalyst 2955 Switch Command Reference 2-66 OL-10102-01...
  • Page 97: Cluster Timer

    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 and Catalyst 2955 Switch Command Reference 2-67 OL-10102-01...
  • Page 98: Controller Longreachethernet

    Use the controller longreachethernet global configuration command to enter the controller configuration mode. controller longreachethernet ctrlr-number This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description ctrlr-number LRE controller number. Controller numbers are device specific. The range is 0 to 2 on a 24-port LRE switch and 0 on an 8-port LRE switch.
  • Page 99: Cpe Duplex

    {{auto | full | half} [port port-id]} no cpe duplex {{auto | full | half} [port port-id]} This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description auto The port automatically detects whether to run in full- or half- duplex mode.
  • Page 100 Switch# configure terminal Switch(config)# interface longreachethernet0/3 Switch(config-if)# cpe duplex full port 3 This example shows how to restore a port on a Cisco 585 LRE CPE to the default mode of half duplex: Switch# configure terminal Switch(config)# interface longreachethernet0/3 Switch(config-if)# no cpe duplex full port 3 This example shows how the cpe duplex {auto | full | half} port port-id command works with the cpe duplex {auto | full | half} command.
  • Page 101: Cpe Protected

    Use the cpe protected interface configuration command to restrict data traffic to individual ports on Cisco 585 LRE customer premises equipment (CPE) ports. Use the no form of this command to allow different ports on the same CPE device to exchange data directly.
  • Page 102: Cpe Shutdown

    (CPE) ports. Use the no form of this command to enable a port. cpe shutdown [port port-id] no cpe shutdown [port port-id] This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description port port-id (Optional) CPE Ethernet port identifier. The range is 1 to 4, depending on the CPE device.
  • Page 103 Switch# configure terminal Switch(config)# interface longreahethernet0/2 Switch(config-if)# no cpe shutdown Switch(config-if)# Related Commands Command Description show interfaces Displays CPE Ethernet ports connection, speed, or duplex status. shutdown Disables a port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-73 OL-10102-01...
  • Page 104: Cpe Speed

    (CPE) port. Use the no form of this command to return to the default setting. cpe speed {{auto | 10 | 100} [port port-id]} no cpe speed {{auto | 10 | 100} [port port-id]} This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description auto Port automatically detects whether it should run at 10 or 100 Mbps.
  • Page 105 Command Description local duplex Sets the port speed for LRE ports. show interfaces Displays connection, speed, and duplex settings for CPE Ethernet ports attached to the specified LRE switch port Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-75 OL-10102-01...
  • Page 106: Cpe Toggle

    CPE toggle cannot be disabled on a Cisco 575 LRE or Cisco 576 LRE 997 CPE link. You can disable CPE toggle on a link from a Cisco 585 LRE CPE to a remote Ethernet device. You can disable CPE toggle on all interfaces or on a specific interface by using the no cpe toggle [port cpe-port-id] interface configuration command.
  • Page 107 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 and Catalyst 2955 Switch Command Reference...
  • Page 108: Cpe Type

    Use the cpe type interface configuration command to set the type of customer premises equipment (CPE) port that is connected to a Long-Reach Ethernet (LRE) switch. cpe type [cisco575-lre | cisco576-lre997 | cisco585-lre | unknown] This command is available only on Catalyst 2950 LRE switches. Syntax Description cisco575-lre Model number of the Cisco 575 LRE CPE device.
  • Page 109: Define Interface-Range

    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 and Catalyst 2955 Switch Command Reference 2-79 OL-10102-01...
  • Page 110 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 and Catalyst 2955 Switch Command Reference...
  • Page 111: Delete

    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, see the Cisco IOS Command Reference for Cisco IOS Release 12.1. Examples...
  • Page 112: Deny (Access-List Configuration)

    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 and Catalyst 2955 Switch Command Reference 2-82 OL-10102-01...
  • Page 113 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 Switch(config-ext-nacl)# deny tcp host 192.1.10.10 any Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-83 OL-10102-01...
  • Page 114 Sets conditions for an IP ACL. 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 and Catalyst 2955 Switch Command Reference 2-84 OL-10102-01...
  • Page 115: Deny (Mac Access-List Configuration)

    Select EtherType DEC-MOP Dump. msdos Select EtherType DEC-MSDOS. mumps Select EtherType DEC-MUMPS. netbios Select EtherType DEC-Network Basic Input/Output System (NETBIOS). vines-echo Select EtherType Virtual Integrated Network Service (VINES) Echo from Banyan Systems. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-85 OL-10102-01...
  • Page 116 Creates an ACL based on MAC addresses for non-IP traffic. permit (MAC access-list configuration) Permits Layer 2 traffic to be forwarded if conditions are matched. show access-lists Displays ACLs configured on a switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-86 OL-10102-01...
  • Page 117: Dot1X

    IEEE 802.1x authentication and EtherChannel are configured. If you are using a device running the Cisco Access Control Server (ACS) application for IEEE 802.1x authentication with EAP-Transparent LAN Services (TLS) and with EAP-MD5 and your switch is running Cisco IOS Release 12.1(14)EA1, make sure that the device is running ACS Version 3.2.1 or...
  • Page 118 Enables manual control of the authorization state of the port. show dot1x Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-88 OL-10102-01...
  • Page 119: Dot1X Auth-Fail Max-Attempts

    You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description dot1x auth-fail vlan [vlan id] Enables the optional restricted VLAN feature. show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-89 OL-10102-01...
  • Page 120: Dot1X Auth-Fail Vlan

    Internal VLANs that are used for Layer 3 ports cannot be configured as a restricted VLAN. You cannot configure a VLAN to be both a restricted VLAN and a voice VLAN. If you do this, a syslog message appears. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-90 OL-10102-01...
  • Page 121 Configures the number of authentication attempts allowed [max-attempts] before assigning a user to the restricted VLAN. show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-91 OL-10102-01...
  • Page 122: Dot1X Control-Direction

    If you enter the dot1x control-direction in interface configuration command and the port cannot support this mode due to a configuration conflict, this appears in the show dot1x all command output: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-92...
  • Page 123 Catalyst 2950 and 2955 Cisco IOS Commands dot1x control-direction ControlDirection = In (Disabled due to port settings) Related Commands Command Description show dot1x all [interface Displays control-direction port setting status for the specified interface-id] interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-93 OL-10102-01...
  • Page 124: Dot1X Default

    You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-94 OL-10102-01...
  • Page 125: Dot1X Guest-Vlan

    EAPOL packets are not sent by the client. Before Cisco IOS Release 12.1(22)EA2, the switch did not maintain the EAPOL packet history and allowed clients that failed authentication access to the guest VLAN, regardless of whether EAPOL packets had been detected on the interface.
  • Page 126 You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description dot1x Enables the optional guest VLAN supplicant feature. show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-96 OL-10102-01...
  • Page 127: Dot1X Host-Mode

    You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-97 OL-10102-01...
  • Page 128: Dot1X Initialize

    You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-98 OL-10102-01...
  • Page 129: Dot1X Max-Req

    Sets the number of seconds that the switch waits for a response to an EAP-request/identity frame from the client before resending the request. show dot1x [interface Displays IEEE 802.1x status for the specified interface. interface-id] Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-99 OL-10102-01...
  • Page 130: Dot1X Multiple-Hosts

    Set the IEEE 802.1x host mode on an interface. show dot1x Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-100 OL-10102-01...
  • Page 131: Dot1X Port-Control

    IEEE 802.1x authentication on a dynamic port, an error message appears, and IEEE 802.1x authentication is not enabled. If you try to change the mode of an IEEE 802.1x-enabled port to dynamic, the port mode is not changed. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-101 OL-10102-01...
  • Page 132 You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-102 OL-10102-01...
  • Page 133: Dot1X Re-Authenticate

    This example shows how to manually re-authenticate the device connected to an interface: Switch# dot1x re-authenticate interface fastethernet0/1 Related Commands Command Description show dot1x Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-103 OL-10102-01...
  • Page 134: Dot1X Re-Authentication

    Description dot1x reauthentication Sets the number of seconds between re-authentication attempts. show dot1x Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-104 OL-10102-01...
  • Page 135: Dot1X Reauthentication

    You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description dot1x timeout Sets the number of seconds between re-authentication attempts. show dot1x [interface Displays IEEE 802.1x status for the specified interface. interface-id] Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-105 OL-10102-01...
  • Page 136: Dot1X Timeout

    • server—Sets the number of seconds as the value of the Session-Timeout RADIUS attribute (Attribute[27]). The server keyword is not supported on Catalyst 2950 LRE switches. Note server-timeout Number of seconds that the switch waits for the retransmission of packets by seconds the switch to the authentication server.
  • Page 137 Sets the maximum number of times that the switch sends an EAP-request/identity frame before restarting the authentication process. dot1x reauthentication Enables periodic re-authentication of the client. show dot1x [interface Displays IEEE 802.1x status for the specified interface. interface-id] Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-107 OL-10102-01...
  • Page 138: Duplex

    For the default duplex mode of the Gigabit Interface Converter (GBIC)-module ports, see the documentation that came with your GBIC module. For small, form-factor pluggable (SFP) Gigabit Ethernet ports on Catalyst 2950 LRE switches, the default is auto. Command Modes...
  • Page 139 Catalyst 2950 and 2955 Cisco IOS Commands duplex On Catalyst 2950 Long-Reach Ethernet (LRE) switches, use the duplex command to configure both the MAC and LRE chipsets. A 10/100/1000 LRE switch port autonegotiates with the device at the other end of the link for the duplex setting and then forces the duplex setting to the negotiated value.
  • Page 140: Errdisable Detect Cause

    You must enter the shutdown and then the no shutdown commands to manually recover an interface from the error-disabled state. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-110 OL-10102-01...
  • Page 141 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 and Catalyst 2955 Switch Command Reference 2-111 OL-10102-01...
  • Page 142: Errdisable Recovery

    15 percent of the configured interval. Though visible in the command-line help string, the unicast-flood keyword is not supported. Note Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-112 OL-10102-01...
  • Page 143 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 and Catalyst 2955 Switch Command Reference 2-113 OL-10102-01...
  • Page 144: Flowcontrol

    Command Modes Interface configuration Command History Release Modification 12.0(5.2)WC(1) This command was introduced. 12.1(6)EA2 The asymmetric and symmetric keywords were replaced with the receive, send, off, on, and desired keywords. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-114 OL-10102-01...
  • Page 145 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 and Catalyst 2955 Switch Command Reference 2-115 OL-10102-01...
  • Page 146 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 or show flowcontrol privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-116 OL-10102-01...
  • Page 147 Displays interface input and output flow control settings and status. show flowcontrol Displays flow control settings and status for specified interfaces or all interfaces on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-117 OL-10102-01...
  • Page 148: Hw-Module Slot

    Use the hw-module slot privileged EXEC command to perform firmware upgrades on Long-Reach Ethernet (LRE) systems. hw-module slot module-slot-number upgrade lre [force] [{local ctrlr-unit-number | remote interface-id}] This command is available only on Catalyst 2950 LRE switches. Syntax Description module-slot-number Physical slot that connects the local device (LRE switch) and the remote customer premises equipment (CPE) device for the upgrade.
  • Page 149 You are about to start an LRE upgrade on CPE Lo0/1. Users on LRE links being upgraded will experience a temporary disruption of Ethernet connectivity. Start LRE upgrade ? [yes]: Starting remote upgrade on CPE Lo0/1 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-119 OL-10102-01...
  • Page 150 Displays the LRE binaries present on the system flash memory, the upgrade status on all ports in the switch, or the binaries on local and remote ends on all ports. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-120 OL-10102-01...
  • Page 151: Interface

    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 You can verify your settings by entering the show interfaces and show interfaces vlan vlan-id privileged EXEC commands. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-121 OL-10102-01...
  • Page 152 Catalyst 2950 and 2955 Cisco IOS Commands interface 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 and Catalyst 2955 Switch Command Reference 2-122 OL-10102-01...
  • Page 153: Interface Port-Channel

    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.
  • Page 154: Interface Range

    EtherChannel ports, all Long-Reach Ethernet (LRE) ports, or all VLANs. These are the valid values for port-range type and interface: vlan vlan-id, where vlan-id is from 1 to4094 • port-channel port-channel-number, where port-channel-number is from 1 to 6 • Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-124 OL-10102-01...
  • Page 155 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 and Catalyst 2955 Switch Command Reference...
  • Page 156: Interleave

    Ethernet (LRE) interfaces. Use the no form of this command to return to the default setting. interleave {downstream value | upstream value} no interleave {downstream value | upstream value} This command is available only on Catalyst 2950 LRE switches. Syntax Description downstream value Value at the local end of the link.
  • Page 157 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands interleave Related Commands Command Description show controllers lre status Displays the interleave block size values on the LRE interfaces. interleave Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-127 OL-10102-01...
  • Page 158: Ip Access-Group

    IP access groups can be separated on Layer 2 and Layer 3 interfaces. For more information about configuring IP ACLs, see the “Configuring Network Security with ACLs” Note chapter in the software configuration guide for this release. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-128 OL-10102-01...
  • Page 159 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 and Catalyst 2955 Switch Command Reference 2-129 OL-10102-01...
  • Page 160: Ip Access-List

    Note For more information about configuring IP ACLs, see the “Configuring Network Security with ACLs” chapter in the software configuration guide for this release. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-130 OL-10102-01...
  • Page 161 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 and Catalyst 2955 Switch Command Reference 2-131 OL-10102-01...
  • Page 162: Ip Address

    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 and Catalyst 2955 Switch Command Reference...
  • Page 163: Ip Dhcp Snooping

    Enables DHCP snooping on a VLAN. show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-133 OL-10102-01...
  • Page 164: Ip Dhcp Snooping Information Option

    This example shows how to enable DHCP option-82 data insertion: Switch(config)# ip dhcp snooping information option You can verify your settings by entering the show ip dhcp snooping privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-134 OL-10102-01...
  • Page 165 Catalyst 2950 and 2955 Cisco IOS Commands ip dhcp snooping information option Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-135 OL-10102-01...
  • Page 166: Ip Dhcp Snooping Information Option Allow-Untrusted

    This example shows how to configure an access switch to not check the option-82 information in untrusted packets from an edge switch and to accept the packets: Switch(config)# ip dhcp snooping information option allow-untrusted Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-136 OL-10102-01...
  • Page 167 You can verify your settings by entering the show ip dhcp snooping privileged EXEC command. Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-137 OL-10102-01...
  • Page 168: Ip Dhcp Snooping Limit Rate

    Related Commands Command Description errdisable recovery Configures the recover mechanism. show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-138 OL-10102-01...
  • Page 169: Ip Dhcp Snooping Trust

    You can verify your settings by entering the show ip dhcp snooping privileged EXEC command. Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-139 OL-10102-01...
  • Page 170: Ip Dhcp Snooping Vlan

    You can verify your settings by entering the show ip dhcp snooping privileged EXEC command. Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-140 OL-10102-01...
  • Page 171: Ip Igmp Filter

    (if any) that is applied to an interface. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 and Catalyst 2955 Switch Command Reference...
  • Page 172: Ip Igmp Max-Groups

    After these entries are aged out and the maximum number of entries is in the forwarding table, the switch drops the next IGMP report received on the interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-142 OL-10102-01...
  • Page 173 Displays the running configuration on the switch interface, including interface-id the maximum number of IGMP groups that an interface can join and the throttling action. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
  • Page 174: Ip Igmp Profile

    Switch # configure terminal Switch(config)# ip igmp profile 40 Switch(config-igmp-profile)# permit Switch(config-igmp-profile)# range 233.1.1.1 233.255.255.255 You can verify your settings by using the show ip igmp profile privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-144 OL-10102-01...
  • Page 175 Command Description ip igmp filter Applies the IGMP profile to the specified interface. show ip igmp profile Displays the characteristics of all IGMP profiles or the specified IGMP profile number. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-145 OL-10102-01...
  • Page 176: Ip Igmp Snooping

    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 and Catalyst 2955 Switch Command Reference 2-146 OL-10102-01...
  • Page 177: Ip Igmp Snooping Mrouter Learn Pim V2

    Switch(config)# no ip igmp snooping source-only-learning Switch(config)# no ip igmp snooping mrouter learn pim v2 You can verify your settings by entering the show running-config | include mrouter learn pim v2 privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-147 OL-10102-01...
  • Page 178 Displays the configuration information running on the switch. mrouter learn pim v2 For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-148 OL-10102-01...
  • Page 179: Ip Igmp Snooping Report-Suppression

    Switch(config)# no ip igmp snooping report-suppression This example shows how to enable report suppression: Switch(config)# ip igmp snooping report-suppression You can verify your settings by entering the show ip igmp snooping privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-149 OL-10102-01...
  • Page 180 Globally enables IGMP snooping. IGMP snooping must be globally enabled in order to be enabled on a VLAN. show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-150 OL-10102-01...
  • Page 181: Ip Igmp Snooping Source-Only-Learning

    The switch learns about IP multicast groups from the IP multicast data stream by using the source-only learning method. The switch forwards traffic only to the multicast router ports. You can disable source-only learning by using the no ip igmp snooping source-only learning global configuration command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-151 OL-10102-01...
  • Page 182 Displays the configuration information running on the switch. For source-only-learning syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 2950 and Catalyst 2955 Switch Command Reference...
  • Page 183: Ip Igmp Snooping Vlan

    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 and Catalyst 2955 Switch Command Reference 2-153 OL-10102-01...
  • Page 184: Ip Igmp Snooping Vlan Immediate-Leave

    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 and Catalyst 2955 Switch Command Reference 2-154 OL-10102-01...
  • Page 185: Ip Igmp Snooping Vlan Last-Member-Query Interval

    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 and Catalyst 2955 Switch Command Reference 2-155 OL-10102-01...
  • Page 186: Ip Igmp Snooping Vlan Mrouter

    12.0(5.2)WC(1) This command was introduced. Usage Guidelines The CGMP learning method is useful for controlling traffic in Cisco router environments. The configured learning method is saved in NVRAM. Static connections to multicast routers are supported only on switch ports. Examples...
  • Page 187 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 and Catalyst 2955 Switch Command Reference 2-157 OL-10102-01...
  • Page 188: Ip Igmp Snooping Vlan Static

    Switch(config)# ip igmp snooping vlan 1 static 0100.5e02.0203 interface fastethernet0/1 Configuring port FastEthernet 0/1 on group 0100.5e02.0203 You can verify your settings by entering the show mac address-table multicast privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-158 OL-10102-01...
  • Page 189 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 and Catalyst 2955 Switch Command Reference 2-159 OL-10102-01...
  • Page 190: Ip Ssh

    This example shows how to configure the switch to run SSH version 2: Switch(config)# ip ssh version 2 You can verify your settings by entering the show ip ssh or show ssh privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-160 OL-10102-01...
  • Page 191 Reference, Release 12.2 > Other Security Features > Secure Shell Commands. show ssh Displays the status of the SSH server. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Security Command Reference, Release 12.2 > Other Security Features > Secure Shell Commands.
  • Page 192: Lacp Port-Priority

    For more information about configuring LACP on physical interfaces, see the “Configuring EtherChannels” chapter in the software configuration guide for this release. Examples This example shows set the port priority for LACP: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-162 OL-10102-01...
  • Page 193 Switch(config)# lacp port-priority 32764 You can verify your settings by entering the show etherchannel privileged EXEC command. Related Commands Command Description lacp system-priority Globally sets the LACP priority. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-163 OL-10102-01...
  • Page 194: Lacp System-Priority

    Etherchannels” chapter in the software configuration guide for this release. Examples This example shows set the system priority for LACP: Switch(config)# lacp system-priority 32764 You can verify your settings by entering the show lacp sys-id privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-164 OL-10102-01...
  • Page 195 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands lacp system-priority Related Commands Command Description lacp port-priority Sets the LACP priority for a specific port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-165 OL-10102-01...
  • Page 196: Link Monitor

    Use the no form of this command to disable LRE link monitoring on a port. link monitor no link monitor This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords.
  • Page 197: Link Monitor Logging

    Use the no form of this command to disable LRE link monitor logging. link monitor logging no link monitor logging This command is available only on Catalyst 2950 LRE switches. Syntax Description This command has no arguments or keywords.
  • Page 198: Link Monitor Threshold Rserr

    Reed-Solomon errors. Use the no form of this command to return to the default setting. link monitor threshold rserr {downstream value | upstream value} no link monitor threshold rserr {downstream value | upstream value} This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description downstream value Number of the Reed-Solomon errors allowed per second at the remote end of the link.
  • Page 199 Displays the LRE link monitor information. show controllers lre status Displays the LRE link statistics and profile information on a switch LRE port, including link state, link duration, profile name, and data rates. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-169 OL-10102-01...
  • Page 200: Link Monitor Threshold Snr

    (SNR) errors. Use the no form of this command to return to the default setting. link monitor threshold snr {downstream value | upstream value} no link monitor threshold snr {downstream value | upstream value} This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description downstream value Value of the SNR, measured in decibels (dB), at the remote end of the link.
  • Page 201: Local Duplex

    Long-Reach Ethernet (LRE) port. Use the no form of this command to return to the default setting. local duplex {full | half} no local duplex This command is available only on Catalyst 2950 LRE switches. Syntax Description full Port is in full-duplex mode.
  • Page 202: Local Speed

    (LRE) interface. Use the no form of this command to return to the default setting. local speed {10 | 100} no local speed This command is available only on Catalyst 2950 LRE switches. Syntax Description Specify that the LRE port run at 10 Mbps.
  • Page 203: Logging Lre

    Ethernet (LRE) events. Use the no form of this command to disable logging of events. logging lre {event | extended | normal} no logging lre {event | extended | normal} This command is available only on Catalyst 2950 LRE switches. Syntax Description event Log events only.
  • Page 204: Lre Profile

    This command is available only on Catalyst 2950 LRE switches. Syntax Description profile-name Name of the profile. The profile name can be a Cisco-supplied profile or a user-created profile. For more details on Cisco-supplied profiles, see the software configuration guide for this release.
  • Page 205 Catalyst 2950 and 2955 Cisco IOS Commands lre profile Related Commands Command Description profile (sequence configuration) Adds an LRE profile to a rate selection sequence. show controllers lre profile Displays LRE profile information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-175 OL-10102-01...
  • Page 206: Lre Rate Selection Sequence

    Use the no form of the command to delete the assigned sequence. lre rate selection sequence sequence-name no lre rate selection sequence sequence-name This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description sequence-name Name of the rate selection sequence being applied.
  • Page 207 Enables rate selection on a specific port. rate selection sequence Assigns a rate selection sequence for a specific port. show controllers lre sequence Displays the list of sequences. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-177 OL-10102-01...
  • Page 208: Lre Sequence

    Use the no form of this command to delete a user-configured sequence. lre sequence sequence-name no lre sequence sequence-name This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description sequence-name Name of the sequence being created or modified.
  • Page 209 Switch(config)# Related Commands Command Description lre rate selection sequence Assigns sequences globally. profile (interface configuration) Adds a profile to a sequence. profile (sequence configuration) Adds a profile to a sequence. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-179 OL-10102-01...
  • Page 210: Lre Syslog

    For more information, see the “Configuring System Message Logging” chapter in the software configuration guide for this release. In software releases earlier than Cisco IOS Release 12.1(14)EA1, the switch sends information only to the LRE logging process. To display the LRE events, use the show controllers lre log privileged EXEC command.
  • Page 211: Lre Upbo

    Long-Reach Ethernet (LRE) customer premises equipment (CPE) device. Use the no form of this command to return t to the default setting. lre upbo {noise-model | offset value} no lre upbo {noise-model | offset value} This command is available only on Catalyst 2950 LRE switches. Syntax Description noise-model Specify the noise model. See Table 2-4 in the “Usage Guidelines”...
  • Page 212 Related Commands Command Description show controllers lre cpe Displays information about the LRE CPE devices connected to an LRE switch. show controllers lre status Displays the LRE line status parameters. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-182 OL-10102-01...
  • Page 213: Lre Upgrade Default Family

    LRE binary} no lre upgrade default family device-family {model model {revision revision | binary LRE binary} | binary LRE binary} This command is available only on Catalyst 2950 LRE switches. Syntax Description device-family Type of device that contains the chipset to be upgraded. Valid values are cisco575-lre, cisco585-lre, cisco576-lre997, and cisco2950-lre.
  • Page 214 Displays the LRE upgrade information. upgrade binary Configures upgrades on either end of an LRE link. upgrade preserve Prevents an upgrade of the local CPE controller and all remote CPE devices connected to it. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-184 OL-10102-01...
  • Page 215: Mac Access-Group

    This example shows how to apply a MAC extended ACL named macacl2 to an interface: Switch(config)# interface fastethernet0/1 Switch(config-if)# mac access-group macacl2 in You can verify your settings by entering the show mac access-group privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-185 OL-10102-01...
  • Page 216 {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 and Catalyst 2955 Switch Command Reference 2-186 OL-10102-01...
  • Page 217: Mac Access-List Extended

    This example shows how to delete the MAC extended ACL named mac1: Switch(config)# no mac access-list extended mac1 You can verify your settings by entering the show access-lists privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-187 OL-10102-01...
  • Page 218 {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 and Catalyst 2955 Switch Command Reference 2-188 OL-10102-01...
  • Page 219: Mac Address-Table Aging-Time

    The aging time applies to all VLANs. mac address-table aging-time [0 | 10–1000000] no mac address-table aging-time [0 | 10–1000000] Beginning with Cisco IOS Release 12.1(11)EA1, the mac address-table aging-time command replaces Note the mac-address-table aging-time command (with the hyphen).
  • Page 220 Deletes dynamic entries from the MAC address table. show mac address-table Displays the MAC address table. show mac address-table aging-time Displays the MAC address table aging time for all VLANs or the specified VLAN. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-190 OL-10102-01...
  • Page 221: Mac Address-Table Notification

    [history-size size | interval interval] no mac address-table notification [history-size size | interval interval] Beginning with Cisco IOS Release 12.1(11)EA1, the mac address-table notification command replaces Note the mac-address-table notification command (with the hyphen).
  • Page 222 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 and Catalyst 2955 Switch Command Reference 2-192 OL-10102-01...
  • Page 223: Mac Address-Table Static

    Use the no form of this command to remove static entries from the MAC address table. mac address-table static mac-addr vlan vlan-id interface interface-id no mac address-table static mac-addr vlan vlan-id [interface interface-id] Beginning with Cisco IOS Release 12.1(11)EA1, the mac address-table static command replaces the Note mac-address-table static command (with the hyphen).
  • Page 224 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 and Catalyst 2955 Switch Command Reference 2-194 OL-10102-01...
  • Page 225: Mac Address-Table Static Drop

    When a packet is received in VLAN 4 with this MAC address as its source or destination, the packet is dropped. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-195...
  • Page 226 You can verify your setting by entering the show mac address-table static privileged EXEC command. Related Commands Command Description show mac address-table static Displays only static MAC address table entries. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-196 OL-10102-01...
  • Page 227: Macro Apply

    There are Cisco-default Smartports macros embedded in the switch software. You can display these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 228 Applying command...‘duplex auto’ %Error Unknown error. Applying command...‘speed nonegotiate’ This example shows how to display the Cisco-default cisco-desktop macro and how to apply the macro and set the access VLAN ID to 25 on an interface: Switch# show parser macro cisco-desktop...
  • Page 229 Adds a description about the macros that are applied to the switch. description macro name Creates a macro. show parser macro Displays the macro definition for all macros or for the specified macro. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-199 OL-10102-01...
  • Page 230: Macro Description

    Adds a description about the macros that are applied to the switch. description macro name Creates a macro. show parser macro Displays the macro definition for all macros or for the specified macro. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-200 OL-10102-01...
  • Page 231: Macro Global

    There are Cisco-default Smartports macros embedded in the switch software. You can display these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 232 Cisco-default macro with the required values by using the parameter value keywords. The Cisco-default macros use the $ character to help identify required keywords. There is no restriction on using the $ character to define keywords when you create a macro.
  • Page 233: Macro Global Description

    Applies a macro on a switch or applies and traces a macro on a switch. macro name Creates a macro. show parser macro Displays the macro definition for all macros or for the specified macro. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-203 OL-10102-01...
  • Page 234: Macro Name

    You can modify a macro by creating a new macro with the same name as the existing macro. The newly created macro overwrites the existing macro but does not affect the configuration of those interfaces on which the original macro was applied. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-204 OL-10102-01...
  • Page 235 Adds a description about the macros that are applied to the switch. show parser macro Displays the macro definition for all macros or for the specified macro. Related Commands Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-205 OL-10102-01...
  • Page 236: Margin

    {downstream value | upstream value} no margin {downstream value | upstream value} This command is available only on Catalyst 2950 LRE switches. Syntax Description downstream value Value at the remote end of the link. The range is 0 to 10 decibels (dB).
  • Page 237 Assigns a rate selection sequence for the entire switch. rate selection Enables rate selection on a specific port. rate selection sequence Assigns a rate selection sequence for a specific port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-207 OL-10102-01...
  • Page 238: Match

    Only one match command per class map is supported. For more information about configuring ACLs, see the “Configuring Network Security with ACLs” Note chapter in the software configuration guide for this release. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-208 OL-10102-01...
  • Page 239 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 and Catalyst 2955 Switch Command Reference 2-209 OL-10102-01...
  • Page 240: Media-Type

    (SFP) module connector or an RJ-45 connector. Use the no form of this command to return to the default setting. media-type {auto-select | rj45 | sfp} no media-type {auto-select | rj45 | sfp} This command is available only on Catalyst 2950 LRE switches. Syntax Description auto-select First media-type detected makes the link.
  • Page 241 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands media-type Related Commands Command Description show interfaces Shows the status or resolution of the link. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-211 OL-10102-01...
  • Page 242: Mls Qos Cos

    If an incoming packet is tagged, the CoS value of the packet is modified with the default CoS of the port at the ingress port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-212...
  • Page 243 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 and Catalyst 2955 Switch Command Reference 2-213 OL-10102-01...
  • Page 244: Mls Qos Map

    For cos, enter the CoS value to which the DSCP values correspond. The range is 0 to 7. Defaults Table 2-5 shows the default CoS-to-DSCP map: Table 2-5 Default CoS-to-DSCP Map CoS Value DSCP Value Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-214 OL-10102-01...
  • Page 245 This example shows how to define the CoS-to-DSCP map. CoS values 0 to 7 are mapped to DSCP values 8, 8, 8, 8, 24, 32, 56, and 56. Switch# configure terminal Switch(config)# mls qos map cos-dscp 8 8 8 8 24 32 56 56 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-215 OL-10102-01...
  • Page 246 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 and Catalyst 2955 Switch Command Reference 2-216 OL-10102-01...
  • Page 247: Mls Qos Trust

    CoS value and to send packets without modifying the 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).
  • Page 248 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 249 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 and Catalyst 2955 Switch Command Reference 2-219 OL-10102-01...
  • Page 250: Monitor Session

    Specify all, local, or remote to clear all SPAN sessions, all local SPAN sessions, or all RSPAN sessions. Defaults On a source interface, the default is to monitor both received and transmitted traffic. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-220 OL-10102-01...
  • Page 251 IEEE 802.1x authentication is not available on the port, an error message is displayed.) You can enable IEEE 802.1x authentication on a SPAN or RSPAN source port but not on a SPAN destination port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-221...
  • Page 252 If ingress forwarding is enabled, you can use the SPAN destination port to inject traffic from a network security device. For example, if you connect a Cisco Intrusion Detection System (IDS) Sensor Appliance to a destination port, the IDS device can send TCP Reset packets to close down the TCP session of a suspected attacker.
  • Page 253: Mvr

    No IP multicast addresses are configured on the switch. The default group IP address count is 0. The default query response time is 5 tenths of or one-half second. The default multicast VLAN for MVR is VLAN 1. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-223 OL-10102-01...
  • Page 254 This example shows how to set the maximum query response time as 1 second (10 tenths): Switch(config)# mvr querytime 10 This example shows how to set VLAN 2 as the multicast VLAN: Switch(config)# mvr vlan 2 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-224 OL-10102-01...
  • Page 255 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 and Catalyst 2955 Switch Command Reference 2-225 OL-10102-01...
  • Page 256: Mvr Immediate

    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 and Catalyst 2955 Switch Command Reference 2-226 OL-10102-01...
  • Page 257: Mvr Type

    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 and Catalyst 2955 Switch Command Reference 2-227 OL-10102-01...
  • Page 258 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 and Catalyst 2955 Switch Command Reference 2-228 OL-10102-01...
  • Page 259: Mvr Vlan Group

    This example shows how to remove an entry on port 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 and Catalyst 2955 Switch Command Reference 2-229 OL-10102-01...
  • Page 260 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 and Catalyst 2955 Switch Command Reference 2-230 OL-10102-01...
  • Page 261: Pagp Learn-Method

    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 and Catalyst 2955 Switch Command Reference 2-231 OL-10102-01...
  • Page 262 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 and Catalyst 2955 Switch Command Reference...
  • Page 263: Pagp Port-Priority

    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 and Catalyst 2955 Switch Command Reference...
  • Page 264: Permit (Access-List Configuration)

    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 and Catalyst 2955 Switch Command Reference 2-234 OL-10102-01...
  • Page 265 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 introduced. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-235 OL-10102-01...
  • Page 266 Controls access to an interface. ip access-list Defines an IP ACL. show access-lists Displays ACLs configured on a switch. show ip access-lists Displays IP ACLs configured on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-236 OL-10102-01...
  • Page 267: Permit (Mac Access-List Configuration)

    Select EtherType DEC-MOP Dump. msdos Select EtherType DEC-MSDOS. mumps Select EtherType DEC-MUMPS. netbios Select EtherType DEC- Network Basic Input/Output System (NETBIOS). vines-echo Select EtherType Virtual Integrated Network Service (VINES) Echo from Banyan Systems. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-237 OL-10102-01...
  • Page 268 Prevents Layer 2 traffic from being forwarded if conditions are configuration) matched. mac access-list extended Creates an ACL based on MAC addresses. show access-lists Displays ACLs configured on a switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-238 OL-10102-01...
  • Page 269: Persistence

    Use the no form of this command to return to the default setting. persistence delay no persistence delay This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description delay The amount of time delay. The range is 1 to 20 seconds.
  • Page 270: Police

    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 and Catalyst 2955 Switch Command Reference 2-240 OL-10102-01...
  • Page 271 Command Description policy-map Creates or modifies a policy map that can be attached to multiple interfaces, and enters policy-map configuration mode. show policy-map Displays quality of service (QoS) policy maps. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-241 OL-10102-01...
  • Page 272: Policy-Map

    You can configure class policies in a policy map only if the classes have match criteria defined for them. Use the class-map and match commands to configure the match criteria for a class. Only one match command per class map is supported. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-242 OL-10102-01...
  • Page 273 Switch(config-pmap-c)# police 1000000 65536 exceed-action drop Switch(config-pmap-c)# exit Switch(config-pmap)# This example shows how to delete policymap2: Switch(config)# no policy-map policymap2 You can verify your settings by entering the show policy-map privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-243 OL-10102-01...
  • Page 274 Creates a class map to be used for matching packets to the class whose name you specify. police Defines a policer for classified traffic. Classifies IP traffic by setting a DSCP value in the packet. show policy-map Displays quality of service (QoS) policy maps. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-244 OL-10102-01...
  • Page 275: Port-Channel Load-Balance

    You can verify your settings by entering the show etherchannel privileged EXEC command. Related Commands Command Description channel-group Assigns an Ethernet interface to an EtherChannel group. interface port-channel Access or creates the port channel. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-245 OL-10102-01...
  • Page 276 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 and Catalyst 2955 Switch Command Reference...
  • Page 277: Profile (Interface Configuration)

    This command is available only on Catalyst 2950 LRE switches. Syntax Description profile-name Name of the profile. The profile name can be a Cisco-supplied profile or a user-created profile. For more information, see the switch software configuration guide for this release.
  • Page 278 Defines a new sequence. rate selection Enables rate selection on a specific port. rate selection sequence Assigns a rate selection sequence for a specific port. show controllers lre profile Displays LRE profile information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-248 OL-10102-01...
  • Page 279: Profile (Sequence Configuration)

    This command is available only on Catalyst 2950 LRE switches. Syntax Description profile-name Name of the profile. The profile name can be a Cisco-supplied profile or a user-created profile. For more information, see the switch software configuration guide for this release.
  • Page 280 Assigns the rate selection sequence for the entire switch. lre sequence Defines a new sequence. rate selection Enables rate selection on a specific port. rate selection sequence Assigns a sequence for a specific port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-250 OL-10102-01...
  • Page 281: Rate Selection

    Use the rate selection interface configuration command to enable rate selection on a port. Use the no form of this command to disable rate selection on the port. rate selection no rate selection This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description This command has no arguments or keywords. Defaults Rate selection is enabled on all interfaces.
  • Page 282: Rate Selection Profile Lock

    Use the no form of this command to unlock a profile in a port. rate selection profile lock no rate selection profile lock This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description This command has no arguments or keywords.
  • Page 283 Assigns a sequence on a port. lre rate selection sequence Assigns a sequence for the entire switch. show controllers lre status Displays information about the profiles and sequences when the sequence sequence parameter is specified. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-253 OL-10102-01...
  • Page 284: Rate Selection Sequence

    Use the no form of this command to remove a specific rate selection sequence on a port. rate selection sequence sequence-name no rate selection sequence sequence-name This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description sequence-name The name of the sequence being applied to the port. For names of system-supplied sequences, see the switch software configuration guide for this release.
  • Page 285 Catalyst 2950 and 2955 Cisco IOS Commands rate selection sequence Related Commands Command Description rate selection Enables rate selection on ports already configured for rate selection. show controllers lre Displays the list of sequences. sequence Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-255 OL-10102-01...
  • Page 286: Rcommand

    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 and Catalyst 2955 Switch Command Reference 2-256 OL-10102-01...
  • Page 287 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 and Catalyst 2955 Switch Command Reference 2-257 OL-10102-01...
  • Page 288: 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 and Catalyst 2955 Switch Command Reference 2-258 OL-10102-01...
  • Page 289 Enables SPAN and RSPAN monitoring on a port and configures a port as a source or destination port. vlan (global Enter VLAN configuration mode to configure or modify VLANs 1 to 4094. configuration) Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-259 OL-10102-01...
  • Page 290: Rmon Collection Stats

    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 and Catalyst 2955 Switch Command Reference...
  • Page 291: Service Password-Recovery

    This command is available only on Catalyst 2950 Long-Reach Ethernet (LRE) switches. Syntax Description This command has no arguments or keywords. Defaults The password-recovery mechanism is enabled.
  • Page 292 This example shows how to disable password recovery on a switch so that a user can only reset a password by agreeing to return to the default configuration: Switch(config)# no service-password recovery Switch(config)# exit Related Commands Command Description show version Displays version information for the hardware and firmware. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-264 0L-10102-01...
  • Page 293: Service-Policy

    Command Description 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 and Catalyst 2955 Switch Command Reference 2-265 0L-10102-01...
  • Page 294: Set

    Note For more information about configuring access control lists (ACLs), see the “Configuring Network Security with ACLs” chapter in the software configuration guide for this release. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-266 0L-10102-01...
  • Page 295 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 and Catalyst 2955 Switch Command Reference 2-267 0L-10102-01...
  • Page 296: Setup Express

    Use the no form of this command to disable Express Setup mode. setup express no setup express This command is available only on Catalyst 2950 switches. Syntax Description This command has no arguments or keywords. Defaults Express Setup is enabled.
  • Page 297: Setup Express

    Express Setup mode is enabled on the switch. Related Commands Command Description show setup express Displays if Express Setup mode is active on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-269 0L-10102-01...
  • Page 298: Show Access-Lists

    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 and Catalyst 2955 Switch Command Reference 2-270 0L-10102-01...
  • Page 299 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 and Catalyst 2955 Switch Command Reference 2-271 0L-10102-01...
  • Page 300: Show Auto Qos

    In releases earlier than Cisco IOS Release 12.1(20)EA2, the show auto qos [interface [interface-id]] command output shows the initial generated auto-QoS configuration. In Cisco IOS Release 12.1(20)EA2 or later, the show auto qos command output shows only the auto-QoS command entered on each interface. The show auto qos interface interface-id command output shows the auto-QoS command entered on a specific interface.
  • Page 301 Catalyst 2950 and 2955 Cisco IOS Commands show auto qos Examples This is an example of output from the show auto qos command after the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered: Switch> show auto qos...
  • Page 302 Switch> show auto qos interface fastethernet0/1 AutoQoS is disabled Related Commands Command Description auto qos voip Automatically configures QoS for VoIP within a QoS domain. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-274 0L-10102-01...
  • Page 303: Show Boot

    Switch# show boot BOOT path-list: flash:boot Config file: flash:config.text Private Config file: flash:private-config.text Enable Break: Manual Boot: HELPER path-list: NVRAM/Config file buffer size: 32768 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-275 0L-10102-01...
  • Page 304 Related Commands Command Description boot private-config-file Specifies the filename that the software uses to read and write a nonvolatile copy of the private configuration. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-276 0L-10102-01...
  • Page 305: Show Class-Map

    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 and Catalyst 2955 Switch Command Reference 2-277 0L-10102-01...
  • Page 306 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 and Catalyst 2955 Switch Command Reference 2-278 0L-10102-01...
  • Page 307: Show Cluster

    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 and Catalyst 2955 Switch Command Reference 2-279 0L-10102-01...
  • Page 308 This is an example of output when this command is entered on a member switch that has lost connectivity with the command switch: Switch# show cluster Member switch for cluster "commander" Member number: <UNKNOWN> Management IP address: 192.192.192.192 Command switch mac address: 0000.0c07.ac14 Heartbeat interval: Heartbeat hold-time: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-280 0L-10102-01...
  • Page 309 Displays a list of candidate switches. show cluster members Displays information about the cluster members. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-281 0L-10102-01...
  • Page 310: Show Cluster Candidates

    |---Upstream---| MAC Address Name Device Type PortIf FEC Hops SN PortIf 0030.85f5.8e80 3550-12T WS-C3550-12T Gi0/4 Fa0/1 0005.313c.5880 Switch2 WS-C3550-12T Gi0/1 Gi0/5 0005.dcc8.01c0 2950-145 WS-C2950T-24 Fa0/1 Gi0/2 0002.b922.7180 C2820 WS-C2820-24 Fa0/3 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-282 0L-10102-01...
  • Page 311 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 and Catalyst 2955 Switch Command Reference 2-283 0L-10102-01...
  • Page 312: Show Cluster Members

    State 0404.0400.0001 Switch (Cmdr) 0003.fd62.9240 b10-2940TT Fa0/1 Gi0/20 This is an example of output from the show cluster members 3 command for cluster member 3: Switch# show cluster members 3 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-284 0L-10102-01...
  • Page 313: Show Cluster Members

    Device 'Palpatine' with member number 5 Device type: cisco WS-C2924M-XL MAC address: 00b0.6404.f8c0 Upstream MAC address: 0002.4b29.2e00 (Cluster member 0) Local port: Gi2/1 FEC number: Upstream port: Gi0/7 FEC Number: Hops from command device: 1 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-285 0L-10102-01...
  • Page 314 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 and Catalyst 2955 Switch Command Reference 2-286 0L-10102-01...
  • Page 315: Show Controllers Ethernet-Controller

    Usage Guidelines Use this command without keywords to display traffic statistics, particularly the RMON statistics for the interface. If this command is entered on a Catalyst 2950 LRE switch, the command output also shows the statistics for the LRE switch interfaces.
  • Page 316 The number of frames that are successfully sent on an interface after more than one collision occurs. Late collisions After a frame is sent, the number of times that a collision is detected on an interface later than 512 bit times. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-288 0L-10102-01...
  • Page 317 The number of frames received that are smaller than 64 bytes (including the FCS bits and excluding the frame header) and that have either an FCS error or an alignment error. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-289...
  • Page 318 0 Invalid frames, too large 0 Aborted Tx frames 0 Discarded frames Transmit and Receive 2 Minimum size frames 0 65 to 127 byte frames 0 128 to 255 byte frames Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-290 0L-10102-01...
  • Page 319 The total number of frames that are the larger than the maximum allowed frame size. FCS errors The total number of frames received on an interface that have a valid length (in bytes) but do not have the correct FCS values. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-291 0L-10102-01...
  • Page 320 0 Source Address Chang 0 Symbol Errors 0 64 Byte Frames 0 65-127 Byte Frames 0 128-255 Byte Frames 0 256-511 Byte Frames 0 512-1023 Byte Frames 0 1024-1522 Byte Frame Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-292 0L-10102-01...
  • Page 321 This value excludes the frame header bits. Frames The total number of frames received on an interface, including multicast frames, broadcast frames, and incorrectly formed frames. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-293 0L-10102-01...
  • Page 322 The total number of frames successfully received on an interface that are directed to unicast addresses. Multicast Frames The total number of frames successfully received on an interface that are directed to multicast addresses. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-294 0L-10102-01...
  • Page 323 Deletes the Ethernet link send and receive statistics on a Fast Ethernet or an ethernet-controller LRE switch port on an LRE switch. show interfaces Displays the administrative and operational status of all interfaces or a specified interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-295 0L-10102-01...
  • Page 324: Show Controllers Lre Cpe

    A non-certified status means that the CPE device did not meet the minimum requirements. If a CPE • device shows a status of non-certified or if the family is not a Cisco 585 LRE CPE, Cisco 576 LRE 997 CPE, or a Cisco 575 LRE CPE, use the show controllers lre cpe mfg privileged EXEC command to verify the CPE manufacturing fields.
  • Page 325 Use the show controllers lre cpe protected privileged EXEC command without specifying an LRE interface to display the protected port setting for all CPE ports. The Cisco 575 LRE CPE or Cisco 576 LRE 997 CPE devices display a protected field output of NA.
  • Page 326 Related Commands Command Description cpe protected Restricts data traffic to individual ports on Cisco 585 LRE CPE ports. show controllers lre version Displays the version number of the hardware, software, and patch software components of the switch LRE interface and the CPE LRE interface.
  • Page 327: Show Controllers Lre Actual

    Long-Reach Ethernet (LRE) link on a specific LRE switch port. show controllers lre interface-id actual {dsrserrs | link | rxpower | snr | txpower | usrserrs} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id ID of the switch LRE port.
  • Page 328 Switch# show controllers lre longreachethernet0/2 actual txpower -89.7 Switch# This is an example of output from the show controllers lre interface-id actual usrserrs command on an LRE port: Switch# show controllers lre longreachethernet0/2 actual usrserrs Switch# Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-300 0L-10102-01...
  • Page 329 Switch# show controllers lre longreachethernet0/1 actual link DOWN Switch# Related Commands Command Description show controllers lre admin Displays the administrative settings of the LRE link on a specific switch LRE port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-301 0L-10102-01...
  • Page 330: Show Controllers Lre Admin

    Long-Reach Ethernet (LRE) link for a specific switch LRE port. show controllers lre interface-id admin {dsrate | usrate}[ |{begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id ID of the switch LRE port.
  • Page 331 Displays the actual values of the LRE link on a specific switch LRE port. lre profile Assigns a profile to all switch LRE ports. profile (interface configuration) Assigns a profile to a specific switch LRE port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-303 0L-10102-01...
  • Page 332: Show Controllers Lre Link Monitor

    (LRE) link monitor information. show controllers lre monitor {errors | parameters | statistics} {local [interface-id] | remote [interface-id]} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description errors Display the LRE Reed-Solomon (RS) errors and Ethernet errors parameters Display the LRE operating parameter data collected by the link monitor.
  • Page 333 -------- ---------- ---------- ---------- ---------- ----------- 14:42:28 6400 45835 14:30:28 6400 45835 14:15:28 6400 45835 14:00:29 6400 45835 13:45:28 6144 45835 13:30:29 6144 45835 13:15:29 6144 45835 13:00:28 6144 45835 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-305 0L-10102-01...
  • Page 334 Enables link monitor event logging per port. link monitor threshold rserr Sets a Reed-Solomon error threshold for the LRE link monitor. link monitor threshold snr Sets an signal-to-noise margin for the LRE link monitor. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-306 0L-10102-01...
  • Page 335: Show Controllers Lre Log

    Use this command with keywords to display information about the LRE event log level. show controllers lre log [level] [interface-id] [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description level (Optional) Display information about the LRE event log level.
  • Page 336 Specifies the logging level on the LRE port. show controllers lre profile Displays the log level for a specific switch LRE port or for all LRE ports on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-308 0L-10102-01...
  • Page 337: Show Controllers Lre Profile

    LRE link can affect the actual LRE link performance. Contact Cisco Systems for information about limitations and optimization of LRE link performance. The net data rates are slightly less than the gross data rates displayed by the show controllers lre profile names command output.
  • Page 338 LRE-6 Global Profile Lo0/8 LRE-6 LRE-6 Global Profile Lo0/9 LRE-6 LRE-6 Global Profile Lo0/10 LRE-6 LRE-6 Global Profile Lo0/11 LRE-6 LRE-6 Global Profile Lo0/12 LRE-6 LRE-6 Global Profile <output truncated> Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-310 0L-10102-01...
  • Page 339 LRE-6-4 System-Configured 6.250 4.688 LRE-6-3 System-Configured 6.250 3.125 LRE-4 System-Configured 4.688 4.688 Related Commands Command Description lre profile Assigns an LRE profile to all the LRE ports on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-311 0L-10102-01...
  • Page 340: Show Controllers Lre Sequence

    [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 341 9.375 6.250 LRE-9-4 9.375 4.688 <output truncated> Related Commands Command Description lre rate selection sequence Assigns a rate selection sequence to the entire switch. lre sequence Defines a user-defined sequence. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-313 0L-10102-01...
  • Page 342: Show Controllers Lre Status

    {cpe | interleave | link | profile | psd | sequence [detail]} [interface-id] [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description Display information about the customer premises equipment (CPE) 10/100 Ethernet ports.
  • Page 343 (dB) Rx-Bsz Tx-Bsz ------ ---- ---- ----------- -------- ----------- ------------- ----- Lo0/2 4829 - 57.7 0x04 This is an example of output from the show controllers lre status profile command: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-315 0L-10102-01...
  • Page 344 0 - 5.85 66.5 Lo0/24 DOWN 0 - 5.85 53.6 This is an example of output from the show controllers lre status sequence command: Switch# show controllers lre status sequence Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-316 0L-10102-01...
  • Page 345 ------ --------- Lo0/3 : CPE-TYPE:CISCO585-LRE Port Status Speed Duplex Protected ---- ------------ ----- ------ --------- notconnected auto false notconnected auto true notconnected auto false notconnected auto false connected half false Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-317 0L-10102-01...
  • Page 346 Displays the administrative settings of the LRE link on a specific switch LRE port. show controllers lre profile Displays information about the LRE profiles available on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-318 0L-10102-01...
  • Page 347: Show Controllers Lre Version

    (hardware, firmware, and patch software) that make up the Long-Reach Ethernet (LRE) switch interface. show controllers lre version [interface-id] [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description interface-id (Optional) ID of the switch LRE port.
  • Page 348: Show Controllers Utilization

    Switch Fabric Percentage Utilization : 0 This is an example of output from the show controllers utilization command on a specific port: Switch> show controllers fastethernet0/1 utilization Receive Bandwidth Percentage Utilization Transmit Bandwidth Percentage Utilization Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-320 0L-10102-01...
  • Page 349: Show Controllers Utilization

    Related Commands Command Description show controllers Displays the interface internal registers or displays the statistics read ethernet-controller from Long-Reach Ethernet (LRE) and customer premises equipment (CPE) ports. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-321 0L-10102-01...
  • Page 350: Show Dot1X

    These are examples of output from the show dot1x and the show dot1x all privileged EXEC commands: Switch# show dot1x Sysauthcontrol = Enabled Supplicant Allowed In Guest Vlan = Disabled Dot1x Protocol Version Dot1x Oper Controlled Directions = Both Dot1x Admin Controlled Directions = Both Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-322 0L-10102-01...
  • Page 351: Show Dot1X

    AuthFail-Max-Attempts = 3 This is an example of output from the show dot1x interface fastethernet0/3 privileged EXEC command: Switch# show dot1x interface fastethernet0/3 Supplicant MAC 00d0.b71b.35de AuthSM State = AUTHENTICATED (AUTH-FAIL-VLAN) Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-323 0L-10102-01...
  • Page 352 Number of valid EAPOL frames of any type that have been received. RxVersion Received packets in the IEEE 802.1x Version 1 format. LastRxSrcMac Source MAC address carried in the most recently received EAPOL frame. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-324 0L-10102-01...
  • Page 353 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show dot1x Related Commands Command Description dot1x Resets the configurable IEEE 802.1x parameters to their default values. control-direction Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-325 0L-10102-01...
  • Page 354: Show Env

    This is an example of output from the show env power command: Switch> show env power Internal POWER supply is FAULTY This is an example of output from the show env rps command: Switch> sho env rps RPS is supplying power Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-326 0L-10102-01...
  • Page 355: Show Errdisable Recovery

    Disabled dhcp-rate-limit Disabled unicast-flood Disabled loopback Disabled Timer interval:300 seconds Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) --------- ----------------- -------------- Gi0/1 link-flap Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-327 0L-10102-01...
  • Page 356 Though visible in the output, the unicast-flood field is not supported. Note 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 and Catalyst 2955 Switch Command Reference 2-328 0L-10102-01...
  • Page 357: Show Etherchannel

    ------------ Port state = Down Not-in-Bndl Channel group = 1 Mode = Automatic-Sl Gcchange = 0 Port-channel = null = 0x00000000 Pseudo port-channel = Po1 Port index Load = 0x00 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-329 0L-10102-01...
  • Page 358: Show Etherchannel

    I - Interface timer is running. Local information: Hello Partner PAgP Learning Group Port Flags State Timers Interval Count Priority Method Ifindex Fa0/3 U1/S1 Age of the port in the current state: 10d:23h:13m:21s Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-330 0L-10102-01...
  • Page 359 Catalyst 2950 and 2955 Cisco IOS Commands show etherchannel 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 and Catalyst 2955 Switch Command Reference 2-331 0L-10102-01...
  • Page 360: Show File

    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-17 describes the fields in the show file descriptors command output. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-332 0L-10102-01...
  • Page 361 Free(b) Type Flags Prefixes 7741440 433152 flash flash: 7741440 433152 unknown zflash: 32768 25316 nvram nvram: network tftp: opaque null: opaque system: opaque xmodem: opaque ymodem: network rcp: network ftp: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-333 0L-10102-01...
  • Page 362 The file system is of unknown type. Table 2-21 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 and Catalyst 2955 Switch Command Reference 2-334 0L-10102-01...
  • Page 363: Show Flowcontrol

    This is an example of output from the show flowcontrol command: Switch> show flowcontrol Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- -------- ------- ------- Gi0/1 Unsupp. Unsupp. Gi0/2 desired Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-335 0L-10102-01...
  • Page 364 Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- -------- ------- ------- Gi0/2 desired Related Commands Command Description flowcontrol Sets the receive flow-control state for an interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-336 0L-10102-01...
  • Page 365: Show Interfaces

    (Optional) Display excludes lines that match the expression. | include (Optional) Display includes lines that match the specified expression. expression Expression in the output to use as a reference point. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-337 0L-10102-01...
  • Page 366 Type: 10/100BaseTX Speed: 10,100,auto Duplex: half,full,auto UDLD: Trunk encap. type: 802.1Q Trunk mode: on,off,desirable,nonegotiate Channel: Broadcast suppression: percentage(0-100) Flowcontrol: rx-(none),tx-(none) Fast Start: CoS rewrite: ToS rewrite: Inline power: SPAN: source/destination Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-338 0L-10102-01...
  • Page 367 223689126 3277307 280637322 Route cache Total 3224706 223689126 3277307 280637322 Interface Vlan5 is disabled FastEthernet0/1 Switching path Pkts In Chars In Pkts Out Chars Out Processor 3286423 231672787 179501 17431060 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-339 0L-10102-01...
  • Page 368 Switch# show interfaces flowcontrol Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper ----- -------- -------- -------- -------- ------- ------- Fa0/1 Unsupp. Unsupp. Fa0/2 Unsupp. Unsupp. <output truncated> Gi0/1 desired Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-340 0L-10102-01...
  • Page 369 Administrative private-vlan host-association:none Administrative private-vlan mapping:none Operational private-vlan:none Trunking VLANs Enabled:ALL Pruning VLANs Enabled:2-1001 Capture Mode: Disabled Capture VLANs Allowed:ALL Protected:true Unknown unicast blocked:disabled Unknown multicast blocked:disabled Voice VLAN:none (Inactive) Appliance trust:none Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-341 0L-10102-01...
  • Page 370 Vlans allowed on trunk Fa0/4 1-4094 Fa0/6 1-4094 Port Vlans allowed and active in management domain Fa0/4 1-2,51-52 Fa0/6 1-2,51-52 Port Vlans in spanning tree forwarding state and not pruned Fa0/4 Fa0/6 1-2,51-52 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-342 0L-10102-01...
  • Page 371 Operational Duplex: full Operational Auto-MDIX: N/A This is an example of output from the show interfaces command for an LRE port: Switch# show interfaces longreachethernet0/5 LongReachEthernet0/5 is up, line protocol is up Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-343 0L-10102-01...
  • Page 372 1000BaseSX-10/100/1000BaseTX Switch# This is an example of output from the show interfaces media command: Switch# show interfaces media Port Media-configured Active Attached Gi0/1 auto-select rj45 1000BaseSX-10/100/1000BaseTX Gi0/2 prefer-sfp 1000BaseSX-10/100/1000BaseTX Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-344 0L-10102-01...
  • Page 373 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 and Catalyst 2955 Switch Command Reference 2-345 0L-10102-01...
  • Page 374: Show Interfaces Counters

    Switch# show interfaces counters Port InOctets InUcastPkts InMcastPkts InBcastPkts Gi0/1 23324617 10376 185709 126020 Gi0/2 Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts Gi0/1 4990607 28079 21122 Gi0/2 1621568 25337 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-346 0L-10102-01...
  • Page 375: Show Interfaces Counters

    After a frame is sent, displays the number of times that a collision is detected on an interface after 512 bit times. Excess-col Display the number of frames that could not be sent on an interface because more than 16 collisions occurs. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-347 0L-10102-01...
  • Page 376 Displays the number of frames received on a trunk interface. WrongEncap Displays the number of frames that are received on an interface and have the incorrect encapsulation type. Related Commands Command Description show interfaces Displays interface characteristics. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-348 0L-10102-01...
  • Page 377: Show Inventory

    Examples This is example output from the show inventory command: Switch> show inventory NAME: "sw-2-9-calg", DESCR: "Cisco Catalyst c2950 switch with 24 10/100 BaseTX ports and 2 GBIC (Gigabit Interface Converter) slots" PID: WS-C2950G-24-EI , VID: A0 , SN: FHK0603Y088...
  • Page 378: Show Ip Access-Lists

    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 and Catalyst 2955 Switch Command Reference 2-350 0L-10102-01...
  • Page 379 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 and Catalyst 2955 Switch Command Reference 2-351 0L-10102-01...
  • Page 380: Show Ip Dhcp Snooping

    ---------------- FastEthernet0/5 unlimited FastEthernet0/7 unlimited FastEthernet0/3 5000 FastEthernet0/5 unlimited FastEthernet0/7 unlimited FastEthernet0/5 unlimited FastEthernet0/7 unlimited Related Commands Command Description show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-352 0L-10102-01...
  • Page 381: Show Ip Dhcp Snooping Binding

    42.0.0.33 dynamic FastEthernet0/8 00:00:00:00:00:02 41.0.0.53 dynamic FastEthernet0/8 This example shows how to display the DHCP snooping binding entries for a specific IP address: Switch> show ip dhcp snooping binding 41.0.0.51 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-353 0L-10102-01...
  • Page 382: Show Ip Dhcp Snooping Binding

    Binding type VLAN VLAN number of the client interface Interface Interface that connects to the DHCP client host Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-354 0L-10102-01...
  • Page 383: Show Ip Igmp Profile

    Switch# show ip igmp profile IGMP Profile 3 range 230.9.9.0 230.9.9.0 IGMP Profile 4 permit range 229.9.9.0 229.255.255.255 Related Commands Command Description ip igmp profile Configures the specified IGMP profile number. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-355 0L-10102-01...
  • Page 384: Show Ip Igmp Snooping

    The querier can be a Layer 3 switch. The command output also shows the VLAN and interface on which the querier was detected. If the querier is a multicast router, the output shows the Port field as Router. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-356 0L-10102-01...
  • Page 385 Vlan 1: -------- IGMP snooping :Enabled Immediate leave :Disabled Multicast router learning mode :pim-dvmrp Source only learning age timer :10 CGMP interoperability mode :IGMP_ONLY Last member query interval : 100 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-357 0L-10102-01...
  • Page 386 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 and Catalyst 2955 Switch Command Reference 2-358 0L-10102-01...
  • Page 387: Show Ip Igmp Snooping Querier Detail

    : Enabled admin version source IP address : 0.0.0.0 query-interval (sec) : 60 max-response-time (sec) : 10 querier-timeout (sec) : 120 tcn query count tcn query interval (sec) : 10 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-359 0L-10102-01...
  • Page 388 Displays IGMP snooping multicast router ports for the switch or for the specified multicast VLAN. show ip igmp snooping Displays IGMP snooping multicast information for the switch or for the specified parameter. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-360 0L-10102-01...
  • Page 389: Show Lacp

    This is an example of output from the show lacp counters command: Switch> show lacp counters LACPDUs Marker Marker Response LACPDUs Port Sent Recv Sent Recv Sent Recv Pkts Err --------------------------------------------------------------------- Channel group:1 Fa0/5 Fa0/6 Fa0/7 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-361 0L-10102-01...
  • Page 390: Show Lacp

    Port State 32768 0x35 This is an example of output from the show lacp sys-id command: Switch> show lacp sys-id 32765,0002.4b29.3a00 Related Commands Command Description clear lacp Clears LACP channel-group information. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-362 0L-10102-01...
  • Page 391: Show Lre Upgrade

    Use the show lre upgrade binaries privileged EXEC command to display the upgrade information for the Long-Reach Ethernet (LRE) switch. show lre upgrade {binaries | status | version} [ | {begin | exclude | include} expression] This command is available only on Catalyst 2950 LRE switches. Syntax Description binaries Display the LRE binaries present on the system flash memory.
  • Page 392 Flash file name: CISCO2950-LRE_vdsloctl_02.50.00.bin This example shows the status of an upgrade after it starts, but before the data transfer begins: Switch# show lre upgrade status Lo0/1: lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-364 0L-10102-01...
  • Page 393 Lo0/2: lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00 Status:Pending rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00 Status:Active 09 HHMM:0000, Attempt:001 Lo0/3: lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00 Status:Pending rmt curr:CISCO575-LRE_vdslsngl_52.00.00 new:CISCO575-LRE_vdslsngl_52.00.00 Status:Active 22 HHMM:0000, Attempt:001 Lo0/4: lcl curr:CISCO2950-LRE_vdsloctl_02.60.00 new:CISCO2950-LRE_vdsloctl_02.60.00 <output truncated> Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-365 0L-10102-01...
  • Page 394 Related Commands Command Description show lre upgrade Displays the upgrade status on all ports in the switch or the versions of binaries on local and remote ends on all ports. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-366 0L-10102-01...
  • Page 395: Show Mac Access-Group

    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 Interface GigabitEthernet0/2: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-367 0L-10102-01...
  • Page 396 Inbound access-list is 101This is an example of output from the show mac access-group interface gigabitethernet 0/2 command: Switch# show mac access-group interface gigabitethernet0/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 and Catalyst 2955 Switch Command Reference 2-368 0L-10102-01...
  • Page 397: Show Mac Address-Table

    [aging-time | count | dynamic | static] [address hw-addr] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Note Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table command replaces the show mac-address-table command (with the hyphen). Syntax Description aging-time (Optional) Display aging time for dynamic addresses for all VLANs.
  • Page 398 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 and Catalyst 2955 Switch Command Reference 2-370 0L-10102-01...
  • Page 399 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 and Catalyst 2955 Switch Command Reference 2-371 0L-10102-01...
  • Page 400: Show Mac Address-Table Multicast

    The show mac address-table multicast command only shows non-IP multicast addresses. Use the show Note ip igmp snooping multicast user EXEC command to display IP multicast addresses. Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table multicast command Note replaces the show mac-address-table multicast command (with the hyphen).
  • Page 401 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 and Catalyst 2955 Switch Command Reference 2-373 0L-10102-01...
  • Page 402: Show Mac Address-Table Notification

    [interface interface-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table notification command Note replaces the show mac-address-table notification command (with the hyphen). Syntax Description interface interface-id (Optional) Specify an interface.
  • Page 403: Show Mls Masks

    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 and Catalyst 2955 Switch Command Reference 2-375 0L-10102-01...
  • Page 404 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 and Catalyst 2955 Switch Command Reference 2-376 0L-10102-01...
  • Page 405: Show Mls Qos Interface

    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 406 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 and Catalyst 2955 Switch Command Reference 2-378 0L-10102-01...
  • Page 407: Show Mls Qos Maps

    This is an example of output from the show mls qos maps dscp-cos command: Switch> show mls qos maps dscp-cos Dscp-cos map: dscp: 8 10 16 18 24 26 32 34 40 46 48 56 ----------------------------------------------- cos: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-379 0L-10102-01...
  • Page 408 8 10 16 18 24 26 32 34 40 46 48 56 ----------------------------------------------- cos: Cos-dscp map: cos: -------------------------------- dscp: 8 16 24 32 40 48 56 Related Commands Command Description mls qos map Defines the CoS-to-DSCP map and DSCP-to-CoS map. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-380 0L-10102-01...
  • Page 409: Show Monitor

    Switch# show monitor session 1 Session 1 --------- Type: Remote Source Session Source Ports: RX Only: Fa0/3 TX Only: None Both: None Source VLANs: RX Only: None TX Only: None Both: None Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-381 0L-10102-01...
  • Page 410 : Local Session Source Ports Both: : Fa0/6 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 and Catalyst 2955 Switch Command Reference 2-382 0L-10102-01...
  • Page 411: Show Mvr

    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 and Catalyst 2955 Switch Command Reference 2-383 0L-10102-01...
  • Page 412: Show Mvr Interface

    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 and Catalyst 2955 Switch Command Reference 2-384 0L-10102-01...
  • Page 413: Show Mvr

    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 and Catalyst 2955 Switch Command Reference 2-385 0L-10102-01...
  • Page 414: Show Mvr Members

    None 239.255.0.4 INACTIVE None 239.255.0.5 INACTIVE None 239.255.0.6 INACTIVE None 239.255.0.7 INACTIVE None 239.255.0.8 INACTIVE None 239.255.0.9 INACTIVE None 239.255.0.10 INACTIVE None <output truncated> 239.255.0.255 INACTIVE None 239.255.1.0 INACTIVE None Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-386 0L-10102-01...
  • Page 415: Show Mvr Interface

    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 and Catalyst 2955 Switch Command Reference 2-387 0L-10102-01...
  • Page 416: Show Pagp

    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 Fa0/1 Fa0/2 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-388 0L-10102-01...
  • Page 417 0002.4b29.4600 Fa0/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 and Catalyst 2955 Switch Command Reference 2-389 0L-10102-01...
  • Page 418: Show Parser Macro

    Output appear. Examples This is a partial output example from the show parser macro command. The output for the Cisco-default macros varies depending on the switch platform and the software image running on the switch: Switch# show parser macro...
  • Page 419 #enable port security, linkup, and linkdown traps snmp-server enable traps port-security snmp-server enable traps linkup snmp-server enable traps linkdown #set snmp-server host snmp-server host ADDRESS #set SNMP trap notifications precedence snmp-server ip precedence VALUE -------------------------------------------------------------- Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-391 0L-10102-01...
  • Page 420 Displays the current operating configuration, including defined macros. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.1> File Management Commands > Configuration File Management Commands. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-392 0L-10102-01...
  • Page 421: Show Policy-Map

    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 and Catalyst 2955 Switch Command Reference 2-393 0L-10102-01...
  • Page 422 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 and Catalyst 2955 Switch Command Reference 2-394 0L-10102-01...
  • Page 423: Show Port-Security

    Examples This is an example of output from the show port-security command: Switch# show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) ---------------------------------------------------------------------------- Fa0/1 Shutdown Fa0/2 Restrict Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-395 0L-10102-01...
  • Page 424 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 and Catalyst 2955 Switch Command Reference 2-396 0L-10102-01...
  • Page 425: Show Rps

    Catalyst 2950 and 2955 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 426 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 and Catalyst 2955 Switch Command Reference 2-398 0L-10102-01...
  • Page 427: Show Running-Config Vlan

    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 107 vlan 120 vlan 925 vlan 1000 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-399 0L-10102-01...
  • Page 428 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...
  • Page 429: Show Setup Express

    Use the show setup express privileged EXEC command to show if Express Setup mode is active on the switch. show setup express This command is available only on Catalyst 2950 switches. Syntax Description This command has no arguments or keywords.
  • Page 430: Show Spanning-Tree

    | portfast | supported. Valid interfaces include physical ports, VLANs, and port priority | rootcost | state] channels. The VLAN range is 1 to 4094. The port-channel range is 1 to 6. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-402 0L-10102-01...
  • Page 431 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 do not appear, but the lines that contain Output appear. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-403 0L-10102-01...
  • Page 432 Switch> show spanning-tree interface fastethernet0/1 Vlan Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- VLAN0001 Root FWD 19 128.1 VLAN0002 Desg FWD 19 128.2 VLAN0003 Desg FWD 19 128.2 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-404 0L-10102-01...
  • Page 433 2, forward delay 15, max age 20, max hops 20 Interface Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- -------------------------------- Fa0/1 Desg FWD 200000 128.1 Fa0/2 Root FWD 200000 128.2 P2p Bound(PVST) Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-405 0L-10102-01...
  • Page 434 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 and Catalyst 2955 Switch Command Reference 2-406 0L-10102-01...
  • Page 435: Show Storm-Control

    ------------- ------- ------- ------- ---------- Fa0/1 <inactive> <inactive> 100.00% 100.00% 0.00% Fa0/2 <inactive> <inactive> 100.00% 100.00% 0.00% Fa0/3 <inactive> <inactive> 100.00% 100.00% 0.00% Fa0/4 Forwarding Below rising 30.00% 20.00% 20.32% Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-407 0L-10102-01...
  • Page 436 Event Type Event Start Time Duration (seconds) ------------------ ---------------- ------------------ Unicast 04:58:18 Broadcast 05:01:54 Multicast 05:01:54 Unicast 05:01:54 Broadcast 05:05:00 Multicast 05:05:00 Unicast 05:06:00 Broadcast 05:09:39 Multicast 05:09:39 Broadcast 05:11:32 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-408 0L-10102-01...
  • Page 437 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 and Catalyst 2955 Switch Command Reference 2-409 0L-10102-01...
  • Page 438: Show System Mtu

    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 and Catalyst 2955 Switch Command Reference 2-410 0L-10102-01...
  • Page 439: Show Udld

    Time out interval: 5 Entry 1 Expiration time: 146 Device ID: 1 Current neighbor state: Bidirectional Device name: 0050e2826000 Port ID: Gi0/2 Neighbor echo 1 device: SAD03160954 Neighbor echo 1 port: Gi0/1 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-411 0L-10102-01...
  • Page 440 1. CDP = Cisco Discovery Protocol This is an example of output from the show udld interface configuration command when the aggressive mode is configured: Switch# show udld gigabitethernet0/1 Interface Gi0/1 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-412 0L-10102-01...
  • Page 441 Command Description udld Enables UDLD on all ports on the switch. udld port Enables UDLD on a specific port. udld reset Resets any interface that was shut down by UDLD. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-413 0L-10102-01...
  • Page 442: Show Version

    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)
  • Page 443 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands show version Base ethernet MAC Address:00:05:74:28:09:C0 Configuration register is 0xF <output truncated> Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-415 0L-10102-01...
  • Page 444: Show Vlan

    The remote-span keyword was added. 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 and Catalyst 2955 Switch Command Reference 2-416 0L-10102-01...
  • Page 445 Bridge number for the VLAN, if applicable. Spanning Tree Protocol type used on the VLAN. BrdgMode Bridging mode for this VLAN—possible values are source-route bridging (SRB) and source-route transparent (SRT); the default is SRB. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-417 0L-10102-01...
  • Page 446: Show Vlan

    Enables config-vlan mode where you can configure VLANs 1 to 4094. configuration) vlan (VLAN Configures VLAN characteristics in the VLAN database. Only available for configuration) normal-range VLANs (VLAN IDs 1 to 1005). Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-418 0L-10102-01...
  • Page 447: Show Vmps

    This is an example of output from the show vmps command: Switch> show vmps VQP Client Status: -------------------- VMPS VQP Version: Reconfirm Interval: 60 min Server Retry Count: 3 VMPS domain server: Reconfirmation status --------------------- VMPS Action: other Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-419 0L-10102-01...
  • Page 448 If the retry limit has not yet been reached, the client repeats the request with the same server or with the next alternate server, depending on whether the per-server retry count has been reached. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-420 0L-10102-01...
  • Page 449 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 and Catalyst 2955 Switch Command Reference 2-421 0L-10102-01...
  • Page 450: Show Vtp

    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/1 Fa0/2 Fa0/3 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-422 0L-10102-01...
  • Page 451 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 and Catalyst 2955 Switch Command Reference 2-423 0L-10102-01...
  • Page 452: Show Vtp

    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 and Catalyst 2955 Switch Command Reference 2-424 0L-10102-01...
  • Page 453 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 and Catalyst 2955 Switch Command Reference 2-425 0L-10102-01...
  • Page 454 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 and Catalyst 2955 Switch Command Reference 2-426 0L-10102-01...
  • Page 455: Show Wrr-Queue Bandwidth

    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 and Catalyst 2955 Switch Command Reference 2-427 0L-10102-01...
  • Page 456: Show Wrr-Queue Cos-Map

    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 and Catalyst 2955 Switch Command Reference 2-428 0L-10102-01...
  • Page 457: Shutdown

    This example shows how to disable a port and how to re-enable it: Switch(config)# interface fastethernet0/1 Switch(config-if)# shutdown Switch(config-if)# no shutdown You can verify your settings by entering the show interfaces privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-429 0L-10102-01...
  • Page 458: Shutdown Vlan

    Shuts down local traffic on the VLAN when in config-VLAN mode (accessed (config-vlan mode) by the vlan vlan-id global configuration command). vlan (global Enables config-vlan mode. configuration) vlan database Enters VLAN configuration mode. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-430 0L-10102-01...
  • Page 459: Snmp-Server Enable Traps

    (Optional) Enable SNMP Response Time Reporter traps. snmp (Optional) Enable SNMP traps. authentication (Optional) Enable SNMP authentication traps. coldstart (Optional) Enable SNMP coldstart traps. linkdown (Optional) Enable SNMP linkdown traps. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-431 0L-10102-01...
  • Page 460 To enable more than one type of trap, you must enter a separate snmp-server enable traps command for each trap type. Examples This example shows how to send EnvMon traps to the NMS: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-432 0L-10102-01...
  • Page 461 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 462: Snmp-Server Host

    (Optional) Send SNMP entity traps. envmon (Optional) Send enviromental monitor (EnvMon) traps. flash (Optional) Send SNMP FLASH notifications. hsrp (Optional) Send Hot Standby Router Protocol (HSRP) traps. mac-notification (Optional) Send MAC notification traps. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-434 0L-10102-01...
  • Page 463 If version 3 is selected and no authentication keyword is entered, the default is the noauth (noAuthNoPriv) security level. In releases earlier than Cisco IOS Release 12.1(6)EA2, ifIf the community-string is not defined by using Note the snmp-server community global configuration command before using this command, the default form of the snmp-server community command is automatically inserted into the configuration.
  • Page 464 The community string is defined as comaccess. Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco comaccess snmp This example shows how to enable the switch to send all traps to the host myhost.cisco using the community string public: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco public...
  • Page 465 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 enable traps Enables SNMP notification for various trap types.
  • Page 466: Snmp Trap Mac-Notification

    Clears the MAC address notification global counters. mac address-table notification Enables the MAC notification feature on a switch. show mac address-table notification Displays MAC notification parameters. snmp-server enable traps Enables SNMP notification for various trap types. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-438 0L-10102-01...
  • Page 467: Spanning-Tree Backbonefast

    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 and Catalyst 2955 Switch Command Reference 2-439 0L-10102-01...
  • Page 468: Spanning-Tree Bpdufilter

    This example shows how to enable the BPDU filtering feature on a port: Switch(config)# interface fastethernet0/1 Switch(config-if)# spanning-tree bpdufilter enable You can verify your setting by entering the show running-config privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-440 0L-10102-01...
  • Page 469 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...
  • Page 470: Spanning-Tree Bpduguard

    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 and Catalyst 2955 Switch Command Reference 2-442 0L-10102-01...
  • Page 471 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...
  • Page 472: Spanning-Tree Cost

    Examples This example shows how to set a path cost of 250 on an interface: Switch(config)# interface fastethernet0/4 Switch(config-if)# spanning-tree cost 250 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-444 0L-10102-01...
  • Page 473 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 and Catalyst 2955 Switch Command Reference 2-445 0L-10102-01...
  • Page 474: Spanning-Tree Etherchannel Guard Misconfig

    This example shows how to enable the EtherChannel guard misconfiguration feature: Switch(config)# spanning-tree etherchannel guard misconfig You can verify your settings by entering the show spanning-tree summary privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-446 0L-10102-01...
  • Page 475 Displays EtherChannel information for a channel as a one-line summary per channel-group. show interfaces status Displays the interfaces in the error-disabled state. err-disabled Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-447 0L-10102-01...
  • Page 476: Spanning-Tree Extend System-Id

    This command was introduced. Usage Guidelines In Cisco IOS Release 12.1(9)EA1 and later, Catalyst 2950 switches support the IEEE 802.1t spanning-tree extensions, and some of the bits previously used for the switch priority are now used for the extended system ID (VLAN identifier for the per-VLAN spanning-tree plus [PVST+] and for rapid PVST+ or an instance identifier for the multiple spanning tree [MST]).
  • Page 477 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 and Catalyst 2955 Switch Command Reference 2-449 0L-10102-01...
  • Page 478: Spanning-Tree Guard

    UplinkFast feature are placed in the root-inconsistent state (blocked) and prevented from reaching the forwarding state. The UplinkFast feature is not available when the switch is operating in rapid-PVST+ or MST mode. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-450 0L-10102-01...
  • Page 479 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.
  • Page 480: Spanning-Tree Link-Type

    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 and Catalyst 2955 Switch Command Reference 2-452 0L-10102-01...
  • Page 481: Spanning-Tree Loopguard Default

    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 and Catalyst 2955 Switch Command Reference 2-453 0L-10102-01...
  • Page 482 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.
  • Page 483: Spanning-Tree Mode

    Switch(config)# spanning-tree mode mst This example shows to enable rapid PVST+ on the switch: Switch(config)# spanning-tree mode rapid-pvst You can verify your setting by entering the show running-config privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-455 0L-10102-01...
  • Page 484 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-456...
  • Page 485: Spanning-Tree Mst Configuration

    [current | pending]: displays the current or pending MST region configuration. • In MST mode, the switch supports up to 16 MST instances. The number of VLANs that can be mapped to a particular MST instance is unlimited. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-457 0L-10102-01...
  • Page 486 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 and Catalyst 2955 Switch Command Reference 2-458 0L-10102-01...
  • Page 487: Spanning-Tree Mst Cost

    This example shows how to set a path cost of 250 on an interface associated with instances 2 and 4: Switch(config)# interface fastethernet0/4 Switch(config-if)# spanning-tree mst 2,4 cost 250 You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-459 0L-10102-01...
  • Page 488 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 and Catalyst 2955 Switch Command Reference 2-460 0L-10102-01...
  • Page 489: Spanning-Tree Mst Forward-Time

    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 and Catalyst 2955 Switch Command Reference 2-461 0L-10102-01...
  • Page 490: Spanning-Tree Mst Hello-Time

    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 and Catalyst 2955 Switch Command Reference 2-462 0L-10102-01...
  • Page 491: Spanning-Tree Mst Max-Age

    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 and Catalyst 2955 Switch Command Reference 2-463 0L-10102-01...
  • Page 492 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 and Catalyst 2955 Switch Command Reference 2-464 0L-10102-01...
  • Page 493: Spanning-Tree Mst Max-Hops

    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 and Catalyst 2955 Switch Command Reference 2-465 0L-10102-01...
  • Page 494: Spanning-Tree Mst Port-Priority

    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 and Catalyst 2955 Switch Command Reference 2-466 0L-10102-01...
  • Page 495 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 and Catalyst 2955 Switch Command Reference 2-467 0L-10102-01...
  • Page 496: Spanning-Tree Mst Priority

    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 and Catalyst 2955 Switch Command Reference 2-468 0L-10102-01...
  • Page 497: Spanning-Tree Mst Root

    24576, the switch sets its own priority to 4096 less than the lowest switch priority. (4096 is the value of the least-significant bit of a 4-bit switch priority value.) Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-469...
  • Page 498 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 and Catalyst 2955 Switch Command Reference 2-470 0L-10102-01...
  • Page 499: Spanning-Tree Port-Priority

    This example shows how to increase the likelihood that the specified port 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 and Catalyst 2955 Switch Command Reference 2-471 0L-10102-01...
  • Page 500 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 and Catalyst 2955 Switch Command Reference 2-472 0L-10102-01...
  • Page 501: Spanning-Tree Portfast (Global Configuration)

    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 and Catalyst 2955 Switch Command Reference 2-473 0L-10102-01...
  • Page 502 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.
  • Page 503: Spanning-Tree Portfast (Interface Configuration)

    If you configure the spanning-tree portfast default global configuration command, you can disable Port Fast on an interface that is not a trunk interface by using the spanning-tree portfast disable interface configuration command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-475 0L-10102-01...
  • Page 504 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).
  • Page 505: Spanning-Tree Stack-Port

    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 and Catalyst 2955 Switch Command Reference 2-477 0L-10102-01...
  • Page 506 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.
  • Page 507: Spanning-Tree Uplinkfast

    When spanning tree detects that the root port has failed, UplinkFast immediately switches over to an alternate root port, changing the new root port directly to FORWARDING state. During this time, a topology change notification is sent. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-479 0L-10102-01...
  • Page 508 Forces this switch to be the root switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-480 0L-10102-01...
  • Page 509: Spanning-Tree Vlan

    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. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-481 0L-10102-01...
  • Page 510 If the root switch should fail, this switch becomes the next root switch (if the other switches in the network use the default switch priority of 32768, and therefore, are unlikely to become the root switch). Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-482...
  • Page 511 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 and Catalyst 2955 Switch Command Reference 2-483 0L-10102-01...
  • Page 512: Speed

    The applicability of this command depends on the switch on which you enter it. SFP ports only operate at 1000 Mbps, and those with a 1000 BASE-T module installed can only be configured for full-duplex mode. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-484 0L-10102-01...
  • Page 513 This example shows how to set a port to autonegotiate at only 10 Mbps: Switch(config)# interface fastethernet0/1 Switch(config-if)# speed auto 10 This example shows how to set a port to autonegotiate at only 10 or 100 Mbps: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-485 0L-10102-01...
  • Page 514 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-486...
  • Page 515: Storm-Control

    SNMP trap when a storm occurs. • Defaults Broadcast, multicast, and unicast storm control are disabled. The default action is to filter traffic and to not send an SNMP trap. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-487 0L-10102-01...
  • Page 516 SNMP trap. If your switch is a non-LRE Catalyst 2950 switch, the suppression levels can also be entered as the rate at which traffic is received in packets per second. A suppression value of 4294967295 packets per second means that no limit is placed on the specified traffic type.
  • Page 517 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 and Catalyst 2955 Switch Command Reference 2-489 0L-10102-01...
  • Page 518: Switchport Access

    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. These restrictions apply to dynamic-access ports: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-490 0L-10102-01...
  • Page 519 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 and Catalyst 2955 Switch Command Reference 2-491 0L-10102-01...
  • Page 520: Switchport Block

    {multicast | unicast} no switchport block {multicast | unicast} This command is available only on these switches: • Catalyst 2950 Long-Reach Ethernet (LRE) switches running Cisco IOS Release 12.1(14)EA1 or later • Catalyst 2950G-12-EI, 2950G-24-EI, 2950G-24-EI-DC, 2950G-48-EI, and 2955 switches running Cisco IOS Release 12.1(19)EA1 or later...
  • Page 521 Catalyst 2950 and 2955 Cisco IOS Commands switchport block Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching port, including port blocking and port protection settings. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-493 0L-10102-01...
  • Page 522: Switchport Host

    Switch(config-if)# You can verify the effects of the command by entering the show interfaces interface-id switchport or show running-config interface interface-id privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-494 0L-10102-01...
  • Page 523 Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including switchport mode. show running-config Displays the running configuration on the interface. interface interface-id Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-495 0L-10102-01...
  • Page 524: Switchport Mode

    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 and Catalyst 2955 Switch Command Reference 2-496...
  • Page 525 Configures a port as a static-access port. switchport trunk Configures the trunk characteristics when an interface is in trunking mode. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-497 0L-10102-01...
  • Page 526: Switchport Nonegotiate

    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 and Catalyst 2955 Switch Command Reference 2-498 0L-10102-01...
  • Page 527 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 and Catalyst 2955 Switch Command Reference 2-499 0L-10102-01...
  • Page 528: Switchport Port-Security

    MAC addresses or increase the number of maximum allowable addresses. You are not notified that a security violation has occurred. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-500 0L-10102-01...
  • Page 529 MAC addresses, including those that were dynamically learned before sticky learning was enabled, to sticky secure MAC addresses. It adds all the sticky secure MAC addresses to the running configuration. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-501 0L-10102-01...
  • Page 530 IP phone requires one MAC address. The Cisco IP phone address is learned on the voice VLAN, but is not learned on the access VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC addresses are required. If you connect more than one PC to the Cisco IP phone,...
  • Page 531 Deletes from the MAC address table a specific sticky secure address, all the sticky secure addresses on an interface, or all the sticky secure addresses on a switch. show port-security Displays the port security settings defined for the port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-503 0L-10102-01...
  • Page 532: Switchport Port-Security Aging

    To allow continuous access to a limited number of secure addresses, set the aging type as inactivity. This removes the secure address when it becomes inactive, and other addresses can become secure. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-504...
  • Page 533 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 and Catalyst 2955 Switch Command Reference 2-505 0L-10102-01...
  • Page 534: Switchport Priority Extend

    The none keyword was removed and replaced by the trust keyword. Usage Guidelines In Cisco IOS Release 12.1(13)EA1 or later, the trust keyword replaces the none keyword. To instruct the IP Phone to not trust the priority, you can use the no switchport priority extend or the switchport priority extend cos 0 interface configuration command.
  • Page 535 Related Commands Command Description show interfaces Displays the administrative and operational status of a port or all ports. switchport voice vlan Configures the voice VLAN on the port. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-507 0L-10102-01...
  • Page 536: 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 and Catalyst 2955 Switch Command Reference 2-508 0L-10102-01...
  • Page 537: Switchport Trunk

    Use a hyphen to designate a range of IDs; do not enter a space before or after the hyphen. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-509 0L-10102-01...
  • Page 538 VLAN trunk port by removing VLAN 1 from the allowed list. This is known as VLAN 1 minimization. VLAN 1 minimization disables VLAN 1 (the default VLAN on all Cisco switch trunk ports) on an individual VLAN trunk link. As a result, no user traffic, including spanning-tree advertisements, is sent or received on VLAN 1.
  • Page 539 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 and Catalyst 2955 Switch Command Reference 2-511 0L-10102-01...
  • Page 540: Switchport Voice Vlan

    IP phone requires one MAC address. The Cisco IP phone address is learned on the voice VLAN, but is not learned on the access VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC addresses are required.
  • Page 541 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 and Catalyst 2955 Switch Command Reference 2-513 0L-10102-01...
  • Page 542: System Mtu

    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. You cannot set the MTU on a per-interface basis. Note Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-514 0L-10102-01...
  • Page 543 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 and Catalyst 2955 Switch Command Reference 2-515 0L-10102-01...
  • Page 544 Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands system mtu Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-516 0L-10102-01...
  • Page 545: Traceroute Mac

    This command was introduced. Usage Guidelines For Layer 2 traceroute to functional properly, Cisco Discovery Protocol (CDP) must be enabled on all the switches in the network. Do not disable CDP. When the switch detects a device in the Layer 2 path that does not support Layer 2 traceroute, the switch continues to send Layer 2 trace queries and lets them time out.
  • Page 546 Gi0/1 [auto, auto] => Gi0/2 [auto, auto] con2 / WS-C3550-24 / 2.2.2.2 : Gi0/2 [auto, auto] => Fa0/1 [auto, auto] Destination 0000.0201.0201 found on con2[WS-C3550-24] (2.2.2.2) Layer 2 trace completed. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-520 OL-10102-01...
  • Page 547 Command Description traceroute mac ip Displays the Layer 2 path taken by the packets from the specified source IP address or hostname to the specified destination IP address or hostname. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-521 OL-10102-01...
  • Page 548: Traceroute Mac Ip

    This command was introduced. Usage Guidelines For Layer 2 traceroute to functional properly, Cisco Discovery Protocol (CDP) must be enabled on all the switches in the network. Do not disable CDP. When the switch detects an device in the Layer 2 path that does not support Layer 2 traceroute, the switch continues to send Layer 2 trace queries and lets them time out.
  • Page 549: Traceroute Mac Ip

    Layer2 trace aborted. Related Commands Command Description traceroute mac Displays the Layer 2 path taken by the packets from the specified source MAC address to the specified destination MAC address. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-523 OL-10102-01...
  • Page 550: Udld

    You can use these commands to reset an interface shut down by UDLD: The udld reset privileged EXEC command to reset all interfaces shut down by UDLD • The shutdown and no shutdown interface configuration commands • Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-524 OL-10102-01...
  • Page 551 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.
  • Page 552: Udld Port

    Use the no udld port command on fiber-optic ports to return control of UDLD to the udld enable global configuration command or to disable UDLD on nonfiber-optic ports. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-526 OL-10102-01...
  • Page 553 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.
  • Page 554: Udld Reset

    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.
  • Page 555: Upgrade Binary

    Upgrade configurations given in the controller configuration mode take precedence over upgrade configurations given in the global configuration mode. Examples This example shows how to configures a Cisco 585 LRE CPE on an LRE link to use version 51.00.00.bin the next time LRE update runs: Switch# configure terminal Switch(config)# controller longreachethernet 0 Switch(config-controller)# upgrade binary cisco585-lre_vdslsngl_51.00.00.bin remote...
  • Page 556: Upgrade Preserve

    Use the no form of the command to allow upgrades on the devices. upgrade preserve no upgrade preserve This command is available only on a Catalyst 2950 LRE switch. Syntax Description This command has no arguments or keywords. Command Modes...
  • Page 557: Vlan (Global Configuration)

    VTP mode and the VLAN configuration for the first 1005 VLANs use the VLAN database information. If the image on the switch or the configuration file is earlier than Cisco IOS Release 12.1(9)EA1, • the switch reboots with information in the VLAN database.
  • Page 558 VLAN Trunking Protocol (VTP) global advertisements to other switches. These VLANs are locally suspended. – ethernet is Ethernet media type (the default). fddi is FDDI media type. – fd-net is FDDI network entity title (NET) media type. – Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-532 OL-10102-01...
  • Page 559 VLAN is translationally bridged. Translational VLANs translate FDDI or Token Ring to Ethernet, for example. The range is 0 to 1005. If no value is specified, 0 (no transitional bridging) is assumed. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-533...
  • Page 560 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 and Catalyst 2955 Switch Command Reference 2-534 OL-10102-01...
  • Page 561 You can verify your setting by entering the show vlan privileged EXEC command. Related Commands Command Description show running-config vlan Displays all or a range of VLAN-related configurations on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-535 OL-10102-01...
  • Page 562 Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. vlan (VLAN configuration) Configures normal-range VLANs in the VLAN database. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-536 OL-10102-01...
  • Page 563: Vlan (Vlan Configuration)

    The bridge number range is 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 and Catalyst 2955 Switch Command Reference 2-537 OL-10102-01...
  • Page 564 Ring to Ethernet, for example. The range is 0 to 1005. Zero is assumed if no value is specified. Table 2-37 shows the valid syntax options for different media types. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-538 OL-10102-01...
  • Page 565 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 and Catalyst 2955 Switch Command Reference 2-539 OL-10102-01...
  • Page 566 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 and Catalyst 2955 Switch Command Reference 2-540 OL-10102-01...
  • Page 567 VTP mode and the VLAN configuration for the first 1005 VLANs use VLAN database information. • If the image on the switch or the configuration file is earlier than Cisco IOS Release 12.1(9)EA1, the switch reboots with information in the VLAN database. The following are the results of using the no vlan commands: •...
  • Page 568 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 and Catalyst 2955 Switch Command Reference 2-542 OL-10102-01...
  • Page 569: Vlan Database

    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 and Catalyst 2955 Switch Command Reference 2-543 OL-10102-01...
  • Page 570 Media Type: Ethernet VLAN 802.10 Id: 100001 State: Operational MTU: 1500 Translational Bridged VLAN: 1002 Translational Bridged VLAN: 1003 Name: VLAN0002 Media Type: Ethernet VLAN 802.10 Id: 100002 State: Operational MTU: 1500 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-544 OL-10102-01...
  • Page 571 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 and Catalyst 2955 Switch Command Reference 2-545 OL-10102-01...
  • Page 572: Vmps Reconfirm (Global Configuration)

    Reconfirm Interval row. Related Commands Command Description show vmps Displays VQP and VMPS information. vmps reconfirm (privileged EXEC) Sends VQP queries to reconfirm all dynamic VLAN assignments with the VMPS. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-546 OL-10102-01...
  • Page 573: Vmps Reconfirm (Privileged Exec)

    Related Commands Command Description show vmps Displays VQP and VMPS information. vmps reconfirm (global Changes the reconfirmation interval for the VQP client. configuration) Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-547 OL-10102-01...
  • Page 574: Vmps Retry

    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 and Catalyst 2955 Switch Command Reference 2-548 OL-10102-01...
  • Page 575: Vmps Server

    This example shows how to configure the server with IP address 191.10.49.20 as the primary VMPS server. 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 Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-549 OL-10102-01...
  • Page 576 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 and Catalyst 2955 Switch Command Reference 2-550 OL-10102-01...
  • Page 577: Vtp (Global Configuration)

    VTP administrative domain for the switch. The domain name is case sensitive. file filename Specify the Cisco IOS file system file where the VTP VLAN configuration is stored. interface name Specify the name of the interface providing the VTP ID updated for this device.
  • Page 578 VLAN database information, and configuration for VLAN IDs greater than 1005 is determined by the switch configuration file. If the image on the switch or the configuration file is earlier than Cisco IOS Release 12.1(9)EA1, • the switch reboots using the information in the VLAN database.
  • Page 579 VTP domain. If you are using VTP in a Token Ring environment, VTP version 2 must be enabled. • Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-553 OL-10102-01...
  • Page 580 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 and Catalyst 2955 Switch Command Reference 2-554 OL-10102-01...
  • Page 581: Vtp (Privileged Exec)

    {password password | pruning | version number} no vtp {password | pruning | version} Beginning with Cisco IOS Release 12.1(11)EA1, these keywords are available in the vtp global Note configuration command. This command will become obsolete in a future release.
  • Page 582 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 and Catalyst 2955 Switch Command Reference 2-556 OL-10102-01...
  • Page 583: Vtp (Vlan Configuration)

    VLAN configurations on other devices in the network. The switch receives VTP advertisements and forwards them on all trunk ports except the one on which the advertisement was received. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-557 OL-10102-01...
  • Page 584 VTP can be set to either server or client mode only when dynamic VLAN creation is disabled. • Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-558 OL-10102-01...
  • Page 585 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-559 OL-10102-01...
  • Page 586 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 and Catalyst 2955 Switch Command Reference 2-560 OL-10102-01...
  • Page 587: Wrr-Queue Bandwidth

    20, and 30 to the queues 1, 2, and 3: Switch(config)# wrr-queue bandwidth 10 20 30 0 You can verify your settings by entering the show wrr-queue bandwidth privileged EXEC command. Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-561 OL-10102-01...
  • Page 588 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 and Catalyst 2955 Switch Command Reference 2-562 OL-10102-01...
  • Page 589 Switch(config)# wrr-queue cos-map 2 0 1 2 3 After entering the wrr-queue cos-map 2 0 1 2 3 command, if all other priority queues use their default setting, this is the new mapping: Catalyst 2950 and Catalyst 2955 Switch Command Reference 2-563 OL-10102-01...
  • Page 590 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 and Catalyst 2955 Switch Command Reference 2-564 OL-10102-01...
  • Page 591: Appendix

    This appendix describes the commands used to monitor switch conditions on the Catalyst 2955 switch. These commands are not supported on the Catalyst 2950 switch. For more information about how to use the commands, see the “Configuring Catalyst 2955 Switch Note Alarms”...
  • Page 592: Alarm Facility Fcs-Hysteresis

    Displays the running configuration on the switch, including FCS hysteresis threshold if it is not set at the default. For syntax information, see the Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands.
  • Page 593: Alarm Facility Power-Supply

    Sets the switch to operate in dual power-supply mode. show alarm settings Displays environmental alarm settings and options. snmp-server enable traps Enables the switch to send SNMP notification for various trap types to the network management system (NMS). Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 594: Alarm Facility Temperature

    Before you use the notifies keyword to sent alarm traps to an SNMP host, you need to set up an SNMP server by using the snmp-server enable traps global configuration command. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 595 Command Description show alarm settings Displays environmental alarm settings and options. snmp-server enable traps Enables the switch to send SNMP notification for various trap types to the network management system (NMS). Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 596: Alarm Profile (Global Configuration

    Before you use the notifies keyword to send alarm traps to a SNMP host, you need to set up an SNMP server by using the snmp-server enable traps global configuration command. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 597 Displays all alarm profiles or a specified alarm profile and lists the interfaces to which each profile is attached. snmp-server enable traps Enables the switch to send SNMP notification for various trap types to the network management system (NMS). Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 598: Alarm Profile (Interface Configuration

    Creates or identifies an alarm profile and enters alarm-profile configuration configuration) mode. show alarm profile Displays all alarm profiles or a specified alarm profile and lists the interfaces to which each profile is attached. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 599: Fcs-Threshold

    Sets the FCS hysteresis threshold for the switch in a percentage of allowed fluctuation from the FCS bit error rate configured on a port. show fcs-threshold Displays the FCS error bit rate settings on each interface as positive exponents. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 600: Power-Supply Dual

    Description alarm facility power-supply Sets the switch to monitor for a missing or failed power supply and sets the alarm options. show alarm settings Displays environmental alarm settings and options. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-10 OL-10102-01...
  • Page 601: Show Alarm Description Port

    Creates an alarm profile containing one or more alarm IDs and alarm options. configuration) show alarm profile Displays all alarm profiles or a specified alarm profile and lists the interfaces to which each profile is attached. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-11 OL-10102-01...
  • Page 602: Show Alarm Profile

    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 and Catalyst 2955 Switch Command Reference A-12 OL-10102-01...
  • Page 603 Command Description alarm profile (global Creates an alarm profile containing one or more alarm IDs and alarm configuration) options. alarm profile (interface Attaches an alarm profile to an interface. configuration) Catalyst 2950 and Catalyst 2955 Switch Command Reference A-13 OL-10102-01...
  • Page 604: Show Alarm Settings

    Single Alarm Disabled Relay Notifies Disabled Syslog Disabled Temperature-Primary Alarm Enabled Thresholds MAX: 95C MIN: -20C Relay Notifies Enabled Syslog Enabled Temperature-Secondary Alarm Disabled Threshold Relay Notifies Disabled Syslog Disabled Catalyst 2950 and Catalyst 2955 Switch Command Reference A-14 OL-10102-01...
  • Page 605 Catalyst 2955 Alarm Commands show alarm settings Related Commands Command Description alarm facility power-supply Sets power supply alarm options. alarm facility temperature Sets temperature alarm options. power-supply dual Sets dual power-supply mode. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-15 OL-10102-01...
  • Page 606: Show Env

    Catalyst 2955 switch. show env {all | power | temperature}[ | {begin | exclude | include} expression] Note This command is supported with different keywords on the Catalyst 2950 platform. Syntax Description Display power supply and temperature environmental status. power Display power supply environmental status.
  • Page 607 Power supply B is present Current temperature is 49C Highest temperature was 53C Mar 04 1993 04:06:36 Related Commands Command Description power-supply dual Sets dual power-supply mode on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-17 OL-10102-01...
  • Page 608: Show Facility-Alarm Relay

    Sets temperature alarm options. alarm profile (global Creates alarm profiles with alarm IDs and alarm options to be configuration) attached to interfaces. show facility-alarm status Display alarms generated on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-18 OL-10102-01...
  • Page 609: Show Facility-Alarm Status

    Sets temperature alarm options. alarm profile (global Creates alarm profiles with alarm IDs and alarm options to be configuration) attached to interfaces. show facility-alarm relay Displays alarm relays generated on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-19 OL-10102-01...
  • Page 610: Show Fcs-Threshold

    FCS threshold. Switch# show fcs-threshold Port FCS Threshold Fa0/1 Fa0/2 Fa0/3 Fa0/4 Fa0/5 Fa0/6 Fa0/7 Fa0/8 Fa0/9 <output truncated> Related Commands Command Description fcs-threshold Sets the FCS threshold on an interface. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-20 OL-10102-01...
  • Page 611: Test Relay

    Displays all alarm profiles or a specified alarm profile and lists the interfaces to which each profile is attached. show alarm settings Displays environmental alarm settings and options. show facility-alarm relay Displays alarm relays generated on the switch. Catalyst 2950 and Catalyst 2955 Switch Command Reference A-21 OL-10102-01...
  • Page 612 Appendix A Catalyst 2955 Alarm Commands test relay Catalyst 2950 and Catalyst 2955 Switch Command Reference A-22 OL-10102-01...
  • Page 613: Appendix

    Note The default configuration for Catalyst 2950 LRE switches allows an end user with physical access to the switch to recover from a lost password by interrupting the boot process while the switch is powering up and then by entering a new password. The password recovery disable feature for Catalyst 2950 LRE...
  • Page 614: Boot

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands boot boot Use the boot boot loader command to load and boot an executable image and to enter the command-line interface. boot [-post] filesystem:/file-url ... Syntax Description -post (Optional) Run the loaded image with an extended or comprehensive power-on self-test (POST).
  • Page 615 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands boot Related Commands Command Description Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command. Catalyst 2950 and Catalyst 2955 Switch Command Reference...
  • Page 616: Cat

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands Use the cat boot loader command to display the contents of one or more files. cat filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 617: Copy

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands copy copy Use the copy boot loader command to copy a file from a source to a destination. copy [-b block-size] filesystem:/source-file-url filesystem:/destination-file-url Syntax Description -b block-size (Optional) This option is used only for internal development and testing.
  • Page 618 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands delete delete Use the delete boot loader command to delete one or more files from the specified file system. delete filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 619: Dir

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands Use the dir boot loader command to display a list of files and directories on the specified file system. dir filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 620 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands Table B-1 dir Field Descriptions (continued) Field Description 1644045 Size of the file. <date> Last modification date. env_vars Filename. Related Commands Command Description mkdir Creates one or more directories. rmdir Removes one or more directories.
  • Page 621: Flash_Init

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands flash_init flash_init Use the flash_init boot loader command to initialize the flash file system. flash_init Syntax Description This command has no arguments or keywords. Defaults The flash file system is automatically initialized during normal system operation.
  • Page 622: Format

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands format format Use the format boot loader command to format the specified file system and destroy all data in that file system. format filesystem: Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 623: Fsck

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands fsck fsck Use the fsck boot loader command to check the file system for consistency. fsck [-test | -f] filesystem: Syntax Description -test (Optional) Initialize the file system code and perform extra POST on flash memory.
  • Page 624: Help

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands help help Use the help boot loader command to display the available commands. help Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)YJ...
  • Page 625: Load_Helper

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands load_helper load_helper Use the load_helper boot loader command to load and initialize one or more helper images, which extend or patch the functionality of the boot loader. load_helper filesystem:/file-url ...
  • Page 626: Memory

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands memory memory Use the memory boot loader command to display memory heap utilization information. memory Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History...
  • Page 627 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands memory Table B-2 Memory Field Descriptions (continued) Field Description Stack Beginning and ending address of the area in memory allocated to the software to store automatic variables, return addresses, and so forth.
  • Page 628: Mkdir

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands mkdir mkdir Use the mkdir boot loader command to create one or more new directories on the specified file system. mkdir filesystem:/directory-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 629: More

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands more more Use the more boot loader command to display the contents of one or more files. more filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 630: Rename

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands rename rename Use the rename boot loader command to rename a file. rename filesystem:/source-file-url filesystem:/destination-file-url Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 631: Reset

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands reset reset Use the reset boot loader command to perform a hard reset on the system. A hard reset is similar to power-cycling the switch, clearing the processor, registers, and memory.
  • Page 632: Rmdir

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands rmdir rmdir Use the rmdir boot loader command to remove one or more empty directories from the specified file system. rmdir filesystem:/directory-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 633: Set

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands Use the set boot loader command to set or display environment variables, which can be used to control the boot loader or any other software running on the switch. set variable value Note Under normal circumstances, it is not necessary to alter the setting of the environment variables.
  • Page 634 This variable is used only for internal development and testing. HELPER_CONFIG_FILE filesystem:/file-url—The name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of the software that are loaded, including the helper image.
  • Page 635: Unset

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands Usage Guidelines Environment variables are case sensitive and must be entered as documented. Environment variables are stored in files as shown in Table B-3. Table B-3 Environment Variables Storage Location...
  • Page 636 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands type type Use the type boot loader command to display the contents of one or more files. type filesystem:/file-url ... Syntax Description filesystem: Alias for a flash file system. Use flash: for the system board flash device.
  • Page 637 HELPER_CONFIG_FILE—Resets the name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of the software that are loaded, including the helper image. This variable is used only for internal development and testing.
  • Page 638 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands unset Command History Release Modification 12.1(11)YJ This command was introduced. Usage Guidelines The MANUAL_BOOT environment variable can also be reset by using the no boot manual global configuration command. The BOOT environment variable can also be reset by using the no boot system global configuration command.
  • Page 639: Version

    Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands version version Use the version boot loader command to display the boot loader version. version Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History...
  • Page 640 Appendix B Catalyst 2950 and 2955 Switch Boot Loader Commands version Catalyst 2950 and Catalyst 2955 Switch Command Reference B-28 OL-10102-01...
  • Page 641: Appendix

    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.
  • Page 642: Debug Auto Qos

    00:02:57:wrr-queue cos-map 3 3 6 7 00:02:58:wrr-queue cos-map 4 5 00:02:59:mls qos map cos-dscp 0 8 16 26 32 46 48 56 00:03:00:interface FastEthernet0/1 00:03:00: mls qos trust device cisco-phone 00:03:00: mls qos trust cos Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 643 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference...
  • Page 644: Debug Dot1X

    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 dot1x Displays IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified interface.
  • Page 645: Debug Etherchannel

    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 etherchannel Displays EtherChannel information for the channel.
  • Page 646: Debug Lre

    Use the debug lre privileged EXEC command to enable debugging of the Catalyst 2950 Long-Reach Ethernet (LRE) switch and links. Use the no form of this command to disable debugging. debug lre [controller | discovery | errors | profile | state | timing | upgrade] [interface-id] no debug lre [controller | discovery | errors | profile | state | timing | upgrade] [interface-id] This command is available only on a Catalyst 2950 LRE switch.
  • Page 647: Debug Pagp

    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 pagp Displays PAgP channel-group information.
  • Page 648: Debug Pm

    Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was introduced. Usage Guidelines The undebug pm command is the same as the no debug pm command. Catalyst 2950 and Catalyst 2955 Switch Command Reference OL-10102-01...
  • Page 649 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. Catalyst 2950 and Catalyst 2955 Switch Command Reference...
  • Page 650: Debug Spanning-Tree

    Display the spanning-tree synchronization event debug messages. uplinkfast Display UplinkFast-event debug messages. Defaults Debugging is disabled. Command Modes Privileged EXEC Catalyst 2950 and Catalyst 2955 Switch Command Reference C-10 OL-10102-01...
  • Page 651 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.
  • Page 652: Debug Spanning-Tree Backbonefast

    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.
  • Page 653: Debug Spanning-Tree Bpdu

    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.
  • Page 654: Debug Spanning-Tree Bpdu-Opt

    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.
  • Page 655: Debug Spanning-Tree Mstp

    Display topology change notification event debug messages. timers Display MSTP timers for start, stop, and expire event debug messages. Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(9)EA1 This command was introduced. Catalyst 2950 and Catalyst 2955 Switch Command Reference C-15 OL-10102-01...
  • Page 656 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.
  • Page 657: Debug Spanning-Tree Switch

    Release Modification 12.1(6)EA2 This command was introduced. 12.1(9)EA1 The helper keyword was added. Usage Guidelines The undebug spanning-tree switch command is the same as the no debug spanning-tree switch command. Catalyst 2950 and Catalyst 2955 Switch Command Reference C-17 OL-10102-01...
  • Page 658 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.
  • Page 659: Debug Spanning-Tree Uplinkfast

    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.
  • Page 660: Debug Switch Dhcp

    The undebug switch dhcp command is the same as the no debug switch dhcp command. Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 2950 and Catalyst 2955 Switch Command Reference C-20 OL-10102-01...
  • Page 661: Debug Sw-Vlan

    Command History Release Modification 12.1(6)EA2 This command was 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 and Catalyst 2955 Switch Command Reference C-21 OL-10102-01...
  • Page 662 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 vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
  • Page 663: Debug Sw-Vlan Ifs

    Use the debug sw-vlan ifs privileged EXEC command to enable debugging of the VLAN manager Cisco IOS file system (IFS) error tests. Use the no form of this command to disable debugging. debug sw-vlan ifs {open {read | write} | read {1 | 2 | 3 | 4} | write}...
  • Page 664: Debug Sw-Vlan Notification

    Command Modes Privileged EXEC Command History Release Modification 12.1(6)EA2 This command was introduced. Usage Guidelines The undebug sw-vlan notification command is the same as the no debug sw-vlan notification command. Catalyst 2950 and Catalyst 2955 Switch Command Reference C-24 OL-10102-01...
  • Page 665 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 vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain.
  • Page 666: Debug Sw-Vlan Vtp

    Display debug messages for the contents of all incoming VTP packets that have been passed into the VTP code from the Cisco IOS VTP platform-dependent layer, except for pruning packets. pruning [packets | xmit] Display debug messages generated by the pruning segment of the VTP code.
  • Page 667 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 vtp Displays general information about VTP management domain, status, and counters.
  • Page 668: Debug Udld

    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 and Catalyst 2955 Switch Command Reference C-28 OL-10102-01...
  • Page 669 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 udld Displays UDLD administrative and operational status for all ports or the specified port.
  • Page 670 Appendix C Catalyst 2950 and 2955 Switch Debug Commands debug udld Catalyst 2950 and Catalyst 2955 Switch Command Reference C-30 OL-10102-01...
  • Page 671: I N D E X

    2-235 2-102 autonegotiation of duplex mode access ports 2-498 2-109 ACEs auto qos voip command 2-87, 2-239 2-17 ACLs applying to interface 2-129 deny 2-83 BackboneFast, for STP 2-441 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-1 78-11381-12...
  • Page 672 B-4, B-17, B-24 clear interface command 2-44 renaming B-18 clear lacp command 2-45 file system clear LRE configuration events 2-43 formatting B-10 clear LRE timer events 2-43 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-2 78-11381-12...
  • Page 673 NVRAM size for 2-22 debug pagp command specifying the name 2-23 debug pm command Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-3 78-11381-12...
  • Page 674 2-329 domain name, VTP 2-551, 2-557 LACP, modes 2-30 dot1x auth-fail max-attempts 2-90 load-distribution methods 2-246 dot1x auth-fail vlan 2-91 PAgP dot1x command 2-88 aggregate-port learner 2-232 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-4 78-11381-12...
  • Page 675 2-551 configuring throttling action 2-143 files, deleting 2-82 setting maximum 2-143 flash_init command IGMP profiles flowcontrol command 2-115 creating 2-145 flow-control packets displaying 2-355 receiving 2-115 IGMP snooping sending 2-115 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-5 78-11381-12...
  • Page 676 IPv4 interleave command 2-127 IPv6 internal registers, displaying 2-287 IP version 4 Intrusion Detection System IP version 6 See IDS invalid GBIC error detection for 2-111 error recovery timer 2-113 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-6 78-11381-12...
  • Page 677 2-177 displaying 2-370 lre sequence command 2-179 dropping on an interface 2-196 lre syslog command 2-181 sticky lre upbo command 2-182 configuring manually 2-502 enabling sticky learning 2-502 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-7 78-11381-12...
  • Page 678 BPDU 2-211 2-467 member switches port priority for selection of 2-468 See clusters primary or secondary 2-471 memory command switch priority B-14 2-470 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-8 78-11381-12...
  • Page 679 2-227 applying to an interface 2-265 receiver port 2-228 creating 2-243 source port 2-228 displaying 2-394 mvr command 2-224 policers mvr group command 2-225 displaying 2-378 mvr immediate command 2-227 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-9 78-11381-12...
  • Page 680 2-241 power supply alarms, setting displaying policy maps 2-394 power-supply dual command A-10 setting DSCP values 2-266 power-supply mode A-10 traffic classifications 2-35 primary temperature alarm port trust states 2-218 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-10 78-11381-12...
  • Page 681 Remote Switched Port Analyzer show changes command 2-544 See RSPAN show class-map command 2-277 rename command show cluster candidates command B-18 2-282 reset command show cluster command 2-544, B-19 2-279 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-11 78-11381-12...
  • Page 682 2-361 2-436 show lre upgrade command 2-363 snmp trap mac-notification command 2-440 show mac access-group command SNMP traps 2-367 show mac address-table command enabling MAC address notification 2-370 2-192 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-12 78-11381-12...
  • Page 683 2-479 spanning-tree mst port-priority command 2-468 cross-stack UplinkFast 2-479 spanning-tree mst priority command 2-470 loop guard 2-452 spanning-tree mst root command 2-471 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-13 78-11381-12...
  • Page 684 2-506 message timer 2-524 switchport port-security command 2-502 normal mode 2-524, 2-526 switchport priority extend command 2-508 resetting shutdown interfaces 2-528 switchport protected command 2-510 status 2-412 switchports, displaying 2-337 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-14 78-11381-12...
  • Page 685 2-55 2-557 displaying information 2-420 entering 2-543 per-server retry count 2-548 summary reconfirmation interval 2-546 vlan database command 2-543 reconfirming dynamic VLAN assignments 2-547 VLAN ID range 2-531, 2-537 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-15 78-11381-12...
  • Page 686 (global configuration) command 2-551 vtp (privileged EXEC) command 2-555 vtp (VLAN configuration) command 2-557 WRR, assigning weights to egress queues 2-561 wrr-queue bandwidth command 2-561 wrr-queue cos-map command 2-563 Catalyst 2950 and Catalyst 2955 Switch Command Reference IN-16 78-11381-12...

This manual is also suitable for:

Catalyst 2955

Table of Contents