Page 1
Catalyst 3550 Multilayer Switch Command Reference Cisco IOS Release 12.1(19)EA1 October 2003 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 Customer Order Number: DOC-7811195= Text Part Number: 78-11195-09...
Page 2
CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, Cisco Unity, Follow Me Browsing, FormShare, 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 Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE,...
Global Configuration Mode Interface Configuration Mode config-vlan Mode VLAN Configuration Mode Line Configuration Mode Cisco IOS Commands C H A P T E R aaa authentication dot1x access-list hardware program nonblocking action archive download-sw Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 7
2-248 show controllers tcam 2-249 show dot1q-tunnel 2-251 show dot1x 2-252 show env 2-255 show errdisable detect 2-257 show errdisable flap-values 2-258 show errdisable recovery 2-260 show etherchannel 2-262 show fm 2-265 Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 8
2-327 show mls qos maps 2-331 show monitor 2-334 show mvr 2-336 show mvr interface 2-338 show mvr members 2-340 show pagp 2-342 show parser macro 2-344 show policy-map 2-346 Catalyst 3550 Multilayer Switch Command Reference viii 78-11195-09...
Page 10
2-471 switchport priority extend 2-473 switchport protected 2-475 switchport trunk 2-476 switchport unicast 2-480 switchport voice vlan 2-481 system mtu 2-483 traceroute mac 2-485 traceroute mac ip 2-488 trust 2-490 Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 11
2-540 wrr-queue random-detect max-threshold 2-541 wrr-queue threshold 2-543 Boot Loader Commands A P P E N D I X boot copy delete flash_init format fsck A-10 help A-11 load_helper A-12 memory A-13 Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 15
This guide provides the information you need about the Layer 2 and Layer 3 commands that have been created or changed for use with the Catalyst 3550 family of switches. For information about the standard Cisco IOS Release 12.1 commands, refer to the Cisco IOS documentation set available from the Cisco.com home page by selecting Service and Support >...
Page 16
Means reader be careful. In this situation, you might do something that could result equipment damage Caution or loss of data. Timesaver Means the following will help you solve a problem. The tips information might not be troubleshooting or even an action, but could be useful information. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 17
These documents provide complete information about the switch and are available from this Cisco.com site: http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/index.htm You can order printed copies of documents with a DOC-xxxxxx= number from the Cisco.com site and from the telephone numbers listed in the“Obtaining Documentation” section on page xvii.
Page 18
For all customers, partners, resellers, and distributors who hold valid Cisco service contracts, the Cisco Technical Assistance Center (TAC) provides 24-hour, award-winning technical support services, online and over the phone. Cisco.com features the Cisco TAC website as an online starting point for technical assistance.
Page 19
24 hours a day, 365 days a year. Accessing all the tools on the Cisco TAC website requires a Cisco.com user ID and password. If you have a valid service contract but do not have a login ID or password, register at this URL: http://tools.cisco.com/RPF/register/register.do...
Page 20
• and experienced users: Internetworking Terms and Acronyms Dictionary, Internetworking Technology Handbook, Internetworking Troubleshooting Guide, and the Internetworking Design Guide. For current Cisco Press titles and other information, go to Cisco Press online at this URL: http://www.ciscopress.com • Packet magazine is the Cisco quarterly publication that provides the latest networking trends, technology breakthroughs, and Cisco products and solutions to help industry professionals get the most from their networking investment.
C H A P T E R Using the Command-Line Interface The Catalyst 3550 multilayer switches are supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure software features. For a complete description of the commands that support these features, see Chapter 2, “Cisco IOS...
From global configuration mode, To exit to global configuration mode, Switch(config-line)# specify a line by entering the line enter the exit command. command. To return to privileged EXEC mode, enter the end command, or press Ctrl-Z. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
You can specify either the terminal or nonvolatile RAM (NVRAM) as the source of configuration commands. This example shows you how to access global configuration mode: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
For extended-range VLANs, all characteristics except the MTU size must remain at the default setting. To return to global configuration mode, enter exit; to return to privileged EXEC mode, enter end. All the commands except shutdown take effect when you exit config-vlan mode. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
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 3550 Multilayer Switch Command Reference 78-11195-09...
Page 26
Chapter 1 Using the Command-Line Interface CLI Command Modes Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 27
The client is automatically authenticated by the switch without using the information supplied by the client. Defaults No authentication is performed. Command Modes Global configuration Command History Release Modification 12.1(8)EA1 This command was first introduced. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
The remaining methods enable AAA to authenticate the client by using locally configured data. For example, the local and local-case methods use the username and password that are saved in the Cisco IOS configuration file. The enable and line methods use the enable and line passwords for authentication.
Page 29
This example shows how to set the system to continue forwarding frames while a new security ACL configuration is being programmed into hardware: Switch (config)# access-list hardware program nonblocking You can verify your setting by entering the show running-config | include access-list hardware privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Related Commands Command Description access-list {deny | permit} Configures a standard numbered ACL. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands. action (access map Defines or modifies the action for the VLAN access map entry.
Page 31
Switch(config)# vlan access-map vmap4 Switch(config-access-map)# match ip address al2 Switch(config-access-map)# action forward Switch(config-access-map)# exit Switch(config)# vlan filter vmap4 vlan-list 5-6 You can verify your settings by entering the show vlan access-map privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Command Description access-list {deny | permit} Configures a standard numbered ACL. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands. ip access-list Creates a named access list. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1...
Page 33
The BOOT environment variable is changed to point to the new software image on the flash: file system. Image names are case sensitive; the image file is provided in tar format. Command Modes Privileged EXEC Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
The /imageonly option removes the HTML files for the existing image if the existing image is being removed or replaced. Only the Cisco IOS image (without the HTML files) is downloaded. Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient Flash space.
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 3550 Multilayer Switch Command Reference 78-11195-09...
Page 36
If none are specified, all files and directories are extracted. Defaults None Command Modes Privileged EXEC Command History Release Modification 12.1(4)EA1 This command was first introduced. Usage Guidelines Filenames and directory names are case sensitive. Image names are case sensitive. Catalyst 3550 Multilayer Switch Command Reference 2-10 78-11195-09...
Page 37
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 3550 Multilayer Switch Command Reference 2-11 78-11195-09...
The upload feature is available only if the HTML files associated with the Cluster Management Suite (CMS) have been installed with the existing image. The files are uploaded in this sequence: info, the Cisco IOS image, the HTML files, and info.ver. After these files are uploaded, the software creates the tar file.
Page 39
Command Description archive download-sw Downloads a new image to the switch. archive tar Creates a tar file, lists the files in a tar file, or extracts the files from a tar file. Catalyst 3550 Multilayer Switch Command Reference 2-13 78-11195-09...
{cisco-phone | trust} no auto qos voip Syntax Description cisco-phone Identify this interface as connected to a Cisco IP phone, and automatically configure QoS for VoIP. The QoS labels of incoming packets are trusted only when the telephone is detected. trust Identify this interface as connected to a trusted switch or router, and automatically configure QoS for VoIP.
Page 41
Cisco IP phone. When a Cisco IP phone is detected, the ingress classification on the interface is set to trust the QoS label received in the packet. When a Cisco IP phone is absent, the ingress classification is set to not trust the QoS label in the packet. The egress queues on the...
Page 42
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 Fast Ethernet interface 0/1 is detected as a Cisco IP phone: Switch(config)# interface fastethernet0/1...
Page 43
Displays auto-QoS information. show mls qos Displays global QoS configuration information. show mls qos interface Displays QoS information at the interface level. show mls qos maps Displays QoS mapping information. Catalyst 3550 Multilayer Switch Command Reference 2-17 78-11195-09...
Use the boot boothlpr global configuration command to load a special Cisco IOS image, which when loaded into memory, can load a second Cisco IOS image into memory and launch it. This variable is used only for internal development and testing. Use the no form of this command to return to the default setting.
This command changes the setting of the CONFIG_BUFSIZE environment variable. For more information, see Appendix A, “Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables. Catalyst 3550 Multilayer Switch Command Reference 2-19 78-11195-09...
Use the boot config-file global configuration command to specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. Use the no form of this command to return to the default setting.
This command changes the setting of the ENABLE_BREAK environment variable. For more information, see Appendix A, “Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables. Catalyst 3550 Multilayer Switch Command Reference 2-21 78-11195-09...
This command changes the setting of the HELPER environment variable. For more information, see Appendix A, “Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables. Catalyst 3550 Multilayer Switch Command Reference 2-22 78-11195-09...
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 Cisco IOS that are loaded. This variable is used only for internal development and testing.
This command changes the setting of the MANUAL_BOOT environment variable. For more information, see Appendix A, “Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables. Catalyst 3550 Multilayer Switch Command Reference 2-24 78-11195-09...
12.1(11)EA1 This command was first introduced. Usage Guidelines Only the Cisco IOS software can read and write a copy of the private configuration file. You cannot read, write, delete, or display a copy of this file. Filenames are case sensitive.
Use the boot system global configuration command to specify the Cisco IOS image to load during the next boot cycle. Use the no form of this command to return to the default setting. boot system filesystem:/file-url ...
LACP packets it receives but does not initiate LACP packet negotiation. A channel is formed only with another port group in active mode. When passive is enabled, silent operation is the default. Catalyst 3550 Multilayer Switch Command Reference 2-27 78-11195-09...
Page 54
802.1X on an EtherChannel or on an active port in an EtherChannel, an error message appears, and 802.1X is not enabled. If you enable 802.1X on a not-yet active port of an EtherChannel, the port does not join the EtherChannel. Catalyst 3550 Multilayer Switch Command Reference 2-28 78-11195-09...
Page 55
Display LACP 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 3550 Multilayer Switch Command Reference 2-29...
This example shows how to set an EtherChannel into PAgP mode: 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 3550 Multilayer Switch Command Reference 2-30 78-11195-09...
Page 57
Display LACP 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 3550 Multilayer Switch Command Reference 2-31...
After you enter the class command, the switch enters policy-map class configuration mode, and these configuration commands are available: bandwidth: Although this command appears, it is not supported on Catalyst 3550 switches. • •...
Page 59
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 3550 Multilayer Switch Command Reference 2-33 78-11195-09...
If you rename a class map with a name that is already in • use, this message appears: A class-map with this name already exists Catalyst 3550 Multilayer Switch Command Reference 2-34 78-11195-09...
Page 61
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 3550 Multilayer Switch Command Reference 2-35 78-11195-09...
This example shows how to clear channel-group traffic counters: 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 3550 Multilayer Switch Command Reference 2-36 78-11195-09...
This example shows how to clear Layer 2 protocol tunnel counters for Gigabit Ethernet interface 0/3: Switch # clear l2protocol-tunnel counters gigabitethernet0/3 Related Commands Command Description show l2protocol-tunnel Displays information about ports configured for Layer 2 protocol tunneling. Catalyst 3550 Multilayer Switch Command Reference 2-37 78-11195-09...
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 65
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 3550 Multilayer Switch Command Reference 2-39 78-11195-09...
This example shows how to clear channel-group traffic filters: Switch# clear pagp counters You can verify that information was deleted by entering the show pagp privileged EXEC command. Related Commands Command Description show pagp Displays PAgP channel-group information. Catalyst 3550 Multilayer Switch Command Reference 2-40 78-11195-09...
If you enter the clear port-security sticky command, the switch removes all sticky secure MAC addresses from the MAC address table. Command History Release Modification 12.1(11)EA1 This command was first introduced. 12.1(14)EA1 The all, configured, and vlan keywords were added. Catalyst 3550 Multilayer Switch Command Reference 2-41 78-11195-09...
Page 68
You can verify that the information was deleted by entering the show port-security privileged EXEC command. Related Commands Command Description show port-security Displays the port security settings for an interface or for the switch. switchport port-security Enables port security on an interface. Catalyst 3550 Multilayer Switch Command Reference 2-42 78-11195-09...
You can verify that the switch has exited Express Setup mode by entering the show express setup privileged EXEC command. Related Commands Command Description setup express Enables Express Setup mode on the switch. show setup express Displays if Express Setup mode is active on the switch. Catalyst 3550 Multilayer Switch Command Reference 2-43 78-11195-09...
12.1(13)EA1 This command was first 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 3550 Multilayer Switch Command Reference 2-44 78-11195-09...
Use the clear spanning-tree detected-protocols command in this situation. Examples This example shows how to restart the protocol migration process on Fast Ethernet interface 0/1: Switch# clear spanning-tree detected-protocols interface fastethernet0/1 Catalyst 3550 Multilayer Switch Command Reference 2-45 78-11195-09...
You can verify that information was deleted by entering the show vmps statistics privileged EXEC command. Related Commands Command Description show vmps Displays the VQP version, reconfirmation interval, retry count, VMPS IP addresses, and the current and primary servers. Catalyst 3550 Multilayer Switch Command Reference 2-46 78-11195-09...
You can verify that information was deleted by entering the show vtp counters privileged EXEC command. Related Commands Command Description show vtp Displays general information about the VTP management domain, status, and counters. Catalyst 3550 Multilayer Switch Command Reference 2-47 78-11195-09...
When a standby command switch becomes active (becomes the command switch), it removes the cluster commander address line from its configuration. Catalyst 3550 Multilayer Switch Command Reference 2-48 78-11195-09...
Page 75
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 3550 Multilayer Switch Command Reference 2-49 78-11195-09...
You can verify your setting 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. show cluster candidates Displays a list of candidate switches. Catalyst 3550 Multilayer Switch Command Reference 2-50 78-11195-09...
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 setting by entering the show cluster privileged EXEC command on the command switch. Catalyst 3550 Multilayer Switch Command Reference 2-51 78-11195-09...
Page 78
Chapter 2 Cisco IOS Commands cluster enable Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 3550 Multilayer Switch Command Reference 2-52 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-53 78-11195-09...
If you do not specify a VLAN ID, the command switch automatically chooses a VLAN and adds the candidate to the cluster. Catalyst 3550 Multilayer Switch Command Reference 2-54 78-11195-09...
Page 81
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 3550 Multilayer Switch Command Reference 2-55 78-11195-09...
You can verify your setting 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 3550 Multilayer Switch Command Reference 2-57 78-11195-09...
Switch(config)# cluster standby-group my_hsrp This example shows how to use the same HSRP group named my_hsrp for routing redundancy and cluster redundancy. Switch(config)# cluster standby-group my_hsrp routing-redundancy Catalyst 3550 Multilayer Switch Command Reference 2-58 78-11195-09...
Page 85
Related Commands Command Description standby ip Enables HSRP on the interface. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands. show cluster Displays the cluster status and a summary of the cluster to which the switch belongs.
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 3550 Multilayer Switch Command Reference 2-60 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-61 78-11195-09...
Page 88
For physical interfaces, the interface-id is defined as slot/number (where slot is always 0 for the Catalyst 3550 switch), and the range can be entered as one of the following: • type 0/number - number (for example, gigabitethernet0/1 -2) •...
The prompting behavior depends on the setting of the file prompt global configuration command. By default, the switch prompts for confirmation on destructive file operations. For more information about this command, refer to the Cisco IOS Command Reference for Release 12.1. Examples...
Page 91
To filter IPX traffic, you use the type mask or lsap lsap mask keywords, depending on the type of IPX encapsulation being used. Filter criteria for IPX encapsulation types as specified in Novell terminology and Cisco IOS terminology are listed in Table 2-3.
Page 92
Creates an access list based on MAC addresses for non-IP traffic. permit Permits non-IP traffic to be forwarded if conditions are matched. show access-lists Displays access control lists configured on a switch. Catalyst 3550 Multilayer Switch Command Reference 2-66 78-11195-09...
Switch(config-if)# 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 Displays 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-67 78-11195-09...
Switch(config-if)# dot1x guest-vlan 5 You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface Displays 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-68 78-11195-09...
Switch# dot1x initialize interface fastethernet0/1 You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface Displays 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-71 78-11195-09...
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 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-72 78-11195-09...
Related Commands Command Description dot1x host-mode Set the 802.1X host mode on an interface. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-73 78-11195-09...
[VQP]) port, an error message appears, and 802.1X is not enabled. If you try to change an 802.1X-enabled port to dynamic VLAN assignment, an error message appears, and the VLAN configuration is not changed. Catalyst 3550 Multilayer Switch Command Reference 2-74 78-11195-09...
Page 101
Switch(config-if)# dot1x port-control auto You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface Displays 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-75 78-11195-09...
This example shows how to manually re-authenticate the device connected to Fast Ethernet interface 0/1: Switch# dot1x re-authenticate interface fastethernet0/1 Related Commands Command Description show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-76 78-11195-09...
Related Commands Command Description dot1x reauthentication Sets the number of seconds between re-authentication attempts. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-77 78-11195-09...
This example shows how to enable periodic re-authentication and to set the number of seconds between re-authentication attempts to 4000 seconds: Switch(config-if)# dot1x reauthentication Switch(config-if)# dot1x timeout reauth-period 4000 You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-78 78-11195-09...
Chapter 2 Cisco IOS Commands dot1x reauthentication Related Commands Command Description dot1x timeout Sets the number of seconds between re-authentication attempts. show dot1x [interface Displays 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-79 78-11195-09...
You can verify your settings by entering the show dot1x privileged EXEC command. Related Commands Command Description show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-80 78-11195-09...
The dot1x timeout reauth-period interface configuration command affects the behavior of the switch only if you have enabled periodic re-authentication by using the dot1x reauthentication interface configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-81 78-11195-09...
Page 108
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 802.1X status for the specified interface. interface-id] Catalyst 3550 Multilayer Switch Command Reference 2-82 78-11195-09...
The duplex setting remains as configured on each end of the link, which could result in a duplex setting mismatch. If both the speed and duplex are set to specific values, autonegotiation is disabled. Catalyst 3550 Multilayer Switch Command Reference 2-83 78-11195-09...
Page 110
You can verify your setting by entering the show interfaces privileged EXEC command. Related Commands Command Description show interfaces Displays the interface settings on the switch. speed Sets the speed on a 10/100/1000 Mbps interface. Catalyst 3550 Multilayer Switch Command Reference 2-84 78-11195-09...
A cause (dhcp-rate-limit, dtp-flap, gbic-invalid, l2ptguard, link-flap, loopback, and pagp-flap) is defined as the reason why the error-disabled state occurred. When a cause is detected on an interface, the interface is placed in error-disabled state, an operational state similar to link-down state. Catalyst 3550 Multilayer Switch Command Reference 2-85 78-11195-09...
Page 112
You can verify your setting by entering the show errdisable detect privileged EXEC command. Related Commands Command Description show errdisable detect Displays errdisable detection information. show interfaces status err-disabled Displays interface status or a list of interfaces in the error-disabled state. Catalyst 3550 Multilayer Switch Command Reference 2-86 78-11195-09...
The difference between the actual timeout value and the configured value can be up to 15 percent of the configured interval. Defaults Recovery is disabled for all causes. The default recovery interval is 300 seconds. Catalyst 3550 Multilayer Switch Command Reference 2-87 78-11195-09...
Page 114
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 or a list of interfaces in error-disabled err-disabled state. Catalyst 3550 Multilayer Switch Command Reference 2-88 78-11195-09...
Use the receive off and send off keywords to disable flow control. flowcontrol {receive | send} {desired | off | on} On Catalyst 3550 switches, Gigabit Ethernet ports can receive and send pause frames; Fast Ethernet ports Note can receive only pause frames. Therefore, for 10/100 ports, the send keyword is not available.
Page 116
QoS on the switch. Note that when used with receive, the on and desired keywords have the same result. On Catalyst 3550 switches, 10/100/1000 Mbps and GBIC ports and can receive and send pause frames; Note 10/100 Mbps ports can receive only pause frames. Therefore, for 10/100 ports, the conditions described in the next paragraphs are always send off.
Page 117
You can verify your settings by entering the show interfaces privileged EXEC command. Related Commands Command Description show interfaces Displays the interface settings on the switch, including input and output flow control. Catalyst 3550 Multilayer Switch Command Reference 2-91 78-11195-09...
If you configure Inter-Switch Link (ISL), you must assign the IP address to the switch virtual • interface (SVI). • If you want to use the CDP, you must configure it only on the physical interface and not on the port-channel interface. Catalyst 3550 Multilayer Switch Command Reference 2-92 78-11195-09...
Page 119
Displays EtherChannel information for a channel. 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 3550 Multilayer Switch Command Reference 2-93...
You can define up to five interface ranges with a single command, with each range separated by a comma. All interfaces in a range must be the same type; that is, all Fast Ethernet ports, all Gigabit Ethernet ports, all EtherChannel ports, or all VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-94 78-11195-09...
Page 121
• For physical interfaces, the interface-id is defined as a slot/number (where slot is always 0 for the Catalyst 3550 switch), and you can enter the range in one of these ways: type 0/number - number (for example, gigabitethernet0/1 -2) •...
For the Catalyst 3550 Gigabit Ethernet switches, the tables are based on 16 routed interfaces (SVIs and routed ports. For switches with mainly Fast Ethernet ports, the tables are based on 8 routed interfaces. For more...
Page 123
You can verify your setting by entering the show interfaces and show interfaces vlan vlan-id privileged EXEC commands. Related Commands Command Description show interfaces vlan vlan-id Displays the administrative and operational status of all interfaces or the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-97 78-11195-09...
You can apply IP ACLs to both outbound or inbound Layer 3 interfaces. A Layer 2 interface can have only one IP ACL applied (in the inbound direction). A Layer 3 interface can have one IP ACL applied in each direction. Catalyst 3550 Multilayer Switch Command Reference 2-98 78-11195-09...
Page 125
Release 12.1 > IP Addressing and Services > IP Services Commands. ip access-list Configures a named ACL. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
When you are routing Open Shortest Path First (OSPF), ensure that all secondary addresses of an interface fall into the same OSPF area as the primary addresses. Catalyst 3550 Multilayer Switch Command Reference 2-100 78-11195-09...
Page 127
You can use the sdm prefer global configuration command to reallocate system hardware resources based on templates and feature tables. For the Catalyst 3550 Gigabit Ethernet switches, the tables are based on 16 routed interfaces (SVIs and routed ports. For switches with mainly Fast Ethernet ports, the tables are based on 8 routed interfaces.
The previous version uses the snmp-ifindex circuit ID and remote ID suboption. If you have option 82 configured on the switch and you upgrade to Cisco IOS Release 12.1(19)EA1 or later, the option-82 configuration is not affected. However, when you enable DHCP snooping globally on the switch by using the ip dhcp snooping global configuration command, the previous option-82 configuration is suspended, and the new option-82 format is applied.
Page 129
Command Description ip dhcp snooping vlan 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 3550 Multilayer Switch Command Reference 2-103 78-11195-09...
The switch removes the option-82 field and forwards the packet to the switch port that connects to the DHCP host that sent the DHCP request. In Cisco IOS Release 12.1(19)EA1, the implementation for the option-82 subscriber identification changed from the previous release. The new option-82 format uses a different circuit ID and remote ID suboption, vlan-mod-port.
Page 131
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 3550 Multilayer Switch Command Reference 2-105 78-11195-09...
This command was first introduced. Usage Guidelines If you have option 82 configured on the switch and you upgrade to Cisco IOS Release 12.1(19)EA1 or later, the option 82 configuration is not affected. However, when you enable Dynamic Host Configuration Protocol (DHCP) snooping globally on the switch by using the ip dhcp snooping global configuration command, the relay agent information option configuration is disabled.
You can verify your settings by entering the show ip dhcp snooping privileged EXEC command. 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 3550 Multilayer Switch Command Reference 2-107 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-108 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-109 78-11195-09...
You can verify your setting by using the show running-config privileged EXEC command and by specifying an interface. Switch# show running-config interface fastethernet0/12 Building configuration... Current configuration : 124 bytes interface FastEthernet0/12 no ip address shutdown snmp trap link-status ip igmp filter 22 Catalyst 3550 Multilayer Switch Command Reference 2-110 78-11195-09...
Page 137
(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 3550 Multilayer Switch Command Reference 2-111...
If you configure the throttling action as replace and set the maximum group limitation, the entries • that were previously in the forwarding table are removed. When the maximum number of entries is Catalyst 3550 Multilayer Switch Command Reference 2-112 78-11195-09...
Page 139
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.
This example shows how to configure IGMP profile 40 that permits the specified range of IP multicast addresses. Switch # config 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 3550 Multilayer Switch Command Reference 2-114 78-11195-09...
Page 141
Related Commands 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 3550 Multilayer Switch Command Reference 2-115 78-11195-09...
(Optional) Add a Layer 2 port as a member of a multicast group with the specified group MAC address. Note Though visible in the command-line help string, the tcn keyword is not supported. Catalyst 3550 Multilayer Switch Command Reference 2-116 78-11195-09...
Page 143
This example shows how to enable IGMP immediate-leave processing on VLAN 1: Switch(config)# ip igmp snooping vlan 1 immediate-leave This example shows how to disable IGMP immediate-leave processing on VLAN 1: Switch(config)# no ip igmp snooping vlan 1 immediate-leave Catalyst 3550 Multilayer Switch Command Reference 2-117 78-11195-09...
Page 144
Displays the snooping configuration. show mac address-table multicast Displays the Layer 2 multicast entries for a VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-118 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-119 78-11195-09...
Page 146
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 3550 Multilayer Switch Command Reference 2-120 78-11195-09...
This example shows how to set the aging time as 1200 seconds (20 minutes): Switch(config)# ip igmp snooping source-only-learning age-timer 1200 This example shows how to disable aging of the forward-table entries: Switch(config)# ip igmp snooping source-only-learning age-timer 0 Catalyst 3550 Multilayer Switch Command Reference 2-121 78-11195-09...
Page 148
| include 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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference 2-123 78-11195-09...
Page 150
References > Cisco IOS Security Command 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 >...
VRF routing table and to return to global configuration mode. ip vrf vrf-name no ip vrf vrf-name The Catalyst 3550 switch supports multi-VPN routing/forwarding (multi-VRF) instances in customer Note edge (CE) devices. You must have the enhanced multilayer image (EMI) installed on your switch to configure multi-VRF CE.
IP address and an arbitrary number. The ip vrf vrf-name command creates a VRF routing table and a Cisco Express Forwarding (CEF) forwarding table, both named vrf-name. Associated with these tables is the default route distinguisher value route-distinguisher.
{forwarding table-name | sitemap route-map-name} no ip vrf {forwarding table-name | sitemap route-map-name} The Catalyst 3550 switch supports multi-VPN routing/forwarding (multi-VRF) instances in customer Note edge (CE) devices. You must have the enhanced multilayer image (EMI) installed on your switch to configure multi-VRF CE.
Configures a VRF routing table. ip route vrf Establishes static routes for a VRF. For syntax information, go to Cisco IOS Switching Services Command Reference for Release 12.1. show ip route vrf Displays the IP routing table associated with a VRF. For syntax information, go to Cisco IOS Switching Services Command Reference for Release 12.1.
Use the l2protocol-tunnel interface configuration command to enable tunneling of Layer 2 protocols on an access or 802.1Q tunnel port. You can enable tunneling for Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets. You can also enable point-to-point tunneling for Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP), or UniDirectional Link Detection (UDLD) packets.
Page 156
When protocol tunneling is enabled, protocol packets are encapsulated with a well-known Cisco multicast address for transmission across the network. When the packets reach their destination, the well-known MAC address is replaced by the Layer 2 protocol MAC address.
Page 157
Configures a class of service (CoS) value for all tunneled Layer 2 protocol packets. show errdisable recovery Displays errdisable recovery timer information. show l2protocol-tunnel Displays information about ports configured for Layer 2 protocol tunneling, including port, protocol, class of service (CoS), and threshold. Catalyst 3550 Multilayer Switch Command Reference 2-131 78-11195-09...
This example shows how to configure a Layer-2 protocol-tunnel CoS value of 7: Switch(config)# l2protocol-tunnel cos 7 Related Commands Command Description show l2protocol-tunnel Displays information about ports configured for Layer 2 protocol tunneling, including CoS. Catalyst 3550 Multilayer Switch Command Reference 2-132 78-11195-09...
This example shows set the port priority for LACP: 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 3550 Multilayer Switch Command Reference 2-133 78-11195-09...
Switch(config)# lacp system-priority 32764 You can verify your settings by entering the show lacp internal privileged EXEC command. Related Commands Command Description lacp port-priority Sets the LACP priority for a specific port. Catalyst 3550 Multilayer Switch Command Reference 2-134 78-11195-09...
The command rejects the minimum file size if it is greater than the maximum file size minus 1024; the minimum file size then becomes the maximum file size minus 1024. Specifying a level causes messages at that level and numerically lower levels to be displayed. Catalyst 3550 Multilayer Switch Command Reference 2-135 78-11195-09...
Page 162
Description show running-config 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. Catalyst 3550 Multilayer Switch Command Reference 2-136...
If the specified ACL does not exist, the switch forwards all packets. For more information about configuring MAC extended ACLs, refer to the “Configuring Network Note Security with ACLs” chapter in the software configuration guide for this release. Catalyst 3550 Multilayer Switch Command Reference 2-137 78-11195-09...
Page 164
Displays the MAC ACLs configured on the switch. show running-config 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. Catalyst 3550 Multilayer Switch Command Reference 2-138...
• permit: specifies packets to forward. For more information, see the permit command. • For more information about MAC extended access lists, refer to the software configuration guide for this Note release. Catalyst 3550 Multilayer Switch Command Reference 2-139 78-11195-09...
Page 166
Displays the access lists configured on the switch. vlan access-map Defines a VLAN map and enters access-map configuration mode where you can specify a MAC ACL to match and the action to be taken. Catalyst 3550 Multilayer Switch Command Reference 2-140 78-11195-09...
The aging time applies to all VLANs or a specified VLAN. mac address-table aging-time {0 | 10-1000000} [vlan vlan-id] no mac address-table aging-time {0 | 10-1000000} [vlan vlan-id] 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 168
Chapter 2 Cisco IOS Commands mac address-table aging-time Related Commands Command Description show mac address-table aging-time Displays the MAC address table aging time for all VLANs or the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-142 78-11195-09...
Use the no form of this command to return to the default setting. mac address-table notification [history-size value] | [interval value] no mac address-table notification [history-size | 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 170
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 3550 Multilayer Switch Command Reference 2-144 78-11195-09...
Use the no form of this command to remove static entries from the 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).
If you enter the mac address-table static mac-addr vlan vlan-id drop global configuration command followed by the mac address-table static mac-addr vlan vlan-id interface interface-id command, the switch adds the MAC address as a static address. Catalyst 3550 Multilayer Switch Command Reference 2-146 78-11195-09...
Switch(config)# no mac address-table static c2f3.220a.12f4 vlan 4 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 3550 Multilayer Switch Command Reference 2-147 78-11195-09...
This example shows how to apply the duplex macro to an interface: Switch(config-if)#macro apply duplex This example shows how troubleshoot a macro on an interface: Switch(config-if)# macro trace duplex2 Applying command...‘duplex auto’ %Error Unknown error. Applying command...‘speed nonegotiate’ Catalyst 3550 Multilayer Switch Command Reference 2-148 78-11195-09...
Page 175
Displays the configuration information currently 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 3550 Multilayer Switch Command Reference...
This example shows how to create a macro that defines the duplex mode and speed: Switch(config)# macro name duplex Enter macro commands one per line. End with the character ‘@’. duplex full speed auto Catalyst 3550 Multilayer Switch Command Reference 2-151 78-11195-09...
Page 178
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 3550 Multilayer Switch Command Reference 2-152...
Packets are matched only against access lists of the same protocol type; IP packets are matched against IP access lists, and all other packets are matched against MAC access lists. Both IP and MAC addresses can be specified for the same map entry. Catalyst 3550 Multilayer Switch Command Reference 2-153 78-11195-09...
Specifies the action to be taken if the packet matches an entry in an access control list (ACL). ip access list Creates a named access list. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
Defaults No match criteria are defined. Command Modes Class-map configuration Command History Release Modification 12.1(4)EA1 This command was first introduced. 12.1(11)EA1 The class-map and vlan keywords were added. Catalyst 3550 Multilayer Switch Command Reference 2-155 78-11195-09...
Access control list (ACL) classification. Per-port per-VLAN classification. • The only match criterion in a policy map that can be attached to an egress interface is the match ip dscp dscp-list class-map configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-156 78-11195-09...
Page 183
You can verify your settings by entering the show class-map privileged EXEC command. Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify. show class-map Displays quality of service (QoS) class maps. Catalyst 3550 Multilayer Switch Command Reference 2-157 78-11195-09...
This example shows how to change the merge delay to be 2000 milliseconds (2 seconds): Switch(config)# mls aclmerge delay 2000 This example shows how to set the merge to be performed immediately: Switch(config)# mls aclmerge delay 0 Catalyst 3550 Multilayer Switch Command Reference 2-158 78-11195-09...
Page 185
Applies an IP access list to a Layer 2 or Layer 3 interface. ip access-list Configures a named access list. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands.
When QoS is disabled, there is no concept of trusted or untrusted ports because the packets are not modified (the CoS, DSCP, and IP precedence values in the packet are not changed). Catalyst 3550 Multilayer Switch Command Reference 2-160 78-11195-09...
Page 187
Policy-maps and class-maps used to configure QoS are not deleted from the configuration by the no mls qos command, but entries corresponding to policy maps are removed from the switch hardware to save system resources. To re-enable QoS with the previous configurations, use the mls qos command. Catalyst 3550 Multilayer Switch Command Reference 2-161 78-11195-09...
Page 188
Assigns a minimum-reserve level to an egress queue on a 10/100 Ethernet port. wrr-queue queue-limit Configures the sizes of the egress queues on Gigabit-capable Ethernet ports. wrr-queue threshold Assigns tail-drop threshold percentages to an egress queue of a Gigabit-capable Ethernet port. Catalyst 3550 Multilayer Switch Command Reference 2-162 78-11195-09...
You apply an aggregate policer to multiple classes in the same policy map; you cannot use an aggregate policer across different policy maps or interfaces. Catalyst 3550 Multilayer Switch Command Reference 2-163 78-11195-09...
Page 190
You can verify your settings by entering the show mls qos aggregate-policer privileged EXEC command. Related Commands Command Description police aggregate Creates a policer that is shared by different classes. show mls qos aggregate-policer Displays the quality of service (QoS) aggregate policer configuration. Catalyst 3550 Multilayer Switch Command Reference 2-164 78-11195-09...
CoS value configured with the mls qos cos command. 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 3550 Multilayer Switch Command Reference 2-165 78-11195-09...
Page 192
Switch(config-if)# mls qos cos override You can verify your settings by entering the show mls qos interface privileged EXEC command. Related Commands Command Description show mls qos interface Displays quality of service (QoS) information. Catalyst 3550 Multilayer Switch Command Reference 2-166 78-11195-09...
Switch(config)# mls qos cos policy-map Switch(config)# policy-map policy2 Switch(config-pmap)# class class1 Switch(config-pmap-c)# trust dscp Switch(config-pmap-c)# set cos 3 Switch(config-pmap-c)# exit You can verify your settings by entering the show policy-map privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-167 78-11195-09...
Page 194
Displays quality of service (QoS) policy maps. trust Defines a trust state for traffic classified by the class policy-map configuration or the class-map global configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-168 78-11195-09...
This example shows how to define the DSCP-to-DSCP-mutation map named dscpmutation1and to apply the map to a port: Switch(config)# mls qos map dscp-mutation dscpmutation1 10 11 12 13 to 30 Switch(config)# interface gigabitethernet0/1 Switch(config-if)# mls qos trust dscp Switch(config-if)# mls qos dscp-mutation dscpmutation1 Catalyst 3550 Multilayer Switch Command Reference 2-169 78-11195-09...
Page 196
You can verify your settings by entering the show mls qos maps privileged EXEC command. Related Commands Command Description mls qos map dscp-mutation Defines the DSCP-to-DSCP-mutation map. mls qos trust Configures the port trust state. show mls qos maps Displays QoS mapping information. Catalyst 3550 Multilayer Switch Command Reference 2-170 78-11195-09...
For dscp-list, enter up to eight DSCP values, with each value separated by a space. Then enter the to keyword. For mark-down-dscp, enter the corresponding policed (marked down) DSCP value. The range is 0 to 63. Catalyst 3550 Multilayer Switch Command Reference 2-171 78-11195-09...
Page 198
10/100 Ethernet ports (Fast Ethernet 0/1 to 0/12, 0/13 to 0/24, and so forth) shares a single DSCP-to-DSCP-mutation map, only one map can be attached to each 10/100 group. Catalyst 3550 Multilayer Switch Command Reference 2-172 78-11195-09...
Page 199
You can verify your settings by entering the show mls qos maps privileged EXEC command. Related Commands Command Description mls qos dscp-mutation Applies a DSCP-to-DSCP-mutation map to a DSCP-trusted port. show mls qos maps Displays quality of service (QoS) mapping information. Catalyst 3550 Multilayer Switch Command Reference 2-173 78-11195-09...
You can verify your settings by entering the show mls qos interface buffers privileged EXEC command. Related Commands Command Description show mls qos interface Displays quality of service (QoS) information. wrr-queue min-reserve Assigns a minimum-reserve level to an egress queue on a 10/100 Ethernet port. Catalyst 3550 Multilayer Switch Command Reference 2-174 78-11195-09...
Switch(config-if)# mls qos monitor dscp 10 11 12 13 Switch(config-if)# mls qos monitor packets You can see the results of the monitoring activity by entering the show mls qos interface statistics privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-175 78-11195-09...
Page 202
Displays all the DSCPs for which statistics are maintained and the corresponding ingress and egress statistics, including the number of bytes dropped, when the statistics keyword is appended. Catalyst 3550 Multilayer Switch Command Reference 2-176 78-11195-09...
(DSCP), class of service (CoS), or IP-precedence packet field. Use the no form of this command to return a port to its untrusted state. mls qos trust [cos [pass-through dscp] | device cisco-phone | dscp [pass-through cos] | ip-precedence] no mls qos trust [cos [pass-through] | device | dscp [pass-through] | ip-precedence] Syntax Description (Optional) Classify ingress packets with packet CoS values.
Page 204
The trusted boundary feature prevents security problems if users disconnect their PCs from networked Cisco IP phones and connect them to the switch port to take advantage of trusted CoS settings. You must globally enable the Cisco Discovery Protocol (CDP) on the switch and on the interface connected to the IP phone.
Specify a list of VLANs as filters on trunk source ports. The vlan-id range is 1 to 4094. source interface Specify the SPAN source interface type, slot, and port number. Valid interface-id interfaces include physical ports and port channels. Catalyst 3550 Multilayer Switch Command Reference 2-179 78-11195-09...
Page 206
You can set a maximum of two SPAN or RSPAN sessions. You can divide the two sessions between SPAN, RSPAN source, and RSPAN destination sessions. Each session can have only one destination port and only one transmitting source port. You can, however, have multiple receiving source ports and VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-180 78-11195-09...
Page 207
If ingress forwarding is enabled, you can use the SPAN or RSPAN 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 208
You can verify your settings by entering the show monitor privileged EXEC command. Related Commands Command Description remote-span Configures an RSPAN VLAN in vlan configuration mode. show monitor Displays SPAN and RSPAN session information. Catalyst 3550 Multilayer Switch Command Reference 2-182 78-11195-09...
No IP multicast addresses are configured on the switch by default. 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 3550 Multilayer Switch Command Reference 2-183 78-11195-09...
Cannot add this IP address - aliases with previously configured IP address 228.1.23.4. This example shows how to configure ten contiguous IP multicast groups with multicast addresses from 228.1.23.1 to 228.1.23.10: Switch(config)# mvr group 228.1.23.1 10 Catalyst 3550 Multilayer Switch Command Reference 2-184 78-11195-09...
Page 211
Displays all ports that are members of an MVR multicast group; if the group has no members, its status is shown as Inactive. Catalyst 3550 Multilayer Switch Command Reference 2-185 78-11195-09...
The Immediate Leave feature is disabled on all ports. No receiver port is a member of any configured multicast group. Command Modes Interface configuration Command History Release Modification 12.1(4)EA1 This command was first introduced. Catalyst 3550 Multilayer Switch Command Reference 2-186 78-11195-09...
--------------- Gi0/1 SOURCE ACTIVE/UP DISABLED Gi0/2 RECEIVER ACTIVE/DOWN DISABLED Gi0/5 RECEIVER ACTIVE/UP ENABLED This example shows how to enable immediate leave on Gigabit Ethernet port 0/1: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# mvr immediate Catalyst 3550 Multilayer Switch Command Reference 2-187 78-11195-09...
Page 214
Also displays all MVR groups of which the interface is a member. show mvr members Displays all receiver ports that are members of an MVR multicast group. Catalyst 3550 Multilayer Switch Command Reference 2-188 78-11195-09...
Catalyst 1900 switch. When the link partner to the Catalyst 3550 switch is a physical learner, we recommend that you configure the switch as a physical-port learner by using the pagp learn-method physical-port interface configuration command and to set the load-distribution method based on the source MAC address by using the port-channel load-balance src-mac global configuration command.
Page 216
Displays PAgP channel-group 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 3550 Multilayer Switch Command Reference 2-190...
Catalyst 1900 switch. When the link partner to the Catalyst 3550 switch is a physical learner, we recommend that you configure the switch as a physical-port learner by using the pagp learn-method physical-port interface configuration command and to set the load-distribution method based on the source MAC address by using the port-channel load-balance src-mac global configuration command.
Page 218
Displays PAgP channel-group 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 3550 Multilayer Switch Command Reference 2-192...
Page 220
To filter IPX traffic, you use the type mask or lsap lsap mask keywords, depending on the type of IPX encapsulation being used. Filter criteria for IPX encapsulation types as specified in Novell terminology and Cisco IOS terminology are listed in Table 2-11.
Page 221
Denies non-IP traffic to be forwarded if conditions are matched. mac access-list extended Creates an access list based on MAC addresses for non-IP traffic. show access-lists Displays access control lists configured on a switch. Catalyst 3550 Multilayer Switch Command Reference 2-195 78-11195-09...
(the average rate) the tokens are removed from the bucket by using the rate-bps option of the police policy-map class configuration command or the mls qos aggregate-policer global configuration command. For more information, refer to the software configuration guide for this release. Catalyst 3550 Multilayer Switch Command Reference 2-196 78-11195-09...
Page 223
You can verify your settings by entering the show policy-map privileged EXEC command. Related Commands Command Description mls qos map policed-dscp Applies a policed-DSCP map to a DSCP-trusted port. show policy-map Displays quality of service (QoS) policy maps. Catalyst 3550 Multilayer Switch Command Reference 2-197 78-11195-09...
Policy maps that contain per-port per-VLAN classification commands cannot be applied to egress interfaces. To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command. Catalyst 3550 Multilayer Switch Command Reference 2-198 78-11195-09...
Page 225
Command Description mls qos aggregate-policer Defines policer parameters, which can be shared by multiple classes within a policy map. show mls qos aggregate-policer Displays the quality of service (QoS) aggregate policer configuration. Catalyst 3550 Multilayer Switch Command Reference 2-199 78-11195-09...
You use the class-map global configuration and match class-map configuration commands to configure the match criteria for a class. You define packet classification on a physical-port basis and on a per-port per-VLAN basis. Catalyst 3550 Multilayer Switch Command Reference 2-200 78-11195-09...
Page 227
Switch(config-pmap-c)# police 100000 20000 exceed-action policed-dscp-transmit Switch(config-pmap-c)# exit Switch(config-pmap)# class class2 Switch(config-pmap-c)# trust dscp Switch(config-pmap-c)# police 100000 20000 exceed-action drop Switch(config-pmap-c)# exit Switch(config-pmap)# class class3 Switch(config-pmap-c)# set dscp 0 (no policer) Switch(config-pmap-c)# exit Catalyst 3550 Multilayer Switch Command Reference 2-201 78-11195-09...
Page 228
Classifies IP traffic by setting a CoS, DSCP, or IP-precedence value in the packet. show policy-map Displays quality of service (QoS) policy maps. trust Defines a trust state for traffic classified by the class or the class-map command. Catalyst 3550 Multilayer Switch Command Reference 2-202 78-11195-09...
The delay shutdown seconds initial seconds keywords were added. Usage Guidelines When using a Cisco Power Device, the delay shutdown command is not needed. Although you can configure a delay shutdown time, it does not take any action on a connected Cisco device.
Page 231
You can verify your settings by entering the show running-config privileged EXEC command. Related Commands Command Description show power inline Displays the power status for the specified port or for all ports. Catalyst 3550 Multilayer Switch Command Reference 2-205 78-11195-09...
You can verify your settings by entering the show running-config privileged EXEC command. Related Commands Command Description show mls qos interface queueing Displays the queueing strategy (WRR, priority queueing), the weights corresponding to the queues, and the CoS-to-egress-queue map. Catalyst 3550 Multilayer Switch Command Reference 2-206 78-11195-09...
This command will 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 3550 Multilayer Switch Command Reference 2-207 78-11195-09...
Page 234
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 3550 Multilayer Switch Command Reference 2-208 78-11195-09...
Enables Switched Port Analyzer (SPAN) and RSPAN monitoring on a port and configures a port as a source or destination port. vlan (global Changes to config-vlan mode where you can configure VLANs 1 to 4094; do configuration) not enter leading zeros. Catalyst 3550 Multilayer Switch Command Reference 2-209 78-11195-09...
The sdm prefer vlan command disables routing capability in the switch. Any routing configurations are rejected after the reload, and any previously configured routing options might be lost. Use the sdm prefer vlan command only on switches intended for Layer 2 switching with no routing. Catalyst 3550 Multilayer Switch Command Reference 2-211 78-11195-09...
Page 238
Multicast routes Routed interfaces (routed ports and SVIs) 16 Layer 2 VLANs 1. When the extended-match keyword is used with the indicated template. This keyword affects only the number of unicast routes allowed. Catalyst 3550 Multilayer Switch Command Reference 2-212 78-11195-09...
Page 239
You can verify your settings by entering the show sdm prefer privileged EXEC command. Related Commands Command Description show sdm prefer Displays the current SDM template in use or displays the templates that can be used, with approximate resource allocation per feature. Catalyst 3550 Multilayer Switch Command Reference 2-213 78-11195-09...
This command was first introduced. Usage Guidelines This command is valid only on Catalyst 3550 Fast Ethernet switches; it is not available for Gigabit Ethernet switches. As a system administrator, you can use the no service password-recovery command to disable some of the functionality of the password recovery feature by allowing an end user to reset a password only by agreeing to return to the default configuration.
Page 241
1 week, 6 days, 3 hours, 59 minutes System returned to ROM by power-on System image file is "flash:c3550--i9q3l2-mz.121-8EA1.bin" cisco WS-C3550-48 (PowerPC) processor with 65526K/8192K bytes of memory. Last reset from warm-reset Running Layer2 Switching Only Image Ethernet-controller 1 has 12 Fast Ethernet/IEEE 802.3 interfaces...
Page 242
Chapter 2 Cisco IOS Commands service password-recovery Related Commands Command Description show version Displays version information for the hardware and firmware. Catalyst 3550 Multilayer Switch Command Reference 2-216 78-11195-09...
A classification that uses a port trust state (for example, mls qos trust [cos | dscp | ip-precedence] and classification that uses a policy map (for example, service-policy input policy-map-name) are mutually exclusive. The last setting configured overwrites the previous configuration. Catalyst 3550 Multilayer Switch Command Reference 2-217 78-11195-09...
Page 244
Related Commands 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 3550 Multilayer Switch Command Reference 2-218 78-11195-09...
Instead, you can use the police policy-map class configuration command to mark down (reduce) the DSCP value at the egress interface. • Access control list (ACL) classification. • Per-port per-VLAN classification. Catalyst 3550 Multilayer Switch Command Reference 2-219 78-11195-09...
Page 246
Displays quality of service (QoS) policy maps. trust Defines a trust state for traffic classified by the class policy-map configuration command or the class-map global configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-220 78-11195-09...
You can save the configuration in nonvolatile RAM (NVRAM), return to the setup program without saving, or return to the command-line prompt without saving the configuration. Catalyst 3550 Multilayer Switch Command Reference 2-221 78-11195-09...
Page 248
OK? Method Status Protocol Vlan1 172.20.135.202 YES NVRAM GigabitEthernet0/1 unassigned YES unset GigabitEthernet0/2 unassigned YES unset down GigabitEthernet0/3 unassigned YES unset administratively down down GigabitEthernet0/4 unassigned YES unset down GigabitEthernet0/5 unassigned YES NVRAM down Catalyst 3550 Multilayer Switch Command Reference 2-222 78-11195-09...
Page 249
[0] Go to the IOS command prompt without saving this config. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit. Enter your selection [2]: Catalyst 3550 Multilayer Switch Command Reference 2-223 78-11195-09...
Page 250
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 version Displays version information for the hardware and firmware.
IP address ends. The primary purpose of the no setup express command is to prevent someone from deleting the switch configuration by pressing the Mode button for 10 seconds. Catalyst 3550 Multilayer Switch Command Reference 2-225 78-11195-09...
Page 252
Express Setup mode is enabled on the switch. Related Commands Command Description clear setup express Exits Express Setup mode without saving the configuration. show setup express Displays if Express Setup mode is active on the switch. Catalyst 3550 Multilayer Switch Command Reference 2-226 78-11195-09...
This command was first introduced. Usage Guidelines The Catalyst 3550 multilayer switch supports only IP standard and extended access lists. Therefore, the allowed numbers are only 1 to 199 and 1300 to 2699. 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.
Page 254
Description access-list Configures a standard or extended numbered access list on the switch. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Services Commands. ip access list Configures a named IP access list on the switch.
Page 256
4 5 priority-queue out This is an example of output from the show auto qos interface gigabitethernet0/3 command when the auto qos voip cisco-phone interface configuration command is entered: Switch# show auto qos interface gigabitethernet0/3 Initial configuration applied by AutoQoS:...
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. Only the Cisco IOS software can read and write a copy of the private configuration file. You cannot read, Note write, delete, or display a copy of this file.
Page 258
NVRAM/Config file buffer size Displays the buffer size that Cisco IOS uses to hold a copy of the configuration file in memory. The configuration file cannot be larger than the buffer size allocation.
Related Commands Command Description class-map Creates a class map to be used for matching packets to the class whose name you specify. match (class-map configuration) Defines the match criteria to classify traffic. Catalyst 3550 Multilayer Switch Command Reference 2-233 78-11195-09...
Time since last status change: 0 days, 0 hours, 2 minutes Redundancy: Enabled Standby command switch: Member 1 Standby Group: Ajang_standby Standby Group Number: Heartbeat interval: Heartbeat hold-time: Extended discovery hop count: Catalyst 3550 Multilayer Switch Command Reference 2-234 78-11195-09...
Page 261
Enables a command-capable switch as the cluster command switch, assigns a cluster name, and optionally assigns a member number to it. show cluster candidates Displays a list of candidate switches. show cluster members Displays information about the cluster members. Catalyst 3550 Multilayer Switch Command Reference 2-235 78-11195-09...
Page 263
Hops from command device: 2 Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster members Displays information about the cluster members. Catalyst 3550 Multilayer Switch Command Reference 2-237 78-11195-09...
Switch# show cluster members |---Upstream---| SN MAC Address Name PortIf FEC Hops SN PortIf State 0002.4b29.2e00 StLouis1 (Cmdr) 0030.946c.d740 tal-switch-1 Fa0/13 Gi0/1 0002.b922.7180 nms-2820 Fa0/18 0002.4b29.4400 SanJuan2 Gi0/1 Fa0/11 0002.4b28.c480 GenieTest Gi0/2 Fa0/9 Catalyst 3550 Multilayer Switch Command Reference 2-238 78-11195-09...
Page 265
Device 'GenieTest' with member number 4 Device type: cisco SeaHorse MAC address: 0002.4b28.c480 Upstream MAC address: 0030.946c.d740 (Cluster member 1) Local port: Gi0/2 FEC number: Upstream port: Fa0/9 FEC Number: Hops from command device: 2 Catalyst 3550 Multilayer Switch Command Reference 2-239 78-11195-09...
Page 266
Hops from command device: 1 Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. show cluster candidates Displays a list of candidate switches. Catalyst 3550 Multilayer Switch Command Reference 2-240 78-11195-09...
This command was first introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. 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.
Page 268
Displays per-interface send and receive statistics read from the hardware or ethernet-controller the interface internal registers. show interfaces Displays the administrative and operational status of all interfaces or a specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-242 78-11195-09...
Usage Guidelines This display without keywords provides traffic statistics, basically the RMON statistics for the interface. When you enter the asic or phy keyword, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch. 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.
Page 270
The number of frames that are successfully sent on an interface after two collisions occur. 3 collision frames The number of frames that are successfully sent on an interface after three collisions occur. Catalyst 3550 Multilayer Switch Command Reference 2-244 78-11195-09...
Page 271
The total number of frames sent on an interface that are from 512 to 1023 bytes. 1518 byte frames The total number of frames sent on an interface that are from 1024 to 1518 bytes. 1. CFI = Canonical Format Indicator Catalyst 3550 Multilayer Switch Command Reference 2-245 78-11195-09...
Page 272
FCS values. The frame size includes the FCS value but does not include the VLAN tag. Pause frames The number of pause frames received on an interface. Symbol error frames The number of frames received on an interface that have symbol errors. Catalyst 3550 Multilayer Switch Command Reference 2-246 78-11195-09...
Page 273
Displays the state of the CPU network ASIC and send and receive statistics cpu-interface for packets reaching the CPU. show interfaces Displays the administrative and operational status of all interfaces or a specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-247 78-11195-09...
This command was first introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. 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.
Page 276
Global Mask[14]: FF FFFFFFFF FFFFFFFF Global Mask[15]: FF FFFFFFFF FFFFFFFF Global Mask[16]: FF FFFFFFFF FFFFFFFF Global Mask[20]: FF FFFFFFFF FFFFFFFF Global Mask[21]: FF FFFFFFFF FFFFFFFF Global Mask[22]: FF FFFFFFFF FFFFFFFF <output truncated> Catalyst 3550 Multilayer Switch Command Reference 2-250 78-11195-09...
If you specify the statistics keyword with the interface interface-id option, statistics appear for the specified 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. Catalyst 3550 Multilayer Switch Command Reference 2-252 78-11195-09...
Page 280
Received packets in the 802.1X version 1 format. LastRxSrcMac Source MAC address carried in the most recently received EAPOL frame. Related Commands Command Description dot1x default Resets the configurable 802.1X parameters to their default values. Catalyst 3550 Multilayer Switch Command Reference 2-254 78-11195-09...
This is an example of output from the show env all command: Switch> show env all FAN is FAULTY TEMPERATURE is OK This is an example of output from the show env fan command: Switch> show env fan FAN is OK Catalyst 3550 Multilayer Switch Command Reference 2-255 78-11195-09...
Page 282
This is an example of output from the show env power command: Switch> show env power POWER is OK This is an example of output from the show env rps command: Switch> show env rps RPS is NOT PRESENT Catalyst 3550 Multilayer Switch Command Reference 2-256 78-11195-09...
Enables error-disable detection for a specific cause or all causes. show errdisable flap-values Displays error condition recognition information. show errdisable recovery Displays error-disable recovery timer information. show interfaces status Displays interface status or a list of interfaces in error-disabled state. Catalyst 3550 Multilayer Switch Command Reference 2-257 78-11195-09...
Output appear. Examples This is an example of output from the show errdisable flap-values command: Switch> show errdisable flap-values ErrDisable Reason Flaps Time (sec) ----------------- ------ ---------- pagp-flap dtp-flap link-flap Catalyst 3550 Multilayer Switch Command Reference 2-258 78-11195-09...
Page 285
Enables error-disable detection for a specific cause or all causes. show errdisable detect Displays error-disable detection status. show errdisable recovery Displays error-disable recovery timer information. show interfaces status Displays interface status or a list of interfaces in error-disabled state. Catalyst 3550 Multilayer Switch Command Reference 2-259 78-11195-09...
Disabled link-flap Disabled l2ptguard Disabled psecure-violation Disabled gbic-invalid Disabled Timer interval:300 seconds Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) --------- ----------------- -------------- Gi0/4 link-flap Catalyst 3550 Multilayer Switch Command Reference 2-260 78-11195-09...
Page 287
Configures the recover mechanism variables. show errdisable detect Displays error disable detection status. show errdisable flap-values Displays error condition recognition information. show interfaces status Displays interface status or a list of interfaces in error-disabled state. Catalyst 3550 Multilayer Switch Command Reference 2-261 78-11195-09...
This is an example of output from the show etherchannel 1 detail command: Switch> show etherchannel 1 detail Group state = L2 Ports: 2 Maxports = 8 Port-channels: 1 Max Port-channels = 1 Ports in the group: ------------------- Catalyst 3550 Multilayer Switch Command Reference 2-262 78-11195-09...
Page 289
Port-channels in the group: ---------------------- Port-channel: Po1 ------------ Age of the Port-channel = 00d:00h:08m:28s Logical slot/port = 1/0 Number of ports = 2 = 0x00010001 HotStandBy port = null Port state = Port-channel Ag-Inuse Catalyst 3550 Multilayer Switch Command Reference 2-263 78-11195-09...
Page 290
Gi0/1 desirable-sl Gi0/2 desirable-sl Time since last port bundled: 00d:00h:10m:08s Gi0/1 Related Commands Command Description channel-group Assigns an Ethernet interface to an EtherChannel group. interface port-channel Accesses or creates the port channel. Catalyst 3550 Multilayer Switch Command Reference 2-264 78-11195-09...
Switch Database Management feature to the access template. If the output shows a merge failure, the sdm prefer access global configuration command has no effect. Catalyst 3550 Multilayer Switch Command Reference 2-265 78-11195-09...
This is an example of output from the show fm interface vlan 1 command with PBR enabled on the interface. Switch# show fm interface vlan 1 Input VLAN Label: 1 Output VLAN Label: 0 (default) Policy Label: 9 Priority: normal Catalyst 3550 Multilayer Switch Command Reference 2-268 78-11195-09...
Page 295
Displays feature-manager information for a specified label and lists configuration conflicts or features associated with that label that were not able to fit into the hardware. show fm vlan Displays per-VLAN feature manager information. Catalyst 3550 Multilayer Switch Command Reference 2-269 78-11195-09...
Displays per-interface feature manager information. show fm Displays feature-manager information for a specified label and lists configuration conflicts or features associated with that label that were not able to fit into the hardware. Catalyst 3550 Multilayer Switch Command Reference 2-270 78-11195-09...
(Optional) Two-byte IP fragment field in the IP header. This field includes the Don’t Fragment bit (0x4000), the More Fragments bit (0x2000), and the Fragment Offset (0x0 through 0x1FFF). The default is 0x0 (unfragmented packet). Catalyst 3550 Multilayer Switch Command Reference 2-271 78-11195-09...
Page 298
(if applicable). The output is likely to be accurate, even if other parameters are missing or estimated. If port channel interfaces are present, it is important to specify the source MAC address and IP address correctly. Catalyst 3550 Multilayer Switch Command Reference 2-272 78-11195-09...
Page 301
This name should correspond to one of the queue names in the output from the show controllers cpu-interface privileged EXEC command, where statistics appear for the number of packets received at each queue. Catalyst 3550 Multilayer Switch Command Reference 2-275 78-11195-09...
Note Though visible in the command-line help strings, the crb, fair-queue, irb, mac-accounting, precedence, private-vlan mapping, random-detect, rate-limit, and shape keywords are not supported. Command Modes Privileged EXEC Catalyst 3550 Multilayer Switch Command Reference 2-276 78-11195-09...
Page 304
This is an example of output from the show interfaces gigabitethernet0/4 description command when the interface has been described as Connects to Marketing by using the description interface configuration command. Switch# show interfaces gigabitethernet0/4 description Interface Status Protocol Description G10/4 down Connects to Marketing Catalyst 3550 Multilayer Switch Command Reference 2-278 78-11195-09...
Page 305
Port state = Port-channel Ag-Not-Inuse ---- Port-channel10: Age of the Port-channel = 01d:06h:06m:15s Logical slot/port = 1/0 Number of ports = 0 = 0x00000000 HotStandBy port = null Port state = Port-channel Ag-Not-Inuse Catalyst 3550 Multilayer Switch Command Reference 2-279 78-11195-09...
Page 306
This is an example of output from the show interfaces gigabitethernet0/9 pruning command when pruning is enabled in the VTP domain: Switch# show interfaces gigibitethernet0/9 pruning Port Vlans pruned for lack of request by neighbor Gi0/9 Port Vlans traffic requested of neighbor Gi0/9 Catalyst 3550 Multilayer Switch Command Reference 2-280 78-11195-09...
Page 308
Unknown multicast blocked Voice VLAN Displays the VLAN ID on which voice VLAN is enabled. Appliance trust Displays the CoS setting of the data packets of the IP phone. Catalyst 3550 Multilayer Switch Command Reference 2-282 78-11195-09...
Page 309
Isolates unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch. switchport trunk pruning Configures the VLAN pruning-eligible list for ports in trunking mode. Catalyst 3550 Multilayer Switch Command Reference 2-283 78-11195-09...
If you do not enter any keywords, all counters for all interfaces are included. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 3550 Multilayer Switch Command Reference 2-284 78-11195-09...
Page 311
Gi0/2 This is an example of output from the show interfaces counters trunk command. It displays trunk counters for all interfaces. Switch# show interfaces counters trunk Port TrunkFramesTx TrunkFramesRx WrongEncap Gi0/1 Gi0/2 Catalyst 3550 Multilayer Switch Command Reference 2-285 78-11195-09...
Page 312
Related Commands Command Description show interfaces Displays additional interface characteristics. show storm-control Displays storm-control settings for an interface or all interfaces. storm-control Sets storm-control broadcast, multicast, and unicast suppression levels for an interface. Catalyst 3550 Multilayer Switch Command Reference 2-286 78-11195-09...
This example shows how to display the DHCP snooping binding entires for a specific IP address. Switch#show ip dhcp snooping binding 41.0.0.51 MacAddress IpAddress Lease(sec) Type VLAN Interface ------------------ --------------- ---------- ------- ---- -------------------- 00:30:94:C2:EF:35 41.0.0.51 dynamic FastEthernet0/3 Catalyst 3550 Multilayer Switch Command Reference 2-288 78-11195-09...
IP address. 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 3550 Multilayer Switch Command Reference 2-291 78-11195-09...
Page 318
This is an example of output from the show ip igmp snooping mrouter command. It shows how to display multicast router ports on the switch. Switch> show ip igmp snooping mrouter vlan ports -----+---------------------------------------- Gi0/1,Gi0/1, Router Gi0/3,Gi0/4 Catalyst 3550 Multilayer Switch Command Reference 2-292 78-11195-09...
Page 319
Enables and configures the aging time of the forward-table source-only-learning age-timer entries that the switch learns by using the source-only learning method. show mac address-table multicast Displays the Layer 2 multicast entries for a VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-293 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-294 78-11195-09...
Page 322
Clears counters for protocol tunneling ports. l2protocol-tunnel Enables Layer 2 protocol tunneling for CDP, STP, or VTP packets on an interface. l2protocol-tunnel cos Configures a class of service (CoS) value for tunneled Layer 2 protocol packets. Catalyst 3550 Multilayer Switch Command Reference 2-296 78-11195-09...
{cam {forwarding [entry-id] learning} | shadow} [ | {begin | exclude | include} expression] Syntax Description Display contents and associated information about TCAM Layer 2 contents. This display output is a raw hex dump of information, intended for a Cisco technical support representative. forwarding Display TCAM Layer 2 forwarding (bridging) information.
Page 324
1811 1810 2/14 Related Commands Command Description show l3tcam Displays information about the TCAM devoted to Layer 3 forwarding information. show mac address-table Displays the MAC address table static and dynamic entries. Catalyst 3550 Multilayer Switch Command Reference 2-298 78-11195-09...
This command was first introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. 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.
Page 326
Release 12.1 > IP Addressing and Services > Commands. show arp Displays the entries in the ARP table. For syntax information, select Cisco IOS IP and IP Routing Command Reference for IOS Release 12.1 > IP Addressing and Services > IP Addressing Commands.
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 3550 Multilayer Switch Command Reference 2-301 78-11195-09...
Page 328
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 the LACP channel-group information. Catalyst 3550 Multilayer Switch Command Reference 2-302 78-11195-09...
Inbound access-list is not set Interface GigabitEthernet0/5: Inbound access-list is not set <output truncated> Interface GigabitEthernet0/10: Inbound access-list is not set Interface GigabitEthernet0/11: Inbound access-list is not set Interface GigabitEthernet0/12: Inbound access-list is not set Catalyst 3550 Multilayer Switch Command Reference 2-303 78-11195-09...
Page 330
This is an example of output from the show mac access-group interface gigabitethernet 0/2 command: Switch# show mac access-group interface gigabitethernet 0/2 Interface GigabitEthernet0/2: Inbound access-list is macl_e1 Related Commands Command Description mac access-group Applies a MAC access group to an interface. Catalyst 3550 Multilayer Switch Command Reference 2-304 78-11195-09...
[ | {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 | begin (Optional) Display begins with the line that matches the expression.
Page 332
Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-306 78-11195-09...
MAC address. show mac address-table address mac-address [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table address command Note replaces the show mac-address-table address command (with the hyphen).
Page 334
Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-308 78-11195-09...
VLANs or the specified VLAN. show mac address-table aging-time [vlan vlan-id] [ | {begin | exclude | include} expression] Note Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table aging-time command replaces the show mac-address-table aging-time command (with the hyphen). Syntax Description vlan vlan-id (Optional) Display aging time information for a specific VLAN.
Page 336
Displays the MAC address notification settings for all interfaces notification or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-310 78-11195-09...
VLANs or the specified VLAN. show mac address-table count [vlan vlan-id] [ | {begin | exclude | include} expression] Note Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table count command replaces the show mac-address-table count command (with the hyphen). Syntax Description vlan vlan-id (Optional) Display the number of addresses for a specific VLAN.
Page 338
Displays the MAC address notification settings for all notification interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-312 78-11195-09...
[address mac-address] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table dynamic command Note replaces the show mac-address-table dynamic command (with the hyphen).
Page 340
Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-314 78-11195-09...
VLAN. show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table interface command Note replaces the show mac-address-table interface command (with the hyphen).
Page 342
Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-316 78-11195-09...
[count] | igmp-snooping [count] | user [count] | vlan [count] | [vlan-id [count] | igmp-snooping [count] | user [count]] [ | {begin | exclude | include} expression] 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 344
Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-318 78-11195-09...
[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).
Page 346
Displays the Layer 2 multicast entries for all VLANs or the specified VLAN. show mac address-table static Displays static MAC address table entries only. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-320 78-11195-09...
[[address mac-address [interface interface-id | vlan vlan-id]] | [interface interface-id [vlan vlan-id]] | vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table static command replaces Note the show mac-address-table static command (with the hyphen).
Page 348
VLAN. show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table vlan Displays the MAC address table information for the specified VLAN. Catalyst 3550 Multilayer Switch Command Reference 2-322 78-11195-09...
VLAN. show mac address-table vlan vlan-id [ | {begin | exclude | include} expression] Note Beginning with Cisco IOS Release 12.1(11)EA1, the show mac address-table vlan command replaces the show mac-address-table vlan command (with the hyphen). Syntax Description vlan-id (Optional) Display addresses for a specific VLAN.
Page 350
Displays the Layer 2 multicast entries for all VLANs or the specified VLAN. show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface. show mac address-table static Displays static MAC address table entries only. Catalyst 3550 Multilayer Switch Command Reference 2-324 78-11195-09...
This is an example of output from the show mls qos command: Switch> show mls qos Qos is enabled Related Commands Command Description mls qos Enables quality of service (QoS) for the entire switch. Catalyst 3550 Multilayer Switch Command Reference 2-325 78-11195-09...
88000 2000000 exceed-action drop Not used by any policy map Related Commands Command Description mls qos aggregate-policer Defines policer parameters that can be shared by multiple classes within a policy map. Catalyst 3550 Multilayer Switch Command Reference 2-326 78-11195-09...
(Optional) Display includes lines that match the specified expression. expression Expression in the output to use as a reference point. Command Modes User EXEC Command History Release Modification 12.1(4)EA1 This command was first introduced. Catalyst 3550 Multilayer Switch Command Reference 2-327 78-11195-09...
Page 354
This is an example of output from the show mls qos interface gigabitethernet0/1 queueing command: Switch> show mls qos interface gigabitethernet0/1 queueing GigabitEthernet0/1 Ingress expedite queue: dis Egress expedite queue: ena wrr bandwidth weights: Catalyst 3550 Multilayer Switch Command Reference 2-328 78-11195-09...
Page 356
FreeQ Amount of free queue space available per queue. Related Commands Command Description mls qos monitor Defines up to 16 DSCP values for which byte or packet statistics are gathered by hardware. Catalyst 3550 Multilayer Switch Command Reference 2-330 78-11195-09...
This command was first introduced. Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Catalyst 3550 Multilayer Switch Command Reference 2-331 78-11195-09...
Page 359
DSCP-to-CoS map, an internal DSCP value of 43 corresponds to a CoS value of 5. Related Commands Command Description mls qos map Defines the CoS-to-DSCP map, DSCP-to-CoS map, DSCP-to-DSCP-mutation map, IP-precedence-to-DSCP map, and the policed-DSCP map. Catalyst 3550 Multilayer Switch Command Reference 2-333 78-11195-09...
The range 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 3550 Multilayer Switch Command Reference 2-334 78-11195-09...
Page 361
Starts a new SPAN or RSPAN session, adds or deletes interfaces or VLANs to or from an existing SPAN or RSPAN session, and filters SPAN source traffic to specific source VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-335 78-11195-09...
(for inter-operability with Catalyst 2900 XL and Catalyst 3500 XL switches) or dynamic (where operation is consistent with IGMP snooping operation and dynamic MVR membership on source ports is supported). Catalyst 3550 Multilayer Switch Command Reference 2-336 78-11195-09...
Page 363
Displays all ports that are members of an MVR multicast group or, if there are no members, means the group is inactive. Catalyst 3550 Multilayer Switch Command Reference 2-337 78-11195-09...
This is an example of output from the show mvr interface command: Switch# show mvr interface Port Type Status Immediate Leave ---- ---- ------- --------------- Gi0/1 SOURCE ACTIVE/UP DISABLED Gi0/2 RECEIVER ACTIVE/DOWN DISABLED Gi0/5 RECEIVER ACTIVE/UP ENABLED Catalyst 3550 Multilayer Switch Command Reference 2-338 78-11195-09...
Page 365
(interface configuration) Configures MVR ports. 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 3550 Multilayer Switch Command Reference 2-339 78-11195-09...
Page 367
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 when the members keyword is appended to the command. Catalyst 3550 Multilayer Switch Command Reference 2-341 78-11195-09...
Examples This is an example of output from the show pagp 1 counters command: Switch> show pagp 1 counters Information Flush Port Sent Recv Sent Recv -------------------------------------- Channel group: 1 Gi0/1 Gi0/2 Catalyst 3550 Multilayer Switch Command Reference 2-342 78-11195-09...
Page 369
Partner Group Port Name Device ID Port Flags Cap. Gi0/1 vegas-p2 0002.4b29.4600 Gi0/1 9s SC 10001 Gi0/2 vegas-p2 0002.4b29.4600 Gi0/2 24s SC 10001 Related Commands Command Description clear pagp Clears PAgP channel-group information. Catalyst 3550 Multilayer Switch Command Reference 2-343 78-11195-09...
# Allow port channels to be automatically formed channel-protocol pagp -------------------------------------------------------------- Macro name : testm Macro type : customizable macro description this is test macro speed 100 -------------------------------------------------------------- Catalyst 3550 Multilayer Switch Command Reference 2-344 78-11195-09...
Page 371
Apply a macro on an interface, or apply and trace a macro on an interface. macro description Add a description about the macros that are applied to an interface. macro name Create a macro. Catalyst 3550 Multilayer Switch Command Reference 2-345 78-11195-09...
The class 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 3550 Multilayer Switch Command Reference 2-346 78-11195-09...
Page 373
Defines the class of service (CoS) value of a port in a policy map. policy-map Creates or modifies a policy map that can be attached to multiple interfaces to specify a service policy. Catalyst 3550 Multilayer Switch Command Reference 2-347 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-348 78-11195-09...
Page 375
Max Addresses limit in System :6176 This is an example of output from the show port-security interface fastethernet0/2 vlan command: Switch# show port-security interface fastethernet0/2 vlan Default maximum: not set, using 6176 VLAN Maximum Current default Catalyst 3550 Multilayer Switch Command Reference 2-349 78-11195-09...
Page 376
------------------------------------------------------------------- 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 3550 Multilayer Switch Command Reference 2-350 78-11195-09...
Use the show power inline user EXEC command to display the inline power state for a specific Fast Ethernet interface or for all Fast Ethernet interfaces on the Catalyst 3550-24PWR switch. show power inline [interface-id] | {begin | exclude | include} expression] Note This command is available only on the Catalyst 3550-24PWR switches.
Page 378
Description Interface Type of interface. Admin Administrative mode. Oper Operating mode. Power Cisco devices show reported power; IEEE devices show 15 W. Device The type of device detected. Class Class type of IEEE Power Device. Related Commands Command Description power inline Sets the inline-power state for inline-power-capable interfaces.
Examples This is an example of output from the show running-config vlan command: Switch# show running-config vlan 900-2005 Building configuration... Current configuration: vlan 907 vlan 920 vlan 1025 vlan 2000 vlan 2001 Catalyst 3550 Multilayer Switch Command Reference 2-353 78-11195-09...
Page 380
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...
MAC addresses might be less than 6000. 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 3550 Multilayer Switch Command Reference 2-355 78-11195-09...
Page 382
Sets the SDM template to maximize feature resource utilization for QoS classification and security ACEs, routing, or VLANs, or to the default template, or to reformat memory space to support 144-bit Layer 3 TCAM. Catalyst 3550 Multilayer Switch Command Reference 2-356 78-11195-09...
| portfast | supported. Valid interfaces include physical ports, VLANs, and port priority | rootcost | state] channels. The valid VLAN range is 1 to 4094. The valid port-channel range is 1 to 64. Catalyst 3550 Multilayer Switch Command Reference 2-358 78-11195-09...
Page 385
User EXEC; indicated keywords available only in privileged EXEC mode Command History Release Modification 12.1(4)EA1 This command was first introduced. 12.1(9)EA1 The mst keyword and options were added. The brief keyword was removed, and the detail keyword was added. Catalyst 3550 Multilayer Switch Command Reference 2-359 78-11195-09...
Page 386
Designated port id is 128.26, designated path cost 19 Timers: message age 3, forward delay 0, hold 0 Number of transitions to forwarding state: 1 Link type is point-to-point by default BPDU: sent 0, received 947349 <output truncated> Catalyst 3550 Multilayer Switch Command Reference 2-360 78-11195-09...
Page 388
Sets the number of hops in an MST region before the BPDU is discarded and the information held for a port is aged. spanning-tree mst port-priority Configures an interface priority. spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance. Catalyst 3550 Multilayer Switch Command Reference 2-362 78-11195-09...
Page 389
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 3550 Multilayer Switch Command Reference 2-363 78-11195-09...
Page 391
(broadcast, multicast, or unicast) as a percentage of total available bandwidth. This field is only valid when storm control is enabled. Related Commands Command Description storm-control Sets the broadcast, multicast, or unicast storm control levels for the switch. Catalyst 3550 Multilayer Switch Command Reference 2-365 78-11195-09...
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 maximum transmission unit (MTU) size for the switch. Catalyst 3550 Multilayer Switch Command Reference 2-366 78-11195-09...
(see the show fm command). Port labels are used for port ACLs. This display output is a raw hex dump of information, intended for a Cisco technical support representative. The label ID range is 0 to 127. size Display the total size of the regions of TCAM in which the ACLs are entered.
Page 394
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. These displays provide information that might be useful for Cisco technical support representatives troubleshooting the switch.
Page 395
Displays feature-manager information for a specified label to list features associated with the label that were not able to fit into hardware. Catalyst 3550 Multilayer Switch Command Reference 2-369 78-11195-09...
PBR. vlan-labels [label-id] Display entries and associated information for a PBR VLAN label. This display output is a raw hex dump of information intended for a Cisco technical support representative. The label ID range is 0 to 255. masks [mask-id] Display mask information.
Page 397
You can use the show fm interface interface-id command to display the policy label for the interface on which PBR is enabled. These displays provide information that might be useful for Cisco technical support representatives troubleshooting the switch.
The entry ID range is 0 to 65535. port-labels [label-id] Display entries and associated information for a QoS port label. This display output is a raw hex dump of information intended for a Cisco technical support representative. The label ID range is 0 to 255. vlan-labels [label-id] Display entries and associated information for a QoS VLAN label.
Page 400
QoS information. You also can use the show tcam qos tcam-id port-labels [label-id] vlan-labels [label-id] command to display per-port per-VLAN TCAM entries with both the port label and the VLAN label. These displays provide information that might be useful for Cisco technical support representatives troubleshooting the switch. Examples This is an example of output from the show tcam qos masks command for TCAM 2: Switch>...
Page 402
The port number ID of the neighbor from which the echo originated. Message interval The rate, in seconds, at which the neighbor is sending advertisement messages. CDP device name CDP name of the device. Catalyst 3550 Multilayer Switch Command Reference 2-376 78-11195-09...
Page 403
Enables UDLD on an individual interface or prevents a fiber-optic interface from being enabled by the udld global configuration command. udld reset Resets all interfaces shutdown by UDLD and permits traffic to begin passing through them again. Catalyst 3550 Multilayer Switch Command Reference 2-377 78-11195-09...
This is an example of output from the show version command: Switch> show version Cisco Internetwork Operating System Software IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(0.0.413)EA1, CISCO DEVELOPMENT TEST VERSION Copyright (c) 1986-2002 by cisco Systems, Inc. Compiled Tue 28-May-02 07:06 by antonino...
Page 405
Ethernet-controller 12 has 1 Gigabit Ethernet/IEEE 802.3 interface 12 Gigabit Ethernet/IEEE 802.3 interface(s) The password-recovery mechanism is enabled. 384K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address: 00:02:4B:29:2B:00 Configuration register is 0x10F Catalyst 3550 Multilayer Switch Command Reference 2-379 78-11195-09...
The value for id vlan-id was changed. 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 3550 Multilayer Switch Command Reference 2-380 78-11195-09...
Page 407
Media type of the VLAN. SAID Security association ID value for the VLAN. Maximum transmission unit size for the VLAN. Parent Parent VLAN, if one exists. RingNo Ring number for the VLAN, if applicable. Catalyst 3550 Multilayer Switch Command Reference 2-381 78-11195-09...
Page 408
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------ 2005 enet 102005 1500 This is an example of output from the show vlan dot1q tag native command: Switch> show vlan dot1q tag native dot1q native vlan tagging is disabled Catalyst 3550 Multilayer Switch Command Reference 2-382 78-11195-09...
Page 409
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 3550 Multilayer Switch Command Reference 2-383 78-11195-09...
Displays information about all VLAN filters or about a particular VLAN or VLAN access map. vlan access-map Creates a VLAN map entry for VLAN packet filtering. vlan filter Applies a VLAN map to one or more VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-384 78-11195-09...
Displays information about a particular VLAN access map or all VLAN access maps. vlan access-map Creates a VLAN map entry for VLAN packet filtering. vlan filter Applies a VLAN map to one or more VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-385 78-11195-09...
This is an example of output from the show vmps statistics command. Table 2-26 describes each field in the display. Switch> show vmps statistics VMPS Client Statistics ---------------------- Queries: Responses: VMPS Changes: Shutdowns: Denied: Wrong Domain: Catalyst 3550 Multilayer Switch Command Reference 2-386 78-11195-09...
Page 413
Sends VQP queries to reconfirm all dynamic VLAN assignments with the (privileged EXEC) 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 3550 Multilayer Switch Command Reference 2-387 78-11195-09...
Number of config revision errors Number of config digest errors Number of V1 summary errors VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Fa0/9 Fa0/10 Fa0/11 Catalyst 3550 Multilayer Switch Command Reference 2-388 78-11195-09...
Page 415
To solve this problem, make sure the VTP password on all switches is the same. These errors mean that the switch is filtering incoming advertisements, which causes the VTP database to become unsynchronized across the network. Catalyst 3550 Multilayer Switch Command Reference 2-389 78-11195-09...
Page 416
1 but can be set to version 2. Configuration Revision Current configuration revision number on this switch. Maximum VLANs Maximum number of VLANs supported locally. Supported Locally Number of Existing Number of existing VLANs. VLANs Catalyst 3550 Multilayer Switch Command Reference 2-390 78-11195-09...
Page 417
Configures the VTP filename, interface name, domain name, and mode. vtp (privileged EXEC) Configures the VTP password, pruning, and version. vtp (VLAN configuration) Configures the VTP domain name, password, pruning, and mode. Catalyst 3550 Multilayer Switch Command Reference 2-391 78-11195-09...
You can verify your settings by entering the show interfaces privileged EXEC command. Related Commands Command Description show interfaces Displays the statistical information specific to all interfaces or to a specific interface. Catalyst 3550 Multilayer Switch Command Reference 2-392 78-11195-09...
Related Commands Command Description shutdown Shuts down local traffic on the VLAN when in config-VLAN mode (accessed by the (config-vlan mode) vlan vlan-id global configuration command). vlan database Enters VLAN configuration mode. Catalyst 3550 Multilayer Switch Command Reference 2-393 78-11195-09...
Page 421
Use the snmp-server enable traps command to enable sending of traps or informs, when supported. Note Informs are not supported in SNMPv1. To enable more than one type of trap, you must enter a separate snmp-server enable traps command for each trap type. Catalyst 3550 Multilayer Switch Command Reference 2-395 78-11195-09...
Page 422
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 424
The mac-notification keyword was added. 12.1(9)EA1 The vlan-membership keyword was added. 12.1(11)EA1 The version 3 option was added, with the auth, noauth, and priv keywords. The bgp keyword was added. 12.1(12c)EA1 The envmon keyword was added. Catalyst 3550 Multilayer Switch Command Reference 2-398 78-11195-09...
Page 425
Switch(config)# snmp-server community comaccess ro 10 Switch(config)# snmp-server host 172.20.2.160 comaccess Switch(config)# access-list 10 deny any This example shows how to enable the switch to send EnvMon traps to the host myhost.cisco.com using the community string public: Switch(config)# snmp-server host myhost.cisco.com version 2c public envmon This example shows how to send the SNMP traps to the host specified by the name myhost.cisco.com.
Page 426
Chapter 2 Cisco IOS Commands snmp-server host This example shows how to enable the switch to send all traps to the host myhost.cisco.com by using the community string public: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com public You can verify your settings by entering the show running-config privileged EXEC command.
Switch(config)# snmp-server ip precedence 5 This example shows how to set the DSCP marking to 40: Switch(config)# snmp-server ip dscp 40 You can verify your setting by entering the show running-config privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-401 78-11195-09...
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. snmp-server host Specifies the host that receives SNMP traps.
This example shows how to enable the MAC notification trap when a MAC address is added to Fast Ethernet interface 0/4: Switch(config)# interface fastethernet0/4 Switch(config-if)# snmp trap mac-notification added You can verify your settings by entering the show mac address-table notification interface privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-403 78-11195-09...
Page 430
Displays the MAC address notification settings for all interfaces or on the specified interface when the interface keyword is appended. snmp-server enable traps Sends the SNMP MAC notification traps when the mac-notification keyword is appended. Catalyst 3550 Multilayer Switch Command Reference 2-404 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-405 78-11195-09...
You can use the spanning-tree bpdufilter interface configuration command to override the setting of the spanning-tree portfast bpdufilter default global configuration command. When you configure Layer 2 protocol filtering, the spanning-tree BPDU filtering feature is automatically enabled on the port. Catalyst 3550 Multilayer Switch Command Reference 2-406 78-11195-09...
Page 433
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree portfast (global Globally enables the BPDU filtering or the BPDU guard feature...
This example shows how to enable the BPDU guard feature on a port: Switch(config)# interface fastethernet0/1 Switch(config-if)# spanning-tree bpduguard enable You can verify your setting by entering the show running-config privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-408 78-11195-09...
Page 435
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree portfast (global Globally enables the BPDU filtering or the BPDU guard feature...
This example shows how to set a path cost of 250 on an interface: Switch(config)# interface fastethernet0/4 Switch(config-if)# spanning-tree cost 250 This example shows how to set a path cost of 300 for VLAN 10: Switch(config-if)# spanning-tree vlan 10 cost 300 Catalyst 3550 Multilayer Switch Command Reference 2-410 78-11195-09...
Page 437
Related Commands Command Description show spanning-tree interface Displays spanning-tree information for the specified interface. interface-id spanning-tree port-priority Configures an interface priority. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance. Catalyst 3550 Multilayer Switch Command Reference 2-411 78-11195-09...
Examples This example shows how to enable the EtherChannel guard feature: Switch(config)# spanning-tree etherchannel guard misconfig You can verify your settings by entering the show spanning-tree summary privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-412 78-11195-09...
Page 439
Displays EtherChannel information for a channel as a one-line summary for each channel group. show interfaces status Displays the interfaces in the error-disabled state. err-disabled Catalyst 3550 Multilayer Switch Command Reference 2-413 78-11195-09...
This command was first introduced. Usage Guidelines In Cisco IOS Release 12.1(8)EA1 and later, Catalyst 3550 switches support the 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 rapid PVST+ or an instance identifier for the multiple spanning tree [MST]).
Page 441
Displays a summary of spanning-tree port states. spanning-tree mst root Configures the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance. Catalyst 3550 Multilayer Switch Command Reference 2-415 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-416 78-11195-09...
Page 443
Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree cost Sets the path cost for spanning-tree calculations.
You can verify your settings by entering the show spanning-tree mst interface interface-id privileged EXEC command. Related Commands Command Description show spanning-tree mst interface Displays multiple spanning-tree (MST) information for the interface-id specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-418 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-419 78-11195-09...
Page 446
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.
This example shows to enable MST on the switch: 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 3550 Multilayer Switch Command Reference 2-421 78-11195-09...
Page 448
Command 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 3550 Multilayer Switch Command Reference 2-422 78-11195-09...
[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 3550 Multilayer Switch Command Reference 2-423 78-11195-09...
Page 450
Switch(config-mst)# instance 10 vlan 10 Switch(config-mst)# no instance 2 You can verify your settings by entering the show pending MST configuration command. Related Commands Command Description show spanning-tree mst configuration Displays the MST region configuration. Catalyst 3550 Multilayer Switch Command Reference 2-424 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-425 78-11195-09...
Page 452
Command Description show spanning-tree Displays MST information for the specified interface. interface interface-id spanning-tree mst Configures an interface priority. port-priority spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance. Catalyst 3550 Multilayer Switch Command Reference 2-426 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-427 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-428 78-11195-09...
Sets the forward-delay time for all MST instances. spanning-tree mst hello-time Sets the interval between hello BPDUs sent by root switch configuration messages. spanning-tree mst max-hops Sets the number of hops in a region before the BPDU is discarded. Catalyst 3550 Multilayer Switch Command Reference 2-429 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-430 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-431 78-11195-09...
Page 458
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 3550 Multilayer Switch Command Reference 2-432 78-11195-09...
Related Commands Command Description show spanning-tree mst instance-id Displays MST information for the specified interface. spanning-tree mst cost Sets the path cost for MST calculations. spanning-tree mst port-priority Configures an interface priority. Catalyst 3550 Multilayer Switch Command Reference 2-433 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-434...
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 3550 Multilayer Switch Command Reference 2-435 78-11195-09...
This example shows how to increase the likelihood that the Fast Ethernet interface 0/2 will be put in the forwarding state if a loop occurs: Switch(config)# interface fastethernet0/2 Switch(config-if)# spanning-tree vlan 20 port-priority 0 You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-436 78-11195-09...
Page 463
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 3550 Multilayer Switch Command Reference 2-437 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-438 78-11195-09...
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.
Port Fast on a port that is not a trunk port by using the no spanning-tree portfast interface configuration command. The no spanning-tree portfast interface configuration command is the same as the spanning-tree portfast disable interface configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-440 78-11195-09...
Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. spanning-tree bpdufilter Prevents a port from sending or receiving bridge protocol data units (BPDUs).
You must disable CSUF on the first interface before enabling it on a new interface. Examples This example shows how to enable CSUF on the GBIC interface: Switch(config)# interface gigabitethernet0/1 Switch(config-if)# spanning-tree stack-port You can verify your settings by entering the show running-config privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-442 78-11195-09...
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 uplinkfast Accelerates the choice of a new root port when a link or switch fails or when spanning tree reconfigures itself.
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 3550 Multilayer Switch Command Reference 2-444 78-11195-09...
Page 471
Forces this switch to be the root switch. Catalyst 3550 Multilayer Switch Command Reference 2-445 78-11195-09...
The forward-delay time is 15 seconds. The hello time is 2 seconds. The max-age is 20 seconds. The primary root switch priority is 24576. The secondary root switch priority is 28672. Command Modes Global configuration Catalyst 3550 Multilayer Switch Command Reference 2-446 78-11195-09...
Page 473
This example shows how to disable the STP on VLAN 5: Switch(config)# no spanning-tree vlan 5 You can verify your setting by entering the show spanning-tree privileged EXEC command. In this instance, VLAN 5 does not appear in the list. Catalyst 3550 Multilayer Switch Command Reference 2-447 78-11195-09...
Page 474
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 3550 Multilayer Switch Command Reference 2-448 78-11195-09...
If the speed is set to auto, the switch negotiates with the device at the other end of the link for the speed setting and then forces the speed setting to the negotiated value. The duplex setting remains as configured on each end of the link, which could result in a duplex setting mismatch. Catalyst 3550 Multilayer Switch Command Reference 2-449 78-11195-09...
Page 476
Related Commands Command Description duplex Specifies the duplex mode of operation for Fast Ethernet and Gigabit Ethernet ports. show interfaces Displays the statistical information specific to all interfaces or to a specific interface Catalyst 3550 Multilayer Switch Command Reference 2-450 78-11195-09...
Note For more information about storm control suppression levels, refer to the software configuration guide for this release. Catalyst 3550 Multilayer Switch Command Reference 2-451 78-11195-09...
Page 478
You can verify your settings by entering the show storm-control privileged EXEC command. Related Commands Command Description show storm-control Displays broadcast, multicast, or unicast storm control settings on all interfaces or on a specified interface. Catalyst 3550 Multilayer Switch Command Reference 2-452 78-11195-09...
This example shows how to enable QoS and enable the wirespeed-store: Switch(config)# mls qos Switch(config)# switchcore wirespeed-store You can verify your settings by entering the show controllers switch {resource-allocation priority | wirespeed-store} privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-453 78-11195-09...
Page 480
Chapter 2 Cisco IOS Commands switchcore Related Commands Command Description show controllers switch Displays the setting of the resource-allocation priority feature or resource-allocation priority the wirespeed-store. show controllers switch wirespeed-store Catalyst 3550 Multilayer Switch Command Reference 2-454 78-11195-09...
This example shows how to cause an interface to cease operating as a Layer 2 port and become a Cisco-routed port. Switch(config-if)# no switchport This example shows how to cause the port interface to cease operating as a Cisco-routed port and convert to a Layer 2-switched interface: Switch(config-if)# switchport...
Page 482
(nonrouting) port, including port blocking and port protection settings. 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 3550 Multilayer Switch Command Reference 2-456...
The port must be in access mode before the switchport access vlan command can take effect. An access port can be assigned to only one VLAN. The VMPS server (such as a Catalyst 6000 series switch) must be configured before a port is configured as dynamic. Catalyst 3550 Multilayer Switch Command Reference 2-457 78-11195-09...
Page 484
The software implements the VLAN Query Protocol (VQP) client, which can query a VMPS such as a Catalyst 6000 series switch. The Catalyst 3550 switches are not VMPS servers. The VMPS server must be configured before a port is configured as dynamic.
You can verify your setting 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, including port blocking and port protection settings. Catalyst 3550 Multilayer Switch Command Reference 2-459 78-11195-09...
Sets broadcast, multicast, or unicast storm control on an interface with the specified threshold level. switchport multicast Obsolete command. Replaced by the storm-control multicast interface configuration command. switchport unicast Obsolete command. Replaced by the storm-control unicast interface configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-460 78-11195-09...
When you enter dynamic auto mode, the interface converts the link to a trunk link if the neighboring interface is set to trunk or desirable mode. Catalyst 3550 Multilayer Switch Command Reference 2-461 78-11195-09...
Page 488
Examples This example shows how to configure a port for access mode: Switch(config-if)# switchport mode access This example shows how set the interface to dynamic desirable mode: Switch(config-if)# switchport mode dynamic desirable Catalyst 3550 Multilayer Switch Command Reference 2-462 78-11195-09...
Page 489
(nonrouting) port, including port blocking and port protection settings. switchport access Configures a port as a static-access or dynamic-access port. switchport trunk Configures the trunk characteristics when an interface is in trunking mode. Catalyst 3550 Multilayer Switch Command Reference 2-463 78-11195-09...
Sets broadcast, multicast, or unicast storm control on an interface with the specified threshold level. switchport broadcast Obsolete command. Replaced by the storm-control broadcast interface configuration command. switchport unicast Obsolete command. Replaced by the storm-control unicast interface configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-464 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-465 78-11195-09...
Page 492
Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. switchport mode Configures the VLAN membership mode of a port. Catalyst 3550 Multilayer Switch Command Reference 2-466 78-11195-09...
If no per-VLAN maximum value is entered, the default value is used. violation (Optional) Set the security violation mode or the action to be taken if port security is violated. The default is shutdown. Catalyst 3550 Multilayer Switch Command Reference 2-467 78-11195-09...
Page 494
The maximum number of available MAC addresses on a secure port or VLAN is determined by the active Switch Database Management (SDM) template. Refer to the software configuration guide for more information about configuring an SDM template. Catalyst 3550 Multilayer Switch Command Reference 2-468 78-11195-09...
Page 495
VLAN are learned as dynamic secure addresses while all addresses seen on the access VLAN (to which the port belongs) are learned as sticky secure addresses. The switch does not support port security aging of sticky secure MAC addresses. • Catalyst 3550 Multilayer Switch Command Reference 2-469 78-11195-09...
Page 496
You can verify the settings for all secure ports or the specified port by using the show port-security privileged EXEC command. Related Commands Command Description clear port-security Deletes from the MAC address table a specific secure address or all the secure addresses on an interface. Catalyst 3550 Multilayer Switch Command Reference 2-470 78-11195-09...
To allow continuous access to a limited number of secure addresses, set the aging type as inactivity. This removes the secure address when it become inactive, and other addresses can become secure. Catalyst 3550 Multilayer Switch Command Reference 2-471 78-11195-09...
Page 498
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 3550 Multilayer Switch Command Reference 2-472 78-11195-09...
The none keyword was removed and was 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 500
Chapter 2 Cisco IOS Commands switchport priority extend Related Commands Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) port. switchport voice vlan Configures the voice VLAN on the port. Catalyst 3550 Multilayer Switch Command Reference 2-474 78-11195-09...
Displays the administrative and operational status of a switching (nonrouting) switchport port, including port blocking and port protection settings. switchport block Prevents unknown multicast or unicast traffic on the interface. Catalyst 3550 Multilayer Switch Command Reference 2-475 78-11195-09...
You can add extended-range VLANs to the allowed VLAN list, but not to the pruning-eligible VLAN list. Separate nonconsecutive VLAN IDs with a comma; use a hyphen to designate a range of IDs. Catalyst 3550 Multilayer Switch Command Reference 2-476 78-11195-09...
Page 503
ISL is the selected format. The no form of the command resets the trunk encapsulation format to the default. The no form of the encapsulation command resets the encapsulation format to the default. • Catalyst 3550 Multilayer Switch Command Reference 2-477 78-11195-09...
Page 504
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 505
Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. switchport mode Configures the VLAN membership mode of a port. Catalyst 3550 Multilayer Switch Command Reference 2-479 78-11195-09...
Sets broadcast, multicast, or unicast storm control on an interface with the specified threshold level. switchport broadcast Obsolete command. Replaced by the storm-control broadcast interface configuration command. switchport multicast Obsolete command. Replaced by the storm-control multicast interface configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-480 78-11195-09...
The telephone uses priority tagging and uses VLAN 0 (the native VLAN). By default, the Cisco IP phone forwards the voice traffic with an 802.1P priority of 5. none The telephone is not instructed through the CLI about the voice VLAN. The telephone uses the configuration from the telephone key pad.
Page 508
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 3550 Multilayer Switch Command Reference 2-482 78-11195-09...
This example shows the response when you try to set a Fast Ethernet switch to an out-of-range number: Switch(config)# system mtu 1580 % Invalid input detected at '^' marker. You can verify your settings by entering the show system mtu privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-483 78-11195-09...
Page 510
Chapter 2 Cisco IOS Commands system mtu Related Commands Command Description show system mtu Displays the maximum packet size set for the switch. Catalyst 3550 Multilayer Switch Command Reference 2-484 78-11195-09...
This command was first 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 512
This example shows the Layer 2 path when the switch cannot find the destination port for the source MAC address: Switch# traceroute mac 0000.0011.1111 0000.0201.0201 Error:Source Mac address not found. Layer2 trace aborted. Catalyst 3550 Multilayer Switch Command Reference 2-486 78-11195-09...
Page 513
Related Commands 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 3550 Multilayer Switch Command Reference 2-487 78-11195-09...
This command was first 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 515
Arp failed for destination 2.2.77.77. 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 3550 Multilayer Switch Command Reference 2-489 78-11195-09...
Instead, you can use the police policy-map class configuration command to mark down (reduce) the DSCP value at the egress interface. • Access control list (ACL) classification. Per-port per-VLAN classification. • Catalyst 3550 Multilayer Switch Command Reference 2-490 78-11195-09...
Page 517
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 QoS policy maps. Catalyst 3550 Multilayer Switch Command Reference 2-491 78-11195-09...
• The shutdown and no shutdown interface configuration commands • The no udld enable global configuration command followed by the udld {aggressive | enable} • global configuration command to re-enable UDLD globally Catalyst 3550 Multilayer Switch Command Reference 2-492 78-11195-09...
Page 519
Enables UDLD on an individual interface or prevents a fiber-optic interface from being enabled by the udld global configuration command. udld reset Resets all interfaces shut down by UDLD and permits traffic to again pass through. Catalyst 3550 Multilayer Switch Command Reference 2-493 78-11195-09...
Use the no form on fiber-optic ports to remove this setting and to return control of UDLD enabling to the udld global configuration command or to disable UDLD on nonfiber-optic ports. Catalyst 3550 Multilayer Switch Command Reference 2-494 78-11195-09...
Page 521
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 administrative and operational status for all ports or the specified port.
Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.1 > Cisco IOS File Management Commands > Configuration File Commands. show udld Displays UDLD administrative and operational status for all ports or the specified port.
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. Catalyst 3550 Multilayer Switch Command Reference...
TrBRF media type if the VTP v2 mode is enabled. mtu mtu-size: specifies the maximum transmission unit (MTU) (packet size in bytes). Valid values • are from 1500 to 18190. The default is 1500 bytes. Catalyst 3550 Multilayer Switch Command Reference 2-498 78-11195-09...
Page 525
VLAN is translationally bridged. Translational VLANs translate FDDI or Token Ring to Ethernet, for example. Valid values are from 0 to 1005. If no value is specified, 0 (no transitional bridging) is assumed. Catalyst 3550 Multilayer Switch Command Reference 2-499 78-11195-09...
Page 526
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 3550 Multilayer Switch Command Reference 2-500 78-11195-09...
Page 527
VLAN in the switch startup configuration file: Switch(config)# vtp mode transparent Switch(config)# vlan 2000 Switch(config-vlan)# end Switch# copy running-config startup config You can verify your setting by entering the show vlan privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-501 78-11195-09...
Page 528
Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. vlan (VLAN Configures normal-range VLANs in the VLAN database. configuration) Catalyst 3550 Multilayer Switch Command Reference 2-502 78-11195-09...
VLAN in FDDI-NET, Token Ring-NET, and TrBRF VLANs. Valid bridge numbers are from 0 to 15. The type keyword applies only to TrCRF VLANs and is one of these: srb (source-route bridging) • • srt (source-route transparent) bridging VLAN Catalyst 3550 Multilayer Switch Command Reference 2-503 78-11195-09...
Ring to Ethernet, for example. Valid values are from 0 to 1005. Zero is assumed if no value is specified. Table 2-31 shows the valid syntax options for different media types. Catalyst 3550 Multilayer Switch Command Reference 2-504 78-11195-09...
Page 531
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 3550 Multilayer Switch Command Reference 2-505 78-11195-09...
Page 532
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). Command Modes VLAN configuration Catalyst 3550 Multilayer Switch Command Reference 2-506 78-11195-09...
Page 533
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.
Page 534
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 3550 Multilayer Switch Command Reference 2-508 78-11195-09...
You can use the no vlan access-map name [number] command with a sequence number to delete a single entry. In global configuration mode, use the vlan filter interface configuration command to apply the map to one or more VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-509 78-11195-09...
Page 536
Sets the VLAN map to match packets against one or more access configuration)) lists. show vlan access-map Displays information about a particular VLAN access map or all VLAN access maps. vlan filter Applies the VLAN access map to one or more VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-510 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-511 78-11195-09...
Page 539
This is an example of output from the show current 20 command. It displays only VLAN 20 of the current database. Switch(vlan)# show current 20 VLAN ISL Id: 20 Name: VLAN0020 Media Type: Ethernet VLAN 802.10 Id: 100020 State: Operational MTU: 1500 Catalyst 3550 Multilayer Switch Command Reference 2-513 78-11195-09...
Page 540
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 3550 Multilayer Switch Command Reference 2-514 78-11195-09...
This example shows how to delete VLAN map entry mac1 from VLAN 20: Switch(config)# no vlan filter map1 vlan-list 20 You can verify your settings by entering the show vlan filter privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-516 78-11195-09...
Page 543
Displays information about a particular VLAN access map or all VLAN access maps. show vlan filter Displays information about all VLAN filters or about a particular VLAN or VLAN access map. vlan access-map Creates a VLAN map entry for VLAN packet filtering. Catalyst 3550 Multilayer Switch Command Reference 2-517 78-11195-09...
You can verify your setting 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 3550 Multilayer Switch Command Reference 2-520 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-521 78-11195-09...
Page 548
You can verify your setting 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 3550 Multilayer Switch Command Reference 2-522 78-11195-09...
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.
• 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. The vtp file filename cannot be used to load a new database; it renames only the file in which the existing database is stored.
Page 551
If you are configuring a Token Ring bridge relay function (TrBRF) or Token Ring concentrator relay function (TrCRF) VLAN media type, you must use version 2. • If you are configuring a Token Ring or Token Ring-NET VLAN media type, you must use version 1. Catalyst 3550 Multilayer Switch Command Reference 2-525 78-11195-09...
Page 552
Command Description show vtp status Displays the VTP statistics for the switch and general information about the VTP management domain status. vtp (VLAN Configures VTP domain-name, password, pruning, version, and mode. configuration) Catalyst 3550 Multilayer Switch Command Reference 2-526 78-11195-09...
Only VLANs in the pruning-eligible list can be pruned. Pruning is supported with VTP version 1 and version 2. Toggling the version 2 (v2) mode state modifies parameters of certain default VLANs. Catalyst 3550 Multilayer Switch Command Reference 2-527 78-11195-09...
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 3550 Multilayer Switch Command Reference 2-528 78-11195-09...
Defaults The default mode is server mode. No domain name is defined. No password is configured. Catalyst 3550 Multilayer Switch Command Reference 2-529 78-11195-09...
After the switch leaves the no-management-domain state, it can never be configured to reenter it until you clear the nonvolatile RAM (NVRAM) and reload the software. Catalyst 3550 Multilayer Switch Command Reference 2-530 78-11195-09...
Page 557
Setting device to VTP TRANSPARENT mode. This example shows how to set the administrative domain for the switch: Switch(vlan)# vtp domain OurDomainName Changing VTP domain name from cisco to OurDomainName This example shows how to configure the VTP domain password: Switch(vlan)# vtp password private Setting device VLAN database password to private.
Page 558
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 3550 Multilayer Switch Command Reference 2-532 78-11195-09...
1/(1+2+3+4), 2/(1+2+3+4), 3/(1+2+3+4), and 4/(1+2+3+4), which is 1/10, 1/5, 3/10, and 2/5 for queues 1, 2, 3, and 4. Switch(config)# interface gigabitethernet0/1 Switch(config-if)# wrr-queue bandwidth 1 2 3 4 Catalyst 3550 Multilayer Switch Command Reference 2-533 78-11195-09...
Page 560
Displays quality of service (QoS) information. wrr-queue cos-map Maps assigned class of service (CoS) values to select one of the egress queues. wrr-queue queue-limit Configures the sizes of the egress queues on Gigabit-capable Ethernet ports. Catalyst 3550 Multilayer Switch Command Reference 2-534 78-11195-09...
You can use this command to distribute traffic into different queues, where each queue is configured with different weighted round robin (WRR) and Weighted Random Early Detection (WRED) parameters. You enable the expedite queue by using the priority-queue out interface configuration command. Catalyst 3550 Multilayer Switch Command Reference 2-535 78-11195-09...
Page 562
Displays the queueing strategy (WRR, priority queueing), the weights corresponding to the queues, and the CoS-to-egress-queue map. wrr-queue dscp-map Maps DSCP values to the tail-drop or WRED thresholds of the egress queues. Catalyst 3550 Multilayer Switch Command Reference 2-536 78-11195-09...
Switch(config-if)# wrr-queue dscp-map 1 8 9 Switch(config-if)# wrr-queue dscp-map 2 10 11 12 13 14 You can verify your settings by entering the show running-config or the show mls qos interface interface-id privileged EXEC command. Catalyst 3550 Multilayer Switch Command Reference 2-537 78-11195-09...
Page 564
Enables WRED and assigns two WRED threshold values to an egress max-threshold queue of a Gigabit-capable Ethernet port. wrr-queue threshold Assigns tail-drop threshold percentages to an egress queue of a Gigabit-capable Ethernet port. Catalyst 3550 Multilayer Switch Command Reference 2-538 78-11195-09...
You can verify your settings by entering the show mls qos interface buffers privileged EXEC command. Related Commands Command Description mls qos min-reserve Configures the minimum-reserve levels on 10/100 Ethernet ports. show mls qos interface Displays quality of service (QoS) information. Catalyst 3550 Multilayer Switch Command Reference 2-539 78-11195-09...
Displays QoS information. wrr-queue bandwidth Assigns weighted round robin (WRR) weights to the egress queues. wrr-queue min-reserve Configures the sizes of the minimum-reserve threshold values of the queues on 10/100 Ethernet ports. Catalyst 3550 Multilayer Switch Command Reference 2-540 78-11195-09...
WRED or tail-drop thresholds can be configured. When you enter the no wrr-queue random-detect max-threshold queue-id command, tail drop is enabled with the maximum threshold values set to 100 percent. Catalyst 3550 Multilayer Switch Command Reference 2-541 78-11195-09...
Page 568
Displays QoS information. wrr-queue dscp-map Maps DSCP values to the tail-drop or WRED thresholds of the egress queues. wrr-queue queue-limit Configures the sizes of the egress queues on Gigabit-capable Ethernet ports. Catalyst 3550 Multilayer Switch Command Reference 2-542 78-11195-09...
You configure the DSCP-to-threshold map by using the wrr-queue dscp-map interface configuration command on the ingress interface. The wrr-queue threshold and the wrr-queue random-detect threshold commands are mutually exclusive, and only tail-drop or Weighted Random Early Detection (WRED) thresholds can be configured. Catalyst 3550 Multilayer Switch Command Reference 2-543 78-11195-09...
Page 570
Displays QoS information. wrr-queue dscp-map Maps DSCP values to the tail-drop or WRED thresholds of the egress queues. wrr-queue queue-limit Configures the sizes of the egress queues on Gigabit-capable Ethernet ports. Catalyst 3550 Multilayer Switch Command Reference 2-544 78-11195-09...
You gain access to the boot loader command line if the switch is set to manually boot, if an error occurs during power-on self test (POST) DRAM testing, or if an error occurs while loading the operating system (a corrupted Cisco IOS image). You can also access the boot loader if you have lost or forgotten the switch password.
After entering this command, you are prompted to start the setup program. Related Commands Command Description Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
3049472 total_image_file_size: 4551168 image_feature: LAYER_3|MIN_DRAM_MEG=64 image_family: C3550 info_end: BAUD=57600 MANUAL_BOOT=no Related Commands Command Description more Displays the contents of one or more files. type Displays the contents of one or more files. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
File "flash:test1.text" successfully copied to "flash:test4.text" You can verify that the file was copied by entering the dir filesystem: boot loader command. Related Commands Command Description delete Deletes one or more files from the specified file system. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 575
File "flash:test2.text" deleted You can verify that the files were deleted by entering the dir flash: boot loader command. Related Commands Command Description copy Copies a file from a source to a destination. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Mar 01 1993 23:11:42 html -rwx 1037 Mar 01 1993 00:01:11 config.text -rwx 1099 Mar 01 1993 01:14:05 homepage.htm -rwx Mar 01 1993 00:01:39 system_env_vars drwx 1993 23:22:03 c3550-i5q3l2-mz.121-0.64.EA1 15998976 bytes total (6397440 bytes free) Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 577
• w—writable • x—executable • 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. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
During the normal boot process, the Flash file system is automatically initialized. Use this command to manually initialize the Flash file system. For example, you use this command during the recovery procedure for a lost or forgotten password. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Boot loader Command History Release Modification 12.1(4)EA1 This command was first introduced. Usage Guidelines Caution Use this command with care; it destroys all data on the file system and renders your system unusable. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
To stop an in-progress file system consistency check, disconnect the switch power and then reconnect the power. Examples This example shows how to perform an extensive file system check on Flash memory: switch: fsck -test flash: Catalyst 3550 Multilayer Switch Command Reference A-10 78-11195-09...
Command Modes Boot loader Command History Release Modification 12.1(4)EA1 This command was first introduced. Usage Guidelines You can also use the question mark (?) to display a list of available boot loader commands. Catalyst 3550 Multilayer Switch Command Reference A-11 78-11195-09...
Release Modification 12.1(4)EA1 This command was first introduced. Usage Guidelines The load_helper command searches for loadable files only if the HELPER environment variable is set. Filenames and directory names are case sensitive. Catalyst 3550 Multilayer Switch Command Reference A-12 78-11195-09...
Text entry. Data Beginning and ending address of the data segment storage area. Beginning and ending address of the block started by symbol (Bss) storage area. It is initialized to zero. Catalyst 3550 Multilayer Switch Command Reference A-13 78-11195-09...
Page 584
Beginning and ending address of the area in memory allocated to the software to store automatic variables, return addresses, and so forth. Heap Beginning and ending address of the area in memory that memory is dynamically allocated to and freed from. Catalyst 3550 Multilayer Switch Command Reference A-14 78-11195-09...
You can verify that the directory was created by entering the dir filesystem: boot loader command. Related Commands Command Description Displays a list of files and directories on the specified file system. rmdir Removes one or more directories from the specified file system. Catalyst 3550 Multilayer Switch Command Reference A-15 78-11195-09...
3049472 total_image_file_size: 4551168 image_feature: LAYER_3|MIN_DRAM_MEG=64 image_family: C3550 info_end: BAUD=57600 MANUAL_BOOT=no Related Commands Command Description Displays the contents of one or more files. type Displays the contents of one or more files. Catalyst 3550 Multilayer Switch Command Reference A-16 78-11195-09...
You can verify that the file was renamed by entering the dir filesystem: boot loader command. Related Commands Command Description copy Copies a file from a source to a destination. Catalyst 3550 Multilayer Switch Command Reference A-17 78-11195-09...
This example shows how to reset the system: switch: reset Are you sure you want to reset the system (y/n)?y System resetting... Related Commands Command Description boot Loads and boots an executable image and enters the command-line interface. Catalyst 3550 Multilayer Switch Command Reference A-18 78-11195-09...
You can verify that the directory was deleted by entering the dir filesystem: boot loader command. Related Commands Command Description Displays a list of files and directories on the specified file system. mkdir Creates one or more new directories on the specified file system. Catalyst 3550 Multilayer Switch Command Reference A-19 78-11195-09...
The range is from 4096 to 524288 bytes. BAUD rate—The rate in bits per second (bps) used for the console. The Cisco IOS software inherits the baud rate setting from the boot loader and continues to use this value unless the configuration file specifies another setting.
Page 591
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 Cisco IOS that are loaded, including the helper image.
Page 592
PS1 loader: loader: You can verify your setting by using the set boot loader command. Related Commands Command Description unset Resets one or more environment variables to its previous setting. Catalyst 3550 Multilayer Switch Command Reference A-22 78-11195-09...
3049472 total_image_file_size: 4551168 image_feature: LAYER_3|MIN_DRAM_MEG=64 image_family: C3550 info_end: BAUD=57600 MANUAL_BOOT=no Related Commands Command Description Displays the contents of one or more files. more Displays the contents of one or more files. Catalyst 3550 Multilayer Switch Command Reference A-23 78-11195-09...
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 Cisco IOS that are loaded, including the helper image. This variable is used only for internal development and testing.
Page 595
The HELPER_CONFIG_FILE environment variable can also be reset by using the no boot helper-config-file global configuration command. Examples This example shows how to reset the prompt string to its previous setting: switch: unset PS1 switch: Related Commands Command Description Sets or displays environment variables. Catalyst 3550 Multilayer Switch Command Reference A-25 78-11195-09...
12.1(4)EA1 This command was first introduced. Examples This example shows how to display the boot loader version: switch: version C3550 Boot Loader (C3550-HBOOT-M) Version 12.1(4)EA1 Compiled Wed 21-Feb-01 14:58 by devgoyal switch: Catalyst 3550 Multilayer Switch Command Reference A-26 78-11195-09...
For this reason, use the debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. It is best to use the debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. Catalyst 3550 Multilayer Switch Command Reference...
Page 600
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 3550 Multilayer Switch Command Reference...
Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(4)EA1 This command was first introduced. Usage Guidelines The undebug cluster command is the same as the no debug cluster command. Catalyst 3550 Multilayer Switch Command Reference 78-11195-09...
Page 602
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 cluster Displays the cluster status and a summary of the cluster to which the switch belongs.
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 3550 Multilayer Switch Command Reference...
Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show dot1x Displays 802.1X statistics, administrative status, and operational status for the switch or for the specified interface.
Displays information about the types of debugging that are enabled. For syntax information, 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.
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
Power Controller register reading. Use the no form of this command to disable debugging output. debug ilpower controller no debug ilpower controller This command is available only on the Catalyst 3550-24PWR switch. Syntax Description This command has no keywords or arguments.
Use the no form of this command to disable debugging output. debug ilpower event no debug ilpower event This command is available only on the Catalyst 3550-24PWR switch. Syntax Description This command has no keywords or arguments.
The undebug ip dhcp snooping command is the same as the no ip debug dhcp snooping command. Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping Displays the DHCP snooping binding information. binding Catalyst 3550 Multilayer Switch Command Reference B-15 78-11195-09...
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
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 3550 Multilayer Switch Command Reference...
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 mac Displays the MAC address notification information for all interfaces or the address-table specified interface.
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 3550 Multilayer Switch Command Reference...
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 mvr Displays the current MVR configuration.
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.
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 3550 Multilayer Switch Command Reference...
Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(4)EA1 This command was first introduced. Usage Guidelines The undebug pm command is the same as the no debug pm command. Catalyst 3550 Multilayer Switch Command Reference B-27 78-11195-09...
Page 624
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 3550 Multilayer Switch Command Reference...
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 port-security Displays port-security settings for an interface or for the switch.
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 monitor Displays SPAN session information.
Command History Release Modification 12.1(4)EA1 This command was first introduced. 12.1(9)EA1 The mstp and csuf keywords were added. Usage Guidelines The undebug spanning-tree command is the same as the no debug spanning-tree command. Catalyst 3550 Multilayer Switch Command Reference B-31 78-11195-09...
Page 628
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Debug topology change notification events. timers Debug the MSTP timers for start, stop, and expire events. Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(9)EA1 This command was first introduced. Catalyst 3550 Multilayer Switch Command Reference B-36 78-11195-09...
Page 633
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
The helper keyword was added. Usage Guidelines This command can be entered only from the switch console. The undebug spanning-tree switch command is the same as the no debug spanning-tree switch command. Catalyst 3550 Multilayer Switch Command Reference B-38 78-11195-09...
Page 635
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for IOS Release 12.1 > Cisco IOS System Management Commands > Troubleshooting Commands. show spanning-tree Displays spanning-tree state information.
Debug messages generated when the CLI is in config-vlan mode. events Debug VLAN manager events. Debug VLAN manager Cisco IOS file system (IFS) error tests. management Debug VLAN manager management of internal VLANs. notification Debug VLAN manager notifications.
Page 638
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.
Use the debug sw-vlan ifs privileged EXEC command to enable VLAN manager Cisco IOS file system (IFS) error tests. Use the no form of this command to disable debugging output. debug sw-vlan ifs {open {read | write} | read {1 | 2 | 3 | 4} | write}...
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.
(Optional) Display the contents of all outgoing VTP packets that the VTP code requests the Cisco IOS VTP platform-dependent layer to send. xmit Display the contents of all outgoing VTP packets that the VTP code requests the Cisco IOS VTP platform-dependent layer to send, except for pruning packets. Defaults Debugging is disabled.
Page 642
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.
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 3550 Multilayer Switch Command Reference B-47 78-11195-09...
Page 644
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 656
2-290 show tcam qos command 2-373 show ip igmp snooping command show trust command 2-291 2-490 show l2protocol-tunnel command show udld command 2-294 2-375 show l2tcam command 2-297 show version command 2-378 Catalyst 3550 Multilayer Switch Command Reference IN-12 78-11195-09...