Cisco Catalyst 3750 Command Reference Manual
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Catalyst 3750 Switch Command Reference
Cisco IOS Release 12.2(18)SE
February 2004
Corporate Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 526-4100
Customer Order Number: DOC-7816181=
Text Part Number: 78-16181-01

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Catalyst 3750

  • Page 1 Catalyst 3750 Switch Command Reference Cisco IOS Release 12.2(18)SE February 2004 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-7816181= Text Part Number: 78-16181-01...
  • 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, CCNA,...
  • Page 3: Table Of Contents

    Privileged EXEC Mode Global Configuration Mode Interface Configuration Mode config-vlan Mode VLAN Configuration Mode Line Configuration Mode Command Summary Catalyst 3750 Switch Cisco IOS Commands C H A P T E R aaa authentication dot1x action archive copy-sw archive download-sw archive tar...
  • Page 4 2-47 cluster commander-address 2-48 cluster discovery hop-count 2-50 cluster enable 2-51 cluster holdtime 2-53 cluster member 2-54 cluster outside-interface 2-56 cluster run 2-57 cluster standby-group 2-58 cluster timer 2-60 define interface-range 2-61 delete 2-63 Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 5 2-110 ip dhcp snooping vlan 2-111 ip igmp filter 2-112 ip igmp max-groups 2-113 ip igmp profile 2-115 ip igmp snooping 2-117 ip igmp snooping report-suppression 2-120 ip ssh 2-122 Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 6 2-178 mls qos srr-queue input threshold 2-180 mls qos srr-queue output cos-map 2-182 mls qos srr-queue output dscp-map 2-184 mls qos trust 2-186 monitor session 2-188 mvr (global configuration) 2-193 mvr (interface configuration) 2-196 Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 7 2-251 show cluster 2-252 show cluster candidates 2-254 show cluster members 2-256 show controllers cpu-interface 2-258 show controllers ethernet-controller 2-260 show controllers power inline 2-267 show controllers tcam 2-269 show dot1x 2-271 Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 8 2-336 show mls qos 2-338 show mls qos aggregate-policer 2-339 show mls qos input-queue 2-340 show mls qos interface 2-342 show mls qos maps 2-345 show mls qos queue-set 2-348 show monitor 2-350 Catalyst 3750 Switch Command Reference viii 78-16181-01...
  • Page 9 2-414 spanning-tree backbonefast 2-416 spanning-tree bpdufilter 2-417 spanning-tree bpduguard 2-419 spanning-tree cost 2-421 spanning-tree etherchannel guard misconfig 2-423 spanning-tree extend system-id 2-425 spanning-tree guard 2-427 spanning-tree link-type 2-429 spanning-tree loopguard default 2-431 Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 10 2-478 switchport host 2-479 switchport mode 2-480 switchport nonegotiate 2-482 switchport port-security 2-484 switchport port-security aging 2-489 switchport priority extend 2-491 switchport protected 2-493 switchport trunk 2-495 switchport voice vlan 2-498 system mtu 2-500 Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 11 (global configuration) 2-535 vmps retry 2-536 vmps server 2-537 vtp (global configuration) 2-539 vtp (VLAN configuration) 2-543 Catalyst 3750 Switch Boot Loader Commands A P P E N D I X boot copy delete flash_init format A-10 fsck A-11...
  • Page 12 Contents A-21 type A-24 unset A-25 version A-27 Catalyst 3750 Switch Debug Commands A P P E N D I X debug auto qos debug cluster debug dot1x debug dtp debug etherchannel debug ilpower B-10 debug interface B-11 debug ip igmp filter...
  • Page 13 B-71 debug spanning-tree switch B-73 debug spanning-tree uplinkfast B-75 debug sw-vlan B-76 debug sw-vlan ifs B-78 debug sw-vlan notification B-80 debug sw-vlan vtp B-82 debug udld B-84 debug vqpc B-86 Catalyst 3750 Switch Command Reference xiii 78-16181-01...
  • Page 14 Contents Catalyst 3750 Switch Show Platform Commands A P P E N D I X show platform acl show platform configuration show platform etherchannel show platform forward show platform ip igmp snooping show platform ip multicast show platform ip unicast...
  • Page 15: Preface

    This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3750 switch, hereafter referred to as the switch. Before using this guide, you should have experience working with the Cisco IOS commands and the switch software features. Before using this guide, you should have experience working with the concepts and terminology of Ethernet and local area networking.
  • Page 16: Conventions

    Means reader be careful. In this situation, you might do something that could result in equipment Caution damage 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 3750 Switch Command Reference 78-16181-01...
  • Page 17: Related Publications

    For upgrading information, refer to the “Downloading Software” section in the release notes. • You can order printed copies of documents with a DOC-xxxxxx= number from the Cisco.com sites and from the telephone numbers listed in the “Obtaining Documentation” section on page xvii.
  • Page 18: Ordering Documentation

    The Cisco TAC website is located at this URL: http://www.cisco.com/tac 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 19: Opening A Tac Case

    TAC Case Open Tool automatically recommends resources for an immediate solution. If your issue is not resolved using the recommended resources, your case will be assigned to a Cisco TAC engineer. The online TAC Case Open Tool is located at this URL: http://www.cisco.com/tac/caseopen For P1 or P2 cases (P1 and P2 cases are those in which your production network is down or severely degraded) or if you do not have Internet access, contact Cisco TAC by telephone.
  • Page 20 Preface Obtaining Additional Publications and Information Cisco Press publishes a wide range of general networking, training and certification titles. Both new • and experienced users will benefit from these publications. For current Cisco Press titles and other information, go to Cisco Press online at this URL: http://www.ciscopress.com...
  • Page 21: Chapter 1 Using The Command-Line Interface

    C H A P T E R Using the Command-Line Interface The Catalyst 3750 switch is 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, “Catalyst 3750...
  • Page 22: Cli Command Modes

    Using the Command-Line Interface CLI Command Modes CLI Command Modes This section describes the CLI command mode structure. Command modes support specific Cisco IOS commands. For example, the interface interface-id command only works when entered in global configuration mode. These are the main command modes for the switch: •...
  • Page 23: User Exec Mode

    The supported commands can vary depending on the version of software in use. To view a comprehensive list of commands, enter a question mark (?) at the prompt. Switch# ? To return to user EXEC mode, enter the disable privileged EXEC command. Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 24: Global Configuration Mode

    EXEC command. The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database if VTP is in transparent or server mode. The extended-range VLAN configurations are not saved in the VLAN database. Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 25: Vlan Configuration Mode

    To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z. Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 26: Command Summary

    Using the Command-Line Interface Command Summary Command Summary Table 1-2 lists describes the commands that have the same function but different syntax than they did in software releases before Cisco IOS Release 12.2(18)SE. Table 1-2 Command Comparison Releases earlier than Cisco IOS Cisco IOS Release 12.2(18)SE or...
  • Page 27: Chapter 2 Catalyst 3750 Switch Cisco Ios Commands

    C H A P T E R Catalyst 3750 Switch Cisco IOS Commands aaa authentication dot1x Use the aaa authentication dot1x global configuration command on the switch stack or on a standalone switch to specify one or more authentication, authorization, and accounting (AAA) methods for use on ports running IEEE 802.1x.
  • Page 28: Chapter 2 Catalyst 3750 Switch Cisco Io Command

    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: Action

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands action action Use the action access map configuration command on the switch stack or on a standalone switch to set the action for the VLAN access map entry. Use the no form of this command to set the action to the default value, which is to forward.
  • Page 30 Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. ip access-list Creates a named access list. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands.
  • Page 31: Archive Copy-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw archive copy-sw Use the archive copy-sw privileged EXEC command on the stack master to copy the running image from the flash memory on one stack member to the flash memory on one or more other stack members.
  • Page 32 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient flash memory. If leaving the software in place would prevent the new image from fitting in flash memory due to space constraints, an error results.
  • Page 33 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw Related Commands 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.
  • Page 34: Archive Download-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw archive download-sw Use the archive download-sw privileged EXEC command on the switch stack or on a standalone switch to download a new image to the switch or switch stack and to overwrite or keep the existing image.
  • Page 35 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 memory.
  • Page 36 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw Examples This example shows how to download a new image from a TFTP server at 172.20.129.10 and overwrite the image on the switch: Switch# archive download-sw /overwrite tftp://172.20.129.10/test-image.tar This example shows how to download only the software image from a TFTP server at 172.20.129.10 to the switch: Switch# archive download-sw /imageonly tftp://172.20.129.10/test-image.tar...
  • Page 37: Archive Tar

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive tar archive tar Use the archive tar privileged EXEC command on the switch stack or on a standalone switch to create a tar file, list files in a tar file, or extract the files from a tar file.
  • Page 38 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive tar /table source-url Display the contents of an existing tar file to the screen. For source-url, specify the source URL alias for the local or network file system. These options are supported: The syntax for the local flash file system: •...
  • Page 39 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive tar Usage Guidelines Filenames and directory names are case sensitive. Image names are case sensitive. Examples This example shows how to create a tar file. The command writes the contents of the new-configs directory on the local flash device to a file named saved.tar on the TFTP server at 172.20.10.30:...
  • Page 40: Archive Upload-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive upload-sw archive upload-sw Use the archive upload-sw privileged EXEC command on the switch stack or on a standalone switch to upload an existing switch image to a server. archive upload-sw [/source-system-num stack member number | /version version_string]...
  • Page 41 The upload feature should be used 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: the Cisco IOS image, the HTML files, and info. After these files are uploaded, the software creates the tar file.
  • Page 42: Auto Qos Voip

    Syntax Description cisco-phone Identify this port as connected to a Cisco IP phone, and automatically configure QoS for VoIP. The QoS labels of incoming packets are trusted only when the phone is detected. This keyword is not available on a 10-Gigabit Ethernet interface.
  • Page 43: Auto Qos Voip

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands auto qos voip Table 2-2 shows the generated auto-QoS configuration for the ingress queues. Table 2-2 Auto-QoS Configuration for the Ingress Queues Queue Weight Queue (Buffer) Ingress Queue Queue Number CoS-to-Queue Map...
  • Page 44 The switch uses the Cisco Discovery Protocol (CDP) to detect the presence or absence of a Cisco IP phone. When a Cisco IP phone is detected, the ingress classification on the port 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.
  • Page 45 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands auto qos voip Command Description mls qos srr-queue input buffers Allocates the buffers between the ingress queues. mls qos srr-queue input cos-map Maps CoS values to an ingress queue or maps CoS values to a queue and to a threshold ID.
  • Page 46: Boot Auto-Copy-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands boot auto-copy-sw boot auto-copy-sw Use the boot auto-copy-sw global configuration command from the stack master to automatically upgrade switches in version-mismatch (VM) mode with the switch stack image. Use the no form of this command to not automatically upgrade switches in VM mode.
  • Page 47: Boot Boothlpr

    Use the boot boothlpr global configuration command on the switch stack or on a standalone switch 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.
  • Page 48: Boot Config-File

    Use the boot config-file global configuration command on a standalone switch 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.
  • Page 49: Boot Enable-Break

    Despite the setting of this command, you can interrupt the automatic boot process at any time by pressing the MODE button on the switch front panel. This command changes the setting of the ENABLE_BREAK environment variable. For more information, see Appendix A, “Catalyst 3750 Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 50: Boot Helper

    This variable is used only for internal development and testing. Filenames and directory names are case sensitive. This command changes the setting of the HELPER environment variable. For more information, see Appendix A, “Catalyst 3750 Switch Boot Loader Commands.” Related Commands Command...
  • Page 51: Boot Helper-Config-File

    Use the boot helper-config-file global configuration command on the switch stack or on a standalone switch 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.
  • Page 52: Boot Manual

    To boot the system, use the boot boot loader command, and specify the name of the bootable image. This command changes the setting of the MANUAL_BOOT environment variable. For more information, see Appendix A, “Catalyst 3750 Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 53: Boot Private-Config-File

    Use the boot private-config-file global configuration command on a standalone switch to specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the private configuration. Use the no form of this command to return to the default setting.
  • Page 54: Boot System

    Use the boot system global configuration command on a standalone switch 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.
  • Page 55: Channel-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group channel-group Use the channel-group interface configuration command on the switch stack or on a standalone switch to assign an Ethernet port to an EtherChannel group. Use the no form of this command to remove an Ethernet port from an EtherChannel group.
  • Page 56 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group Command History Release Modification 12.1(11)AX This command was introduced. 12.1(14)EA1 The active and passive keywords were added. Usage Guidelines For Layer 2 EtherChannels, you do not have to create a port-channel interface first by using the interface port-channel global configuration command before assigning a physical port to a channel group.
  • Page 57 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group If 802.1x is enabled on a not-yet active port of an EtherChannel in software releases earlier than Cisco Note IOS Release 12.2(18)SE, the port does not join the EtherChannel. Do not configure a secure port as part of an EtherChannel or an EtherChannel port as a secure port.
  • Page 58 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group Related Commands Command Description channel-protocol Restricts the protocol used on a port to manage channeling. interface port-channel Accesses or creates the port channel. show etherchannel Displays EtherChannel information for a channel.
  • Page 59: Channel-Protocol

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-protocol channel-protocol Use the channel-protocol interface configuration command on the switch stack or on a standalone switch to restrict the protocol used on a port to manage channeling. Use the no form of this command to return to the default setting.
  • Page 60: Class

    After entering the class command, you enter policy-map class configuration mode, and these configuration commands are available: bandwidth: Although this command appears, it is not supported on Catalyst 3750 switches. • exit: exits policy-map class configuration mode and returns to policy-map configuration mode.
  • Page 61 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class Examples This example shows how to create a policy map called policy1. When attached to the ingress direction, it matches all the incoming traffic defined in class1, sets the IP Differentiated Services Code Point (DSCP) to 10, and polices the traffic at an average rate of 1 Mbps and bursts at 20 KB.
  • Page 62: Class-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class-map class-map Use the class-map global configuration command on the switch stack or on a standalone switch to create a class map to be used for matching packets to the class whose name you specify and to enter class-map configuration mode.
  • Page 63 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class-map To define packet classification on a physical-port basis, only one match command per class map is supported. In this situation, the match-all and match-any keywords are equivalent. Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access control entries (ACEs).
  • Page 64: Clear Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ipc clear ipc Use the clear ipc privileged EXEC command on the switch stack or on a standalone switch to clear Interprocess Communications Protocol (IPC) statistics. clear ipc {queue-statistics | statistics}...
  • Page 65: Clear Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear lacp clear lacp Use the clear lacp privileged EXEC command on the switch stack or on a standalone switch to clear Link Aggregation Control Protocol (LACP) channel-group counters. clear lacp {channel-group-number counters | counters}...
  • Page 66: Clear Mac Address-Table

    VLAN. This command also clears the MAC address notification global counters. clear mac address-table {dynamic [address mac-addr | interface interface-id | vlan vlan-id] | notification} Beginning with Cisco IOS Release 12.1(19)EA1, the clear mac address-table command replaces the Note clear mac- address-table command (with the hyphen).
  • Page 67 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear mac address-table Related Commands Command Description mac address-table notification Enables the MAC address notification feature. show mac address-table Displays the MAC address table static and dynamic entries. show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface.
  • Page 68: Clear Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear pagp clear pagp Use the clear pagp privileged EXEC command on the switch stack or on a standalone switch to clear Port Aggregation Protocol (PAgP) channel-group information. clear pagp {channel-group-number counters | counters}...
  • Page 69: Clear Setup Express

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear setup express clear setup express Use the clear setup express privileged EXEC command on the switch stack or on a standalone switch to exit Express Setup mode without saving the current configuration.
  • Page 70: Clear Spanning-Tree Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear spanning-tree counters clear spanning-tree counters Use the clear spanning-tree counters privileged EXEC command on the switch stack or on a standalone switch to clear the spanning-tree counters. clear spanning-tree counters [interface interface-id]...
  • Page 71: Clear Spanning-Tree Detected-Protocols

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear spanning-tree detected-protocols clear spanning-tree detected-protocols Use the clear spanning-tree detected-protocols privileged EXEC command on the switch stack or on a standalone switch to restart the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface.
  • Page 72: Clear Vmps Statistics

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear vmps statistics clear vmps statistics Use the clear vmps statistics privileged EXEC command on the switch stack or on a standalone switch to clear the statistics maintained by the VLAN Query Protocol (VQP) client.
  • Page 73: Clear Vtp Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear vtp counters clear vtp counters Use the clear vtp counters privileged EXEC command on the switch stack or on a standalone switch to clear the VLAN Trunking Protocol (VTP) and pruning counters.
  • Page 74: Cluster Commander-Address

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster commander-address cluster commander-address You do not need to enter this command from the switch stack or from a standalone cluster member switch. The cluster command switch automatically provides its MAC address to cluster member switches when these switches join the cluster.
  • Page 75 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster commander-address Examples This is partial sample output from the running configuration of a cluster member. Switch(config)# show running-configuration <output truncated> cluster commander-address 00e0.9bc0.a500 member 4 name my_cluster <output truncated> This example shows how to remove a member from the cluster by using the cluster member console.
  • Page 76: Cluster Discovery Hop-Count

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster discovery hop-count cluster discovery hop-count Use the cluster discovery hop-count global configuration command on the switch stack or on the a cluster command switch on the cluster command switch to set the hop-count limit for extended discovery of candidate switches.
  • Page 77: Cluster Enable

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster enable cluster enable Use the cluster enable global configuration command on a command-capable switch or switch stack to enable it as the cluster command switch, assign a cluster name, and to optionally assign a member number to it.
  • Page 78 Chapter 2 Catalyst 3750 Switch 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 3750 Switch Command Reference 2-52 78-16181-01...
  • Page 79: Cluster Holdtime

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster holdtime cluster holdtime Use the cluster holdtime global configuration command on the switch stack or on the a cluster command switch to set the duration in seconds before a switch (either the command or cluster member switch) declares the other switch down after not receiving heartbeat messages.
  • Page 80: Cluster Member

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster member cluster member Use the cluster member global configuration command on the cluster command switch to add candidates to a cluster. Use the no form of the command to remove members from the cluster.
  • Page 81: Cluster Member

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster member Examples This example shows how to add a switch as member 2 with MAC address 00E0.1E00.2222 and the password key to a cluster. The cluster command switch adds the candidate to the cluster through VLAN 3.
  • Page 82: Cluster Outside-Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster outside-interface cluster outside-interface Use the cluster outside-interface global configuration command on the switch stack or on the a cluster command switch to configure the outside interface for cluster Network Address Translation (NAT) so that a member without an IP address can communicate with devices outside the cluster.
  • Page 83: Cluster Run

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster run cluster run Use the cluster run global configuration command to enable clustering on a switch. Use the no form of this command to disable clustering on a switch. cluster run...
  • Page 84: Cluster Standby-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster standby-group cluster standby-group Use the cluster standby-group global configuration command to enable cluster command-switch redundancy by binding the cluster to an existing Hot Standby Router Protocol (HSRP). Entering the routing-redundancy keyword enables the same HSRP group to be used for cluster command-switch redundancy and routing redundancy.
  • Page 85 Related Commands Command Description standby ip Enables HSRP on the interface. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. show cluster Displays the cluster status and a summary of the cluster to which the switch belongs.
  • Page 86: Cluster Timer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster timer cluster timer Use the cluster timer global configuration command on the switch stack or on the a cluster command switch to set the interval in seconds between heartbeat messages. Use the no form of this command to set the interval to the default value.
  • Page 87: Define Interface-Range

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands define interface-range define interface-range Use the define interface-range global configuration command on the switch stack or on a standalone switch to create an interface-range macro. Use the no form of this command to delete the defined macro.
  • Page 88 Executes a command on multiple ports at the same time. show running-config Displays the current operating configuration, including defined macros. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 89: Delete

    The prompting behavior depends on the setting of the file prompt global configuration command. By default, the switch prompts for confirmation on destructive file operations. For more information about this command, refer to the Cisco IOS Command Reference for Release 12.1. Examples...
  • Page 90 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands delete Related Commands Command Description archive download-sw Downloads a new image to the switch and overwrites or keeps the existing image. Catalyst 3750 Switch Command Reference 2-64 78-16181-01...
  • Page 91: Deny

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny deny Use the deny MAC access list configuration command on the switch stack or on a standalone switch to prevent non-IP traffic from being forwarded if the conditions are matched. Use the no form of this command to remove a deny condition from the named MAC access list.
  • Page 92 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny lsap lsap-number mask (Optional) Use the LSAP number (0 to 65535) of a packet with 802.2 encapsulation to identify the protocol of the packet. mask is a mask of don’t care bits applied to the LSAP number before testing for a match.
  • Page 93 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny Usage Guidelines You enter MAC-access list configuration mode by using the mac access-list extended global configuration command. If you use the host keyword, you cannot enter an address mask; if you do not use the host keyword, you must enter an address mask.
  • Page 94: Dot1X Default

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x default dot1x default Use the dot1x default interface configuration command on the switch stack or on a standalone switch to reset the configurable 802.1x parameters to their default values. dot1x default Syntax Description This command has no arguments or keywords.
  • Page 95: Dot1X Guest-Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x guest-vlan dot1x guest-vlan Use the dot1x guest-vlan interface configuration command on the switch stack or on a standalone switch to specify an active VLAN as an 802.1x guest VLAN. Use the no form of this command to return to the default setting.
  • Page 96 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x guest-vlan This example shows how to set 3 as the quiet time on the switch, to set 15 as the number of seconds that the switch waits for a response to an EAP-request/identity frame from the client before resending the request, and to enable VLAN 2 as an 802.1x guest VLAN when an 802.1X port is connected to a DHCP...
  • Page 97: Dot1X Host-Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x host-mode dot1x host-mode Use the dot1x host-mode interface configuration command on the switch stack or on a standalone switch to allow a single host (client) or multiple hosts on an 802.1x-authorized port that has the dot1x port-control interface configuration command set to auto.
  • Page 98 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x host-mode Related Commands Command Description show dot1x [interface interface-id] Displays 802.1x status for the specified port. Catalyst 3750 Switch Command Reference 2-72 78-16181-01...
  • Page 99: Dot1X Initialize

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x initialize dot1x initialize Use the dot1x initialize privileged EXEC command on the switch stack or on a standalone switch to manually return the specified 802.1x-enabled port to an unauthorized state before initiating a new authentication session on the port.
  • Page 100: Dot1X Max-Reauth-Req

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x max-reauth-req dot1x max-reauth-req Use the dot1x max-reauth-req interface configuration command on the switch stack or on a standalone switch to set the maximum number of times that the switch restarts the authentication process before a port transitions to the unauthorized state.
  • Page 101: Dot1X Max-Req

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x max-req dot1x max-req Use the dot1x max-req interface configuration command on the switch stack or on a standalone switch to set the maximum number of times that the switch sends an Extensible Authentication Protocol (EAP)-request/identity frame (assuming that no response is received) to the client before restarting the authentication process.
  • Page 102: Dot1X Multiple-Hosts

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x multiple-hosts dot1x multiple-hosts This is an obsolete command. In past releases, the dot1x multiple-hosts interface configuration command was used on the switch stack or on a standalone switch to allow multiple hosts (clients) on an 802.1x-authorized port.
  • Page 103: Dot1X Port-Control

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command on the switch stack or on a standalone switch to enable manual control of the authorization state of the port. Use the no form of this command to return to the default setting.
  • Page 104 EtherChannel as an 802.1x port. If you try to enable 802.1x on an EtherChannel port, an error message appears, and 802.1x is not enabled. In software releases earlier than Cisco IOS Release 12.2(18)SE, if 802.1x is enabled on a Note not-yet active port of an EtherChannel, the port does not join the EtherChannel.
  • Page 105: Dot1X Re-Authenticate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command on the switch stack or on a standalone switch to manually initiate a re-authentication of all 802.1x-enabled ports or the specified 802.1x-enabled port.
  • Page 106: Dot1X Re-Authentication

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x re-authentication dot1x re-authentication This is an obsolete command. In past releases, the dot1x re-authentication global configuration command was used on the switch stack or on a standalone switch to set the amount of time between periodic re-authentication attempts.
  • Page 107: Dot1X Reauthentication

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command on the switch stack or on a standalone switch to enable periodic re-authentication of the client. Use the no form of this command to return to the default setting.
  • Page 108: Dot1X System-Auth-Control

    Before globally enabling 802.1x on a switch, remove the EtherChannel configuration from the interfaces on which 802.1x and EtherChannel are configured. If you are using a device running the Cisco Access Control Server (ACS) application for 802.1x authentication with EAP-Transparent LAN Services (TLS) and with EAP-MD5 and your switch is running Cisco IOS Release 12.1(14)EA1, make sure that the device is running ACS Version 3.2.1 or...
  • Page 109: Dot1X Timeout

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout dot1x timeout Use the dot1x timeout interface configuration command on the switch stack or on a standalone switch to set 802.1x timers. Use the no form of this command to return to the default setting.
  • Page 110: Dot1X Timeout

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout Usage Guidelines You should change the default value of this command only to adjust for unusual circumstances such as unreliable links or specific behavioral problems with certain clients and authentication servers.
  • Page 111: Duplex

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands duplex duplex Use the duplex interface configuration command on the switch stack or on a standalone switch to specify the duplex mode of operation for Fast Ethernet and Gigabit Ethernet ports. Use the no form of this command to return the port to its default value.
  • Page 112 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands duplex If both ends of the line support autonegotiation, we highly recommend using the default autonegotiation settings. If one interface supports autonegotiation and the other end does not, configure duplex and speed on both interfaces;...
  • Page 113: Errdisable Detect Cause

    Enable error detection for the Dynamic Trunking Protocol (DTP) flapping. gbic-invalid Enable error detection for an invalid GBIC. On the Catalyst 3750 switch, this error refers to an invalid small form-factor Note pluggable (SFP) module. link-flap Enable error detection for link-state flapping.
  • Page 114: Errdisable Detect Cause

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable detect cause Examples This example shows how to enable error disable detection for the link-flap error-disable cause: Switch(config)# errdisable detect cause link-flap You can verify your setting by entering the show errdisable detect privileged EXEC command.
  • Page 115: Errdisable Recovery

    Enable the timer to recover from the Dynamic Trunking Protocol (DTP) flap error-disable state. gbic-invalid Enable the timer to recover from an invalid GBIC error-disable state. On the Catalyst 3750 switch, this error refers to an invalid small Note form-factor pluggable (SFP) error-disable state. link-flap Enable the timer to recover from the link-flap error-disable state.
  • Page 116 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable recovery Though visible in the command-line help strings, the unicast-flood keyword is not supported. Note Defaults Recovery is disabled for all causes. The default recovery interval is 300 seconds. Command Modes...
  • Page 117: Flowcontrol

    This prevents any loss of data packets during the congestion period. Use the receive off keywords to disable flow control. flowcontrol receive {desired | off | on} The Catalyst 3750 switch can only receive pause frames. Note Syntax Description receive Set whether the interface can receive flow-control packets from a remote device.
  • Page 118 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands flowcontrol Table 2-5 shows the flow control results on local and remote ports for a combination of settings. The table assumes that receive desired has the same results as using the receive on keywords.
  • Page 119: Interface Port-Channel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface port-channel interface port-channel Use the interface port-channel global configuration command on the switch stack or on a standalone switch to access or create the port-channel logical interface. Use the no form of this command to remove the port-channel.
  • Page 120 Catalyst 3750 Switch Cisco IOS Commands interface port-channel Follow these guidelines when you use the interface port-channel command: If you want to use the Cisco Discovery Protocol (CDP), you must configure it only on the physical • port and not on the port-channel interface.
  • Page 121: Interface Range

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range interface range Use the interface range global configuration command on the switch stack or on a standalone switch to enter interface range configuration mode and to execute a command on multiple ports at the same time.
  • Page 122: Interface Range

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range Valid values for port-range type and interface: vlan vlan-ID - vlan-ID, where VLAN ID is from 1 to 4094 • • fastethernet stack member/module/{first port} - {last port}, where module is always 0 •...
  • Page 123 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range Related Commands Command Description define interface-range Creates an interface range macro. show running-config Displays the configuration information currently running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 124: Interface Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface vlan interface vlan Use the interface vlan global configuration command on the switch stack or on a standalone switch to create or access a dynamic switch virtual interface (SVI) and to enter interface configuration mode. Use the no form of this command to delete an SVI.
  • Page 125: Interface Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface vlan Examples This example shows how to create a new SVI with VLAN ID 23 and enter interface configuration mode: Switch(config)# interface vlan 23 Switch(config-if)# You can verify your setting by entering the...
  • Page 126: Ip Access-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip access-group ip access-group Use the ip access-group interface configuration command on the switch stack or on a standalone switch to control access to a Layer 2 or Layer 3 interface. Use the no form of this command to remove all access groups or the specified access group from the interface.
  • Page 127 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip access-group You can use router ACLs, input port ACLs, and VLAN maps on the same switch. However, a port ACL takes precedence over a router ACL or VLAN map. When an input port ACL is applied to an interface and a VLAN map is applied to a VLAN that the •...
  • Page 128 IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands ip access-list Configures a named ACL. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands.
  • Page 129: Ip Address

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip address ip address Use the ip address interface configuration command on the switch stack or on a standalone switch to set an IP address for the Layer 2 switch or an IP address for each switch virtual interface (SVI) or routed port on the Layer 3 switch.
  • Page 130 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip address If your switch receives its IP address from a Bootstrap Protocol (BOOTP) or Dynamic Host Configuration Protocol (DHCP) server and you remove the switch IP address by using the no ip address command, IP processing is disabled, and the BOOTP or DHCP server cannot reassign the address.
  • Page 131: Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping ip dhcp snooping Use the ip dhcp snooping global configuration command on the switch stack or on a standalone switch to enable Dynamic Host Configuration Protocol (DHCP) snooping globally. Use the no form of this command to return to the default setting.
  • Page 132: Ip Dhcp Snooping Information Option

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option ip dhcp snooping information option Use the ip dhcp snooping information option global configuration command on the switch stack or on a standalone switch to enable Dynamic Host Configuration Protocol (DHCP) option-82 data insertion.
  • Page 133 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 3750 Switch Command Reference...
  • Page 134: Ip Dhcp Snooping Limit Rate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping limit rate ip dhcp snooping limit rate Use the ip dhcp snooping limit rate interface configuration command on the switch stack or on a standalone switch to configure the number of Dynamic Host Configuration Protocol (DHCP) messages an interface can receive per second.
  • Page 135: Ip Dhcp Snooping Trust

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping trust ip dhcp snooping trust Use the ip dhcp snooping trust interface configuration command on the switch stack or on a standalone switch to configure a port as trusted for Dynamic Host Configuration Protocol (DHCP) snooping purposes.
  • Page 136: Ip Dhcp Snooping Verify

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping verify ip dhcp snooping verify Use the ip dhcp snooping verify global configuration command on the switch stack or on a standalone switch to configure the switch to verify on an untrusted port that the source MAC address in a Dynamic Host Configuration Protocol (DHCP) packet matches the client hardware address.
  • Page 137: Ip Dhcp Snooping Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping vlan ip dhcp snooping vlan Use the ip dhcp snooping vlan global configuration command on the switch stack or on a standalone switch to enable Dynamic Host Configuration Protocol (DHCP) snooping on a VLAN. Use the no form of this command to disable DHCP snooping on a VLAN.
  • Page 138: Ip Igmp Filter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp filter ip igmp filter Use the ip igmp filter interface configuration command on the switch stack or on a standalone switch to control whether or not all hosts on a Layer 2 interface can join one or more IP multicast groups by applying an Internet Group Management Protocol (IGMP) profile to the interface.
  • Page 139: Ip Igmp Max-Groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp max-groups ip igmp max-groups Use the ip igmp max-groups interface configuration command on the switch stack or on a standalone switch to set the maximum number of Internet Group Management Protocol (IGMP) groups that a Layer 2 interface can join or to configure the IGMP throttling action when the maximum number of entries is in the forwarding table.
  • Page 140 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, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 141: Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp profile ip igmp profile Use the ip igmp profile global configuration command on the switch stack or on a standalone switch to create an Internet Group Management Protocol (IGMP) profile and enter IGMP profile configuration mode.
  • Page 142: Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp profile 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.
  • Page 143: Ip Igmp Snooping

    (Optional) With mrouter, specify the multicast router learning method. cgmp Set the switch to learn multicast router ports by snooping on Cisco Group Management Protocol (CGMP) packets. pim-dvmrp Set the switch to learn multicast router ports by snooping on IGMP queries and Protocol-Independent Multicast-Distance Vector Multicast Routing Protocol (PIM-DVMRP) packets.
  • Page 144: Ip Igmp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping Defaults IGMP snooping is globally enabled on the switch. IGMP snooping is enabled on VLAN interfaces. IGMP immediate-leave processing is disabled. The default learning method is pim-dvmrp—to snoop IGMP queries and PIM-DVMRP packets.
  • Page 145 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping This example shows how to configure a port as a multicast router port: Switch(config)# ip igmp snooping vlan 1 mrouter interface gigabitethernet1/0/2 This example shows how to specify the multicast router learning method as CGMP: Switch(config)# no ip igmp snooping vlan 1 mrouter learn cgmp You can verify your settings by entering the show ip igmp snooping privileged EXEC command.
  • Page 146: Ip Igmp Snooping Report-Suppression

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping report-suppression ip igmp snooping report-suppression Use the ip igmp snooping report-suppression global configuration command on the switch stack or on a standalone switch to enable Internet Group Management Protocol (IGMP) report suppression. Use the no form of this command to disable IGMP report suppression and forward all IGMP reports to multicast routers.
  • Page 147 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping report-suppression Related Commands Command Description ip igmp snooping 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.
  • Page 148: Ip Ssh

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip ssh ip ssh Use the ip ssh global configuration command on the switch stack or on a standalone switch to configure the switch to run Secure Shell (SSH) Version 1 or SSH Version 2. This command is available only when your switch is running the cryptographic (encrypted) software image.
  • Page 149 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 >...
  • Page 150: Lacp Port-Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command on the switch stack or on a standalone switch to configure the port priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
  • Page 151 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp port-priority Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp system-priority Configures the LACP system priority. show lacp [channel-group-number] Displays internal information for all channel groups or for internal the specified channel group.
  • Page 152: Lacp System-Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp system-priority lacp system-priority Use the lacp system-priority global configuration command on the switch stack or on a standalone switch to configure the system priority for the Link Aggregation Control Protocol (LACP). Use the no form of this command to return to the default setting.
  • Page 153 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp system-priority Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp port-priority Configures the LACP port priority. show lacp sys-id Displays the system identifier that is being used by LACP.
  • Page 154: Logging Event Power-Inline-Status

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands logging event power-inline-status logging event power-inline-status Use the logging event power-inline-status interface configuration command to enable or disable the logging of Power over Ethernet (PoE) events. Use the no form of this command to disable the logging of PoE status events;...
  • Page 155: Logging File

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands logging file logging file Use the logging file global configuration command on the switch stack or on a standalone switch to set logging file parameters. Use the no form of this command to return to the default setting.
  • Page 156: Logging File

    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 3750 Switch Command Reference 2-130 78-16181-01...
  • Page 157: Mac Access-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-group mac access-group Use the mac access-group interface configuration command on the switch stack or on a standalone switch to apply a MAC access control list (ACL) to a Layer 2 interface. Use the no form of this command to remove all MAC ACLs or the specified MAC ACL from the interface.
  • Page 158 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-group Examples This example shows how to apply a MAC extended ACL named macacl2 to an interface: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# mac access-group macacl2 in You can verify your settings by entering the show mac access-group privileged EXEC command. You can view configured ACLs on the switch by entering the show access-lists privileged EXEC command.
  • Page 159: Mac Access-List Extended

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-list extended mac access-list extended Use the mac access-list extended global configuration command on the switch stack or on a standalone switch to create an access list based on MAC addresses for non-IP traffic. Using this command puts you in the extended MAC access list configuration mode.
  • Page 160 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-list extended Examples This example shows how to create a MAC named extended access list named mac1 and to enter extended MAC access list configuration mode: Switch(config)# mac access-list extended mac1...
  • Page 161: Mac Address-Table Aging-Time

    {0 | 10-1000000} [vlan vlan-id] no mac address-table aging-time {0 | 10-1000000} [vlan vlan-id] Note Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table aging-time command replaces the mac-address-table aging-time command (with the hyphen). Syntax Description This value disables aging. Static address entries are never aged or removed from the table.
  • Page 162 Chapter 2 Catalyst 3750 Switch 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 3750 Switch Command Reference 2-136 78-16181-01...
  • Page 163: Mac Address-Table Notification

    [history-size value] | [interval value] no mac address-table notification [history-size | interval] Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table notification command replaces Note the mac-address-table notification command (with the hyphen).
  • Page 164 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table notification Examples This example shows how to enable the MAC address-table notification feature, set the interval time to 60 seconds, and set the history-size to 100 entries: Switch(config)# mac address-table notification...
  • Page 165: Mac Address-Table Static

    [interface interface-id] Beginning with Cisco IOS Release 12.1(19)EA1, the mac address-table static command replaces the Note mac-address-table static command (with the hyphen).
  • Page 166 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static Related Commands Command Description show mac address-table static Displays static MAC address table entries only. Catalyst 3750 Switch Command Reference 2-140 78-16181-01...
  • Page 167: Mac Address-Table Static Drop

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static drop mac address-table static drop Use the mac address-table static drop global configuration command on the switch stack or on a standalone switch to enable unicast MAC address filtering and to configure the switch to drop traffic with a specific source or destination MAC address.
  • Page 168 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static drop Examples This example shows how to enable unicast MAC address filtering and to configure the switch to drop packets that have a source or destination address of c2f3.220a.12f4. When a packet is received in VLAN 4 with this MAC address as its source or destination, the packet is dropped: Switch(config)# mac address-table static c2f3.220a.12f4 vlan 4 drop...
  • Page 169: Macro Apply

    Any full match of a keyword, even if it is part of a larger string, is considered a match and is replaced by the corresponding value. There are Cisco-default SmartPort macros embedded in the switch software. You can view these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 170: Macro Apply

    Applying command...‘duplex auto’ %Error Unknown error. Applying command...‘speed nonegotiate’ This example shows how to see the Cisco-default cisco-desktop macro and how to apply the macro and set the access VLAN ID to 25 on an interface: Switch# show parser macro cisco-desktop...
  • Page 171: Macro Description

    Displays the configuration information currently running on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.2 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 3750 Switch Command Reference 2-145...
  • Page 172: Macro Description

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro description macro description Use the macro description interface configuration command on the switch stack or on a standalone switch to enter a description about which macros are applied to an interface. Use the no form of this command to remove the description.
  • Page 173: Macro Name

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro name macro name Use the macro name global configuration command on the switch stack or on a standalone switch to create a configuration macro. Use the no form of this command to delete the macro definition.
  • Page 174 Displays the macro definition for all macros or for the specified macro. show running-config Displays the current operating configuration, including defined macros. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 175: Match (Access-Map Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands match (access-map configuration) match (access-map configuration) Use the match access-map configuration command on the switch stack or on a standalone switch to set the VLAN map to match packets against one or more access lists. Use the no form of this command to remove the match parameters.
  • Page 176 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 Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands mac access-list extended Creates a named MAC address access list.
  • Page 177: Match (Class-Map Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands match (class-map configuration) match (class-map configuration) Use the match class-map configuration command on the switch stack or on a standalone switch to define the match criteria to classify traffic. Use the no form of this command to remove the match criteria.
  • Page 178 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands match (class-map configuration) Examples This example shows how to create a class map called class2, which matches all the incoming traffic with DSCP values of 10, 11, and 12: Switch(config)# class-map class2...
  • Page 179: Mdix Auto

    10/100/1000BASE-T/TX small form-factor pluggable (SFP)-module interfaces. It is not supported on 1000BASE-SX or -LX SFP module interfaces. In releases earlier than Cisco IOS Release 12.2(18)SE, the default setting is disabled. Examples This example shows how to enable Auto-MDIX on a port:...
  • Page 180 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mdix auto Related Commands Command Description show controllers Displays general information about internal registers of an interface, ethernet-controller including the operational state of Auto-MDIX. interface-id phy Catalyst 3750 Switch Command Reference 2-154...
  • Page 181: Mls Qos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos mls qos Use the mls qos global configuration command on the switch stack or on a standalone switch to enable quality of service (QoS) for the entire switch. When the mls qos command is entered, QoS is enabled with the default parameters on all ports in the system.
  • Page 182 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos Examples This example shows how to enable QoS on the switch: Switch(config)# mls qos You can verify your settings by entering the show mls qos privileged EXEC command. Related Commands...
  • Page 183: Mls Qos Aggregate-Policer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos aggregate-policer mls qos aggregate-policer Use the mls qos aggregate-policer global configuration command on the switch stack or on a standalone switch to define policer parameters, which can be shared by multiple classes within the same policy map.
  • Page 184 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos aggregate-policer You cannot delete an aggregate policer if it is being used in a policy map. You must first use the no police aggregate aggregate-policer-name policy-map class configuration command to delete the aggregate policer from all policy maps before using the no mls qos aggregate-policer aggregate-policer-name command.
  • Page 185: Mls Qos Cos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos cos mls qos cos Use the mls qos cos interface configuration command on the switch stack or on a standalone switch to define the default class of service (CoS) value of a port or to assign the default CoS to all incoming packets on the port.
  • Page 186 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos cos Examples This example shows how to configure the default port CoS to 4 on a port: Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# mls qos trust cos Switch(config-if)# mls qos cos 4...
  • Page 187: Mls Qos Dscp-Mutation

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos dscp-mutation mls qos dscp-mutation Use the mls qos dscp-mutation interface configuration command on the switch stack or on a standalone switch to apply a Differentiated Services Code Point (DSCP)-to-DSCP-mutation map to a DSCP-trusted port.
  • Page 188 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos dscp-mutation This example show how to remove the DSCP-to-DSCP-mutation map name dscpmutation1 from the port and to reset the map to the default: Switch(config-if)# no mls qos dscp-mutation dscpmutation1 You can verify your settings by entering the show mls qos maps privileged EXEC command.
  • Page 189: Mls Qos Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map mls qos map Use the mls qos map global configuration command on the switch stack or on a standalone switch to define the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map, DSCP-to-CoS map, the DSCP-to-DSCP-mutation map, the IP-precedence-to-DSCP map, and the policed-DSCP map.
  • Page 190 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map Defaults Table 2-6 shows the default CoS-to-DSCP map: Table 2-6 Default CoS-to-DSCP Map CoS Value DSCP Value Table 2-7 shows the default DSCP-to-CoS map: Table 2-7 Default DSCP-to-CoS Map DSCP Value 0–7...
  • Page 191 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map This example shows how to define the policed-DSCP map. DSCP values 1, 2, 3, 4, 5, and 6 are marked down to DSCP value 0. Marked DSCP values that not explicitly configured are not modified:...
  • Page 192: Mls Qos Queue-Set Output Buffers

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output buffers mls qos queue-set output buffers Use the mls qos queue-set output buffers global configuration command on the switch stack or on a standalone switch to allocate buffers to a queue-set (four egress queues per port). Use the no form of this command to return to the default setting.
  • Page 193 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output buffers Examples This example shows how to map a port to queue-set 2. It allocates 40 percent of the buffer space to egress queue 1 and 20 percent to egress queues 2, 3, and 4:...
  • Page 194: Mls Qos Queue-Set Output Threshold

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output threshold mls qos queue-set output threshold Use the mls qos queue-set output threshold global configuration command on the switch stack or on a standalone switch to configure the weighted tail-drop (WTD) thresholds, to guarantee the availability of buffers, and to configure the maximum memory allocation to a queue-set (four egress queues per port).
  • Page 195 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output threshold Usage Guidelines Use the mls qos queue-set output qset-id buffers global configuration command to allocate a fixed number of buffers to the four queues in a queue-set.
  • Page 196: Mls Qos Srr-Queue Input Bandwidth

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input bandwidth mls qos srr-queue input bandwidth Use the mls qos srr-queue input bandwidth global configuration command on the switch stack or on a standalone switch to assign shaped round robin (SRR) weights to an ingress queue. The ratio of the weights is the ratio of the frequency in which the SRR scheduler dequeues packets from each queue.
  • Page 197 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input bandwidth This example shows how to assign the ingress bandwidths for the queues in the stack. Queue 1 is the priority queue with 10 percent of the bandwidth allocated to it. The bandwidth ratio allocated to queues 1 and 2 is 4/(4+4).
  • Page 198: Mls Qos Srr-Queue Input Buffers

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input buffers mls qos srr-queue input buffers Use the mls qos srr-queue input buffers global configuration command on the switch stack or on a standalone switch to allocate the buffers between the ingress queues. Use the no form of this command to return to the default setting.
  • Page 199 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input buffers Related Commands Command Description mls qos srr-queue input bandwidth Assigns shaped round robin (SRR) weights to an ingress queue. mls qos srr-queue input cos-map Maps class of service (CoS) values to an ingress queue or maps CoS values to a queue and to a threshold ID.
  • Page 200: Mls Qos Srr-Queue Input Cos-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input cos-map mls qos srr-queue input cos-map Use the mls qos srr-queue input cos-map global configuration command on the switch stack or on a standalone switch to map class of service (CoS) values to an ingress queue or to map CoS values to a queue and to a threshold ID.
  • Page 201 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input cos-map Examples This example shows how to map CoS values 0 to 3 to ingress queue 1 and to threshold ID 1 with a drop threshold of 50 percent. It maps CoS values 4 and 5 to ingress queue 1 and to threshold ID 2 with a drop...
  • Page 202: Mls Qos Srr-Queue Input Dscp-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input dscp-map mls qos srr-queue input dscp-map Use the mls qos srr-queue input dscp-map global configuration command on the switch stack or on a standalone switch to map Differentiated Services Code Point (DSCP) values to an ingress queue or to map DSCP values to a queue and to a threshold ID.
  • Page 203 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input dscp-map Usage Guidelines The DSCP assigned at the ingress port selects an ingress or egress queue and threshold. The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. You can assign two weighted tail-drop (WTD) threshold percentages to an ingress queue by using the mls qos srr-queue input threshold global configuration command.
  • Page 204: Mls Qos Srr-Queue Input Priority-Queue

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input priority-queue mls qos srr-queue input priority-queue Use the mls qos srr-queue input priority-queue global configuration command on the switch stack or on a standalone switch to configure the ingress priority queue and to guarantee bandwidth on the stack ring if the ring is congested.
  • Page 205 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input priority-queue Examples This example shows how to assign the ingress bandwidths for the queues in the stack. Queue 1 is the priority queue with 10 percent of the bandwidth allocated to it. The bandwidth ratio allocated to queues 1 and 2 is 4/(4+4).
  • Page 206: Mls Qos Srr-Queue Input Threshold

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input threshold mls qos srr-queue input threshold Use the mls qos srr-queue input threshold global configuration command on the switch stack or on a standalone switch to assign weighted tail-drop (WTD) threshold percentages to an ingress queue. Use the no form of this command to return to the default setting.
  • Page 207 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input threshold Related Commands Command Description mls qos srr-queue input bandwidth Assigns shaped round robin (SRR) weights to an ingress queue. mls qos srr-queue input buffers Allocates the buffers between the ingress queues.
  • Page 208: Mls Qos Srr-Queue Output Cos-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output cos-map mls qos srr-queue output cos-map Use the mls qos srr-queue output cos-map global configuration command on the switch stack or on a standalone switch to map class of service (CoS) values to an egress queue or to map CoS values to a queue and to a threshold ID.
  • Page 209 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output cos-map Usage Guidelines The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. The egress queue default settings are suitable for most situations. You should change them only when...
  • Page 210: Mls Qos Srr-Queue Output Dscp-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output dscp-map mls qos srr-queue output dscp-map Use the mls qos srr-queue output dscp-map global configuration command on the switch stack or on a standalone switch to map Differentiated Services Code Point (DSCP) values to an egress or to map DSCP values to a queue and to a threshold ID.
  • Page 211 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output dscp-map Usage Guidelines The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. The egress queue default settings are suitable for most situations. You should change them only when...
  • Page 212: Mls Qos Trust

    (Optional) Classify an ingress packet by using the packet CoS value. For an untagged packet, use the port default CoS value. device cisco-phone (Optional) Classify ingress packets by trusting the value sent from the Cisco IP phone (trusted boundary). dscp (Optional) Classify an ingress packet by using the packet DSCP value (most significant 6 bits of 8-bit service-type field).
  • Page 213: Mls Qos Trust

    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 port connected to the IP phone.
  • Page 214: Monitor Session

    Switched Port Analyzer (SPAN) session or Remote SPAN (RSPAN) source or destination session, to enable ingress traffic on the destination port for a network security device (such as a Cisco IDS Sensor Appliance), to add or delete interfaces or VLANs to or from an existing SPAN or RSPAN session, and to limit (filter) SPAN source traffic to specific VLANs.
  • Page 215 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session untagged vlan vlan-id Specify ingress forwarding using untagged encapsulation with the specified VLAN as the default VLAN for ingress traffic vlan vlan-id When used with only the ingress keyword, set default VLAN for ingress traffic.
  • Page 216 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session Usage Guidelines Traffic that enters or leaves source ports or source VLANs can be monitored by using SPAN or RSPAN. Traffic routed to source ports or source VLANs cannot be monitored.
  • Page 217 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session When you enter monitor session session_number destination interface interface-id encapsulation • replicate ingress, egress encapsulation replicates the source interface encapsulation; ingress encapsulation depends on the keywords that follow—dot1q, isl, or untagged. (This applies to local SPAN only;...
  • Page 218 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session Related Commands Command Description remote-span Configures an RSPAN VLAN in vlan configuration mode. show monitor Displays SPAN and RSPAN session information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 219: Mvr (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) mvr (global configuration) Use the mvr global configuration command without keywords on the switch stack or on a standalone switch to enable the multicast VLAN registration (MVR) feature on the switch. Use the command with...
  • Page 220 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) Command Modes Global configuration Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines A maximum of 256 MVR multicast groups can be configured on a switch. Use the mvr group command to statically set up all the IP multicast addresses that will take part in MVR.
  • Page 221 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) This example shows how to delete all previously configured IP multicast addresses: Switch(config)# no mvr group Use the show mvr members privileged EXEC command to display the IP multicast group addresses configured on the switch.
  • Page 222: Mvr (Interface Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) mvr (interface configuration) Use the mvr interface configuration command on the switch stack or on a standalone switch to configure a Layer 2 port as a multicast VLAN registration (MVR) receiver or source port, to set the Immediate Leave feature, and to statically assign a port to an IP multicast VLAN and IP address.
  • Page 223 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) Usage Guidelines Configure a port as a source port if that port should be able to both send and receive multicast data bound for the configured multicast groups. Multicast data is received on all ports configured as source ports.
  • Page 224 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) This example shows how to disable Immediate Leave on a port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# no mvr immediate This example shows how to add a port on VLAN 1 as a static member of IP multicast group 228.1.23.4: Switch(config)# interface gigabitethernet1/0/2 Switch(config-if)# mvr vlan1 group 230.1.23.4...
  • Page 225: Pagp Learn-Method

    PAgP interoperability with devices that only support address learning by physical ports, such as the Catalyst 1900 switch. When the link partner to the Catalyst 3750 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 226 Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. Catalyst 3750 Switch Command Reference 2-200...
  • Page 227: Pagp Port-Priority

    PAgP interoperability with devices that only support address learning by physical ports, such as the Catalyst 1900 switch. When the link partner to the Catalyst 3750 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 228 Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. Catalyst 3750 Switch Command Reference 2-202...
  • Page 229: Permit

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit permit Use the permit MAC-access list configuration command on the switch stack or on a standalone switch to allow non-IP traffic to be forwarded if the conditions are matched. Use the no form of this command to remove a permit condition from the extended MAC access list.
  • Page 230 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit lsap lsap-number mask (Optional) Use the LSAP number (0 to 65535) of a packet with 802.2 encapsulation to identify the protocol of the packet. The mask is a mask of don’t care bits applied to the LSAP number before testing for a match.
  • Page 231 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit Usage Guidelines You enter MAC-access list configuration mode by using the mac access-list extended global configuration command. If you use the host keyword, you cannot enter an address mask; if you do not use the any or host keywords, you must enter an address mask.
  • Page 232: Police

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police police Use the police policy-map class configuration command on the switch stack or on a standalone switch to define a policer for classified traffic. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
  • Page 233 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police Examples This example shows how to configure a policer that drops packets if traffic exceeds 1 Mbps average rate with a burst size of 20 KB. The DSCPs of incoming packets are trusted, and there is no packet modification.
  • Page 234: Police Aggregate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police aggregate police aggregate Use the police aggregate policy-map class configuration command on the switch stack or on a standalone switch to apply an aggregate policer to multiple classes in the same policy map. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
  • Page 235 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police aggregate Examples This example shows how to define the aggregate policer parameters and to apply the policer to multiple classes in a policy map: Switch(config)# mls qos aggregate-policer agg_policer1 10000 1000000 exceed-action drop...
  • Page 236: Policy-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands policy-map policy-map Use the policy-map global configuration command on the switch stack or on a standalone switch to create or modify a policy map that can be attached to multiple ports and to enter policy-map configuration mode.
  • Page 237 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands policy-map You can configure class policies in a policy map only if the classes have match criteria defined for them. To configure the match criteria for a class, use the class-map global configuration and match class-map configuration commands.
  • Page 238: Port-Channel Load-Balance

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands port-channel load-balance port-channel load-balance Use the port-channel load-balance global configuration command on the switch stack or on a standalone switch to set the load-distribution method among the ports in the EtherChannel. Use the no form of this command to return to the default setting.
  • Page 239 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands port-channel load-balance Related Commands Command Description interface port-channel Accesses or creates the port channel. show etherchannel Displays EtherChannel information for a channel. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 240: Power Inline

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands power inline power inline Use the power inline interface configuration command on the switch stack or on a standalone switch to enable or disable the Power over Ethernet (PoE) ports. power inline {auto | never}...
  • Page 241 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands power inline Related Commands Command Description logging event Enables or disables logging of PoE events for all PoE ports. power-inline-status show controllers Displays the values in the registers of the specified PoE controller.
  • Page 242: Priority-Queue

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands priority-queue priority-queue Use the priority-queue interface configuration command to enable the egress expedite queue on a port. Use the no form of this command to return to the default setting. priority-queue out...
  • Page 243 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands priority-queue This example shows how to disable the egress expedite queue after the SRR shaped and shared weights are configured. The shaped mode overrides the shared mode. Switch(config)# interface gigabitethernet1/0/2 Switch(config-if)# srr-queue bandwidth shape 25 0 0 0...
  • Page 244: Queue-Set

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands queue-set queue-set Use the queue-set interface configuration command on the switch stack or on a standalone switch to map a port to a queue-set. Use the no form of this command to return to the default setting.
  • Page 245: Rcommand

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands rcommand rcommand Use the rcommand user EXEC command on the switch stack or on the cluster command switch to start a Telnet session and to execute commands on a cluster member switch from the cluster command switch or the switch stack.
  • Page 246 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands rcommand This command will not work if the vty lines of the cluster command switch have access-class configurations. You are not prompted for a password because the cluster member switches inherited the password of the cluster command switch when they joined the cluster.
  • Page 247: Reload

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reload reload Use the reload privileged EXEC command to reset the stack member and applies a configuration change into effect. reload [LINE | at | cancel | in | slot stack-member-number | standby-cpu]...
  • Page 248: Remote Command

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote command remote command Use the remote command privileged EXEC command to monitor all or specified stack members. remote command [all | stack-member-number] LINE Syntax Description stack-member-number Specify the stack member. The range is 1 to 9.
  • Page 249: Remote-Span

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command on the switch stack or on a standalone switch to configure a VLAN as a Remote Switched Port Analyzer (RSPAN) VLAN. Use the no form of this command to remove the RSPAN designation from the VLAN.
  • Page 250 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote-span Examples This example shows how to configure a VLAN as an RSPAN VLAN. Switch(config)# vlan 901 Switch(config-vlan)# remote-span This example shows how to remove the RSPAN feature from a VLAN. Switch(config)# vlan 901 Switch(config-vlan)# no remote-span You can verify your settings by entering the show vlan remote-span user EXEC command.
  • Page 251: Rmon Collection Stats

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands rmon collection stats rmon collection stats Use the rmon collection stats interface configuration command on the switch stack or on a standalone switch to collect Ethernet group statistics, which include usage statistics about broadcast and multicast packets, and error statistics about cyclic redundancy check (CRC) alignment errors and collisions.
  • Page 252: Sdm Prefer

    Use a template to provide maximum system usage for unicast routing or for VLAN configurationor to change an aggregator template (Catalyst 3750-12S only) to a desktop template. Use the no form of this command to return to the default template.
  • Page 253 • If you add a Catalyst 3750-12S switch that is running the aggregator template to a stack that has a desktop switch as the stack master, the stack operates with the desktop template selected on the stack master. This could cause configuration losses on the Catalyst 3750-12S stack member if the number of TCAM entries on it exceeds desktop template sizes.
  • Page 254 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands sdm prefer Table 2-15 Approximate Number of Feature Resources Allowed by Each Template (continued) Desktop Templates Aggregator Templates Resource Default Routing VLAN Default Routing VLAN Security ACEs Layer 2 VLANs Examples This example shows how to configure the routing template on a desktop switch:...
  • Page 255: Service Password-Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service password-recovery service password-recovery Use the service password-recovery global configuration command on the switch stack or on a standalone switch to enable the password-recovery mechanism (the default). This mechanism allows an end user with physical access to the switch to hold down the Mode button and interrupt the boot process while the switch is powering up and to assign a new password.
  • Page 256 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service password-recovery If you use the no service password-recovery command to control end user access to passwords, we Note recommend that you save a copy of the config file in a location away from the switch in case the end user uses the password recovery procedure and sets the system back to default values.
  • Page 257: Service-Policy

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service-policy service-policy Use the service-policy interface configuration command on the switch stack or on a standalone switch to apply a policy map defined by the policy-map command to the input of a port. Use the no form of this command to remove the policy map and port association.
  • Page 258 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service-policy Related Commands Command Description policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. show policy-map Displays quality of service (QoS) policy maps.
  • Page 259: Session

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands session session Use the session privileged EXEC command on the stack master to access a specific stack member. session stack-member-number Syntax Description stack-member-number Specify the current stack member number. The stack member number is in the range from 1 through 9.
  • Page 260: Set

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands Use the set policy-map class configuration command on the switch stack or on a standalone switch to classify IP traffic by setting a Differentiated Services Code Point (DSCP) or an IP-precedence value in the packet.
  • Page 261 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands Examples This example shows how to assign DSCP 10 to all FTP traffic without any policers: Switch(config)# policy-map policy_ftp Switch(config-pmap)# class ftp_class Switch(config-pmap-c)# set ip dscp 10 Switch(config-pmap)# exit You can verify your settings by entering the show policy-map privileged EXEC command.
  • Page 262: Setup

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup setup Use the setup privileged EXEC command to configure the switch with its initial configuration. setup Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History...
  • Page 263 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup Examples This is an example of output from the setup command: Switch# setup --- System Configuration Dialog --- Continue with configuration dialog? [yes/no]: yes At any point you may enter a question mark '?' for help.
  • Page 264: Configuration File Management Commands

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup The following configuration command script was created: hostname host-name enable secret 5 $1$LiBw$0Xc1wyT.PXPkuhFwqyhVi0 enable password enable-password line vty 0 15 password terminal-password snmp-server community public no ip routing interface GigabitEthernet6/0/1 no ip address...
  • Page 265: Setup Express

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup express setup express Use the setup express global configuration command to enable Express Setup mode on the switch stack or on a standalone switch. Use the no form of this command to disable Express Setup mode.
  • Page 266: Setup Express

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup express Examples This example shows how to enable Express Setup mode: Switch(config)# setup express You can verify that Express Setup mode is enabled by pressing the Mode button: On an unconfigured switch, the LEDs above the Mode button turn solid green after 3 seconds.
  • Page 267: Show Access-Lists

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show access-lists show access-lists Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch. show access-lists [name | number | hardware counters | ipc] [ | {begin | exclude | include}...
  • Page 268 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show access-lists Examples This is an example of output from the show access-lists command: Switch# show access-lists Standard IP access list 1 10 permit 1.1.1.1 20 permit 2.2.2.2 30 permit any 40 permit 0.255.255.255, wildcard bits 12.0.0.0 Standard IP access list videowizard_1-1-1-1 10 permit 1.1.1.1...
  • Page 269 Commands. ip access list Configures a named IP access list on the switch. For syntax information, select Cisco IOS IP Command Reference, Volume 1 of 3:Addressing and Services, Release 12.2 > IP Services Commands. mac access-list extended Configures a named or numbered MAC access list on the switch.
  • Page 270: Show Auto Qos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos show auto qos Use the show auto qos user EXEC command to display the initial configuration that is generated by the automatic quality of service (auto-QoS) feature. show auto qos [interface [interface-id]] [ | {begin | exclude | include} expression]...
  • Page 271 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos Examples This is an example of output from the show auto qos command when auto-QoS is enabled: Switch# show auto qos Initial configuration applied by AutoQoS: mls qos map cos-dscp 0 8 16 26 32 46 48 56...
  • Page 272 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos This is an example of output from the show auto qos interface command after the auto qos voip cisco-phone interface configuration command is entered: Switch# show auto qos interface...
  • Page 273: Show Boot

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show boot show boot Use the show boot privileged EXEC command to display the settings of the boot environment variables. show boot [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 274: Show Boot

    VM mode, reboots, and joins the switch stack. 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.
  • Page 275: Show Cable-Diagnostics Tdr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr show cable-diagnostics tdr Use the show cable-diagnostics tdr privileged EXEC command to display the Time Domain Reflector (TDR) results. show cable-diagnostics tdr interface interface-id [ | {begin | exclude | include} expression]...
  • Page 276 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr Table 2-17 Fields Descriptions for the show cable-diagnostics tdr Command Output (continued) Field Description Pair length Location on the cable where the problem is, with respect to your switch. TDR can only find the location in one of these cases: •...
  • Page 277: Show Class-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show class-map show class-map Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic. show class-map [class-map-name] [ | {begin | exclude | include} expression]...
  • Page 278: Show Cluster

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster show cluster Use the show cluster user EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on the cluster command switch and cluster member switches.
  • Page 279 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster This is an example of output when the show cluster command is entered on a cluster member switch: Switch1> show cluster Member switch for cluster "hapuna" Member number: Management IP address: 192.192.192.192...
  • Page 280: Show Cluster Candidates

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster candidates show cluster candidates Use the show cluster candidates privileged EXEC command on a switch stack or on a cluster command switch to display a list of candidate switches. show cluster candidates [detail | mac-address H.H.H.] [ | {begin | exclude | include} expression]...
  • Page 281: Show Cluster Candidates

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster candidates This is an example of output from the show cluster candidates command that uses the MAC address of a cluster member switch directly connected to the cluster command switch: Switch>...
  • Page 282: Show Cluster Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster members show cluster members Use the show cluster members privileged EXEC command on a switch stack or on a cluster command switch to display information about the cluster members. show cluster members [n | detail] [ | {begin | exclude | include} expression] Syntax Description (Optional) Number that identifies a cluster member.
  • Page 283: Show Cluster Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster members This is an example of output from the show cluster members for cluster member 3: Switch# show cluster members 3 Device 'SanJuan2' with member number 3 Device type: cisco WS-C3750-12T MAC address: 0002.4b29.4400...
  • Page 284: Show Controllers Cpu-Interface

    12.1(11)AX This command was 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 are not displayed, but the lines that contain Output are displayed.
  • Page 285 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers cpu-interface Supervisor ASIC receive-queue parameters ---------------------------------------- queue 0 maxrecevsize 5EE pakhead 1419A20 paktail 13EAED4 queue 1 maxrecevsize 5EE pakhead 15828E0 paktail 157FBFC queue 2 maxrecevsize 5EE pakhead 1470D40 paktail 1470FE4 queue 3 maxrecevsize 5EE pakhead 19CDDD0 paktail 19D02C8 <output truncated>...
  • Page 286: Show Controllers Ethernet-Controller

    This display without keywords provides traffic statistics, basically the RMON statistics for all interfaces or for the specified interface. When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
  • Page 287 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Examples This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-18 describes the Transmit fields, and Table 2-19 describes the Receive fields.
  • Page 288 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-18 Transmit Field Descriptions (continued) Field Description 5 collision frames The number of frames that are successfully sent on an interface after five collisions occur. 6 collision frames The number of frames that are successfully sent on an interface after six collisions occur.
  • Page 289 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-19 Receive Field Descriptions (continued) Field Description Unicast bytes The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits.
  • Page 290 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-19 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values.
  • Page 291 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller SupervisorDiag : 00000000 SupervisorFrameSizeLimit : 000007C8 SupervisorBroadcast : 000A0F01 GeneralIO : 000003F9 00000000 00000004 StackPcsInfo : FFFF1000 860329BD 5555FFFF FFFFFFFF FF0FFF00 86020000 5555FFFF 00000000 StackRacInfo : 73001630 00000003 7F001644 00000003...
  • Page 292 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller 0 Sup Queue 3 Drop Frames 0 Sup Queue 11 Drop Frames 0 Sup Queue 4 Drop Frames 0 Sup Queue 12 Drop Frames 0 Sup Queue 5 Drop Frames...
  • Page 293: Show Controllers Power Inline

    (Optional) Power controller instance, where each instance corresponds to four ports. For the Catalyst 3750-48PS switch, the range is from 0 to 11; for the Catalyst 3750-24PS switch, the range is from 0 to 5. If no instance is specified, all instances appear.
  • Page 294 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers power inline Port 4 Status Reg 0xF = 0x3 Power Status Reg 0x10 = 0xFF Pin Status Reg 0x11 = 0x0 Operating Mode Reg 0x12 = 0xAA Disconnect Enable Reg 0x13 = 0xA0...
  • Page 295: Show Controllers Tcam

    The asic [number] keywords were added. 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 296: Show Controllers Tcam

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers tcam Examples This is an example of output from the show controllers tcam command: Switch# show controllers tcam ------------------------------------------------------------------------ TCAM-0 Registers ------------------------------------------------------------------------ REV: 00B30103 SIZE: 00080040 00000000 CCR: 00000000_F0000020 RPID0:...
  • Page 297: Show Dot1X

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x show dot1x Use the show dot1x privileged EXEC command to display 802.1x statistics, administrative status, and operational status for the switch or for the specified port. show dot1x [all | interface interface-id | statistics interface interface-id] [ | {begin | exclude |...
  • Page 298: Show Dot1X

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x Examples This is an example of output from the show dot1x and the show dot1x all privileged EXEC commands: Switch# show dot1x Sysauthcontrol = Enabled Dot1x Protocol Version Dot1x Oper Controlled Directions...
  • Page 299 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x This is an example of output from the show dot1x statistics interface interface-id command. Table 2-20 describes the fields in the display. Switch# show dot1x statistics interface gigabitethernet1/0/1 PortStatistics Parameters for Dot1x...
  • Page 300: Show Dtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dtp show dtp Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information for the switch or for a specified interface. show dtp [interface interface-id] [ | {begin | exclude | include} expression]...
  • Page 301: Show Dtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dtp This is an example of output from the show dtp interface command: Switch# show dtp interface gigabitethernet1/0/1 DTP information for GigabitEthernet1/0/1: TOS/TAS/TNS: ACCESS/AUTO/ACCESS TOT/TAT/TNT: NATIVE/NEGOTIATE/NATIVE Neighbor address 1: 000943A7D081 Neighbor address 2:...
  • Page 302: Show Env

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env show env Use the show env user EXEC command to display fan, temperature, redundant power system (RPS) availability, and power information for the switch being accessed (standalone switch or stack master or stack member).
  • Page 303 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env This is an example of output from the show env fan command: Switch> show env fan FAN is OK This is an example of output from the show env stack command: Switch>...
  • Page 304: Show Errdisable Detect

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable detect show errdisable detect Use the show errdisable detect user EXEC command to display error-disable detection status. show errdisable detect [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 305: Show Errdisable Detect

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable detect Related Commands Command Description errdisable detect cause 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.
  • Page 306: Show Errdisable Flap-Values

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable flap-values show errdisable flap-values Use the show errdisable flap-values user EXEC command to display conditions that cause an error to be recognized for a cause. show errdisable flap-values [ | {begin | exclude | include} expression]...
  • Page 307 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable flap-values Related Commands Command Description errdisable detect cause 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.
  • Page 308: Show Errdisable Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable recovery show errdisable recovery Use the show errdisable recovery user EXEC command to display the error-disable recovery timer information. show errdisable recovery [ | {begin | exclude | include} expression]...
  • Page 309: Show Errdisable Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable recovery Related Commands Command Description errdisable recovery 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.
  • Page 310: Show Etherchannel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show etherchannel show etherchannel Use the show etherchannel user EXEC command to display EtherChannel information for a channel. show etherchannel [channel-group-number {detail | port | port-channel | protocol | summary}] {detail | load-balance | port | port-channel | protocol | summary} [ | {begin | exclude |...
  • Page 311 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show etherchannel Examples This is an example of output from the show etherchannel 1 detail command: Switch> show etherchannel 1 detail Group state = L2 Ports: 2 Maxports = 16 Port-channels: 1 Max Port-channels = 16...
  • Page 312 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show etherchannel This is an example of output from the show etherchannel 1 summary command: Switch> show etherchannel 1 summary Flags: D - down P - in port-channel I - stand-alone s - suspended...
  • Page 313: Show Flowcontrol

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show flowcontrol show flowcontrol Use the show flowcontrol user EXEC command to display the flow control status and statistics. show flowcontrol [interface interface-id | module module-slot] [ | {begin | exclude | include}...
  • Page 314 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show flowcontrol This is an example of output from the show flowcontrol interface interface-id command: Switch> show flowcontrol gigabitethernet2/0/2 Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin oper --------- -------- -------- -------- --------...
  • Page 315: Show Interfaces

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces show interfaces Use the show interfaces privileged EXEC command to display the administrative and operational status of all interfaces or a specified interface. show interfaces [interface-id | vlan vlan-id] [accounting | capabilities [module number] |...
  • Page 316 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Command Modes Privileged EXEC Command History Release Modification 12.1(11)AX This command was introduced. 12.1(14)EA1 Support for the capabilities keyword was added. Usage Guidelines The show interfaces capabilities command with different keywords has these results: Entering show interface capabilities module number displays the capabilities of all interfaces on •...
  • Page 317: Configuration Command

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces accounting command. Switch# show interfaces accounting Vlan1 Protocol Pkts In Chars In Pkts Out Chars Out 1094395 131900022 559555 84077157...
  • Page 318 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces etherchannel command when port channels are configured on the switch: Switch# show interfaces etherchannel ---- Port-channel1: Age of the Port-channel...
  • Page 319 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces status err-disabled command. It displays the status of interfaces in the error-disabled state. Switch# show interfaces status err-disabled Port Name...
  • Page 320 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Table 2-21 show interfaces switchport Field Descriptions (continued) Field Description Access Mode VLAN Displays the VLAN ID to which the port is configured. Trunking Native Mode VLAN Lists the VLAN ID of the trunk that is in native mode. Lists the allowed VLANs on the trunk.
  • Page 321: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters show interfaces counters Use the show interfaces counters privileged EXEC command to display various counters for the switch or for a specific interface. show interfaces [interface-id | vlan vlan-id] counters [broadcast | errors | module switch- number...
  • Page 322: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters Examples This is an example of partial output from the show interfaces counters command. It displays all counters for the switch. Switch# show interfaces counters Port InOctets InUcastPkts InMcastPkts...
  • Page 323 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters 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.
  • Page 324: Show Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping show ip dhcp snooping Use the show ip dhcp snooping user EXEC command to display the Dynamic Host Configuration Protocol (DHCP) snooping configuration. show ip dhcp snooping Syntax Description This command has no arguments or keywords.
  • Page 325: Show Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding show ip dhcp snooping binding Use the show ip dhcp snooping binding user EXEC command to display the Dynamic Host Configuration Protocol (DHCP) snooping binding table and configuration information for all interfaces on a switch.
  • Page 326: Show Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding This example shows how to display the DHCP snooping binding entries for a specific MAC address: Switch> show ip dhcp snooping binding 0102.0304.0506 MacAddress IpAddress Lease(sec) Type...
  • Page 327: Show Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp profile show ip igmp profile Use the show ip igmp profile privileged EXEC command to view all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile.
  • Page 328: Show Ip Igmp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping show ip igmp snooping Use the show ip igmp snooping user EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN.
  • Page 329 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping Examples This is an example of output from the show ip igmp snooping vlan 1 command. It shows snooping characteristics for a specific VLAN. Switch# show ip igmp snooping vlan 1...
  • Page 330: Show Ip Igmp Snooping Mrouter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping Related Commands Command Description ip igmp snooping Enables and configures IGMP snooping on the switch or on a VLAN. show ip igmp snooping mrouter Displays IGMP snooping multicast router ports for the switch or for the specified multicast VLAN.
  • Page 331: Show Ip Igmp Snooping Mrouter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping mrouter show ip igmp snooping mrouter Use the show ip igmp snooping mrouter privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN.
  • Page 332: Show Ip Igmp Snooping Groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping groups show ip igmp snooping groups Use the show ip igmp snooping groups privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping multicast table for the switch or the multicast information. Use with the vlan keyword to display the multicast table for a specified multicast VLAN or specific multicast information.
  • Page 333 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping groups Examples This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch. Switch# show ip igmp snooping groups...
  • Page 334: Show Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc show ipc Use the show ipc user EXEC command to display Interprocess Communications Protocol (IPC) configuration, status, and statistics on a switch stack or a standalone switch. show ipc {mcast {appclass | groups | status} | nodes | ports [open] | queue | rpc | session {all |...
  • Page 335: Show Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc Command History Release Modification 12.1(11)AX This command was introduced. 12.2(18)SE The mcast {appclass | groups | status}, rpc, session {all | rx | tx} [verbose], and cumulative keywords were added.
  • Page 336 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc 10000.8 unicast Slot 1 :MDFS.control.RIL port_index = 0 seat_id = 0x10000 last sent = 0 last heard = 0 0/0/0 RPC packets:current/peak/total 0/1/4 This example shows how to display the contents of the IPC retransmission queue: Switch>...
  • Page 337 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc Rx Side Tx Side Total Frames 12916 Total from Local Ports 13080 Total Protocol Control Frames Total Frames Dropped Service Usage Total via Unreliable Connection-Less Service 12783 Total via Unreliable Sequenced Connection-Less Svc Total via Reliable Connection-Oriented Service <output truncated>...
  • Page 338: Show Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp show lacp Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information. show lacp [channel-group-number] {counters | internal | neighbor | sys-id} [ | {begin | exclude |...
  • Page 339: Show Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp Examples This is an example of output from the show lacp counters user EXEC command. Table 2-22 describes the fields in the display. Switch> show lacp counters LACPDUs Marker Marker Response...
  • Page 340 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp Table 2-23 describes the fields in the display: Table 2-23 show lacp internal Field Descriptions Field Description State State of the specific port. These are the allowed values: – —Port is in an unknown state.
  • Page 341 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp This is an example of output from the show lacp neighbor command: Switch> show lacp neighbor Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs...
  • Page 342: Show Mac Access-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac access-group show mac access-group Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interface or a switch. show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]...
  • Page 343 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac access-group Related Commands Command Description mac access-group Applies a MAC access group to an interface. Catalyst 3750 Switch Command Reference 2-317 78-16181-01...
  • Page 344: Show Mac Address-Table

    MAC address table static and dynamic entries on a specific interface or VLAN. show mac address-table [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table command replaces the Note show mac-address-table command (with the hyphen).
  • Page 345 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 346: Show Mac Address-Table Address

    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(19)EA1, the show mac address-table address command Note replaces the show mac-address-table address command (with the hyphen).
  • Page 347 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table address Related Commands Command Description show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
  • Page 348: Show Mac Address-Table Aging-Time

    VLANs. show mac address-table aging-time [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table aging-time command Note replaces the show mac-address-table aging-time command (with the hyphen).
  • Page 349 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table aging-time Related Commands Command Description mac address-table aging-time Sets the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated.
  • Page 350: Show Mac Address-Table Count

    VLANs or the specified VLAN. show mac address-table count [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table count command replaces Note the show mac-address-table count command (with the hyphen).
  • Page 351 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table count Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 352: Show Mac Address-Table Dynamic

    [address mac-address] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table dynamic command Note replaces the show mac-address-table dynamic command (with the hyphen).
  • Page 353 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table dynamic Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 354: Show Mac Address-Table Interface

    VLAN. show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table interface command Note replaces the show mac-address-table interface command (with the hyphen).
  • Page 355 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table interface Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 356: Show Mac Address-Table Multicast

    The show mac address-table multicast command only shows non-IP multicast addresses. Use the show Note ip igmp snooping multicast user EXEC command to display IP multicast addresses. Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table multicast command Note replaces the show mac-address-table multicast command (with the hyphen).
  • Page 357 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table multicast Examples This is an example of output from the show mac address-table multicast command. It shows how to display all multicast entries for the switch. Switch> show mac address-table multicast...
  • Page 358: Show Mac Address-Table Notification

    [interface [interface-id]] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table notification command Note replaces the show mac-address-table notification command (with the hyphen).
  • Page 359 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table notification Examples This is an example of output from the show mac address-table notification command: Switch> show mac address-table notification MAC Notification Feature is Enabled on the switch Interval between Notification Traps : 60 secs...
  • Page 360: Show Mac Address-Table Static

    [address mac-address] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table static command replaces Note the show mac-address-table static command (with the hyphen).
  • Page 361 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table static Examples This is an example of output from the show mac address-table static command: Switch> show mac address-table static Mac Address Table ------------------------------------------ Vlan Mac Address Type Ports...
  • Page 362: Show Mac Address-Table Vlan

    VLAN. show mac address-table vlan vlan-id [ | {begin | exclude | include} expression] Beginning with Cisco IOS Release 12.1(19)EA1, the show mac address-table vlan command replaces Note the show mac-address-table vlan command (with the hyphen).
  • Page 363 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table vlan Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 364: Show Mls Qos

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos show mls qos Use the show mls qos user EXEC command to display global quality of service (QoS) configuration information. show mls qos [ | {begin | exclude | include} expression]...
  • Page 365: Show Mls Qos Aggregate-Policer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos aggregate-policer show mls qos aggregate-policer Use the show mls qos aggregate-policer user EXEC command to display the quality of service (QoS) aggregate policer configuration. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
  • Page 366: Show Mls Qos Input-Queue

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos input-queue show mls qos input-queue Use the show mls qos input-queue user EXEC command to display quality of service (QoS) settings for the ingress queues. show mls qos input-queue [ | {begin | exclude | include} expression]...
  • Page 367 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos input-queue Related Commands Command Description mls qos srr-queue input bandwidth Assigns shaped round robin (SRR) weights to an ingress queue. mls qos srr-queue input buffers Allocates the buffers between the ingress queues.
  • Page 368: Show Mls Qos Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface show mls qos interface Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the port level. show mls qos interface [interface-id] [buffers | queueing | statistics]...
  • Page 369 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface This is an example of output from the show mls qos interface interface-id buffers command: Switch> show mls qos interface gigabitethernet1/0/2 buffers GigabitEthernet1/0/2 The port is mapped to qset : 1 The allocations between the queues are : 25 25 25 25 This is an example of output from the show mls qos interface interface-id queueing command.
  • Page 370 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface cos: outgoing ------------------------------- 739155 Policer: Inprofile: 0 OutofProfile: Table 2-24 show mls qos interface statistics Field Descriptions Field Description DSCP incoming Number of packets received for each DSCP value.
  • Page 371: Show Mls Qos Maps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps show mls qos maps Use the show mls qos maps user EXEC command to display quality of service (QoS) mapping information. During classification, QoS uses the mapping tables to represent the priority of the traffic and to derive a corresponding class of service (CoS) or Differentiated Services Code Point (DSCP) value from the received CoS, DSCP, or IP precedence value.
  • Page 372: Show Mls Qos Maps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps The DSCP input queue threshold and the DSCP output queue threshold maps appear as a matrix. The d1 column specifies the most-significant digit of the DSCP number. The d2 row specifies the least-significant digit in the DSCP number.
  • Page 373 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps Dscp-inputq-threshold map: d1 :d2 -------------------------------------------------------------------- 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01...
  • Page 374: Show Mls Qos Queue-Set

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos queue-set show mls qos queue-set Use the show mls qos queue-set user EXEC command to display quality of service (QoS) settings for the egress queues. show mls qos queue-set [qset-id] [ | {begin | exclude | include} expression]...
  • Page 375 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos queue-set Related Commands Command Description mls qos queue-set output buffers Allocates buffers to the queue-set. mls qos queue-set output threshold Configures the weighted tail-drop (WTD) thresholds, guarantees the availability of buffers, and configures the maximum memory allocation of the queue-set.
  • Page 376: Show Monitor

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor show monitor Use the show monitor user EXEC command to display information about all Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show a specific session, all sessions, all local sessions, or all remote sessions.
  • Page 377 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor Examples This is an example of output for the show monitor user EXEC command: Switch# show monitor Session 1 --------- Type :Local Session Source Ports: RX Only: Fa4/0/24 TX Only:...
  • Page 378 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor This is an example of output for the show monitor session all user EXEC command when ingress traffic forwarding is enabled: Switch# show monitor session all Session 1 --------- Type...
  • Page 379: Show Mvr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr show mvr Use the show mvr privileged EXEC command without keywords to display the current Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
  • Page 380 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr Related Commands Command Description mvr (global configuration) Enables and configures multicast VLAN registration on the switch. mvr (interface configuration) Configures MVR ports. show mvr interface Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs when the interface and members keywords are appended to the command.
  • Page 381: Show Mvr Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr interface show mvr interface Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
  • Page 382 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr interface Examples This is an example of output from the show mvr interface command: Switch# show mvr interface Port Type Status Immediate Leave ---- ---- ------- --------------- Gi1/0/1 SOURCE ACTIVE/UP...
  • Page 383: Show Mvr Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr members show mvr members Use the show mvr members privileged EXEC command to display all receiver and source ports that are currently members of an IP multicast group. show mvr members [ip-address] [ | {begin | exclude | include} expression]...
  • Page 384: Show Mvr Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr members This is an example of output from the show mvr members ip-address command. It displays the members of the IP multicast group with that address: Switch# show mvr members 239.255.0.2 239.255.003.--22...
  • Page 385: Show Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show pagp show pagp Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information. show pagp [channel-group-number] {counters | internal | neighbor} [ | {begin | exclude |...
  • Page 386: Show Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show pagp This is an example of output from the show pagp 1 internal command: Switch> show pagp 1 internal Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
  • Page 387: Show Parser Macro

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show parser macro show parser macro Use the show parser macro user EXEC command to display the parameters for all configured macros or for one macro on the switch. show parser macro [{brief | description [interface interface-id] | name macro-name}] [ | {begin...
  • Page 388 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show parser macro This is an example of output from the show parser macro name command: Switch# show parser macro name standard-switch10 Macro name : standard-switch10 Macro type : customizable macro description standard-switch10...
  • Page 389: Show Policy-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show policy-map show policy-map Use the show policy-map user EXEC command to display quality of service (QoS) policy maps, which define classification criteria for incoming traffic. Policy maps can include policers that specify the bandwidth limitations and the action to take if the limits are exceeded.
  • Page 390 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show policy-map Related Commands Command Description policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. Catalyst 3750 Switch Command Reference 2-364 78-16181-01...
  • Page 391: Show Port-Security

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show port-security show port-security Use the show port-security privileged EXEC command to display port-security settings for an interface or for the switch. show port-security [interface interface-id] [address | vlan] [ | {begin | exclude | include}...
  • Page 392 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show port-security Examples This is an example of the output from the show port-security command: Switch# show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) ------------------------------------------------------------------------------- Gi1/0/1 Shutdown -------------------------------------------------------------------------------...
  • Page 393 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show port-security This is an example of output from the show port-security interface interface-id vlan command: Switch# show port-security interface gigabitethernet1/0/2 vlan Default maximum:not set, using 5120 VLAN Maximum Current default default...
  • Page 394: Show Power Inline

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show power inline show power inline Use the show power inline user EXEC command to show whether the Power over Ethernet (PoE) feature is enabled on the switch. show power inline [interface-id] | [module switch-number] [ | {begin | exclude | include}...
  • Page 395: Show Power Inline

    PoE is available. • Power The supplied PoE in watts Device The device type detected: n/a | unknown | Cisco PD | IEEE PD | <name from CDP> Class The IEEE classification: n/a | Class <0-4> Available...
  • Page 396 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show power inline Table 2-25 show power inline interface Field Descriptions (continued) Field Description Used The amount of PoE allocated to ports Remaining The amount of PoE not allocated to ports in the system. (Available - Used =...
  • Page 397: Show Sdm Prefer

    (Optional) Display the template that maximizes system resources for Layer 2 VLANs. desktop (Optional) For Catalyst 3750-12S aggregator switches only, display the desktop templates. For this switch, when you do not enter the desktop keyword, the aggregator templates appear. | begin (Optional) Display begins with the line that matches the expression.
  • Page 398: Show Sdm Prefer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show sdm prefer Examples This is an example of output from the show sdm prefer command, displaying the template in use: Switch# show sdm prefer The current template is "desktop default" template.
  • Page 399 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show sdm prefer This is an example of output from the show sdm prefer command when you have configured a new template but have not reloaded the switch: Switch# show sdm prefer The current template is "desktop routing"...
  • Page 400: Show Setup Express

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show setup express show setup express Use the show setup express privileged EXEC command to display if Express Setup mode is active on the switch. show setup express [ | {begin | exclude | include} expression]...
  • Page 401: Show Spanning-Tree

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree show spanning-tree Use the show spanning-tree user EXEC command to display spanning-tree state information. show spanning-tree [bridge-group | active [detail] | backbonefast | blockedports | bridge | detail [active] | inconsistentports | interface interface-id | mst | pathcost method | root | summary...
  • Page 402 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree mst [configuration | (Optional) Display the multiple spanning-tree (MST) region [instance-id [detail | configuration and status (available only in privileged EXEC mode). You interface interface-id can specify a single instance ID, a range of IDs separated by a hyphen, or [detail]] a series of IDs separated by a comma.
  • Page 403 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree Examples This is an example of output from the show spanning-tree active command: Switch# show spanning-tree active VLAN0001 Spanning tree enabled protocol ieee Root ID Priority 32768 Address 0001.42e2.cdd0 Cost...
  • Page 404 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree This is an example of output from the show spanning-tree interface interface-id command: Switch# show spanning-tree interface gigabitethernet2/0/1 Vlan Role Sts Cost Prio.Nbr Type ---------------- ---- --- --------- -------- --------------------------------...
  • Page 405 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree This is an example of output from the show spanning-tree mst interface interface-id command: Switch# show spanning-tree mst interface gigabitethernet2/0/1 GigabitEthernet2/0/1 of MST00 is root forwarding Edge port: no (default)
  • Page 406 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree Command Description spanning-tree mst max-age 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 an MST region before the BPDU is discarded and the information held for an interface is aged.
  • Page 407: Show Storm-Control

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show storm-control show storm-control Use the show storm-control user EXEC command to display broadcast, multicast, or unicast storm control settings on the switch or on the specified interface or to display storm-control history.
  • Page 408 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show storm-control This is an example of output from the show storm-control command for a specified interface. Because no traffic type keyword was entered, the broadcast storm control settings appear. Switch> show storm-control gigabitethernet 2/0/1...
  • Page 409: Show Switch

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch show switch Use the show switch user EXEC command to display information related to the stack member or the switch stack. show switch [stack-member-number | detail | neighbors | stack-ports] [ | {begin | exclude |...
  • Page 410: Show Switch

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch Ver Mismatch—The stage of a switch in version mismatch (VM) mode. VM mode is when a switch • joining the switch stack has a different stack protocol minor version number from the stack master.
  • Page 411 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch This example shows how to display stack-port information for a switch stack: Switch(config)# show switch stack-ports Switch # Port A Port B -------- ------ ------ Down Down Related Commands Command...
  • Page 412: Show System Mtu

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show system mtu show system mtu Use the show system mtu privileged EXEC command to display the global maximum transmission unit (MTU) or maximum packet size set for the switch. show system mtu [ | {begin | exclude | include} expression]...
  • Page 413: Show Udld

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show udld show udld Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port. show udld [interface-id] [ | {begin | exclude | include} expression]...
  • Page 414: Message Interval

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show udld Table 2-27 show udld Field Descriptions Field Description Interface The interface on the local device configured for UDLD. Port enable administrative How UDLD is configured on the port. If UDLD is enabled or...
  • Page 415 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show udld Related Commands Command Description udld Enables aggressive or normal mode in UDLD or sets the configurable message timer time. udld port Enables UDLD on an individual interface or prevents a fiber-optic interface from being enabled by the udld global configuration command.
  • Page 416: Show Version

    This is an example of output from the show version command: Switch> show version Cisco Internetwork Operating System Software IOS (tm) C3750 Software (C3750-I5-M), Version 12.1(0.0.709)EA1, CISCO DEVELOPMENT TEST VERSION Copyright (c) 1986-2003 by cisco Systems, Inc. Compiled Fri 02-May-03 21:09 by antonino...
  • Page 417 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show version Motherboard assembly number : 73-7056-05 Motherboard serial number : CSJ0638004U Motherboard revision number : 05 Model number : 73-7056-05 Switch Ports Model SW Version SW Image ------ ----- ----- ----------...
  • Page 418: Show Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan show vlan Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.
  • Page 419: Table

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan Examples This is an example of output from the show vlan command. Table 2-28 describes the fields in the display. Switch> show vlan VLAN Name Status Ports ---- -------------------------------- --------- -------------------------------...
  • Page 420 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan Table 2-28 show vlan Command Output Fields (continued) Field Description BrdgNo Bridge number for the VLAN, if applicable. Spanning Tree Protocol type used on the VLAN. BrdgMode Bridging mode for this VLAN—possible values are source-route bridging (SRB) and source-route transparent (SRT);...
  • Page 421 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan Related Commands Command Description switchport mode Configures the VLAN membership mode of a port. vlan (global Enables config-vlan mode where you can configure VLANs 1 to 4094. configuration) vlan (VLAN Configures VLAN characteristics in the VLAN database.
  • Page 422: Show Vlan Access-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan access-map show vlan access-map Use the show vlan access-map privileged EXEC command to display information about a particular VLAN access map or for all VLAN access maps. show vlan access-map [mapname] [ | {begin | exclude | include} expression]...
  • Page 423: Show Vlan Filter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan filter show vlan filter Use the show vlan filter privileged EXEC command to display information about all VLAN filters or about a particular VLAN or VLAN access map. show vlan filter [access-map name | vlan vlan-id] [ | {begin | exclude | include} expression]...
  • Page 424: Show Vmps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vmps show vmps Use the show vmps user EXEC command without keywords to display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, and the current and primary servers, or use the statistics keyword to display client-side statistics.
  • Page 425: Show Vmps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vmps This is an example of output from the show vmps statistics command. Table 2-29 describes each field in the display. Switch> show vmps statistics VMPS Client Statistics ---------------------- Queries: Responses:...
  • Page 426 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vmps Related Commands Command Description clear vmps statistics Clears the statistics maintained by the VQP client. vmps reconfirm Sends VQP queries to reconfirm all dynamic VLAN assignments with the (privileged EXEC) VMPS.
  • Page 427: Show Vtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp show vtp Use the show vtp user EXEC command to display general information about the VLAN Trunking Protocol (VTP) management domain, status, and counters. show vtp {counters | password | status} [ | {begin | exclude | include} expression]...
  • Page 428 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Fa1/0/47 Fa1/0/48 Gi2/0/1 Gi3/0/2 Table 2-30 show vtp counters Field Descriptions Field...
  • Page 429 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp Table 2-30 show vtp counters Field Descriptions (continued) Field Description Number of configuration Number of MD5 digest errors. digest errors Digest errors increment whenever the MD5 digest in the summary packet and the MD5 digest of the received advertisement calculated by the switch do not match.
  • Page 430 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp Table 2-31 show vtp status Field Descriptions (continued) Field Description VTP Operating Mode Displays the VTP operating mode, which can be server, client, or transparent. Server: a switch in VTP server mode is enabled for VTP and sends advertisements.
  • Page 431: Shutdown

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands shutdown shutdown Use the shutdown interface configuration command on the switch stack or on a standalone switch to disable an interface. Use the no form of this command to restart a disabled interface.
  • Page 432: Shutdown Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands shutdown vlan shutdown vlan Use the shutdown vlan global configuration command on the switch stack or on a standalone switch to shut down (suspend) local traffic on the specified VLAN. Use the no form of this command to restart local traffic on the VLAN.
  • Page 433: Snmp-Server Enable Traps

    (Optional) Generate a trap when a switch (flash) is removed from a stack, either physically or because of a power cycle or reload. fru-ctrl (Optional) Generate entity FRU control traps. In the Catalyst 3750 switch stack, this trap refers to the insertion or removal of a switch in the stack. hsrp (Optional) Enable Hot Standby Router Protocol (HSRP) traps.
  • Page 434 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server enable traps (Optional) Enable Protocol-Independent Multicast (PIM) traps. invalid-pim-message (Optional) Enable invalid PIM message traps. neighbor-change (Optional) Enable PIM neighbor-change traps. rp-mapping-change (Optional) Enable rendezvous point (RP)-mapping change traps. port-security (Optional) Enable SNMP port security traps.
  • Page 435 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server enable traps Usage Guidelines Specify the host (NMS) that receives the traps by using the snmp-server host global configuration command. If no trap types are specified, all trap types are sent.
  • Page 436: Snmp-Server Host

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server host snmp-server host Use the snmp-server host global configuration command on the switch stack or on a standalone switch to specify the recipient (host) of a Simple Network Management Protocol (SNMP) notification operation.
  • Page 437 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server host envmon (Optional) Generate environmental monitor traps. flash (Optional) Enable SNMP FLASH notifications. fru-ctrl (Optional) Generate entity FRU control traps. In the switch stack, this trap refers to the insertion or removal of a switch in the stack.
  • Page 438 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server host Release Modification 12.1(14)EA1 The bgp, copy-config, flash, port-security, stpx, syslog, vlancreate, and vlandelete keywords were added. 12.2(18)SE The ipmulticast, msdp, and pim keywords were added. The command syntax was changed.
  • Page 439 The community string is defined as comaccess: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com comaccess snmp This example shows how to enable the switch to send all traps to the host myhost.cisco.com by using the community string public: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com public...
  • Page 440: Snmp Trap Mac-Notification

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp trap mac-notification snmp trap mac-notification Use the snmp trap mac-notification interface configuration command on the switch stack or on a standalone switch to enable the Simple Network Management Protocol (SNMP) MAC address notification trap on a specific Layer 2 interface.
  • Page 441 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp trap mac-notification Related Commands Command Description clear mac address-table notification Clears the MAC address notification global counters. mac address-table notification Enables the MAC address notification feature. show mac address-table notification Displays the MAC address notification settings for all interfaces or on the specified interface when the interface keyword is appended.
  • Page 442: Spanning-Tree Backbonefast

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree backbonefast spanning-tree backbonefast Use the spanning-tree backbonefast global configuration command on the switch stack or on a standalone switch to enable the BackboneFast feature. Use the no form of the command to return to the default setting.
  • Page 443: Spanning-Tree Bpdufilter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpdufilter spanning-tree bpdufilter Use the spanning-tree bpdufilter interface configuration command on the switch stack or on a standalone switch to prevent an interface from sending or receiving bridge protocol data units (BPDUs).
  • Page 444 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpdufilter Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 445: Spanning-Tree Bpduguard

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpduguard spanning-tree bpduguard Use the spanning-tree bpduguard interface configuration command on the switch stack or on a standalone switch to put an interface in the error-disabled state when it receives a bridge protocol data unit (BPDU).
  • Page 446 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpduguard Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 447: Spanning-Tree Cost

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree cost spanning-tree cost Use the spanning-tree cost interface configuration command on the switch stack or on a standalone switch to set the path cost for spanning-tree calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to place in the forwarding state.
  • Page 448 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree cost This example shows how to set a path cost to 300 for VLANs 10, 12 to 15, and 20: Switch(config-if)# spanning-tree vlan 10,12-15,20 cost 300 You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command.
  • Page 449: Spanning-Tree Etherchannel Guard Misconfig

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree etherchannel guard misconfig spanning-tree etherchannel guard misconfig Use the spanning-tree etherchannel guard misconfig global configuration command to display an error message when the switch detects an EtherChannel misconfiguration. Use the no form of this command to disable the feature.
  • Page 450 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree etherchannel guard misconfig Related Commands Command Description errdisable recovery cause Enables the timer to recover from the EtherChannel channel-misconfig misconfiguration error-disable state. show etherchannel summary Displays EtherChannel information for a channel as a one-line summary per channel-group.
  • Page 451: Spanning-Tree Extend System-Id

    ID unique for each VLAN or multiple spanning-tree instance. Because the Catalyst 3750 switch stack appears as a single switch to the rest of the network, all switches in the stack use the same bridge ID for a given spanning tree. If the stack master fails, the stack members recalculate their bridge IDs of all running spanning trees based on the new MAC address of the stack master.
  • Page 452 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree extend system-id Related Commands Command Description show spanning-tree summary Displays a summary of spanning-tree interface states. spanning-tree mst root Configures the MST root switch priority and timers based on the network diameter.
  • Page 453: Spanning-Tree Guard

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree guard spanning-tree guard Use the spanning-tree guard interface configuration command on the switch stack or on a standalone switch to enable root guard or loop guard on all the VLANs associated with the selected interface. Root guard restricts which interface is allowed to be the spanning-tree root port or the path-to-the root for the switch.
  • Page 454 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree guard Loop guard is most effective when it is configured on the entire switched network. When the switch is operating in PVST+ or rapid-PVST+ mode, loop guard prevents alternate and root ports from becoming designated ports, and spanning tree does not send bridge protocol data units (BPDUs) on root or alternate ports.
  • Page 455: Spanning-Tree Link-Type

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree link-type spanning-tree link-type Use the spanning-tree link-type interface configuration command on the switch stack or on a standalone switch to override the default link-type setting, which is determined by the duplex mode of the interface, and to enable rapid spanning-tree transitions to the forwarding state.
  • Page 456 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree link-type Related Commands Command Description clear spanning-tree detected-protocols Restarts the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface. show spanning-tree interface Displays spanning-tree state information for the specified interface-id interface.
  • Page 457: Spanning-Tree Loopguard Default

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree loopguard default spanning-tree loopguard default Use the spanning-tree loopguard default global configuration command on the switch stack or on a standalone switch to prevent alternate or root ports from becoming designated ports because of a failure that leads to a unidirectional link.
  • Page 458 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree loopguard default Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 459: Spanning-Tree Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mode spanning-tree mode Use the spanning-tree mode global configuration command on the switch stack or on a standalone switch to enable per-VLAN spanning-tree plus (PVST+), rapid PVST+, or multiple spanning tree (MST) on your switch.
  • Page 460 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mode Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 461: Spanning-Tree Mst Configuration

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst configuration spanning-tree mst configuration Use the spanning-tree mst configuration global configuration command on the switch stack or on a standalone switch to enter multiple spanning-tree (MST) configuration mode through which you configure the MST region.
  • Page 462 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst configuration When you map VLANs to an MST instance, the mapping is incremental, and VLANs specified in the command are added to or removed from the VLANs that were previously mapped. To specify a range, use a hyphen;...
  • Page 463: Spanning-Tree Mst Cost

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst cost spanning-tree mst cost Use the spanning-tree mst cost interface configuration command on the switch stack or on a standalone switch to set the path cost for multiple spanning-tree (MST) calculations. If a loop occurs, spanning tree considers the path cost when selecting an interface to put in the forwarding state.
  • Page 464 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst cost Related Commands 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.
  • Page 465: Spanning-Tree Mst Forward-Time

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst forward-time spanning-tree mst forward-time Use the spanning-tree mst forward-time global configuration command on the switch stack or on a standalone switch to set the forward-delay time for all multiple spanning-tree (MST) instances. The forwarding time specifies how long each of the listening and learning states last before the interface begins forwarding.
  • Page 466: Spanning-Tree Mst Hello-Time

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst hello-time spanning-tree mst hello-time Use the spanning-tree mst hello-time global configuration command on the switch stack or on a standalone switch to set the interval between hello bridge protocol data units (BPDUs) sent by root switch configuration messages.
  • Page 467: Spanning-Tree Mst Max-Age

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-age spanning-tree mst max-age Use the spanning-tree mst max-age global configuration command on the switch stack or on a standalone switch to set the interval between messages that the spanning tree receives from the root switch.
  • Page 468 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-age Related Commands Command Description show spanning-tree Displays MST information. spanning-tree mst forward-time 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.
  • Page 469: Spanning-Tree Mst Max-Hops

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-hops spanning-tree mst max-hops Use the spanning-tree mst max-hops global configuration command on the switch stack or on a standalone switch to set the number of hops in a region before the bridge protocol data unit (BPDU) is discarded and the information held for an interface is aged.
  • Page 470 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-hops Related Commands Command Description show spanning-tree Displays MST information. spanning-tree mst forward-time 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.
  • Page 471: Spanning-Tree Mst Port-Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst port-priority spanning-tree mst port-priority Use the spanning-tree mst port-priority interface configuration command on the switch stack or on a standalone switch to configure an interface priority. If a loop occurs, the Multiple Spanning Tree Protocol (MSTP) can find the interface to put in the forwarding state.
  • Page 472 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst port-priority Related Commands Command Description show spanning-tree mst interface 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.
  • Page 473: Spanning-Tree Mst Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst priority spanning-tree mst priority Use the spanning-tree mst priority global configuration command on the switch stack or on a standalone switch to set the switch priority for the specified spanning-tree instance. Use the no form of this command to return to the default setting.
  • Page 474: Spanning-Tree Mst Root

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst root spanning-tree mst root Use the spanning-tree mst root global configuration command on the switch stack or on a standalone switch to configure the multiple spanning-tree (MST) root switch priority and timers based on the network diameter.
  • Page 475 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst root When you enter the spanning-tree mst instance-id root secondary command, because of support for the extended system ID, the software changes the switch priority from the default value (32768) to 28672.
  • Page 476: Spanning-Tree Port-Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree port-priority spanning-tree port-priority Use the spanning-tree port-priority interface configuration command on the switch stack or on a standalone switch to configure an interface priority. If a loop occurs, spanning tree can find the interface to put in the forwarding state.
  • Page 477 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree port-priority This example shows how to set the port-priority value on VLANs 20 to 25: Switch(config-if)# spanning-tree vlan 20-25 port-priority 0 You can verify your settings by entering the show spanning-tree interface interface-id privileged EXEC command.
  • Page 478: Spanning-Tree Portfast (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (global configuration) spanning-tree portfast (global configuration) Use the spanning-tree portfast global configuration command on the switch stack or on a standalone switch to globally enable bridge protocol data unit (BPDU) filtering on Port Fast-enabled interfaces, the BPDU guard feature on Port Fast-enabled interfaces, or the Port Fast feature on all nontrunking interfaces.
  • Page 479 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (global configuration) Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in Caution spanning-tree loops. Use the spanning-tree portfast bpduguard default global configuration command to globally enable BPDU guard on interfaces that are in a Port Fast-operational state.
  • Page 480: Spanning-Tree Portfast (Interface Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (interface configuration) spanning-tree portfast (interface configuration) Use the spanning-tree portfast interface configuration command on the switch stack or on a standalone switch to enable the Port Fast feature on an interface in all its associated VLANs. When the Port Fast feature is enabled, the interface changes directly from a blocking state to a forwarding state without making the intermediate spanning-tree state changes.
  • Page 481 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (interface configuration) Examples This example shows how to enable the Port Fast feature on a port: Switch(config)# interface gigabitethernet2/0/2 Switch(config-if)# spanning-tree portfast You can verify your settings by entering the show running-config privileged EXEC command.
  • Page 482: Spanning-Tree Uplinkfast

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree uplinkfast spanning-tree uplinkfast Use the spanning-tree uplinkfast global configuration command on the switch stack or on a standalone switch to accelerate the choice of a new root port when a link or switch fails or when the spanning tree reconfigures itself.
  • Page 483 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree uplinkfast Do not enable the root guard on interfaces that will be used by the UplinkFast feature. With UplinkFast, the backup interfaces (in the blocked state) replace the root port in the case of a failure. However, if root guard is also enabled, all the backup interfaces used by the UplinkFast feature are placed in the root-inconsistent state (blocked) and prevented from reaching the forwarding state.
  • Page 484: Spanning-Tree Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree vlan spanning-tree vlan Use the spanning-tree vlan global configuration command on the switch stack or on a standalone switch to configure spanning tree on a per-VLAN basis. Use the no form of this command to return to the default setting.
  • Page 485 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree vlan The primary root switch priority is 24576. The secondary root switch priority is 28672. Command Modes Global configuration Command History Release Modification 12.1(11)AX This command was introduced. 12.1(14)EA1 The value for the vlan-id variable was changed.
  • Page 486 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree vlan This example shows how to set the spanning-tree forwarding time to 18 seconds for VLANs 20 and 25: Switch(config)# spanning-tree vlan 20,25 forward-time 18 This example shows how to set the spanning-tree hello-delay time to 3 seconds for VLANs 20 to 24:...
  • Page 487: Speed

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands speed speed Use the speed interface configuration command on the switch stack or on a standalone switch to specify the speed of a 10/100 Mbps or 10/100/1000 Mbps port. Use the no or default form of this command to return the port to its default value.
  • Page 488 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands speed If both ends of the line support autonegotiation, we highly recommend the default autonegotiation settings. If one interface supports autonegotiation and the other end does not, do use the auto setting on the supported side, but set the duplex and speed on both interfaces.
  • Page 489: Srr-Queue Bandwidth Limit

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth limit srr-queue bandwidth limit Use the srr-queue bandwidth limit interface configuration command on the switch stack or on a standalone switch to limit the maximum output on a port. Use the no form of this command to return to the default setting.
  • Page 490 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth limit Related Commands Command Description mls qos queue-set output buffers Allocates buffers to the queue-set. mls qos srr-queue output cos-map Maps class of service (CoS) values to egress queue or maps CoS values to a queue and to a threshold ID.
  • Page 491: Srr-Queue Bandwidth Shape

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth shape srr-queue bandwidth shape Use the srr-queue bandwidth shape interface configuration command on the switch stack or on a standalone switch to assign the shaped weights and to enable bandwidth shaping on the four egress queues mapped to a port.
  • Page 492 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth shape Examples This example shows how to configure the queues for the same port for both shaping and sharing. Because the weight ratios for queues 2, 3, and 4 are set to 0, these queues operate in shared mode. The bandwidth weight for queue 1 is 1/8, which is 12.5 percent.
  • Page 493: Srr-Queue Bandwidth Share

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth share srr-queue bandwidth share Use the srr-queue bandwidth share interface configuration command on the switch stack or on a standalone switch to assign the shared weights and to enable bandwidth sharing on the four egress queues mapped to a port.
  • Page 494 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth share Examples This example shows how to configure the weight ratio of the SRR scheduler running on an egress port. Four queues are used. The bandwidth ratio allocated for each queue in shared mode is 1/(1+2+3+4), 2/(1+2+3+4), 3/(1+2+3+4), and 4/(1+2+3+4), which is 10 percent, 20 percent, 30 percent, and 40 percent for queues 1, 2, 3, and 4.
  • Page 495: Storm-Control

    When the storm control threshold for multicast traffic is reached, all multicast traffic except control traffic, such as bridge protocol data unit (BDPU) and Cisco Discovery Protocol (CDP) frames, are blocked. However, the switch does not differentiate between routing updates, such as Open Shortest Path First (OSPF) and regular multicast data traffic, so both types of traffic are blocked.
  • Page 496 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands storm-control Examples This example shows how to enable multicast storm control on a port with a 75.5 percent threshold level: Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# storm-control multicast level 75.5 This example shows how to disable multicast storm control on a port:...
  • Page 497: Switch Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch priority switch priority Use the switch priority global configuration command on the stack master to change the stack member priority value. switch stack-member-number priority new-priority-value Syntax Description priority new-priority-value Specify the new stack member priority value. The range is 1 to 15.
  • Page 498: Switch Renumber

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch renumber switch renumber Use the switch renumber global configuration command on the stack master to change the stack member number. switch current-stack-member-number renumber new-stack-member-number Syntax Description renumber Specify the new stack member number for the stack member. The new-stack-member-number range is 1 to 9.
  • Page 499 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch renumber Related Commands Command Description reload Resets the stack member and puts a configuration change into effect. session Accesses a specific stack member. switch priority Changes the stack member priority value.
  • Page 500: Switchport

    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 501 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport You can verify the switchport status of an interface by entering the show running-config 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.
  • Page 502: Switchport Access

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport access switchport access Use the switchport access interface configuration command on the switch stack or on a standalone switch to configure a port as a static-access or dynamic-access port. If the switchport mode is set to access, the port operates as a member of the specified VLAN.
  • Page 503: Switchport Access

    The software implements the VLAN Query Protocol (VQP) client, which can query a VMPS such • as a Catalyst 6000 series switch. The Catalyst 3750 switches are not VMPS servers. The VMPS server must be configured before a port is configured as dynamic.
  • Page 504: Switchport Block

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport block switchport block Use the switchport block interface configuration command on the switch stack or on a standalone switch to prevent unknown multicast or unicast packets from being forwarded. Use the no form of this command to allow forwarding unknown multicast or unicast packets.
  • Page 505: Switchport Host

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport host switchport host Use the switchport host interface configuration command on the switch stack or on a standalone switch to optimize a Layer 2 port for a host connection. The no form of this command has no affect on the system.
  • Page 506: Switchport Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport mode switchport mode Use the switchport mode interface configuration command on the switch stack or on a standalone switch to configure the VLAN membership mode of a port. Use the no form of this command to reset the mode to the appropriate default for the device.
  • Page 507: Switchport Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport mode To autonegotiate trunking, the interfaces must be in the same VTP domain. Trunk negotiation is managed by the Dynamic Trunking Protocol (DTP), which is a point-to-point protocol. However, some internetworking devices might forward DTP frames improperly, which could cause misconfigurations.
  • Page 508: Switchport Nonegotiate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport nonegotiate switchport nonegotiate Use the switchport nonegotiate interface configuration command on the switch stack or on a standalone switch to specify that Dynamic Trunking Protocol (DTP) negotiation packets are not sent on the Layer 2 interface.
  • Page 509 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport nonegotiate 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.
  • Page 510: Switchport Port-Security

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security switchport port-security Use the switchport port-security interface configuration command without keywords on the switch stack or on a standalone switch to enable port security on the interface. Use the keywords to configure secure MAC addresses, sticky MAC address learning, a maximum number of secure MAC addresses, or the violation mode.
  • Page 511 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security protect Set the security violation protect mode. In this mode, when the number of port secure MAC addresses reaches the maximum limit allowed on the port, packets with unknown source addresses are dropped until you...
  • Page 512 VLAN. When the port is connected to a Cisco IP phone, the Cisco IP phone requires up to two MAC addresses. The Cisco IP phone address is learned on the voice VLAN and might also be learned on the access VLAN.
  • Page 513 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security Sticky secure MAC addresses have these characteristics: When you enable sticky learning on an interface by using the switchport port-security • mac-address sticky interface configuration command, the interface converts all the dynamic secure...
  • Page 514 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security Related Commands Command Description show port-security address Displays all the secure addresses configured on the switch. show port-security Displays port security configuration for the switch or for the interface interface-id specified interface.
  • Page 515: Switchport Port-Security Aging

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security aging switchport port-security aging Use the switchport port-security aging interface configuration command on the switch stack or on a standalone switch to set the aging time and type for secure address entries or to change the aging behavior for secure addresses on a particular port.
  • Page 516 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security aging Examples This example sets the aging time as 2 hours for absolute aging for all the secure addresses on the port. Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# switchport port-security aging time 120 This example sets the aging time as 2 minutes for inactivity aging type with aging enabled for configured secure addresses onthe port.
  • Page 517: Switchport Priority Extend

    IP phone how to send data packets from the device attached to the access port on the Cisco IP Phone. You must enable CDP on the switch port connected to the Cisco IP Phone to send the configuration to the Cisco IP Phone.
  • Page 518: Switchport Priority Extend

    Chapter 2 Catalyst 3750 Switch 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 3750 Switch Command Reference...
  • Page 519: Switchport Protected

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport protected switchport protected Use the switchport protected interface configuration command on the switch stack or on a standalone switch to isolate unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch.
  • Page 520 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport protected Related Commands Command Description show interfaces 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.
  • Page 521: Switchport Trunk

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport trunk switchport trunk Use the switchport trunk interface configuration command on the switch stack or on a standalone switch to set the trunk characteristics when the interface is in trunking mode. Use the no form of this command to reset a trunking characteristic to the default.
  • Page 522 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport trunk except lists the VLANs that should be calculated by inverting the defined list of VLANs. (VLANs • are added except the ones specified.) Valid IDs are from 1 to 1005. Separate nonconsecutive VLAN IDs with a comma;...
  • Page 523 VLAN trunk port by removing VLAN 1 from the allowed list. When you remove VLAN 1 from a trunk port, the interface continues to send and receive management traffic, for example, Cisco Discovery Protocol (CDP), Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP), Dynamic Trunking Protocol (DTP), and VLAN Trunking Protocol (VTP) in VLAN 1.
  • Page 524: Switchport Voice Vlan

    You should configure voice VLAN on Layer 2 access ports. You must enable Cisco Discovery Protocol (CDP) on the switchport connected to the Cisco IP phone for the switch to send configuration information to the phone. CDP is enabled by default globally and on the interface.
  • Page 525 When you enable port security on an interface that is also configured with a voice VLAN, you must set the maximum allowed secure addresses on the port to at least two. When the port is connected to a Cisco IP phone, the IP phone requires two MAC addresses: one for the access VLAN and the other for the voice VLAN.
  • Page 526: System Mtu

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands system mtu system mtu Use the system global configuration command on the switch stack or on a standalone switch to set the maximum packet size or maximum transmission unit (MTU) size for Gigabit Ethernet ports or for Fast Ethernet (10/100) ports.
  • Page 527 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands system mtu Examples This example shows how to set the maximum packet size for Gigabit Ethernet ports to 1800 bytes: Switch(config)# system mtu jumbo 1800 Switch(config)# exit Switch# reload You can verify your setting by entering the show system mtu privileged EXEC command.
  • Page 528: Test Cable-Diagnostics Tdr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands test cable-diagnostics tdr test cable-diagnostics tdr Use the test cable-diagnostics tdr privileged EXEC command on the switch stack or on a standalone switch to run the Time Domain Reflector (TDR) feature on an interface.
  • Page 529: Traceroute Mac

    This command was introduced. Usage Guidelines For Layer 2 traceroute to function 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 530 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands traceroute mac The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears.
  • Page 531 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands traceroute mac 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.
  • Page 532: Traceroute Mac Ip

    This command was introduced. Usage Guidelines For Layer 2 traceroute to function 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 533: Traceroute Mac Ip

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands traceroute mac ip The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears.
  • Page 534: Trust

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands trust trust Use the trust policy-map class configuration command on the switch stack or on a standalone switch to define a trust state for traffic classified through the class policy-map configuration or the class-map global configuration command.
  • Page 535 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands trust If you specify trust ip-precedence, QoS uses the IP precedence value from the ingress packet and the IP-precedence-to-DSCP map. For non-IP packets that are tagged, QoS uses the received CoS value; for non-IP packets that are untagged, QoS uses the default port CoS value.
  • Page 536: Udld

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld udld Use the udld global configuration command on the switch stack or on a standalone switch to enable aggressive or normal mode in the UniDirectional Link Detection (UDLD) and to set the configurable message timer time.
  • Page 537 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld The no udld enable global configuration command followed by the udld {aggressive | enable} • global configuration command to re-enable UDLD globally The udld port disable interface configuration command followed by the udld port or udld port •...
  • Page 538: Udld Port

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld port udld port Use the udld port interface configuration command on the switch stack or on a standalone switch to enable the UniDirectional Link Detection (UDLD) on an individual interface or prevent a fiber-optic interface from being enabled by the udld global configuration command.
  • Page 539: Udld Port

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld port The disable keyword is supported on fiber-optic ports only. Use the no form of this command to remove this setting and to return control of UDLD to the udld global configuration command.
  • Page 540: Udld Reset

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld reset udld reset Use the udld reset privileged EXEC command to reset all interfaces disabled by the UniDirectional Link Detection (UDLD) and permit traffic to begin passing through them again (though other features, such as spanning tree, Port Aggregation Protocol (PAgP), and Dynamic Trunking Protocol (DTP) still have their normal effects, if enabled).
  • Page 541: Vlan (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) vlan (global configuration) Use the vlan global configuration command on the switch stack or on a standalone switch to add a VLAN and to enter the config-vlan mode. Use the no form of this command to delete the VLAN.
  • Page 542 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) If you enter an invalid VLAN ID, you receive an error message and do not enter config-vlan mode. Entering the vlan command with a VLAN ID enables config-vlan mode. When you enter the VLAN ID of an existing VLAN, you do not create a new VLAN, but you can modify VLAN parameters for that VLAN.
  • Page 543 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) name vlan-name: names the VLAN with an ASCII string from 1 to 32 characters that must be unique • within the administrative domain. The default is VLANxxxx where xxxx represents four numeric digits (including leading zeros) equal to the VLAN ID number.
  • Page 544 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) Table 2-32 Valid Commands and Syntax for Different Media Types Media Type Valid Syntax Ethernet name vlan-name, media ethernet, state {suspend | active}, said said-value, mtu mtu-size, remote-span, tb-vlan1 tb-vlan1-id, tb-vlan2 tb-vlan2-id...
  • Page 545 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) Table 2-33 describes the rules for configuring VLANs. Table 2-33 VLAN Configuration Rules Configuration Rule VTP v2 mode is enabled, and you Specify a parent VLAN ID of a TrBRF that already exists in the are configuring a TrCRF VLAN database.
  • Page 546 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) This example shows how to create a new extended-range VLAN with all the default characteristics, to enter config-vlan mode, and to save the new VLAN in the switch startup configuration file:...
  • Page 547: Vlan (Vlan Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) vlan (VLAN configuration) Use the vlan VLAN configuration command on the switch stack or on a standalone switch to configure VLAN characteristics for a normal-range VLAN (VLAN IDs 1 to 1005) in the VLAN database. You...
  • Page 548 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) media {ethernet | fddi | (Optional) Specify the VLAN media type. Table 2-34 lists the valid fd-net | tokenring | tr-net} syntax for each media type. ethernet is Ethernet media type (the default).
  • Page 549 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) Table 2-34 Valid Syntax for Different Media Types Media Type Valid Syntax Ethernet vlan vlan-id [name vlan-name] media ethernet [state {suspend | active}] [said said-value] [mtu mtu-size] [tb-vlan1 tb-vlan1-id] [tb-vlan2 tb-vlan2-id]...
  • Page 550 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) Table 2-35 VLAN Configuration Rules (continued) Configuration Rule VTP v2 mode is enabled, and you Specify a bridge number. Do not leave this field blank. are configuring a TrBRF VLAN media type.
  • Page 551 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines You can only use this command mode for configuring normal-range VLANs, that is, VLAN IDs 1 to 1005.
  • Page 552 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) When the no vlan vlan-id said form is used, the VLAN SAID returns to the default (100,000 plus • the VLAN ID). When the no vlan vlan-id state form is used, the VLAN state returns to the default (active).
  • Page 553: Vlan Access-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan access-map vlan access-map Use the vlan access-map global configuration command on the switch stack or on a standalone switch to create or modify a VLAN map entry for VLAN packet filtering. This entry changes the mode to the VLAN access map configuration.
  • Page 554 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan access-map For more information about VLAN map entries, refer to the software configuration guide for this release. Note Examples This example shows how to create a VLAN map named vac1 and apply matching conditions and actions to it.
  • Page 555: Vlan Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan database vlan database Use the vlan database privileged EXEC command on the switch stack or on a standalone switch to enter VLAN configuration mode. From this mode, you can add, delete, and modify VLAN configurations for normal-range VLANs and globally propagate these changes by using the VLAN Trunking Protocol (VTP).
  • Page 556: Vlan Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan database When you have modified VLAN or VTP parameters, you can use these editing buffer manipulation commands: abort: exits the mode without applying the changes. The VLAN configuration that was running •...
  • Page 557 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan database VLAN ISL Id: 1002 Name: fddi-default Media Type: FDDI VLAN 802.10 Id: 101002 State: Operational MTU: 1500 Bridge Type: SRB Ring Number: 0 Translational Bridged VLAN: 1 Translational Bridged VLAN: 1003 <output truncated>...
  • Page 558: Vlan Filter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan filter vlan filter Use the vlan filter global configuration command on the switch stack or on a standalone switch to apply a VLAN map to one or more VLANs. Use the no form of this command to remove the map.
  • Page 559 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan filter Related Commands Command Description show vlan access-map 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.
  • Page 560: Vmps Reconfirm (Privileged Exec)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vmps reconfirm (privileged EXEC) vmps reconfirm (privileged EXEC) Use the vmps reconfirm privileged EXEC command on the switch stack or on a standalone switch to immediately send VLAN Query Protocol (VQP) queries to reconfirm all dynamic VLAN assignments with the VLAN Membership Policy Server (VMPS).
  • Page 561: Vmps Reconfirm (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vmps reconfirm (global configuration) vmps reconfirm (global configuration) Use the vmps reconfirm global configuration command on the switch stack or on a standalone switch to change the reconfirmation interval for the VLAN Query Protocol (VQP) client. Use the no form of this command to return to the default setting.
  • Page 562: Vmps Retry

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vmps retry vmps retry Use the vmps retry global configuration command on the switch stack or on a standalone switch to configure the per-server retry count for the VLAN Query Protocol (VQP) client. Use the no form of this command to return to the default setting.
  • Page 563: Vmps Server

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vmps server vmps server Use the vmps server global configuration command on the switch stack or on a standalone switch to configure the primary VLAN Membership Policy Server (VMPS) and up to three secondary servers. Use the no form of this command to remove a VMPS server.
  • Page 564: Vmps Server

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vmps server This example shows how to delete the server with IP address 191.10.49.21: Switch(config)# no vmps server 191.10.49.21 You can verify your setting by entering the show vmps privileged EXEC command and examining information in the VMPS Domain Server row.
  • Page 565: Vtp (Global Configuration)

    VTP administrative domain for the switch. The domain name is case sensitive. file filename Specify the Cisco IOS file system file where the VTP VLAN configuration is stored. interface name Specify the name of the interface providing the VTP ID updated for this device.
  • Page 566 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (global configuration) Defaults The default filename is flash:vlan.dat. The default mode is server mode. No domain name or password is defined. No password is configured. Pruning is disabled. The default version is Version 1.
  • Page 567 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (global configuration) If the receiving switch is in client mode, the client switch changes its configuration to duplicate the • configuration of the server. If you have switches in client mode, be sure to make all VTP or VLAN configuration changes on a switch in server mode.
  • Page 568 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (global configuration) Examples This example shows how to rename the filename for VTP configuration storage to vtpfilename: Switch(config)# vtp file vtpfilename This example shows how to clear the device storage filename: Switch(config)# no vtp file vtpconfig Clearing device storage filename.
  • Page 569: Vtp (Vlan Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) vtp (VLAN configuration) Use the vtp VLAN configuration command on the switch stack or on a standalone switch to configure VLAN Trunking Protocol (VTP) characteristics. You access VLAN configuration mode by entering the vlan database privileged EXEC command.
  • Page 570 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) Defaults The default mode is server mode. No domain name is defined. No password is configured. Pruning is disabled. VTP Version 2 (v2 mode) is disabled. Command Modes VLAN configuration...
  • Page 571 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) Follow these guidelines when configuring a VTP domain name: The switch is in the no-management-domain state until you configure a domain name. While in the • no-management-domain state, the switch does not send any VTP advertisements even if changes occur to the local VLAN configuration.
  • Page 572 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) This example shows how to enable pruning in the proposed new VLAN database: Switch(vlan)# vtp pruning Pruning switched ON This example shows how to enable v2 mode in the proposed new VLAN database: Switch(vlan)# vtp v2-mode V2 mode enabled.
  • Page 573: Appendix

    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.
  • Page 574: Boot

    (Optional) Run the loaded image with an extended or comprehensive power-on self-test (POST). Using this keyword causes POST to take longer to complete. (Optional) Pause for the Cisco IOS debugger immediately after launching. (Optional) Pause for the JTAG debugger right after loading the image.
  • Page 575 Appendix A Catalyst 3750 Switch Boot Loader Commands boot Related Commands Command Description Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command. Catalyst 3750 Switch Command Reference 78-16181-01...
  • Page 576: Cat

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

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

    Appendix A Catalyst 3750 Switch Boot Loader Commands Use the dir boot loader command to display a list of files and directories on the specified file system. dir filesystem:/file-url ... Syntax Description filesystem: Alias for a Flash file system. Use flash: for the system board Flash device.
  • Page 580 Appendix A Catalyst 3750 Switch Boot Loader Commands Table A-1 describes the fields in the display. Table A-1 dir Field Descriptions Field Description Index number of the file. -rwx File permission, which can be any or all of the following: d—directory...
  • Page 581: Flash_Init

    Appendix A Catalyst 3750 Switch Boot Loader Commands flash_init flash_init Use the flash_init boot loader command to initialize the Flash file system. flash_init Syntax Description This command has no arguments or keywords. Defaults The Flash file system is automatically initialized during normal system operation.
  • Page 582: Format

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

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

    Appendix A Catalyst 3750 Switch Boot Loader Commands help help Use the help boot loader command to display the available commands. help Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)AX This command was introduced.
  • Page 585: Load_Helper

    Appendix A Catalyst 3750 Switch Boot Loader Commands load_helper load_helper Use the load_helper boot loader command to load and initialize one or more helper images, which extend or patch the functionality of the boot loader. load_helper filesystem:/file-url ... Syntax Description filesystem: Alias for a Flash file system.
  • Page 586: Memory

    Appendix A Catalyst 3750 Switch Boot Loader Commands memory memory Use the memory boot loader command to display memory heap utilization information. memory Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)AX...
  • Page 587 Appendix A Catalyst 3750 Switch Boot Loader Commands memory Table A-2 describes the fields in the display. Table A-2 memory Field Descriptions Field Description Text Beginning and ending address of the text storage area. Rotext Beginning and ending address of the read-only text storage area. This part of the data segment is grouped with the Text entry.
  • Page 588: Mkdir

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

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

    Appendix A Catalyst 3750 Switch Boot Loader Commands rename rename Use the rename boot loader command to rename a file. rename filesystem:/source-file-url filesystem:/destination-file-url Syntax Description filesystem: Alias for a Flash file system. Use flash: for the system board Flash device.
  • Page 591: Reset

    Appendix A Catalyst 3750 Switch Boot Loader Commands reset reset Use the reset boot loader command to perform a hard reset on the system. A hard reset is similar to power-cycling the switch, clearing the processor, registers, and memory. reset Syntax Description This command has no arguments or keywords.
  • Page 592: Rmdir

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

    CONFIG_FILE flash:/file-url—The filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. 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 594 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 595: Unset

    Appendix A Catalyst 3750 Switch Boot Loader Commands Usage Guidelines Environment variables are case sensitive and must be entered as documented. Environment variables that have values are stored in Flash memory outside of the Flash file system. The MANUAL_BOOT environment variable can also be set by using the boot manual global configuration command.
  • Page 596 Appendix A Catalyst 3750 Switch Boot Loader Commands type type Use the type boot loader command to display the contents of one or more files. type filesystem:/file-url ... Syntax Description filesystem: Alias for a Flash file system. Use flash: for the system board Flash device.
  • Page 597 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 598 Appendix A Catalyst 3750 Switch Boot Loader Commands unset Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines The MANUAL_BOOT environment variable can also be reset by using the no boot manual global configuration command. The BOOT environment variable can also be reset by using the no boot system global configuration command.
  • Page 599: Version

    Appendix A Catalyst 3750 Switch Boot Loader Commands version version Use the version boot loader command to display the boot loader version. version Syntax Description This command has no arguments or keywords. Command Modes Boot loader Command History Release Modification 12.1(11)AX...
  • Page 600 Appendix A Catalyst 3750 Switch Boot Loader Commands version Catalyst 3750 Switch Command Reference A-28 78-16181-01...
  • Page 601: Appendix

    For this reason, use the debug commands only to troubleshoot specific problems or during troubleshooting sessions with Cisco technical support staff. It is best to use the debug commands during periods of lower network traffic and fewer users. Debugging during these periods decreases the likelihood that increased debug command processing overhead will affect system use.
  • Page 602: Appendix B Catalyst 3750 Switch Debug Command

    Appendix B Catalyst 3750 Switch Debug Commands debug auto qos debug auto qos Use the debug auto qos privileged EXEC command to enable debugging of the automatic quality of service (auto-QoS) feature. Use the no form of this command to disable debugging output.
  • Page 603 Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 604: Debug Cluster

    Appendix B Catalyst 3750 Switch Debug Commands debug cluster debug cluster Use the debug cluster privileged EXEC command to enable debugging of cluster-specific events. Use the no form of this command to disable debugging output. debug cluster {discovery | events | extended | hsrp | http | ip [packet] | members | nat | neighbors...
  • Page 605 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 606: Debug Dot1X

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 607: Debug Dtp

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 608: Debug Etherchannel

    Appendix B Catalyst 3750 Switch Debug Commands debug etherchannel debug etherchannel Use the debug etherchannel privileged EXEC command to enable debugging of the EtherChannel/PAgP shim. This shim is the software module that is the interface between the Port Aggregation Protocol (PAgP) software module and the port manager software module. Use the no form of this command to disable debugging output.
  • Page 609 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 610: Debug Ilpower

    Appendix B Catalyst 3750 Switch Debug Commands debug ilpower debug ilpower Use the debug ilpower priviledged EXEC command to enable debugging of the power controller and Power over Ethernet (PoE) system. debug ilpower {controller | event | port | registries} no debug ilpower {controller | event | port | registries} This command is supported only on PoE-capable switches.
  • Page 611: Debug Interface

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 612: Debug Ip Igmp Filter

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 613: Debug Ip Igmp Max-Groups

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 614: Debug Ip Igmp Snooping

    Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 615: Debug Lacp

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 616: Debug Mac-Notification

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 617: Debug Matm

    Displays information about platform-dependent MAC address management. show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 618: Debug Monitor

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 619: Debug Mvrdbg

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 620: Debug Nvram

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 621: Debug Pagp

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 622: Debug Platform Acl

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 623: Debug Platform Cli-Redirection Main

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 624: Debug Platform Configuration

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 625: Debug Platform Cpu-Queues

    Appendix B Catalyst 3750 Switch Debug Commands debug platform cpu-queues debug platform cpu-queues Use the debug platform cpu-queues privileged EXEC command to enable debugging of platform central processing unit (CPU) receive queues. Use the no form of this command to disable debugging output.
  • Page 626 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 627: Debug Platform Device-Manager

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 628: Debug Platform Dot1X

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 629: Debug Platform Etherchannel

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 630: Debug Platform Fallback-Bridging

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 631: Debug Platform Forw-Tcam

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 632: Debug Platform Ip Dhcp

    Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 633: Debug Platform Ip Igmp Snooping

    Appendix B Catalyst 3750 Switch Debug Commands debug platform ip igmp snooping debug platform ip igmp snooping Use the debug platform ip igmp snooping privileged EXEC command to enable debugging of platform-dependent Internet Group Management Protocol (IGMP) snooping. Use the no form of this command to disable debugging output.
  • Page 634 Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 635: Debug Platform Ip Multicast

    Appendix B Catalyst 3750 Switch Debug Commands debug platform ip multicast debug platform ip multicast Use the debug platform ip multicast privileged EXEC command to enable debugging of IP multicast routing. Use the no form of this command to disable debugging output.
  • Page 636 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 637: Debug Platform Ip Unicast

    Appendix B Catalyst 3750 Switch Debug Commands debug platform ip unicast debug platform ip unicast Use the debug platform ip unicast privileged EXEC command to enable debugging of platform-dependent IP unicast routing. Use the no form of this command to disable debugging output.
  • Page 638 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 639: Debug Platform Ipc

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 640: Debug Platform Led

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 641: Debug Platform Matm

    Displays information about platform-independent MAC address management. show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 642: Debug Platform Messaging Application

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 643: Debug Platform Phy

    Appendix B Catalyst 3750 Switch Debug Commands debug platform phy debug platform phy Use the debug platform phy privileged EXEC command to enable debugging of PHY driver information. Use the no form of this command to disable debugging output. debug platform phy {automdix | flowcontrol | forced | init-seq | link-status | read | sfp |...
  • Page 644 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 645: Debug Platform Pm

    Appendix B Catalyst 3750 Switch Debug Commands debug platform pm debug platform pm Use the debug platform pm privileged EXEC command to enable debugging of the platform-dependent port manager software module. Use the no form of this command to disable debugging output.
  • Page 646 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 647: Debug Platform Port-Asic

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 648: Debug Platform Port-Security

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 649: Debug Platform Qos-Acl-Tcam

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 650: Debug Platform Remote-Commands

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 651: Debug Platform Resource-Manager

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 652: Debug Platform Snmp

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 653: Debug Platform Span

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 654: Debug Platform Stack-Manager

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 655: Debug Platform Supervisor-Asic

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 656: Debug Platform Sw-Bridge

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 657: Debug Platform Tcam

    Appendix B Catalyst 3750 Switch Debug Commands debug platform tcam debug platform tcam Use the debug platform tcam privileged EXEC command to enable debugging of ternary content addressable memory (TCAM) access and lookups. Use the no form of this command to disable debugging output.
  • Page 658 Appendix B Catalyst 3750 Switch Debug Commands debug platform tcam Syntax Description log l2 {acl {input | output} | Display Layer 2 field-based CAM look-up type debug messages. The local | qos} keywords have these meanings: acl {input | output}—Display input or output ACL look-up debug •...
  • Page 659 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 660: Debug Platform Udld

    Related Commands Command Description show debugging Displays information about the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management. Catalyst 3750 Switch Command Reference...
  • Page 661: Debug Platform Vlan

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 662: Debug Pm

    Appendix B Catalyst 3750 Switch Debug Commands debug pm debug pm Use the debug pm privileged EXEC command to enable debugging of port manager (PM) activity. The port manager is a state machine that controls all the logical and physical interfaces. All features, such as VLANs, UniDirectional Link Detection (UDLD), and so forth, work with the port manager to provide switch functions.
  • Page 663 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 664: Debug Port-Security

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 665: Debug Qos-Manager

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, refer to the Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management >...
  • Page 666: Debug Spanning-Tree

    Appendix B Catalyst 3750 Switch Debug Commands debug spanning-tree debug spanning-tree Use the debug spanning-tree privileged EXEC command to enable debugging of spanning-tree activities. Use the no form of this command to disable debugging output. debug spanning-tree {all | backbonefast | bpdu | bpdu-opt | config | csuf/csrt | etherchannel |...
  • Page 667 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 668: Debug Spanning-Tree Backbonefast

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 669: Debug Spanning-Tree Bpdu

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 670: Debug Spanning-Tree Bpdu-Opt

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 671: Debug Spanning-Tree Mstp

    Appendix B Catalyst 3750 Switch Debug Commands debug spanning-tree mstp debug spanning-tree mstp Use the debug spanning-tree mstp privileged EXEC command to enable debugging of the Multiple Spanning Tree Protocol (MSTP) software. Use the no form of this command to disable debugging output.
  • Page 672 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 673: Debug Spanning-Tree Switch

    Appendix B Catalyst 3750 Switch Debug Commands debug spanning-tree switch debug spanning-tree switch Use the debug spanning-tree switch privileged EXEC command to enable debugging of the software interface between the Spanning Tree Protocol (STP) software module and the port manager software module.
  • Page 674 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 675: Debug Spanning-Tree Uplinkfast

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 676: Debug Sw-Vlan

    Appendix B Catalyst 3750 Switch Debug Commands debug sw-vlan debug sw-vlan Use the debug sw-vlan privileged EXEC command to enable debugging of VLAN manager activities. Use the no form of this command to disable debugging output. debug sw-vlan {badpmcookies | cfg-vlan {bootup | cli} | events | ifs | management | notification...
  • Page 677 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 678: Debug Sw-Vlan Ifs

    Appendix B Catalyst 3750 Switch Debug Commands debug sw-vlan ifs debug sw-vlan ifs Use the debug sw-vlan ifs privileged EXEC command to enable debugging of the VLAN manager IOS file system (IFS) error tests. Use the no form of this command to disable debugging output.
  • Page 679 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 680: Debug Sw-Vlan Notification

    Appendix B Catalyst 3750 Switch Debug Commands debug sw-vlan notification debug sw-vlan notification Use the debug sw-vlan notification privileged EXEC command to enable debugging of the activation and deactivation of Inter-Link Switch (ISL) VLAN IDs. Use the no form of this command to disable debugging output.
  • Page 681 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 682: Debug Sw-Vlan Vtp

    Appendix B Catalyst 3750 Switch Debug Commands debug sw-vlan vtp debug sw-vlan vtp Use the debug sw-vlan vtp privileged EXEC command to enable debugging of the VLAN Trunking Protocol (VTP) code. Use the no form of this command to disable debugging output.
  • Page 683 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 684: Debug Udld

    Appendix B Catalyst 3750 Switch Debug Commands debug udld debug udld Use the debug udld privileged EXEC command to enable debugging of the UniDirectional Link Detection (UDLD) feature. Use the no form of this command to disable UDLD debugging. debug udld {events | packets | registries}...
  • Page 685 Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 686: Debug Vqpc

    Description show debugging Displays information about the types of debugging that are enabled. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2 > System Management > Troubleshooting and Fault Management.
  • Page 687: Appendix

    This appendix describes the show platform privileged EXEC commands that have been created or changed for use with the Catalyst 3750 switch. These commands display information helpful in diagnosing and resolving internetworking problems and should be used only under the guidance of Cisco technical support staff.
  • Page 688: A P P E N D I X C Catalyst 3750 Switch Show Platform Commands

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform acl show platform acl Use the show platform acl privileged EXEC command to display platform-dependent access control list (ACL) manager information. show platform acl {interface interface-id | label label-number [detail] | statistics asic-number |...
  • Page 689: Show Platform Configuration

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform configuration show platform configuration Use the show platform configuration privileged EXEC command to display platform-dependent configuration-manager related information. show platform configuration {config-output | default | running | startup} [ | {begin | exclude |...
  • Page 690: Show Platform Etherchannel

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform etherchannel show platform etherchannel Use the show platform etherchannel privileged EXEC command to display platform-dependent EtherChannel information. show platform etherchannel {flags | time-stamps} [ | {begin | exclude | include} expression]...
  • Page 691: Show Platform Forward

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform forward show platform forward Use the show platform forward privileged EXEC command for an interface to specify how the hardware would forward a frame that matches the specified parameters. show platform forward interface-id [vlan vlan-id] src-mac dst-mac [l3protocol-id] [sap | snap]...
  • Page 692 Appendix C Catalyst 3750 Switch Show Platform Commands show platform forward Command Modes Privileged EXEC Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines You should use this command only when you are working directly with a technical support representative while troubleshooting a problem.
  • Page 693: Show Platform Ip Igmp Snooping

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform ip igmp snooping show platform ip igmp snooping Use the show platform ip igmp snooping privileged EXEC command to display platform-dependent Internet Group Management Protocol (IGMP) snooping information. show platform ip igmp snooping {all | control [di] | counters | flood [vlan vlan-id] | group...
  • Page 694 Appendix C Catalyst 3750 Switch Show Platform Commands show platform ip igmp snooping Usage Guidelines You should use this command only when you are working directly with a technical support representative while troubleshooting a problem. Do not use this command unless a technical support representative asks you to do so.
  • Page 695: Show Platform Ip Multicast

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform ip multicast show platform ip multicast Use the show platform ip multicast privileged EXEC command to display platform-dependent IP multicast tables and other information. show platform ip multicast {counters | groups | hardware [detail] | interfaces | locks |...
  • Page 696: Show Platform Ip Unicast

    Syntax Description adjacency Display the platform adjacency database. cef-idb Display platform information corresponding to Cisco Express Forwarding (CEF) interface descriptor block. counts Display the current counts for the Layer 3 unicast databases. dhcp Display the Dynamic Host Configuration Protocol (DHCP) system dynamic addresses.
  • Page 697 Appendix C Catalyst 3750 Switch Show Platform Commands show platform ip unicast Usage Guidelines You should use this command only when you are working directly with a technical support representative while troubleshooting a problem. Do not use this command unless a technical support representative asks you to do so.
  • Page 698: Show Platform Ipc Trace

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform ipc trace show platform ipc trace Use the show platform ipc trace privileged EXEC command to display platform-dependent Interprocess Communication (IPC) Protocol trace log information. show platform ipc trace [ | {begin | exclude | include} expression]...
  • Page 699: Show Platform Layer4Op

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform layer4op show platform layer4op Use the show platform layer4op privileged EXEC command to display platform-dependent Layer 4 operator information. show platform layer4op {acl | qos [port-asic]} {and-or | map | or-and | vcu} [ | {begin | exclude...
  • Page 700: Show Platform Mac-Address-Table

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform mac-address-table show platform mac-address-table Use the show platform mac-address-table privileged EXEC command to display platform-dependent MAC address table information. show platform mac-address-table [aging-array | hash-table | mac-address mac-address] [vlan vlan-id]] [ | {begin | exclude | include} expression]...
  • Page 701: Show Platform Messaging

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform messaging show platform messaging Use the show platform messaging privileged EXEC command to display platform-dependent application and performance message information. show platform messaging {application [incoming | outgoing | summary] | hiperf...
  • Page 702: Show Platform Monitor

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform monitor show platform monitor Use the show platform monitor privileged EXEC command to display platform-dependent Switched Port Analyzer (SPAN) information. show platform monitor [session session-number] [ | {begin | exclude | include} expression]...
  • Page 703: Show Platform Mvr Table

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform mvr table show platform mvr table Use the show platform mvr table privileged EXEC command to display the platform-dependent Multicast VLAN Registration (MVR) multi-expansion descriptor (MED) group mapping table. show platform mvr table [ | {begin | exclude | include} expression]...
  • Page 704: Show Platform Pm

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform pm show platform pm Use the show platform pm privileged EXEC command to display platform-dependent port-manager information. show platform pm {counters | group-masks | idbs {active-idbs | deleted-idbs} | if-numbers |...
  • Page 705: Show Platform Port-Asic

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform port-asic show platform port-asic Use the show platform port-asic privileged EXEC command to display platform-dependent port application-specific integrated circuit (ASIC) register information. show platform port-asic {cpu-queue-map-table [asic number | port number [asic number]] |...
  • Page 706 Appendix C Catalyst 3750 Switch Show Platform Commands show platform port-asic exception [asic number | port Display the exception-index register information. The keywords number [asic number]] have these meanings: asic number—(Optional) Display information for the • specified ASIC. The range is 0 to 1.
  • Page 707 Appendix C Catalyst 3750 Switch Show Platform Commands show platform port-asic port-info [asic number | port Display port information register values. The keywords have these number [asic number]] meanings: asic number—(Optional) Display information for the • specified ASIC. The range is 0 to 1.
  • Page 708 Appendix C Catalyst 3750 Switch Show Platform Commands show platform port-asic stack {control | dest-map | Display stack-related information. The keywords have these learning | messages | mvid | meanings: prog-parser | span | stats [asic control—Display stack control-status register information.
  • Page 709 Appendix C Catalyst 3750 Switch Show Platform Commands show platform port-asic vct [asic number | port number Display the VLAN compression table entries for the specified [asic number]] ASIC or for the specified port and ASIC. The keywords have these meanings: asic number—(Optional) Display information for the...
  • Page 710: Show Platform Port-Security

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform port-security show platform port-security Use the show platform port-security privileged EXEC command to display platform-dependent port-security information. show platform port-security [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 711: Show Platform Qos

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform qos show platform qos Use the show platform qos privileged EXEC command to display platform-dependent quality of service (QoS) information. show platform qos {label asic number | policer {parameters asic number |...
  • Page 712: Show Platform Resource-Manager

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform resource-manager show platform resource-manager Use the show platform resource-manager privileged EXEC command to display platform-dependent resource-manager information. show platform resource-manager {dm [index number] | erd [index number] | mad [index number] | med [index number] | mod | sd [index number] |...
  • Page 713 Appendix C Catalyst 3750 Switch Show Platform Commands show platform resource-manager Usage Guidelines You should use this command only when you are working directly with your technical support representative while troubleshooting a problem. Do not use this command unless your technical support representative asks you to do so.
  • Page 714: Show Platform Snmp Counters

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform snmp counters show platform snmp counters Use the show platform snmp counters privileged EXEC command to display platform-dependent Simple Network Management Protocol (SNMP) counter information. show platform snmp counters [ | {begin | exclude | include} expression]...
  • Page 715: Show Platform Spanning-Tree

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform spanning-tree show platform spanning-tree Use the show platform spanning-tree privileged EXEC command to display platform-dependent spanning-tree information. show platform spanning-tree synchronization [detail | vlan vlan-id] [ | {begin | exclude |...
  • Page 716: Show Platform Stp-Instance

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform stp-instance show platform stp-instance Use the show platform stp-instance privileged EXEC command to display platform-dependent spanning-tree instance information. show platform stp-instance vlan-id [ | {begin | exclude | include} expression]...
  • Page 717: Show Platform Stack-Manager

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform stack-manager show platform stack-manager Use the show platform stack-manager privileged EXEC command to display platform-dependent switch-stack information. show platform stack-manager {all | counters | trace [sdp [reverse] | state [reverse]]}...
  • Page 718 Appendix C Catalyst 3750 Switch Show Platform Commands show platform stack-manager Initializing—The stage when a switch has determined whether it is the stack master or not. If the • switch is not the stack master, it is receiving its system- and interface-level configuration from the stack master and loading it.
  • Page 719: Show Platform Tb

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform tb show platform tb Use the show platform tb privileged EXEC command to display platform-dependent trusted-boundary information during a stack master change to a new stack master. show platform tb [ | {begin | exclude | include} expression]...
  • Page 720 Appendix C Catalyst 3750 Switch Show Platform Commands show platform tb Print TB residue trust ports information /* The interfaces with TB enabled right before master switch-over. */ Print port CDP neighbor information /* Is the CDP message still received after switch-over? */ HULC TB is not detecting CDP events /* Currently, this switch is not detecting any CDP event.
  • Page 721: Show Platform Tcam

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform tcam show platform tcam Use the show platform tcam privileged EXEC command to display platform-dependent ternary content addressable memory (TCAM) driver information. show platform tcam {handle number | log-results | table {acl | all | equal-cost-route | ipv6 {acl |...
  • Page 722 Appendix C Catalyst 3750 Switch Show Platform Commands show platform tcam Syntax Description handle number Display the TCAM handle. The range is 0 to 4294967295. log-results Display the TCAM log results. table {acl | all | equal-cost-route Display lookup and forwarding table information. The keywords...
  • Page 723 Appendix C Catalyst 3750 Switch Show Platform Commands show platform tcam Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines You should use this command only when you are working directly with your technical support representative while troubleshooting a problem. Do not use this command unless your technical support representative asks you to do so.
  • Page 724: Show Platform Vlan

    Appendix C Catalyst 3750 Switch Show Platform Commands show platform vlan show platform vlan Use the show platform vlan privileged EXEC command to display platform-dependent VLAN information. show platform vlan {misc | mvid | prune | refcount | rpc {receive | transmit}} [ | {begin | exclude...
  • Page 725: I N D E X

    2-247 ACLs interrupting 2-23 deny 2-65 manually 2-26 displaying 2-241 boot loader for non-IP protocols 2-133 accessing matching 2-149 booting permit 2-203 Cisco IOS image action command helper image 2-24 Catalyst 3750 Switch Command Reference IN-1 78-16181-01...
  • Page 726 2-28 cluster requirements BPDU filtering, for spanning tree 2-417, 2-452 See release notes BPDU guard, for spanning tree 2-419, 2-452 cluster run command 2-57 broadcast storm control 2-469 broadcast traffic counters 2-295 Catalyst 3750 Switch Command Reference IN-2 78-16181-01...
  • Page 727 B-21 commands 2-516 debug platform acl command B-22 description debug platform cli-redirection main command B-23 entering 2-515 debug platform configuration command B-24 summary debug platform cpu-queues command B-25 debug platform device-manager command B-27 Catalyst 3750 Switch Command Reference IN-3 78-16181-01...
  • Page 728 DSCP-to-DSCP-mutation map B-71 2-163 debug spanning-tree switch command B-73 2-481 debug spanning-tree uplinkfast command DTP flap B-75 debug sw-vlan command error detection for B-76 2-87 debug sw-vlan ifs command error recovery timer B-78 2-89 Catalyst 3750 Switch Command Reference IN-4 78-16181-01...
  • Page 729 ACL matches displaying forwarding results, display 2-312 modes frame forwarding information, displaying 2-29 port priority for hot-standby ports 2-124 fsck (boot loader) command A-11 restricting a protocol 2-33 system priority 2-126 Catalyst 3750 Switch Command Reference IN-5 78-16181-01...
  • Page 730 Immediate-Leave feature, MVR 2-196 ip igmp snooping command 2-117 Immediate-Leave processing 2-117 ip igmp snooping report-suppression command 2-120 initial configuration IP multicast addresses 2-193 See hardware installation guide inline power, configuring 2-214 interface command 2-98 Catalyst 3750 Switch Command Reference IN-6 78-16181-01...
  • Page 731 2-137 loopback error mac address-table static command 2-139 detection for 2-87 mac address-table static drop command 2-141 recovery timer 2-89 macro apply command 2-143 loop guard, for spanning tree 2-427, 2-431 Catalyst 3750 Switch Command Reference IN-7 78-16181-01...
  • Page 732 2-427 mls qos dscp-mutation command preventing from becoming designated 2-161 2-427 mls qos map command restricting which can be root 2-163 2-427 mls qos queue-set output buffers command 2-166 root guard 2-427 Catalyst 3750 Switch Command Reference IN-8 78-16181-01...
  • Page 733 See MVR See EtherChannel multiple hosts on authorized port 2-71 pagp learn-method command 2-199 Multiple Spanning Tree Protocol pagp port-priority command 2-201 See MSTP password, VTP 2-539, 2-543 password-recovery mechanism, enabling and disabling 2-229 Catalyst 3750 Switch Command Reference IN-9 78-16181-01...
  • Page 734 2-294 guest VLAN 2-69 pruning host modes 2-71 VLANs 2-495 initialize an interface 2-73 manual control of authorization state 2-77 displaying interface information 2-289 multiple hosts on authorized port 2-71 enabling 2-539, 2-543 Catalyst 3750 Switch Command Reference IN-10 78-16181-01...
  • Page 735 DSCP values to a queue and threshold 2-184 sent and received DSCP values 2-342 setting maximum and reserved memory allocations 2-168 trusted boundary for IP phones 2-186 setting WTD thresholds 2-168 quality of service enabling 2-155 See QoS Catalyst 3750 Switch Command Reference IN-11 78-16181-01...
  • Page 736 2-258 rmdir (boot loader) command A-20 show controllers ethernet-controller command 2-260 rmon collection stats command show controllers power inline command 2-225 2-267 root guard, for spanning tree show controllers tcam command 2-427 2-269 Catalyst 3750 Switch Command Reference IN-12 78-16181-01...
  • Page 737 2-348 show switch command 2-383 show monitor command show system mtu command 2-350 2-386 show mvr command show trust command 2-353 2-508 show mvr interface command show udld command 2-355 2-387 Catalyst 3750 Switch Command Reference IN-13 78-16181-01...
  • Page 738 2-221 spanning-tree backbonefast command 2-416 stack member access 2-233 spanning-tree bpdufilter command 2-417 stack member number 2-383, 2-472 spanning-tree bpduguard command 2-419 stack member priority value 2-383, 2-471 spanning-tree cost command 2-421 Catalyst 3750 Switch Command Reference IN-14 78-16181-01...
  • Page 739 2-450 2-128 primary or secondary system message logging, save message to flash 2-458 2-129 switch priority 2-458 system mtu command 2-500 system resource templates 2-226 Catalyst 3750 Switch Command Reference IN-15 78-16181-01...
  • Page 740 2-469 applying 2-532 unicast traffic counters 2-295 creating 2-527 UniDirectional Link Detection defining 2-149 See UDLD displaying 2-396 unknown multicast traffic, preventing 2-478 VLAN Query Protocol unknown unicast traffic, preventing 2-478 See VQP Catalyst 3750 Switch Command Reference IN-16 78-16181-01...
  • Page 741 VLAN assignments 2-534 vmps reconfirm (global configuration) command 2-535 vmps reconfirm (privileged EXEC) command 2-534 vmps retry command 2-536 vmps server command 2-537 voice VLAN configuring 2-498 setting port priority 2-491 Catalyst 3750 Switch Command Reference IN-17 78-16181-01...
  • Page 742 Index Catalyst 3750 Switch Command Reference IN-18 78-16181-01...

Table of Contents