Cisco Catalyst 3750 Metro Command Reference Manual

Cisco Catalyst 3750 Metro Command Reference Manual

Hide thumbs Also See for Catalyst 3750 Metro:
Table of Contents

Advertisement

Quick Links

Catalyst 3750 Metro Switch
Command Reference
12.2(58)SE
Cisco IOS Release
April 2011
Americas 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 527-0883
Text Part Number: OL-9645-10

Advertisement

Table of Contents
loading

Summary of Contents for Cisco Catalyst 3750 Metro

  • Page 1 Catalyst 3750 Metro Switch Command Reference 12.2(58)SE Cisco IOS Release April 2011 Americas 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 527-0883 Text Part Number: OL-9645-10...
  • Page 2 OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks.
  • Page 3: Table Of Contents

    Global Configuration Mode Interface Configuration Mode VLAN Configuration Mode Line Configuration Mode Commands Changed in Cisco IOS 12.2(25)EY Catalyst 3750 Metro Switch Cisco IOS Commands C H A P T E R aaa accounting dot1x aaa authentication dot1x action archive download-sw...
  • Page 4 (ARP access-list configuration) 2-66 deny (IPv6 access-list configuration) 2-68 deny (MAC access-list configuration) 2-73 dot1x auth-fail max-attempts 2-76 dot1x auth-fail vlan 2-78 dot1x default 2-80 dot1x guest-vlan 2-81 dot1x host-mode 2-83 dot1x initialize 2-85 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 5 2-132 ip arp inspection limit 2-134 ip arp inspection log-buffer 2-136 ip arp inspection trust 2-138 ip arp inspection validate 2-140 ip arp inspection vlan 2-142 ip arp inspection vlan logging 2-143 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 6 2-190 ip sticky-arp (interface configuration) 2-192 ip verify source 2-194 ip vrf (global configuration) 2-196 ip vrf (interface configuration) 2-198 ipv6 access-list 2-200 ipv6 address dhcp 2-202 ipv6 dhcp client request vendor 2-203 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 7 2-253 mac address-table static 2-255 mac address-table static drop 2-256 macro apply 2-258 macro description 2-261 macro global 2-262 macro global description 2-265 macro name 2-266 match (access-map configuration) 2-268 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 8 (interface configuration) 2-328 oam protocol cfm svlan 2-332 pagp learn-method 2-333 pagp port-priority 2-335 permit (ARP access-list configuration) 2-337 permit (IPv6 access-list configuration) 2-339 permit (MAC-access list configuration) 2-344 police 2-347 Catalyst 3750 Metro Switch Command Reference viii OL-9645-10...
  • Page 9 2-404 reserved-only 2-406 rmon collection stats 2-407 sdm prefer 2-408 service instance 2-411 service password-recovery 2-412 service-policy (interface configuration) 2-414 service-policy (policy-map class) 2-417 2-419 setup 2-421 setup express 2-424 shape 2-426 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 10 2-493 show ip dhcp snooping statistics 2-495 show ip igmp profile 2-498 show ip igmp snooping 2-499 show ip igmp snooping groups 2-501 show ip igmp snooping mrouter 2-503 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 11 2-554 show mls qos 2-556 show mls qos aggregate-policer 2-557 show mls qos input-queue 2-558 show mls qos interface 2-559 show mls qos maps 2-562 show mls qos queue-set 2-565 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 12 2-629 snmp-server enable traps 2-630 snmp-server host 2-634 snmp trap mac-notification change 2-639 spanning-tree backbonefast 2-641 spanning-tree bpdufilter 2-642 spanning-tree bpduguard 2-644 spanning-tree cost 2-646 spanning-tree etherchannel guard misconfig 2-648 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 13 2-696 switchport access 2-698 switchport backup interface 2-700 switchport block 2-704 switchport host 2-706 switchport mode 2-707 switchport mode private-vlan 2-710 switchport nonegotiate 2-712 switchport port-security 2-714 switchport port-security aging 2-718 Catalyst 3750 Metro Switch Command Reference xiii OL-9645-10...
  • Page 14 2-763 vrf upgrade-cli multi-af-mode 2-765 2-767 xconnect 2-771 Catalyst 3750 Metro Switch A P P E N D I X Boot Loader Commands boot copy delete flash_init format A-10 fsck A-11 help A-12 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 15 A-18 A-19 type A-22 unset A-23 version A-25 Catalyst 3750 Metro Switch Debug Commands A P P E N D I X debug auto qos debug backup debug dot1x debug dtp debug etherchannel debug ethernet service debug interface B-10...
  • Page 16 B-67 debug platform qos-acl-tcam B-68 debug platform remote-commands B-69 debug platform rep B-70 debug platform resource-manager B-71 debug platform snmp B-72 debug platform span B-73 debug platform supervisor-asic B-74 debug platform sw-bridge B-75 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 17 C-10 show platform ip unicast C-11 show platform ipc trace C-12 show platform layer4op C-13 show platform mac-address-table C-14 Catalyst 3750 Metro Switch Command Reference xvii OL-9645-10...
  • Page 18 C-28 show platform tb C-29 show platform tcam C-30 show platform vlan C-32 Acknowledgments for Open-Source Software A P P E N D I X N D E X Catalyst 3750 Metro Switch Command Reference xviii OL-9645-10...
  • Page 19 This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3750 Metro 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 20: Filtering Show Command Output

    • Expressions are case sensitive. If you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed. Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 21: Related Publications

    Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html...
  • Page 22 Preface Catalyst 3750 Metro Switch Command Reference xxii OL-9645-10...
  • Page 23: Cli Command Modes

    C H A P T E R Using the Command-Line Interface The Catalyst 3750 Metro 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 24: C H A P T E R 1 Using The Command-Line Interface

    EXEC commands to temporarily change terminal settings, perform basic tests, and list system information. 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> ? Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 25: User Exec Mode

    (?) at the prompt. Switch(config)# ? To exit global configuration command mode and to return to privileged EXEC mode, enter the end or exit command, or press Ctrl-Z. Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 26: Privileged Exec Mode

    Use the line vty line_number [ending_line_number] command to enter line configuration mode. The new prompt means line configuration mode. The following example shows how to enter line configuration mode for virtual terminal line 7: Switch(config)# line vty 0 7 Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 27: Line Configuration Mode

    Ctrl-Z. Commands Changed in Cisco IOS 12.2(25)EY 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(25)EY. Table 1-2 Commands Changed Releases earlier than Cisco IOS Cisco IOS Release 12.2(25)EY or...
  • Page 28: Commands Changed In Cisco Ios 12.2(25)Ey

    Chapter 1 Using the Command-Line Interface Commands Changed in Cisco IOS 12.2(25)EY Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 29: Aaa Accounting Dot1X

    C H A P T E R Catalyst 3750 Metro Switch Cisco IOS Commands aaa accounting dot1x Use the aaa accounting dot1x global configuration command to enable authentication, authorization, and accounting (AAA) accounting and to create method lists defining specific accounting methods on a per-line or per-interface basis for 802.1x sessions.
  • Page 30: C H A P T E R 2 Catalyst 3750 Metro Switch Cisco Ios Commands

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands aaa accounting dot1x Defaults AAA accounting is disabled. Command Modes Global configuration Command History Release Modification 12.2(25)EY This command was introduced. Usage Guidelines This command requires access to a RADIUS server.
  • Page 31: Aaa Authentication Dot1X

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands aaa authentication dot1x aaa authentication dot1x Use the aaa authentication dot1x global configuration command to specify one or more authentication, authorization, and accounting (AAA) methods for use on ports running IEEE 802.1x. Use the no form of this command to disable authentication.
  • Page 32: Aaa Authentication Dot1X

    Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_ reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 33 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands action action Use the action access map configuration command 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 34: Action

    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 35 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands archive download-sw archive download-sw Use the archive download-sw privileged EXEC command to download a new image to the switch and to overwrite or keep the existing image. archive download-sw {/force-reload | /imageonly | /leave-old-sw | /no-set-boot | /overwrite |...
  • Page 36: Archive Download-Sw

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands archive download-sw Command Modes Privileged EXEC Command History Release Modification 12.1(14)AX This command was introduced. Usage Guidelines Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient flash memory.
  • Page 37: Archive Tar

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands archive tar archive tar Use the archive tar privileged EXEC command to create a tar file, list files in a tar file, or extract the files from a tar file. archive tar {/create destination-url flash:/file-url} | {/table source-url} | {/xtract source-url flash:/file-url [dir/file...]}...
  • Page 38: Archive Tar

    Chapter 2 Catalyst 3750 Metro 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: Archive Upload-Sw

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands archive tar 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 Modification 12.1(14)AX This command was introduced. Usage Guidelines The files are uploaded in this sequence: the Cisco IOS image and the info file. After these files are uploaded, the software creates the tar file. Image names are case sensitive. Examples This example shows how to upload the currently running image to a TFTP server at 172.20.140.2:...
  • Page 41 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands arp access-list arp access-list Use the arp access-list global configuration command on the switch to define an Address Resolution Protocol (ARP) access control list (ACL) or to add clauses to the end of a previously defined list. Use the no form of this command to delete the specified ARP access list.
  • Page 42: Arp Access-List

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands arp access-list Examples This example shows how to define an ARP access list and to permit both ARP requests and ARP responses from a host with an IP address of 1.1.1.1 and a MAC address of 0000.0000.abcd: Switch(config)# arp access-list static-hosts Switch(config-arp-nacl)# permit ip host 1.1.1.1 mac host 00001.0000.abcd...
  • Page 43: Auto Qos Voip

    [cisco-phone | cisco-softphone | trust] Syntax Description cisco-phone Identify this port as connected to a Cisco IP phone, and automatically configure QoS for VoIP. The QoS labels of inbound packets are trusted only when the phone is detected.
  • Page 44: Auto Qos Voip

    Cisco IP Phones on switch ports. In Cisco IOS Release 12.2(25)EY or later, auto-QoS configures the switch for VoIP with Cisco IP Phones on switch and routed ports and for VoIP with devices running the Cisco SoftPhone application. These releases support only Cisco IP SoftPhone Version 1.3(3) or later.
  • Page 45 2-3. You can enable auto-QoS on static, dynamic-access, voice VLAN access, and trunk ports. When enabling auto-QoS with a Cisco IP Phone on a routed port, you must assign a static IP address to the IP phone. To display the QoS commands that are automatically generated when auto-QoS is enabled or disabled, enable debugging before you enable auto-QoS.
  • Page 46 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands auto qos voip To disable auto-QoS on a port, use the no auto qos voip interface configuration command. Only the auto-QoS-generated interface configuration commands for this port are removed. If this is the last port...
  • Page 47 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands auto qos voip Command Description show mls qos interface Displays QoS information at the port level. srr-queue bandwidth shape Assigns the shaped weights and enables bandwidth shaping on the four egress queues mapped to a standard port.
  • Page 48 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands bandwidth bandwidth Use the bandwidth policy-map class configuration command to specify or modify the minimum bandwidth provided to a class belonging to a hierarchical policy map attached to an enhanced-services (ES) port. Use the no form of this command to return to the default setting.
  • Page 49: Bandwidth

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands bandwidth These restrictions apply to the bandwidth command: If the percent keyword is used, the sum of the class bandwidth percentages within a single policy • map cannot exceed 99 percent. Percentage calculations are based on the bandwidth available at the parent class (or the port if it is the parent).
  • Page 50 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands bandwidth Switch(config)# policy-map policy1 Switch(config-pmap)# class class1 Switch(config-pmap-c)# bandwidth percent 50 Switch(config-pmap-c)# exit Switch(config-pmap)# class class2 Switch(config-pmap-c)# bandwidth percent 25 Switch(config-pmap-c)# exit Switch(config-pmap)# class voice1 Switch(config-pmap-c)# priority Switch(config-pmap-c)# exit Switch(config-pmap)# end...
  • Page 51: Boot Config-File

    This command was introduced. Usage Guidelines Filenames and directory names are case sensitive. This command changes the setting of the CONFIG_FILE environment variable. For more information, Appendix A, “Catalyst 3750 Metro Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 52: Boot Enable-Break

    Despite the setting of this command, you can interrupt the automatic boot process at any time by pressing Note 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 Metro Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 53: 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 Metro Switch Boot Loader Commands.” Related Commands Command...
  • Page 54: 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_CONFIG_FILE environment variable. For more information, see Appendix A, “Catalyst 3750 Metro Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 55: 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 Metro Switch Boot Loader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 56: Boot Private-Config-File

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands boot private-config-file boot private-config-file Use the boot private-config-file global configuration command to specify the filename that software 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 57: Boot System

    The boot system command is automatically manipulated to load the downloaded image. This command changes the setting of the BOOT environment variable. For more information, see Appendix A, “Catalyst 3750 Metro Switch Boot Loader Commands.” Related Commands Command...
  • Page 58: Channel-Group

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands channel-group channel-group Use the channel-group interface configuration command to assign a port to an EtherChannel group and to enable an EtherChannel mode. Use the no form of this command to remove a port from an EtherChannel group.
  • Page 59 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands channel-group Defaults No channel groups are assigned. No mode is configured. Command Modes Interface configuration Command History Release Modification 12.1(14)AX This command was introduced. Usage Guidelines For Layer 2 EtherChannels, you do not have to create a port-channel first by using the interface port-channel global configuration command before assigning a physical port to a channel group.
  • Page 60 Do not configure a port that is an active member of an EtherChannel as an 802.1x port. If 802.1x is enabled on a not-yet active port of an EtherChannel, the port does not join the EtherChannel. 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(25)EY, the port does not join the EtherChannel.
  • Page 61 Displays PAgP channel-group information. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_ command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 62: Channel-Protocol

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands channel-protocol channel-protocol Use the channel-protocol interface configuration command 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 63: Class

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class class Use the class policy-map configuration command to specify the name of the class whose traffic policy you want to create or change. Use the no form of this command to delete an existing class from a policy map.
  • Page 64 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class priority: enables the priority queue (low-latency queueing [LLQ]) for a class of traffic. For more • information, see the priority command. This command is effective only in a hierarchical policy map attached to an ES port.
  • Page 65 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class Examples This example shows how to create a policy map called policy1. When attached to an ingress port, the policy matches all the inbound traffic defined in class1, sets the IP DSCP to 10, and polices the traffic at an average rate of 1 Mbps and bursts of 20 KB.
  • Page 66 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class This example shows how to create a hierarchical class-level policy map with two traffic classes. One of the classes has a class-level classification and a two-rate policer, and the other is the default traffic class.
  • Page 67 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class Related Commands Command Description bandwidth Specifies or modifies the minimum bandwidth provided to a class belonging to a policy map attached to an ES port. class-map Creates a class map to be used for matching packets to the class whose name you specify.
  • Page 68: Class-Map

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class-map class-map Use the class-map global configuration command 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. Use the no form of this command to delete an existing class map and to return to global configuration mode.
  • Page 69 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands class-map Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access control entries (ACEs). Class maps that contain ACLs are not supported in an egress policy attached to an enhanced-services (ES) port or in a hierarchical ingress policy attached to an ES port.
  • Page 70: Clear Ip Arp Inspection Log

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear ip arp inspection log clear ip arp inspection log Use the clear ip arp inspection log privileged EXEC command on the switch to clear the dynamic Address Resolution Protocol (ARP) inspection log buffer.
  • Page 71: Clear Ip Arp Inspection Statistics

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear ip arp inspection statistics clear ip arp inspection statistics Use the clear ip arp inspection statistics privileged EXEC command on the switch to clear the dynamic Address Resolution Protocol (ARP) inspection statistics.
  • Page 72: Clear Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear ip dhcp snooping clear ip dhcp snooping Use the clear ip dhcp snooping privileged EXEC command to clear the DHCP snooping binding database, the DHCP snooping binding database agent statistics, or the DHCP snooping statistics counters.
  • Page 73: Clear Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear ip dhcp snooping Related Commands Command Description ip dhcp snooping Enables DHCP snooping on a VLAN. ip dhcp snooping database Configures the DHCP snooping binding database agent or the binding file.
  • Page 74: Clear Ipv6 Dhcp Conflict

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear ipv6 dhcp conflict clear ipv6 dhcp conflict Use the clear ipv6 dhcp conflict privileged EXEC command to clear an address conflict from the Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server database.
  • Page 75: Clear L2Protocol-Tunnel Counters

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear l2protocol-tunnel counters clear l2protocol-tunnel counters Use the clear l2protocol-tunnel counters privileged EXEC command to clear the protocol counters in protocol tunnel ports. clear l2protocol-tunnel counters [interface-id] Syntax Description interface-id (Optional) Specify interface for which protocol counters are to be cleared.
  • Page 76: Clear Lacp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear lacp clear lacp Use the clear lacp privileged EXEC command to clear Link Aggregation Control Protocol (LACP) channel-group counters. clear lacp {channel-group-number counters | counters} Syntax Description channel-group-number (Optional) Channel group number. The range is 1 to 12.
  • Page 77: Clear Mac Address-Table

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear mac address-table clear mac address-table Use the clear mac address-table privileged EXEC command to delete from the MAC address table all dynamic MAC addresses, a specific dynamic MAC address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 78: Clear Mac Address-Table Move Update

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear mac address-table move update clear mac address-table move update Use the clear mac address-table move update privileged EXEC command to clear the mac address-table-move update-related counters. clear mac address-table move update Syntax Description This command has no arguments or keywords.
  • Page 79: Clear Pagp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear pagp clear pagp Use the clear pagp privileged EXEC command to clear Port Aggregation Protocol (PAgP) channel-group information. clear pagp {channel-group-number counters | counters} Syntax Description channel-group-number (Optional) Channel group number. The range is 1 to 12.
  • Page 80: Clear Rep Counters

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear rep counters clear rep counters Use the clear rep counters privileged EXEC command to clear Resilient Ethernet Protocol (REP) counters for the specified interface or all interfaces. clear rep counters [interface interface-id]...
  • Page 81: Clear Spanning-Tree Counters

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear spanning-tree counters clear spanning-tree counters Use the clear spanning-tree counters privileged EXEC command to clear the spanning-tree counters. clear spanning-tree counters [interface interface-id] Syntax Description interface interface-id (Optional) Clear all spanning-tree counters on the specified interface. Valid interfaces include physical ports, VLANs, and port channels.
  • Page 82: Clear Spanning-Tree Detected-Protocols

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear vmps statistics clear vmps statistics Use the clear vmps statistics privileged EXEC command to clear the statistics maintained by the VLAN Query Protocol (VQP) client. clear vmps statistics Syntax Description This command has no arguments or keywords.
  • Page 84: Clear Vtp Counters

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands clear vtp counters clear vtp counters Use the clear vtp counters privileged EXEC command to clear the VLAN Trunking Protocol (VTP) and pruning counters. clear vtp counters Syntax Description This command has no arguments or keywords.
  • Page 85: Cpu Traffic Qos Cos

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands cpu traffic qos cos cpu traffic qos cos Use the cpu traffic qos cos command in global configuration mode to mark the class of service (CoS) value of CPU traffic. To return to the default value, use the no form of this command.
  • Page 86 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands cpu traffic qos cos Related Commands Command Description cpu traffic qos dscp Configures the DSCP value for CPU-generated traffic. cpu traffic qos Configures the precedence for CPU-generated traffic. precedence mls qos map Configures a global map to set CoS, DSCP, and precedence values for CPU-generated traffic.
  • Page 87: Cpu Traffic Qos Dscp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands cpu traffic qos dscp cpu traffic qos dscp Use the cpu traffic qos dscp command in global configuration mode to configure a differentiated services code point (DSCP) value for CPU traffic. To return to the default value, use the no form of this command.
  • Page 88 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands cpu traffic qos dscp Examples This example shows how to configure the DSCP value of CPU-generated packets: Switch(config)# cpu traffic qos dscp 36 This example shows how to configure the switch to trust the DSCP value of incoming CPU-generated...
  • Page 89: Cpu Traffic Qos Precedence

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands cpu traffic qos precedence cpu traffic qos precedence Use the cpu traffic qos precedence command in global configuration mode to configure quality of service (QoS) marking for control plane traffic. To return to the default value, use the no form of this command.
  • Page 90 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands cpu traffic qos precedence The mutation keyword configures the switch to change the incoming value according to the global mutation-map configuration. When you configure the switch to trust CoS, the configuration applies to both IP and non-IP traffic.
  • Page 91: Define Interface-Range

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands define interface-range define interface-range Use the define interface-range global configuration command to create an interface-range macro. Use the no form of this command to delete the defined macro. define interface-range macro-name interface-range...
  • Page 92 Executes a command on multiple ports at the same time. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 93: Delete

    The prompting behavior depends on the setting of the file prompt global configuration command. By default, the switch prompts for confirmation on destructive file operations. For more information about this command, see the Cisco IOS Command Reference for Release 12.2. Examples...
  • Page 94: Deny (Arp Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (ARP access-list configuration) deny (ARP access-list configuration) Use the deny Address Resolution Protocol (ARP) access-list configuration command on the switch to deny an ARP packet based on matches against the DHCP bindings. Use the no form of this command to remove the specified access control entry (ACE) from the access list.
  • Page 95: Deny (Arp Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (ARP access-list configuration) Command History Release Modification 12.2(25)EY This command was introduced. Usage Guidelines You can add deny clauses to drop ARP packets based on matching criteria. Examples This example shows how to define an ARP access list and to deny both ARP requests and ARP responses from a host with an IP address of 1.1.1.1 and a MAC address of 0000.0000.abcd:...
  • Page 96: Deny (Ipv6 Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (IPv6 access-list configuration) deny (IPv6 access-list configuration) Use the deny command in IPv6 access list configuration mode to set deny conditions for an IPv6 access list. Use the no form of this command to remove the deny conditions.
  • Page 97: Deny (Ipv6 Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (IPv6 access-list configuration) host source-ipv6-address The source IPv6 host address for which to set deny conditions. This source-ipv6-address argument must be in the form documented in RFC 2373 where the address is specified in hexadecimal using 16-bit values between colons.
  • Page 98 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (IPv6 access-list configuration) sequence value (Optional) Specify the sequence number for the access list statement. The acceptable range is from 1 to 4294967295. time-range name (Optional) Specify the time range that applies to the deny statement. The name of the time range and its restrictions are specified by the time-range and absolute or periodic commands, respectively.
  • Page 99 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (IPv6 access-list configuration) Usage Guidelines The deny (IPv6 access-list configuration mode) command is similar to the deny (IPv4 access-list configuration mode) command, but it is IPv6-specific. Use the deny (IPv6) command after the...
  • Page 100 Examples This example configures the IPv6 access list named CISCO and applies the access list to outbound traffic on a Layer 3 interface. The first deny entry prevents all packets that have a destination TCP port number greater than 5000 from leaving the interface. The second deny entry prevents all packets that have a source UDP port number less than 5000 from leaving the interface.
  • Page 101: Deny (Mac Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (MAC access-list configuration) deny (MAC access-list configuration) Use the deny MAC access list configuration command 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 102: Deny (Mac Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (MAC access-list configuration) 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 103 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands deny (MAC access-list configuration) 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 104: Dot1X Auth-Fail Max-Attempts

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x auth-fail max-attempts dot1x auth-fail max-attempts Use the dot1x auth-fail max-attempts interface configuration command to configure the maximum allowable authentication attempts before a port is moved to the restricted VLAN. To return to the default setting, use the no form of this command.
  • Page 105 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x auth-fail max-attempts Related Commands Command Description dot1x auth-fail vlan [vlan id] Enables the optional restricted VLAN feature. dot1x max-reauth-req [count] Sets the maximum number of times that the switch restarts the authentication process before a port changes to the unauthorized state.
  • Page 106: Dot1X Auth-Fail Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x auth-fail vlan dot1x auth-fail vlan Use the dot1x auth-fail vlan interface configuration command to enable the restricted VLAN on a port. To return to the default setting, use the no form of this command.
  • Page 107 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x auth-fail vlan When a restricted VLAN port is moved to an unauthorized state, the authentication process restarts. If the supplicant fails the authentication process again, the authenticator waits in the held state. After the supplicant has correctly re-authenticated, all IEEE 802.1x ports are reinitialized and treated as normal...
  • Page 108: Dot1X Default

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x guest-vlan dot1x guest-vlan Use the dot1x guest-vlan interface configuration command 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 110 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x guest-vlan You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface interface-id] Displays 802.1x status for the specified port.
  • Page 111: Dot1X Host-Mode

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x host-mode dot1x host-mode Use the dot1x host-mode interface configuration command 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 112 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x host-mode You can verify your settings by entering the show dot1x [interface interface-id] privileged EXEC command. Related Commands Command Description show dot1x [interface interface-id] Displays 802.1x status for the specified port.
  • Page 113: Dot1X Initialize

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x max-reauth-req dot1x max-reauth-req Use the dot1x max-reauth-req interface configuration command to set the maximum number of times that the switch restarts the authentication process before a port transitions to the unauthorized state. Use the no form of this command to return to the default setting.
  • Page 115: Dot1X Max-Req

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x max-req dot1x max-req Use the dot1x max-req interface configuration command to set the maximum number of times that the switch retransmits an Extensible Authentication Protocol (EAP) frame from the authentication server (assuming that no response is received) to the client before restarting the authentication process.
  • Page 116: Dot1X Port-Control

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command 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 117 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x port-control EtherChannel port—Before enabling 802.1x on the port, you must first remove it from the • EtherChannel. If you try to enable 802.1x on an EtherChannel or on an active port in an EtherChannel, an error message appears, and 802.1x is not enabled.
  • Page 118: Dot1X Re-Authenticate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command to manually initiate a re-authentication of the specified 802.1x-enabled port. dot1x re-authenticate interface interface-id Syntax Description interface interface-id Port to re-authenticate.
  • Page 119: Dot1X Reauthentication

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x reauthentication dot1x reauthentication Use the dot1x reauthentication interface configuration command to enable periodic re-authentication of the client. Use the no form of this command to return to the default setting.
  • Page 120: Dot1X Supplicant Force-Multicast

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x supplicant force-multicast dot1x supplicant force-multicast Use the dot1x supplicant force-multicast global configuration command to force a supplicant switch to send only multicast Extensible Authentication Protocol over LAN (EAPOL) packets whenever it receives multicast or unicast EAPOL packets.
  • Page 121: Dot1X System-Auth-Control

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x system-auth-control dot1x system-auth-control Use the dot1x system-auth-control global configuration command to globally enable 802.1x. Use the no form of this command to return to the default setting. dot1x system-auth-control no dot1x system-auth-control Syntax Description This command has no arguments or keywords.
  • Page 122: Dot1X Test Eapol-Capable

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x test eapol-capable dot1x test eapol-capable Use the dot1x test eapol-capable privileged EXEC command to monitor IEEE 802.1x activity on all the switch ports and to display information about the devices that are connected to the ports that support IEEE 802.1x.
  • Page 123: Dot1X Test Timeout

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x test timeout dot1x test timeout Use the dot1x test timeout global configuration command to configure the timeout used to wait for EAPOL response from a port being queried for IEEE 802.1x readiness.
  • Page 124: Dot1X Timeout

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x timeout dot1x timeout Use the dot1x timeout interface configuration command to set 802.1x timers. Use the no form of this command to return to the default setting. dot1x timeout {quiet-period seconds | reauth-period seconds | server-timeout seconds |...
  • Page 125 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x timeout The dot1x timeout reauth-period interface configuration command affects the behavior of the switch only if you have enabled periodic re-authentication by using the dot1x reauthentication interface configuration command. During the quiet period, the switch does not accept or initiate any authentication requests. If you want to provide a faster response time to the user, enter a smaller number than the default.
  • Page 126: Dot1X Violation-Mode

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x violation-mode dot1x violation-mode Use the dot1x violation-mode interface configuration command on the switch to configure the violation modes that occur when a new device connects to a port or when a new device connects to a port after the maximum number of devices are connected to that port.
  • Page 127 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands dot1x violation-mode Related Commands Command Description show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified port. Catalyst 3750 Metro Switch Command Reference 2-99 OL-9645-10...
  • Page 128: Duplex

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands duplex duplex Use the duplex interface configuration command 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 129 Catalyst 3750 Metro Switch Cisco IOS Commands duplex Beginning with Cisco IOS Release 12.2(25)EY, you can configure the duplex setting when the speed is set to auto. This command is not available on SFP module ports unless a 1000BASE-T SFP module or a 100BASE-FX MMF SFP module is in the port.
  • Page 130: Errdisable Detect Cause

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands errdisable detect cause errdisable detect cause Use the errdisable detect cause global configuration command to enable error-disabled detection for a specific cause or all causes. Use the no form of this command to disable the error-disabled detection feature.
  • Page 131: Errdisable Detect Cause

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands errdisable detect cause small-frame errdisable detect cause small-frame Use the errdisable detect cause small-frame global configuration command on the switch to allow any switch port to be error disabled if incoming VLAN-tagged packets are small frames (67 bytes or less) and arrive at the minimum configured rate (the threshold).
  • Page 133 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands errdisable detect cause small-frame Related Commands Command Description errdisable recovery cause Enables the recovery timer. small-frame errdisable recovery interval Specifies the time to recover from the specified error-disabled state. interval show interfaces Displays the interface settings on the switch, including input and output flow control.
  • Page 134: Errdisable Recovery Cause Small-Frame

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands errdisable recovery cause small-frame errdisable recovery cause small-frame Use the errdisable recovery cause small-frame global configuration command on the switch enable the recovery timer for ports to be automatically re-enabled after they are error disabled by the arrival of small frames.
  • Page 135: Errdisable Recovery

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands errdisable recovery errdisable recovery Use the errdisable recovery global configuration command to configure the recover mechanism variables. Use the no form of this command to return to the default setting. errdisable recovery {cause {all | arp-inspection | bpduguard | channel-misconfig | dtp-flap |...
  • Page 136 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands errdisable recovery Though visible in the command-line help strings, the dhcp-rate-limit, unicast-flood, and Note channel-misconfig keywords are not supported. Defaults Recovery is disabled for all causes. The default recovery interval is 300 seconds.
  • Page 137: Ethernet Evc

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet evc ethernet evc Use the ethernet evc global configuration command to define an Ethernet virtual connection (EVC) and to enter EVC configuration mode. Use the no form of this command to delete the EVC.
  • Page 138: Ethernet Lmi

    The sequence in which you enter the ethernet lmi interface interface configuration and ethernet lmi global global configuration commands is important. The latest command entered overrides the prior command entered. For information about the ethernet lmi interface configuration command, see the Cisco IOS Carrier Note Ethernet Command Reference at this URL: http://www.cisco.com/en/US/docs/ios/cether/command/reference/ce_book.html...
  • Page 139: Ethernet Lmi

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet lmi To enable the switch as an Ethernet LMI CE device, you must enter both the ethernet lmi global and ethernet lmi ce commands. By default Ethernet LMI is disabled, and, when enabled the switch is in provider-edge mode unless you also enter the ethernet lmi ce command.
  • Page 140: Ethernet Lmi Ce-Vlan Map

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet lmi ce-vlan map ethernet lmi ce-vlan map Use the ethernet lmi ce-vlan map Ethernet service configuration command to configure Ethernet Local Management Interface (E-LMI) parameters. Use the no form of this command to remove the configuration.
  • Page 141 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet lmi ce-vlan map Examples This example shows how to configure an E-LMI customer VLAN-to-EVC map to map EVC test to customer VLAN 101 in service instance 333 on the interface:...
  • Page 142: Ethernet Oam Remote-Failure

    Ethernet OAM on the interface. The Catalyst 3750 Metro switch does not generate Link Fault or Critical Event OAM PDUs. However, if these PDUs are received from a link partner, they are processed. The switch supports generating and receiving Dying Gasp OAM PDUs when Ethernet OAM is disabled, the interface is shut down, the interface enters the error-disabled state, or the switch is reloading.
  • Page 143 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet oam remote-failure Examples This example shows how to configure an Ethernet OAM template for remote-failure indication when an unrecoverable error has occurred and how to apply it to an interface:...
  • Page 144: Ethernet Uni

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet uni ethernet uni Use the ethernet uni interface configuration command to set UNI bundling attributes. Use the no form of this command to return to the default bundling configuration. ethernet uni {bundle [all-to-one] | multiplex}...
  • Page 145 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet uni Related Commands Command Description show ethernet service Displays information about Ethernet service instances on an interface, interface including service type. Catalyst 3750 Metro Switch Command Reference 2-117 OL-9645-10...
  • Page 146: Ethernet Uni Id

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ethernet uni id ethernet uni id Use the ethernet uni interface configuration command to create an Ethernet user-network interface (UNI) ID. Use the no form of this command to remove the UNI ID.
  • Page 147: Flowcontrol

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands flowcontrol flowcontrol Use the flowcontrol interface configuration command to set the receive flow-control state for an interface. When flow control send is operable and on for a device and it detects any congestion at its end, it notifies the link partner or the remote device of the congestion by sending a pause frame.
  • Page 148 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands flowcontrol Table 2-5 Flow Control Settings and Local and Remote Port Flow Control Resolution Flow Control Settings Flow Control Resolution Local Device Remote Device Local Device Remote Device send off/receive on...
  • Page 149: Interface Port-Channel

    You must also disable spanning tree. 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 •...
  • Page 150 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-122...
  • Page 151: Interface Range

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands interface range interface range Use the interface range global configuration command to enter interface range configuration mode and to execute a command on multiple ports at the same time. Use the no form of this command to remove an interface range.
  • Page 152 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-124...
  • Page 153: Interface Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands interface vlan interface vlan Use the interface vlan global configuration command 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 154 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands interface vlan Related Commands Command Description show interfaces vlan vlan-id Displays the administrative and operational status of all interfaces or the specified VLAN. Catalyst 3750 Metro Switch Command Reference 2-126 OL-9645-10...
  • Page 155: Ip Access-Group

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip access-group ip access-group Use the ip access-group interface configuration command 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 156 Chapter 2 Catalyst 3750 Metro 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. •...
  • Page 157 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 158: Ip Address

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip address ip address Use the ip address interface configuration command 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. Use the no form of this command to remove an IP address or to disable IP processing.
  • Page 159 Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma nd_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 160: Ip Arp Inspection Filter Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection filter vlan ip arp inspection filter vlan Use the ip arp inspection filter vlan global configuration command on the switch to permit or deny Address Resolution Protocol (ARP) requests and responses from a host configured with a static IP address when dynamic ARP inspection is enabled.
  • Page 161: Ip Arp Inspection Filter Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection filter vlan Examples This example shows how to apply the ARP ACL static-hosts to VLAN 1 for dynamic ARP inspection: Switch(config)# ip arp inspection filter static-hosts vlan 1 You can verify your settings by entering the show ip arp inspection vlan 1 privileged EXEC command.
  • Page 162: Ip Arp Inspection Limit

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection limit ip arp inspection limit Use the ip arp inspection limit interface configuration command on the switch to limit the rate of incoming Address Resolution Protocol (ARP) requests and responses on an interface. It prevents dynamic ARP inspection from using all of the switch resources if a denial-of-service attack occurs.
  • Page 163: Ip Arp Inspection Limit

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection limit You should configure trunk ports with higher rates to reflect their aggregation. When the rate of incoming packets exceeds the user-configured rate, the switch places the interface into an error-disabled state.
  • Page 164: Ip Arp Inspection Log-Buffer

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection log-buffer ip arp inspection log-buffer Use the ip arp inspection log-buffer global configuration command on the switch to configure the dynamic Address Resolution Protocol (ARP) inspection logging buffer. Use the no form of this command to return to the default settings.
  • Page 165 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection log-buffer Examples This example shows how to configure the logging buffer to hold up to 45 entries: Switch(config)# ip arp inspection log-buffer entries 45 This example shows how to configure the logging rate to 20 log entries per 4 seconds. With this configuration, the switch generates system messages for five entries every second while there are entries in the log buffer.
  • Page 166: Ip Arp Inspection Trust

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection trust ip arp inspection trust Use the ip arp inspection trust interface configuration command on the switch to configure an interface trust state that determines which incoming Address Resolution Protocol (ARP) packets are inspected.
  • Page 167 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection trust Related Commands Command Description ip arp inspection Configures the dynamic ARP inspection logging buffer. log-buffer show ip arp inspection Displays the trust state and the rate limit of ARP packets for the specified interfaces interface or all interfaces.
  • Page 168: Ip Arp Inspection Validate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection validate ip arp inspection validate Use the ip arp inspection validate global configuration command on the switch to perform specific checks for dynamic Address Resolution Protocol (ARP) inspection. Use the no form of this command to return to the default settings.
  • Page 169: Ip Arp Inspection Validate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection validate Usage Guidelines You must specify at least one of the keywords. Each command overrides the configuration of the previous command; that is, if a command enables src-mac and dst-mac validations, and a second command enables IP validation only, the src-mac and dst-mac validations are disabled as a result of the second command.
  • Page 170: Ip Arp Inspection Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection vlan ip arp inspection vlan Use the ip arp inspection vlan global configuration command on the switch to enable dynamic Address Resolution Protocol (ARP) inspection on a per-VLAN basis. Use the no form of this command to return to the default setting.
  • Page 171: Ip Arp Inspection Vlan Logging

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection vlan logging ip arp inspection vlan logging Use the ip arp inspection vlan logging global configuration command on the switch to control the type of packets that are logged per VLAN. Use the no form of this command to disable this logging control.
  • Page 172: Ip Arp Inspection Vlan Logging

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip arp inspection vlan logging The acl-match and dhcp-bindings keywords merge with each other; that is, when you configure an ACL match, the DHCP bindings configuration is not disabled. Use the no form of the command to reset the logging criteria to their defaults.
  • Page 173: Ip Device Tracking

    ARP probe address with the ip device tracking probe command. Use the show ip device tracking all command to display information about entries in the IP device tracking table. For more information about this command, see the Cisco IOS Security Command Reference, Release 12.4T.
  • Page 174: Ip Device Tracking Maximum

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip device tracking maximum ip device tracking maximum Use the ip device tracking maximum command to enable IP port security binding tracking on a Layer 2 port. Use the no form of this command to disable IP port security on untrusted Layer 2 interfaces.
  • Page 175: Ip Device Tracking Probe

    ARP probes in cases when the default source ip address 0.0.0.0 for switch ports is used and the ARP probes drop. Use the show ip device tracking all command to display information about entries in the IP device tracking table. For more information about this command, see the Cisco IOS Security Command Reference, Release 12.4T. Examples...
  • Page 176 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip device tracking probe Related Commands Command Description show ip device Displays information about the entries in the IP device tracking table. tracking all Catalyst 3750 Metro Switch Command Reference 2-148...
  • Page 177: Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping ip dhcp snooping Use the ip dhcp snooping global configuration command to globally enable DHCP snooping. Use the no form of this command to return to the default setting.
  • Page 178: Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping binding ip dhcp snooping binding Use the ip dhcp snooping binding privileged EXEC command to configure the DHCP snooping binding database and to add binding entries to the database. Use the no form of this command to delete entries from the binding database.
  • Page 179: Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping binding Related Commands Command Description ip dhcp snooping Enables DHCP snooping on a VLAN. show ip dhcp snooping binding Displays the dynamically configured bindings in the DHCP snooping binding database and the configuration information.
  • Page 180: Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping database ip dhcp snooping database Use the ip dhcp snooping database global configuration command to configure the DHCP snooping binding database agent. Use the no form of this command to disable the agent, to reset the timeout value, or to reset the write-delay value.
  • Page 181: Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping database NTP broadcast service • NTP access restrictions • NTP packet source IP address • If NTP is configured, the switch writes binding changes to the binding file only when the switch system clock is synchronized with NTP.
  • Page 182: Ip Dhcp Snooping Information Option

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping information option ip dhcp snooping information option Use the ip dhcp snooping information option global configuration command to enable DHCP option-82 data insertion. Use the no form of this command to disable DHCP option-82 data insertion.
  • Page 183: Ip Dhcp Snooping Information Option

    Chapter 2 Catalyst 3750 Metro 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 Metro Switch Command Reference...
  • Page 184: Ip Dhcp Snooping Information Option Allowed-Untrusted

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping information option allowed-untrusted ip dhcp snooping information option allowed-untrusted Use the ip dhcp snooping information option allowed-untrusted global configuration command on an aggregation switch to configure it to accept DHCP packets with option-82 information that are received on untrusted ports that might be connected to an edge switch.
  • Page 185 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping information option allowed-untrusted Examples This example shows how to configure an access switch to not check the option-82 information in untrusted packets from an edge switch and to accept the packets: Switch(config)# ip dhcp snooping information option allowed-untrusted You can verify your settings by entering the show ip dhcp snooping privileged EXEC command.
  • Page 186: Ip Dhcp Snooping Information Option Format Remote-Id

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping information option format remote-id ip dhcp snooping information option format remote-id Use the ip dhcp snooping information option format remote-id global configuration command on the switch to configure the option-82 remote-ID suboption. Use the no form of this command to configure the default remote-ID suboption.
  • Page 187: Ip Dhcp Snooping Limit Rate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping limit rate ip dhcp snooping limit rate Use the ip dhcp snooping limit rate interface configuration command to configure the number of DHCP messages an interface can receive per second. Use the no form of this command to return to the default setting.
  • Page 188: Ip Dhcp Snooping Trust

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping trust ip dhcp snooping trust Use the ip dhcp snooping trust interface configuration command to configure a port as trusted for DHCP snooping purposes. Use the no form of this command to return to the default setting.
  • Page 189: Ip Dhcp Snooping Verify

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping verify ip dhcp snooping verify Use the ip dhcp snooping verify global configuration command to configure the switch to verify on an untrusted port that the source MAC address in a DHCP packet matches the client hardware address. Use the no form of this command to configure the switch to not verify the MAC addresses.
  • Page 190: Ip Dhcp Snooping Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping vlan ip dhcp snooping vlan Use the ip dhcp snooping vlan global configuration command to enable DHCP snooping on a VLAN. Use the no form of this command to disable DHCP snooping on a VLAN.
  • Page 191: Ip Dhcp Snooping Vlan Information Option Format-Type Circuit-Id String

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping vlan information option format-type circuit-id string ip dhcp snooping vlan information option format-type circuit-id string Use the ip dhcp snooping vlan information option format-type circuit-id string interface configuration command on the switch to configure the option-82 circuit-ID suboption. Use the no form of this command to configure the default circuit-ID suboption.
  • Page 192: Ip Dhcp Snooping Vlan Information Option Format-Type Circuit-Id String

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip dhcp snooping vlan information option format-type circuit-id string Examples This example shows how to configure the option-82 circuit-ID suboption: Switch(config-if)# ip dhcp snooping vlan 250 information option format-type circuit-id string customerABC-250-0-0...
  • Page 193: Ip Igmp Filter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp filter ip igmp filter Use the ip igmp filter interface configuration command 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 194: Ip Igmp Filter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp filter Related Commands Command Description ip igmp profile Configures the specified IGMP profile number. show ip dhcp snooping Displays the characteristics of the specified IGMP profile. statistics show running-config interface...
  • Page 195: Ip Igmp Max-Groups

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp max-groups ip igmp max-groups Use the ip igmp max-groups interface configuration command 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 196 Displays the running configuration on the switch interface, including the interface interface-id 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 197: Ip Igmp Profile

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp profile ip igmp profile Use the ip igmp profile global configuration command to create an Internet Group Management Protocol (IGMP) profile and enter IGMP profile configuration mode. From this mode, you can specify the configuration of the IGMP profile to be used for filtering IGMP membership reports from a switchport.
  • Page 198 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp profile Related Commands Command Description ip igmp filter Applies the IGMP profile to the specified interface. show ip dhcp snooping Displays the characteristics of all IGMP profiles or the specified statistics IGMP profile number.
  • Page 199: Ip Igmp Snooping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping ip igmp snooping Use the ip igmp snooping global configuration command to globally enable Internet Group Management Protocol (IGMP) snooping on the switch or to enable it on a per-VLAN basis. Use the no form of this command to return to the default setting.
  • Page 200 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping Command Description show ip igmp snooping groups Displays the IGMP snooping router ports. show ip igmp snooping querier Displays the configuration and operation information for the IGMP querier configured on a switch.
  • Page 201: Ip Igmp Snooping Querier

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping querier ip igmp snooping querier Use the ip igmp snooping querier global configuration command to globally enable the Internet Group Management Protocol (IGMP) querier function in Layer 2 networks. Use the command with keywords to enable and configure the IGMP querier feature on a VLAN interface.
  • Page 202: Ip Igmp Snooping Querier

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping querier Usage Guidelines Use this command to enable IGMP snooping to detect the IGMP version and IP address of a device that sends IGMP query messages, which is also called a querier.
  • Page 203: Ip Igmp Snooping Report-Suppression

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping report-suppression ip igmp snooping report-suppression Use the ip igmp snooping report-suppression global configuration command 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 204 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping report-suppression Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. show ip igmp snooping Displays the IGMP snooping configuration of the switch or the VLAN.
  • Page 205: Ip Igmp Snooping Vlan Immediate-Leave

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping vlan immediate-leave ip igmp snooping vlan immediate-leave Use the ip igmp snooping immediate-leave global configuration command to enable Internet Group Management Protocol (IGMP) snooping immediate-leave processing on a per-VLAN basis. Use the no form of this command to return to the default setting.
  • Page 206: Ip Igmp Snooping Vlan Mrouter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping vlan mrouter ip igmp snooping vlan mrouter Use the ip igmp snooping mrouter global configuration command to add a multicast router port or to configure the multicast learning method. Use the no form of this command to return to the default settings.
  • Page 207: Ip Igmp Snooping Vlan Mrouter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping vlan mrouter Examples 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)# ip igmp snooping vlan 1 mrouter learn cgmp You can verify your settings by entering the show ip igmp snooping privileged EXEC command.
  • Page 208: Ip Igmp Snooping Vlan Static

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping vlan static ip igmp snooping vlan static Use the ip igmp snooping static global configuration command to enable Internet Group Management Protocol (IGMP) snooping and to statically add a Layer 2 port as a member of a multicast group. Use the no form of this command to remove ports specified as members of a static multicast group.
  • Page 209 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip igmp snooping vlan static Related Commands Command Description ip igmp snooping report-suppression Enables IGMP report suppression. show ip igmp snooping Displays the snooping configuration. show ip igmp snooping groups Displays IGMP snooping multicast information.
  • Page 210: Ip Sla Responder Twamp

    The range is 1-604800 seconds. The default is 900 seconds. For the TWAMP server and reflector to function, you must also configure a TWAMP control device, which serves as the client and session sender. These functions are not configured on a Cisco device. Examples...
  • Page 211 Related Commands Command Description ip sla responder Enables the Cisco IOS IP Service Level Agreements (SLAs) responder for general IP SLAs operations. ip sla server twamp Configures the switch as a Two-Way Active Measurement Protocol (TWAMP) server.
  • Page 212: Ip Sla Server Twamp

    The range is 1-6000 seconds. The default is 900 seconds. For the TWAMP server and reflector to function, you must also configure a TWAMP control device, which serves as the client and session sender. These functions are not configured on a Cisco device. Catalyst 3750 Metro Switch Command Reference...
  • Page 213 Switch(config-twamp-srvr)# timer inactivity 540 Related Commands Command Description ip sla responder Enables the Cisco IOS IP Service Level Agreements (SLAs) responder for general IP SLAs operations. ip sla responder Configures the switch as a Two-Way Active Measurement Protocol twamp (TWAMP) responder.
  • Page 214: Ip Source Binding

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip source binding ip source binding Use the ip source binding global configuration command to configure static IP source bindings on the switch. Use the no form of this command to delete static bindings.
  • Page 215: Ip Source Binding

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip source binding Related Commands Command Description ip verify source Enables IP source guard on an interface. show ip igmp snooping groups Displays the IP source bindings on the switch. show ip verify source Displays the IP source guard configuration on the switch or on a specific interface.
  • Page 216: Ip Ssh

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip ssh ip ssh Use the ip ssh global configuration command 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 217 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 218: Ip Sticky-Arp (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip sticky-arp (global configuration) ip sticky-arp (global configuration) Use the ip sticky-arp global configuration command to enable sticky Address Resolution Protocol (ARP) on a switch virtual interface (SVI) that belongs to a private VLAN. Use the no form of this command to disable sticky ARP.
  • Page 219: Ip Sticky-Arp (Global Configuration)

    Command Description Adds a permanent entry in the ARP table. For syntax information, see the Cisco IOS IP Addressing Services Command Reference, Release 12.4 > ARP Commands. show arp Displays the entries in the ARP table. For syntax information, see the Cisco IOS IP Addressing Services Command Reference, Release 12.4 >...
  • Page 220: Ip Sticky-Arp (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip sticky-arp (interface configuration) ip sticky-arp (interface configuration) Use the ip sticky-arp interface configuration command to enable sticky Address Resolution Protocol (ARP) on a switch virtual interface (SVI) or a Layer 3 interface. Use the no form of this command to disable sticky ARP.
  • Page 221: Ip Sticky-Arp (Interface Configuration)

    Command Description Adds a permanent entry in the ARP table. For syntax information, see the Cisco IOS IP Addressing Services Command Reference, Release 12.4 > ARP Commands. show arp Displays the entries in the ARP table. For syntax information, see the Cisco IOS IP Addressing Services Command Reference, Release 12.4 >...
  • Page 222: Ip Verify Source

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip verify source ip verify source Use the ip verify source interface configuration command to enable IP source guard on an interface. Use the no form of this command to disable IP source guard.
  • Page 223: Ip Verify Source

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip verify source Switch# show ip verify source interface gigabitethernet1/0/1 Interface Filter-type Filter-mode IP-address Mac-address Vlan --------- ----------- ----------- --------------- ----------------- ---------- Gi1/0/1 ip-mac active 10.0.0.1 Gi1/0/1 ip-mac active deny-all 11-20...
  • Page 224: Ip Vrf (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip vrf (global configuration) ip vrf (global configuration) Use the ip-vrf global configuration command to configure a virtual private network (VPN) routing/forwarding (VRF) routing table and to enter VRF configuration mode. Use the no form of this command to remove a VRF routing table and to return to global configuration mode.
  • Page 225: Ip Vrf (Global Configuration)

    IP address and an arbitrary number. The ip vrf vrf-name command creates a VRF routing table and a Cisco Express Forwarding (CEF) forwarding table, both named vrf-name. Associated with these tables is the default route distinguisher value route-distinguisher.
  • Page 226: Ip Vrf (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip vrf (interface configuration) ip vrf (interface configuration) Use the ip-vrf interface configuration command to associate a virtual private network (VPN) routing/forwarding (VRF) routing table or a route map with an interface. Use the no form of this command to disassociate the VRF routing table or route map.
  • Page 227: Ip Vrf (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ip vrf (interface configuration) Command Description show ip route vrf Displays the IP routing table associated with a VRF. For syntax information, select Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Switching Services Command Reference, Release 12.2.
  • Page 228: Ipv6 Access-List

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 access-list ipv6 access-list Use the ipv6 access-list global configuration command to define an IPv6 access list and to place the switch in IPv6 access list configuration mode. To remove the access list, use the no form of this command.
  • Page 229 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 access-list The IPv6 neighbor discovery process uses the IPv6 network layer service; therefore, by default, IPv6 ACLs implicitly allow IPv6 neighbor discovery packets to be sent and received on an interface. In IPv4, the Address Resolution Protocol (ARP), which is equivalent to the IPv6 neighbor discovery process, uses a separate data-link layer protocol;...
  • Page 230: Ipv6 Address Dhcp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 address dhcp ipv6 address dhcp Use the ipv6 address dhcp interface configuration command to acquire an IPv6 address on an interface from the Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server. To remove the address from the interface, use the no form of this command.
  • Page 231: Ipv6 Dhcp Client Request Vendor

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 dhcp client request vendor ipv6 dhcp client request vendor Use the ipv6 dhcp client request interface configuration command to configure an IPv6 client to request an option from a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server. To remove the request, use the no form of this command.
  • Page 232: Ipv6 Dhcp Ping Packets

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 dhcp ping packets ipv6 dhcp ping packets Use the ipv6 dhcp ping packets global configuration command to specify the number of packets a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server sends to a pool address as part of a ping operation.
  • Page 233: Ipv6 Dhcp Pool

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 dhcp pool ipv6 dhcp pool Use the ipv6 dhcp pool global configuration command to enter Dynamic Host Configuration Protocol for IPv6 (DHCPv6) pool configuration mode. Use the no form of this command to return to the default settings.
  • Page 234: Ipv6 Dhcp Pool

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 dhcp pool suboption number: sets vendor-specific suboption number. The range is 1 to 65535. Enter an – IPv6 address, ASCII text, or a hexadecimal string as defined by the suboption parameters.
  • Page 235: Ipv6 Dhcp Server

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 dhcp server ipv6 dhcp server Use the ipv6 dhcp server interface configuration command to enable Dynamic Host Configuration Protocol for IPv6 (DHCPv6) service on an interface. To disable DHCPv6 service on an interface, use the no form of this command.
  • Page 236: Ipv6 Dhcp Server

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 dhcp server If the packet was received directly from the client, the server performs this same matching, but it uses all the IPv6 addresses configured on the incoming interface when performing the match. Once again, the server selects the longest prefix match.
  • Page 237: Ipv6 Mld Snooping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping ipv6 mld snooping Use the ipv6 mld snooping global configuration command without keywords to enable IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping globally or on the specified VLAN. Use the no form of this command to disable MLD snooping on the switch or the VLAN.
  • Page 238 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping Examples This example shows how to globally enable MLD snooping: Switch(config)# ipv6 mld snooping This example shows how to disable MLD snooping on a VLAN: Switch(config)# no ipv6 mld snooping vlan 11 You can verify your settings by entering the show ipv6 mld snooping user EXEC command.
  • Page 239: Ipv6 Mld Snooping Last-Listener-Query-Count

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-count ipv6 mld snooping last-listener-query-count Use the ipv6 mld snooping last-listener-query-count global configuration command to configure IP version 6 (IPv6) Multicast Listener Discovery Mulitcast Address Specific Queries (MASQs) or that will be sent before aging out a client.
  • Page 240 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-count Examples This example shows how to globally set the last-listener query count: Switch(config)# ipv6 mld snooping last-listener-query-count 1 This example shows how to set the last-listener query count for VLAN 10:...
  • Page 241: Ipv6 Mld Snooping Last-Listener-Query-Interval

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-interval ipv6 mld snooping last-listener-query-interval Use the ipv6 mld snooping last-listener-query-interval global configuration command to configure IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping last-listener query interval on the switch or on a VLAN.
  • Page 242 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping last-listener-query-interval Examples This example shows how to globally set the last-listener query interval to 2 seconds: Switch(config)# ipv6 mld snooping last-listener-query-interval 2000 This example shows how to set the last-listener query interval for VLAN 1 to 5.5 seconds:...
  • Page 243: Ipv6 Mld Snooping Listener-Message-Suppression

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping listener-message-suppression ipv6 mld snooping listener-message-suppression Use the ipv6 mld snooping listener-message-suppression global configuration command to enable IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping listener message suppression. Use the no form of this command to disable MLD snooping listener message suppression.
  • Page 244 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping listener-message-suppression Related Commands Command Description ipv6 mld snooping Enables IPv6 MLD snooping. sdm prefer Configures an SDM template to optimize system resources based on how the switch is being used.
  • Page 245: Ipv6 Mld Snooping Robustness-Variable

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping robustness-variable ipv6 mld snooping robustness-variable Use the ipv6 mld snooping robustness-variable global configuration command to configure the number of IP version 6 (IPv6) Multicast Listener Discovery (MLD) queries that the switch sends before deleting a listener that does not respond, or enter a VLAN ID to configure on a per-VLAN basis.
  • Page 246 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping robustness-variable Examples This example shows how to configure the global robustness variable so that the switch sends out three queries before it deletes a listener port that does not respond: Switch(config)# ipv6 mld snooping robustness-variable 3 This example shows how to configure the robustness variable for VLAN 1.
  • Page 247: Ipv6 Mld Snooping Tcn

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping tcn ipv6 mld snooping tcn Use the ipv6 mld snooping tcn global configuration commands to configure IP version 6 (IPv6) Multicast Listener Discovery (MLD) Topology Change Notifications (TCNs). Use the no form of the commands to reset the default settings.
  • Page 248 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping tcn Command Description sdm prefer Configures an SDM template to optimize system resources based on how the switch is being used. show ipv6 mld snooping Displays MLD snooping configuration.
  • Page 249: Ipv6 Mld Snooping Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping vlan ipv6 mld snooping vlan Use the ipv6 mld snooping vlan global configuration command to configure IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping parameters on the VLAN interface. Use the no form of this command to reset the parameters to the default settings.
  • Page 250: Ipv6 Mld Snooping Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 mld snooping vlan The configuration and the static ports and groups are saved in NVRAM. When the IPv6 multicast router is a Catalyst 6500 switch and you are using extended VLANs (in the range 1006 to 4094), IPv6 MLD snooping must be enabled on the extended VLAN on the Catalyst 6500 switch in order for the switch to receive queries on the VLAN.
  • Page 251: Ipv6 Traffic-Filter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 traffic-filter ipv6 traffic-filter Use the ipv6 traffic-filter interface configuration command to filter IPv6 traffic on an interface. The type and direction of traffic that you can filter depends on the image running on the switch. Use the no form of this command to disable the filtering of IPv6 traffic on an interface.
  • Page 252 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands ipv6 traffic-filter Examples This example filters inbound IPv6 traffic on an IPv6-configured interface as defined by the access list named cisco: Switch (config)# interface gigabitethernet1/1/1 Switch(config-if)# no switchport Switch(config-if)# ipv6 address 2001::/64 eui-64...
  • Page 253: L2Protocol-Tunnel

    To enable tunneling of Layer 2 protocols on an access or 802.1Q tunnel port, use the l2protocol-tunnel command in interface configuration mode. You can enable tunneling for Cisco Discovery Protocol (CDP), Link Layer Discovery Protocol (LLDP), Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets, or configure the maximum number of incoming Layer 2 protocol packets to be received before the port is disabled or the interface drops packets.
  • Page 254 When protocol tunneling is enabled, protocol packets are encapsulated with a well-known Cisco multicast address for transmission across the network. When the packets reach their destination, the well-known MAC address is replaced by the Layer 2 protocol MAC address.
  • Page 255 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands l2protocol-tunnel You can enable point-to-point protocol tunneling individually for PAgP, LACP, UDLD, or for all three protocols. Loopback detection is not supported on Layer 2 protocol tunneling of PAgP, LACP, or UDLD packets.
  • Page 256 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands l2protocol-tunnel Switch(config-if)# l2protocol-tunnel point-to-point udld Switch(config-if)# l2protocol-tunnel drop-threshold point-to-point pagp 1000 Related Commands Command Description l2protocol-tunnel cos Configures a class of service (CoS) value for all tunneled Layer 2 protocol packets.
  • Page 257: L2Protocol-Tunnel Cos

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands l2protocol-tunnel cos l2protocol-tunnel cos Use the l2protocol-tunnel cos global configuration command to configure a class of service (CoS) value for all tunneled Layer 2 protocol packets. Use the no form of this command to return to the default value of 5.
  • Page 258: Lacp Port-Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command 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 259 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands lacp port-priority Examples This example shows how to configure the LACP port priority on a port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# lacp port-priority 1000 You can verify your settings by entering the show lacp [channel-group-number] internal privileged EXEC command.
  • Page 260: Lacp System-Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands lacp system-priority lacp system-priority Use the lacp system-priority global configuration command 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 261 Chapter 2 Catalyst 3750 Metro 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 Display the system identifier that is being used by LACP.
  • Page 262: Link State Group

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands link state group link state group Use the link state group interface configuration command to configure a port as a member of a link-state group. Use the no form of this command to remove the port from the link-state group.
  • Page 263: Link State Group

    Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-235...
  • Page 264: Link State Track

    Displays the link-state group information. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm and_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 265: Location (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands location (global configuration) location (global configuration) Use the location global configuration command to configure location information for an endpoint. Use the no form of this command to remove the location information.
  • Page 266: Location (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands location (global configuration) Examples This example shows how to configure civic location information on the switch: Switch(config)# location civic-location identifier 1 Switch(config-civic)# number 3550 Switch(config-civic)# primary-road-name "Cisco Way" Switch(config-civic)# city "San Jose"...
  • Page 267: Location (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands location (interface configuration) location (interface configuration) Use the location interface command to enter location information for an interface. Use the no form of this command to remove the interface location information.
  • Page 268: Location (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands location (interface configuration) Examples These examples show how to enter civic location information for an interface: Switch(config-if)# int g1/0/1 Switch(config-if)# location civic-location-id 1 Switch(config-if)# end Switch(config-if)# int g2/0/1 Switch(config-if)# location civic-location-id 1 Switch(config-if)# end You can verify your settings by entering the show location civic interface privileged EXEC command.
  • Page 269: Logging Event

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands logging event logging event Use the logging event interface configuration command to enable notification of interface link status changes. Use the no form of this command to disable notification. logging event {bundle-status | link-status | spanning-tree | status | trunk status}...
  • Page 270: Logging File

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands logging file logging file Use the logging file global configuration command to set logging file parameters. Use the no form of this command to return to the default setting. logging file filesystem:filename [max-file-size [min-file-size]] [severity-level-number | type]...
  • Page 271 Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comma nd_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 272: Mac Access-Group

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac access-group mac access-group Use the mac access-group interface configuration command 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 273 Displays the MAC ACLs configured on the switch. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 274: Mac Access-List Extended

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac access-list extended mac access-list extended Use the mac access-list extended global configuration command 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 275 Chapter 2 Catalyst 3750 Metro 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 276: Mac Address-Table Aging-Time

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table aging-time mac address-table aging-time Use the mac address-table aging-time global configuration command to set the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated. Use the no form of this command to return to the default setting.
  • Page 277: Mac Address-Table Learning

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table learning mac address-table learning Use the mac address-table learning global configuration command to enable MAC address learning on a VLAN or on a Layer 3 port. Use the no form of this command to disable MAC address learning on a VLAN or Layer 3 interface to control which VLANs can learn MAC addresses.
  • Page 278 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table learning You cannot disable MAC address learning on a VLAN that the switch uses internally. If the VLAN • ID that you enter in the no mac address-table learning vlan vlan-id command is an internal VLAN, the switch generates an error message and rejects the command.
  • Page 279: Mac Address-Table Move Update

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table move update mac address-table move update Use the mac address-table move update global configuration command to enable the MAC address-table move update feature. Use the no form of this command to return to the default setting.
  • Page 280 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table move update Related Commands Command Description clear mac address-table move Clears the MAC address-table move update global counters. update show mac address-table move Displays the MAC address-table move update information on update the switch.
  • Page 281: Mac Address-Table Notification

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table notification mac address-table notification Use the mac address-table notification global configuration command to enable the MAC address notification feature on the switch. Use the no form of this command to return to the default setting.
  • Page 282 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table notification Usage Guidelines The MAC address notification change feature sends Simple Network Management Protocol (SNMP) traps to the network management system (NMS) whenever a new MAC address is added or an old address is deleted from the forwarding tables.
  • Page 283: Mac Address-Table Static

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table static mac address-table static Use the mac address-table static global configuration command to add static addresses to the MAC address table. Use the no form of this command to remove static addresses from the table.
  • Page 284: Mac Address-Table Static Drop

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mac address-table static drop mac address-table static drop Use the mac address-table static drop global configuration command to enable unicast MAC address filtering and to configure the switch to drop traffic with a specific source or destination MAC address.
  • Page 285: Mac Address-Table Static Drop

    Chapter 2 Catalyst 3750 Metro 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 286: Macro Apply

    There are Cisco-default Smartports macros embedded in the switch software. You can display these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 287 Applying command...‘duplex auto’ %Error Unknown error. Applying command...‘speed nonegotiate’ This example shows how to display the Cisco-default cisco-desktop macro and how to apply the macro and set the access VLAN ID to 25 on an interface: Switch# show parser macro cisco-desktop...
  • Page 288 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands macro apply # Configure port as an edge network port spanning-tree portfast spanning-tree bpduguard enable -------------------------------------------------------------- Switch# Switch# configure terminal Switch(config)# interface fastethernet1/0/4 Switch(config-if)# macro apply cisco-desktop $AVID 25 Related Commands...
  • Page 289: Macro Description

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands macro description macro description Use the macro description interface configuration command to enter a description about which macros are applied to an interface. Use the no form of this command to remove the description.
  • Page 290: Macro Global

    There are Cisco-default Smartports macros embedded in the switch software. You can display these macros and the commands they contain by using the show parser macro user EXEC command.
  • Page 291: Macro Global

    Cisco-default macro with the required values by using the parameter value keywords. The Cisco-default macros use the $ character to help identify required keywords. There is no restriction on using the $ character to define keywords when you create a macro.
  • Page 292 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands macro global Command Description macro global description Adds a description about the macros that are applied to the switch. macro name Creates a macro. show parser macro Displays the macro definition for all macros or for the specified macro.
  • Page 293: Macro Global Description

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands macro global description macro global description Use the macro global description global configuration command to enter a description about the macros that are applied to the switch. Use the no form of this command to remove the description.
  • Page 294: Macro Name

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands macro name macro name Use the macro name global configuration command to create a configuration macro. Use the no form of this command to delete the macro definition. macro name macro-name...
  • Page 295: Macro Name

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands macro name Examples This example shows how to create a macro that defines the duplex mode and speed: Switch(config)# macro name duplex Enter macro commands one per line. End with the character ‘@’.
  • Page 296: Match (Access-Map Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands match (access-map configuration) match (access-map configuration) Use the match access-map configuration command 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 297: Match (Access-Map Configuration)

    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.
  • Page 298: Match (Class-Map Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands match (class-map configuration) match (class-map configuration) Use the match class-map configuration command to define the match criteria for a class map. Use the no form of this command to remove the match criteria.
  • Page 299: Match (Class-Map Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands match (class-map configuration) Though visible in the command-line help strings, the any, class-map, destination-address, not, Note protocol, and source-address keywords are not supported. Defaults No match criteria are defined. Command Modes...
  • Page 300 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands match (class-map configuration) Packets that do not meet any of the matching criteria are classified as members of the default traffic class. You configure it by specifying class-default as the class name in the class policy-map configuration command.
  • Page 301: Mdix Auto

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mdix auto mdix auto Use the mdix auto interface configuration command to enable the automatic medium-dependent-interface crossover (Auto-MDIX) feature on the interface. When Auto-MDIX is enabled, the interface automatically detects the required cable connection type (straight-through or crossover) and configures the connection appropriately.
  • Page 302 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mdix auto Related Commands Command Description show controllers ethernet-controller Displays general information about internal registers of an interface-id phy interface, including the operational state of Auto-MDIX. Catalyst 3750 Metro Switch Command Reference...
  • Page 303: Mls Qos

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos mls qos Use the mls qos global configuration command 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 304 Chapter 2 Catalyst 3750 Metro 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 305: Mls Qos Aggregate-Policer

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos aggregate-policer mls qos aggregate-policer Use the mls qos aggregate-policer global configuration command to define policer parameters, which can be shared by multiple classes within 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 306 Chapter 2 Catalyst 3750 Metro 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 307: Mls Qos Cos

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos cos mls qos cos Use the mls qos cos interface configuration command to define the default class of service (CoS) value of a port or to assign the default CoS to all inbound packets on the port. Use the no form of this command to return to the default setting.
  • Page 308 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos cos This example shows how to assign all the packets entering a port to the default port CoS value of 4 on a port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# mls qos cos 4 Switch(config-if)# mls qos cos override You can verify your settings by entering the show mls qos interface privileged EXEC command.
  • Page 309: Mls Qos Dscp-Mutation

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos dscp-mutation mls qos dscp-mutation Use the mls qos dscp-mutation interface configuration command to apply a Differentiated Services Code Point (DSCP)-to-DSCP-mutation map to a DSCP-trusted port. Use the no form of this command to return the map to the default settings (no DSCP mutation).
  • Page 310 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos dscp-mutation Examples This example shows how to define the DSCP-to-DSCP-mutation map named dscpmutation1and to apply the map to a port: Switch(config)# mls qos map dscp-mutation dscpmutation1 10 11 12 13 to 30...
  • Page 311: Mls Qos Enhanced

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos enhanced mls qos enhanced Use the mls qos enhanced interface configuration command to take the internal bandwidth from one enhanced-services (ES) port and apply it to the other ES port. Use the no form of this command to return to the default setting.
  • Page 312 Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_co mmand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 313: Mls Qos Map

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos map mls qos map Use the mls qos map global configuration command to define the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map, the DSCP-to-CoS map, the DSCP-to-DSCP-mutation map, the IP-precedence-to-DSCP map, and the policed-DSCP map. Use the no form of this command to return to the default map.
  • Page 314 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos 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 CoS Value 0–7 8–15 16–23 24–31...
  • Page 315 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos map The default policed-DSCP map is a null map, which maps an inbound DSCP value to the same DSCP value. Command Modes Global configuration Command History Release Modification 12.1(14)AX This command was introduced.
  • Page 316: Mls Qos Queue-Set Output Buffers

    Chapter 2 Catalyst 3750 Metro 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 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 317 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos queue-set output buffers You can verify your settings by entering the show mls qos interface [interface-id] buffers or the show mls qos queue-set privileged EXEC command. Related Commands Command...
  • Page 318: Mls Qos Queue-Set Output Threshold

    Chapter 2 Catalyst 3750 Metro 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 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 319 Chapter 2 Catalyst 3750 Metro 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 320: Mls Qos Rewrite Ip Dscp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos rewrite ip dscp mls qos rewrite ip dscp Use the mls qos rewrite ip dscp global configuration command to configure the switch to change (rewrite) the Differentiated Services Code Point (DSCP) field of an incoming IP packet. Use the no form of this command to configure the switch to not modify (rewrite) the DSCP field of the packet and to enable DSCP transparency.
  • Page 321 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos rewrite ip dscp Examples This example shows how to enable DSCP transparency and configure the switch to not change the DSCP value of the incoming IP packet: Switch(config)# mls qos...
  • Page 322: Mls Qos Srr-Queue Input Bandwidth

    Chapter 2 Catalyst 3750 Metro 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 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 sends packets from each queue.
  • Page 323 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue input bandwidth Switch(config)# mls qos srr-queue input priority-queue 1 bandwidth 10 Switch(config)# mls qos srr-queue input bandwidth 4 4 You can verify your settings by entering the show mls qos interface [interface-id] queueing or the show mls qos input-queue privileged EXEC command.
  • Page 324: Mls Qos Srr-Queue Input Buffers

    Chapter 2 Catalyst 3750 Metro 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 to allocate the buffers between the ingress queues. Use the no form of this command to return to the default setting.
  • Page 325 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue input buffers Command Description show mls qos input-queue Displays ingress queue settings. show mls qos interface buffers Displays buffer allocation information. Catalyst 3750 Metro Switch Command Reference 2-297...
  • Page 326: Mls Qos Srr-Queue Input Cos-Map

    Chapter 2 Catalyst 3750 Metro 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 to map class of service (CoS) values to an ingress queue or to map CoS values to a queue and to a threshold ID. Use the no form of this command to return to the default setting.
  • Page 327 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue input cos-map You can map each CoS value to a different queue and threshold combination, allowing the frame to follow different behavior. 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.
  • Page 328: Mls Qos Srr-Queue Input Dscp-Map

    Chapter 2 Catalyst 3750 Metro 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 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 329 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue input dscp-map You can map each DSCP value to a different queue and threshold combination, allowing the frame to follow different behavior. You can map up to eight DSCP values per command.
  • Page 330: Mls Qos Srr-Queue Input Priority-Queue

    Chapter 2 Catalyst 3750 Metro 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 to configure the ingress priority queue and to guarantee bandwidth on the internal ring if the ring is congested. Use the no form of this command to return to the default setting.
  • Page 331 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue input priority-queue You can verify your settings by entering the show mls qos interface [interface-id] queueing or the show mls qos input-queue privileged EXEC command. Related Commands Command...
  • Page 332: Mls Qos Srr-Queue Input Threshold

    Chapter 2 Catalyst 3750 Metro 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 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 333 Chapter 2 Catalyst 3750 Metro 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 334: Mls Qos Srr-Queue Output Cos-Map

    Chapter 2 Catalyst 3750 Metro 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 to map class of service (CoS) values to an egress queue or to map CoS values to a queue and to a threshold ID. Use the no form of this command to return to the default setting.
  • Page 335 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue output cos-map The egress queue-set default settings are suitable for most situations. You should change them only when Note you have a thorough understanding of the queues and if these settings do not meet your quality of service (QoS) solution.
  • Page 336: Mls Qos Srr-Queue Output Cpu-Queue

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue output cpu-queue mls qos srr-queue output cpu-queue Use the mls qos srr-queue output cpu queue global configuration command to assign CPU-generated control plane packets to an egress queue and to specify the threshold values. Use the no form of this command to return to the default setting.
  • Page 337 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue output cpu-queue Related Commands Command Description cpu traffic qos Configures the QoS packet marking for CPU-generated traffic. mls qos srr-queue output cos-map Maps class of service (CoS) values to an egress queue or maps CoS values to a queue and to a threshold ID.
  • Page 338: Mls Qos Srr-Queue Output Dscp-Map

    Chapter 2 Catalyst 3750 Metro 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 to map Differentiated Services Code Point (DSCP) values to an egress queue or to map DSCP values to a queue and to a threshold ID.
  • Page 339 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos srr-queue output dscp-map The egress queue-set default settings are suitable for most situations. You should change them only when Note you have a thorough understanding of the queues and if these settings do not meet your quality of service (QoS) solution.
  • Page 340: 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 341: 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 Cisco IP phone.
  • Page 342 This example shows how to configure a port to trust the IP precedence field in the inbound packet: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# mls qos trust ip-precedence This example shows how to specify that the Cisco IP phone connected on a port is a trusted device: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# mls qos trust device cisco-phone You can verify your settings by entering the show mls qos interface privileged EXEC command.
  • Page 343: Mls Qos Vlan-Based

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mls qos vlan-based mls qos vlan-based Use the mls qos vlan-based interface configuration command to enable VLAN-based quality of service (QoS) on the physical port. Use the no form of this command to disable this feature.
  • Page 344: Monitor Session

    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 345 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands monitor session vlan vlan-id When used with only the ingress keyword, set default VLAN for ingress traffic. remote vlan vlan-id Specify the remote VLAN for an RSPAN source or destination session. The range is 2 to 1001 and 1006 to 4094.
  • Page 346 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands monitor session Each session can include multiple ingress or egress source ports or VLANs, but you cannot combine source ports and source VLANs in a single session. Each session can include multiple destination ports.
  • Page 347: Vlan Configuration Mode

    Displays SPAN and RSPAN session information. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_co mmand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 348: Mpls L2Transport Route

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mpls l2transport route mpls l2transport route Use the mpls l2transport route interface configuration command at a customer edge (CE) standard port, a provider-edge customer-located equipment (PE-CLE) enhanced-services (ES) port, or a VLAN interface to enable forwarding Layer 2 packets over a specified point-to-point virtual connection (VC) by using Ethernet over multiprotocol label switching (EoMPLS).
  • Page 349 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mpls l2transport route Examples This example shows how to establish an Ethernet over MPLS (EoMPLS) tunnel between the PE1 VLAN 3 interface and the PE2 VLAN 4 interface. PE1 has IP address 10.0.0.1/32 that PE2 discovers through routing, and PE2 has IP address 20.0.0.1/32 that PE1 discovers through routing.
  • Page 350: Mpls Ldp Holdtime

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mpls ldp holdtime mpls ldp holdtime Use the mpls ldp holdtime global configuration command to change the time for which a Label Distribution Protocol (LDP) session is maintained in the absence of LDP messages from the session peer.
  • Page 351: Mpls Mtu

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mpls mtu mpls mtu Use the mpls mtu interface configuration command on an enhanced-services (ES) port to set the per-interface maximum transmission unit (MTU) for multiprotocol label switching (MPLS) labeled packets. Use the no form of this command to return to the default MTU setting.
  • Page 352 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mpls mtu Related Commands Command Description system mtu jumbo Set the system jumbo frame size (MTU) for Gigabit Ethernet ports. The range is 1500 to 9000 bytes. system mtu routing Set the system MTU for routed ports. The range is 1500 to 1600 bytes.
  • Page 353: Mvr (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mvr (global configuration) mvr (global configuration) Use the mvr global configuration command without keywords to enable the multicast VLAN registration (MVR) feature on the switch. Use the command with keywords to set the MVR mode for a switch, to configure the MVR IP multicast address, to set the maximum time to wait for a query reply before removing a port from group membership, and to specify the MVR multicast VLAN.
  • Page 354: Mvr (Global Configuration)

    MVR is cancelled and an error message appears. Starting with Cisco IOS release 12.2(52)SE, you can enter the mvr ringmode flood global configuration command to ensure that data forwarding in a ring topology is limited to membership detected ports and excludes forwarding to multicast router ports.
  • Page 355 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mvr (global configuration) Examples This example shows how to enable MVR: Switch(config)# mvr This example shows how to disable MVR: Switch(config)# no mvr Use the show mvr privileged EXEC command to display the current setting for maximum multicast groups.
  • Page 356: Mvr (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mvr (interface configuration) mvr (interface configuration) Use the mvr interface configuration command to configure a Layer 2 port as a multicast VLAN registration (MVR) receiver or source port and set the immediate leave feature, and statically assign a port to an IP multicast VLAN and IP address.
  • Page 357: Mvr (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mvr (interface configuration) Command History Release Modification 12.1(14)AX This command was introduced. 12.2(35)SE The receiver and vlan-id keywords were added. These are required to configure a trunk port as an MVR receiver port.
  • Page 358 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mvr (interface configuration) Fa0/11 SOURCE Trunk ACTIVE/UP ENABLED Fa0/16 RECEIVER Trunk ACTIVE/UP DISABLED Fa0/18 RECEIVER Trunk ACTIVE/UP ENABLED Fa0/18 RECEIVER Trunk ACTIVE/UP ENABLED Fa0/21 SOURCE Access ACTIVE/UP DISABLED Fa0/24 RECEIVER Access...
  • Page 359 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands mvr (interface configuration) Related Commands Command Description mvr (global configuration) Enables and configures multicast VLAN registration on the switch. show mvr Displays MVR global parameters or port parameters. show mvr interface Displays the configured MVR interfaces or displays the multicast groups to which a receiver port belongs.
  • Page 360: Oam Protocol Cfm Svlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands oam protocol cfm svlan oam protocol cfm svlan Use the oam protocol cfm svlan EVC configuration command to configure the Ethernet virtual connection (EVC) operation, administration, and maintenance (OAM) protocol as IEEE 801.2ag Connectivity Fault Management (CFM) and to identify the service provider VLAN-ID for a CFM domain level.
  • Page 361: 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 Metro 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 362 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_ reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-334...
  • Page 363: Pagp Port-Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands pagp port-priority pagp port-priority Use the pagp port-priority interface configuration command to select a port over which all Port Aggregation Protocol (PAgP) traffic through the EtherChannel is sent. If all unused ports in the EtherChannel are in hot-standby mode, they can be placed into operation if the currently selected port and link fails.
  • Page 364 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_r eference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-336...
  • Page 365: Permit (Arp Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (ARP access-list configuration) permit (ARP access-list configuration) Use the permit Address Resolution Protocol (ARP) access-list configuration command on the switch to permit an ARP packet based on matches against the DHCP bindings. Use the no form of this command to remove the specified access control entry (ACE) from the access control list.
  • Page 366: Permit (Arp Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (ARP access-list configuration) Command History Release Modification 12.2(25)EY This command was introduced. Usage Guidelines You can add permit clauses to forward ARP packets based on some matching criteria. Examples This example shows how to define an ARP access list and to permit both ARP requests and ARP responses from a host with an IP address of 1.1.1.1 and a MAC address of 0000.0000.abcd:...
  • Page 367: Permit (Ipv6 Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (IPv6 access-list configuration) permit (IPv6 access-list configuration) Use the permit IPv6 access list configuration command to set permit conditions for an IPv6 access list. Use the no form of this command to remove the permit conditions.
  • Page 368: Permit (Ipv6 Access-List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (IPv6 access-list configuration) Syntax Description protocol Name or number of an Internet protocol. It can be one of the keywords ahp, esp, icmp, ipv6, pcp, sctp, tcp, or udp, or an integer in the range from 0 to 255 representing an IPv6 protocol number.
  • Page 369 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (IPv6 access-list configuration) (Optional) Send an informational logging message to the console about the packet that matches the entry. (The level of messages logged to the console is controlled by the logging console command.) The message includes the access list name and sequence number;...
  • Page 370 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (IPv6 access-list configuration) Command History Release Modification 12.2(52)SE This command was introduced. Usage Guidelines The permit (IPv6 access-list configuration mode) command is similar to the permit (IPv4 access-list configuration mode) command, but it is IPv6-specific.
  • Page 371 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (IPv6 access-list configuration) renum-result renum-seq-number router-advertisement router-renumbering router-solicitation time-exceeded unreachable Examples This example configures two IPv6 access lists named OUTBOUND and INBOUND and applies both access lists to outbound and inbound traffic on a Layer 3 interface. The first and second permit entries in the OUTBOUND list permit all TCP and UDP packets from network 2001:ODB8:0300:0201::/64 to leave the interface.
  • Page 372: Permit (Mac-Access List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (MAC-access list configuration) permit (MAC-access list configuration) Use the permit MAC-access list configuration command 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 373: Permit (Mac-Access List Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (MAC-access list configuration) 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 374 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands permit (MAC-access list configuration) After an access control entry (ACE) is added to an access control list, an implied deny-any-any condition exists at the end of the list. That is, if there are no matches, the packets are denied. However, before the first ACE is added, the list permits all packets.
  • Page 375: Police

    ES port. In Cisco IOS Release 12.2(25)EY or later, when configuring hierarchical dual-level policy maps, you can only use the police policy-map command in a secondary interface-level policy map.
  • Page 376 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police how quickly (the average rate) the tokens are removed from the bucket by using the rate-bps option of the police policy-map class configuration command or the mls qos aggregate-policer global configuration command.
  • Page 377: Police Aggregate

    To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command. In Cisco IOS Release 12.2(25)EY or later, you can configure aggregate policers only in nonhierarchical single-level policy maps. Examples...
  • Page 378 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police aggregate Switch(config-pmap-c)# police aggregate agg_policer1 Switch(config-pmap-c)# exit Switch(config-pmap)# class class3 Switch(config-pmap-c)# trust dscp Switch(config-pmap-c)# police aggregate agg_policer2 Switch(config-pmap-c)# exit You can verify your settings by entering the show mls qos aggregate-policer privileged EXEC command.
  • Page 379: Police Cir

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police cir police cir Use the police cir policy-map class configuration command to configure a hierarchical traffic policer that uses two rates, the committed information rate (CIR) and the peak information rate (PIR) on an enhanced-services (ES) port.
  • Page 380: Police Cir

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police cir Command History Release Modification 12.1(14)AX This command was introduced. 12.2(25)EY Hierarchical service policies can be attached to inbound traffic received on an ES port. Usage Guidelines Use the police cir policy-map class configuration command only in a hierarchical policy map attached to an ES port.
  • Page 381 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-353...
  • Page 382: Police Cir Percent

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police cir percent police cir percent Use the police cir percent policy-map class configuration command to configure a traffic policer that uses two rates, the committed information rate (CIR) and the peak information rate (PIR), and is based on a percentage of bandwidth available on an enhanced-services (ES) port.
  • Page 383 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police cir percent Command Modes Policy-map class configuration Command History Release Modification 12.1(14)AX This command was introduced. 12.2(25)EY Hierarchical service policies can be attached to inbound traffic received on an ES port.
  • Page 384 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands police cir percent Examples This example shows how to configure traffic policing by using a CIR and a PIR based on a percentage of bandwidth. In this example, a CIR of 20 percent and a PIR of 40 percent are specified. The optional bc and be values (300 ms and 400 ms, respectively) are specified.
  • Page 385 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-357...
  • Page 386: Policy-Map

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands policy-map policy-map Use the policy-map global configuration command to create or modify a policy map that can be attached to multiple ports to specify a service policy and to enter policy-map configuration mode. Use the no form of this command to delete an existing policy map and to return to global configuration mode.
  • Page 387 (CBWFQ) is notified, and the new classes are installed as part of the policy map in the CBWFQ system. In software releases earlier than Cisco IOS Release 12.2(25)EY, you can apply a policy map and configure policing only on physical ports. You can configure the trust state, set a new DSCP or IP precedence value in the packet, or define an individual or aggregate policer.
  • Page 388 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands policy-map Switch(config-pmap-c)# trust dscp Switch(config-pmap-c)# police 100000 20000 exceed-action drop Switch(config-pmap-c)# exit Switch(config-pmap)# class class3 Switch(config-pmap-c)# set ip dscp 0 Switch(config-pmap-c)# exit This example shows how to create a dual-level policy map and attach it to an SVI:...
  • Page 389: Port-Channel Load-Balance

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands port-channel load-balance port-channel load-balance Use the port-channel load-balance global configuration command 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 390 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comman d_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-362...
  • Page 391: Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands priority priority Use the priority policy-map class configuration command to enable the strict priority queue (low-latency queueing [LLQ]) and to give priority to a class of traffic belonging to a hierarchical policy map attached to an enhanced-services (ES) port.
  • Page 392 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands priority Examples This example shows how to enable the LLQ for the policy map called policy1: Switch(config)# policy-map policy1 Switch(config-pmap)# class voice Switch(config-pmap-c)# priority You can verify your settings by entering the show policy-map privileged EXEC command.
  • Page 393: Priority-Queue

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands priority-queue priority-queue Use the priority-queue interface configuration command to enable the egress priority queue on a port. Use the no form of this command to return to the default setting. priority-queue out...
  • Page 394 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands priority-queue Examples This example shows how to enable the egress priority queue when the SRR weights are configured. The egress expedite queue overrides the configured SRR weights. Switch(config)# interface gigabitethernet1/0/2 Switch(config-if)# srr-queue bandwidth shape 25 0 0 0...
  • Page 395: Private-Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands private-vlan private-vlan Use the private-vlan VLAN configuration command on the switch to configure private VLANs and to configure the association between private-VLAN primary and secondary VLANs. Use the no form of this command to return the VLAN to normal VLAN configuration.
  • Page 396 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands private-vlan The secondary_vlan_list parameter cannot contain spaces. It can contain multiple comma-separated • items. Each item can be a single private-VLAN ID or a hyphenated range of private-VLAN IDs. The list can contain one isolated VLAN and multiple community VLANs.
  • Page 397 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands private-vlan You can verify your setting by entering the show vlan private-vlan or show interfaces status privileged EXEC command. Related Commands Command Description show interfaces status Displays the status of interfaces, including the VLANs to which they belong.
  • Page 398: Private-Vlan Mapping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands private-vlan mapping private-vlan mapping Use the private-vlan mapping interface configuration command on a switch virtual interface (SVI) on the switch to create a mapping between a private-VLAN primary and secondary VLANs so that both VLANs share the same primary VLAN SVI.
  • Page 399 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands private-vlan mapping Examples This example shows how to map the interface of VLAN 20 to the SVI of VLAN 18: Switch# configure terminal Switch# interface vlan 18 Switch(config-if)# private-vlan mapping 20...
  • Page 400: Queue-Limit

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands queue-limit queue-limit Use the queue-limit policy-map class configuration command to configure the maximum threshold for tail drop in a hierarchical policy map attached to an enhanced-services (ES) port. Use the no form of this command to return to the default setting.
  • Page 401 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands queue-limit Examples This example shows how to create a policy map called policy11 for a class called acl203. In the policy for this class, the queue maximum threshold is set to 30000 packets:...
  • Page 402: Queue-Set

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands queue-set queue-set Use the queue-set interface configuration command to map a port to a queue-set. Use the no form of this command to return to the default setting. queue-set qset-id no queue-set qset-id...
  • Page 403: Random-Detect

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect random-detect Use the random-detect policy-map class configuration command to enable Weighted Random Early Detection (WRED) in a hierarchical policy map attached to an enhanced-services (ES) port. Use the no form of this command to return to the default settings.
  • Page 404 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect You cannot use the bandwidth, queue-limit, random-detect, and the shape policy-map class configuration commands with the priority policy-map class configuration command in the same class within the same policy map. However, you can use these commands in the same policy map.
  • Page 405 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect Command Description priority Enables the strict-priority queue and gives priority to a class of traffic belonging to a policy map attached to an ES port. queue-limit Configures the maximum threshold for tail drop in a policy map attached to an ES port.
  • Page 406: Random-Detect Dscp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect dscp random-detect dscp Use the random-detect dscp policy-map class configuration command to configure Differentiated Services Code Point (DSCP)-based Weighted Random Early Detection (WRED) settings in a hierarchical policy map attached to an enhanced-services (ES) port. Use the no form of this command to return to the default settings.
  • Page 407 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect dscp Usage Guidelines WRED is a congestion-avoidance mechanism that slows traffic by randomly dropping packets when congestion exists. WRED reduces the chances of tail drop by selectively dropping packets when the egress port begins to show signs of congestion.
  • Page 408 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect dscp Table 2-15 random-detect dscp Default Settings DSCP (Precedence) Minimum Threshold Maximum Threshold Mark Probability af11 1/10 af12 1/10 af13 1/10 af21 1/10 af22 1/10 af23 1/10 af31 1/10 af32...
  • Page 409 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect dscp Related Commands Command Description bandwidth Specifies or modifies the minimum bandwidth provided to a class belonging to a policy map attached to an ES port. class Specifies the name of the class whose traffic policy you want to create or change.
  • Page 410: Random-Detect Exponential-Weighting-Constant

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect exponential-weighting-constant random-detect exponential-weighting-constant Use the random-detect exponential-weighting-constant policy-map class configuration command to configure Weighted Random Early Detection (WRED) exponential weight factor for the average queue-size calculation for the queue in a hierarchical policy map attached to an enhanced-services (ES) port.
  • Page 411 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect exponential-weighting-constant If you select a high value for the exponential weighting constant, it smooths the peaks and valleys in the queue size. The average queue size is unlikely to change very quickly, avoiding drastic swings in size.
  • Page 412 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect exponential-weighting-constant Related Commands Command Description bandwidth Specifies or modifies the minimum bandwidth provided to a class belonging to a policy map attached to an ES port. class Specifies the name of the class whose traffic policy you want to create or change.
  • Page 413: Random-Detect Precedence

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect precedence random-detect precedence Use the random-detect precedence policy-map class configuration command to configure IP precedence-based Weighted Random Early Detection (WRED) settings in a hierarchical policy map attached to an enhanced-services (ES) port. Use the no form of this command to return to the default settings.
  • Page 414 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect precedence Usage Guidelines WRED is a congestion-avoidance mechanism that slows traffic by randomly dropping packets when congestion exists. WRED reduces the chances of tail drop by selectively dropping packets when the egress port begins to show signs of congestion.
  • Page 415 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands random-detect precedence The default WRED parameter values are based on the best available data. We recommend that you do Note not change the parameters from their default values unless you have decided that your applications would benefit from the changed values.
  • Page 416: Remote-Span

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands remote-span remote-span Use the remote-span VLAN configuration command 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 417 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands 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 418: Renew Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands renew ip dhcp snooping database renew ip dhcp snooping database Use the renew ip dhcp snooping database privileged EXEC command to renew the DHCP snooping binding database. renew ip dhcp snooping database [{flash:/filename | ftp://user:password@host/filename |...
  • Page 419: Rep Admin Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep admin vlan rep admin vlan Use the rep admin vlan global configuration command to configure a Resilient Ethernet Protocol (REP) administrative VLAN for REP to transmit hardware flood layer (HFL) messages. Use the no form of this command to return to the default configuration with VLAN 1 as the administrative VLAN.
  • Page 420: Rep Block Port

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep block port rep block port Use the rep block port interface configuration command on the REP primary edge port to configure Resilient Ethernet Protocol (REP) VLAN load balancing. Use the no form of this command to return to the default configuration.
  • Page 421 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep block port When you select an alternate port by entering an offset number, this number identifies the downstream neighbor port of an edge port. The primary edge port has an offset number of 1; positive numbers above 1 identify downstream neighbors of the primary edge port.
  • Page 422 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep block port Examples This example shows how to configure REP VLAN load balancing on the Switch B primary edge port (Gigabit Ethernet port 1/0/1) and to configure Gigabit Ethernet port 1/0/2 of Switch A as the alternate port to block VLANs 1 to 100.
  • Page 423 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep block port Command Description rep preempt delay Configures a waiting period after a segment port failure and recovery before REP VLAN load balancing is triggered. rep preempt segment Manually starts REP VLAN load balancing on a segment.
  • Page 424: Rep Lsl-Age-Timer

    In Cisco IOS Release 12.2(52)SE, the LSL age-timer range changed from 3000 to 10000 ms in 500-ms increments to 120 to 10000 ms in 40-ms increments. If the REP neighbor device is not running Cisco IOS Release 12.2(52)SE or later, you must use the shorter time range because the device does not accept values out of the earlier range.
  • Page 425 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep lsl-age-timer Related Commands Command Description show interfaces rep Displays REP configuration and status for all interfaces or the specified [detail] interface, including the configured LSL age-out timer value. Catalyst 3750 Metro Switch Command Reference...
  • Page 426: Rep Preempt Delay

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep preempt delay rep preempt delay Use the rep preempt delay interface configuration command on the REP primary edge port to configure a waiting period after a segment port failure and recovery before Resilient Ethernet Protocol (REP) VLAN load balancing is triggered.
  • Page 427: Rep Preempt Delay

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep preempt delay Related Commands Command Description rep block port Configures VLAN load balancing. show interfaces rep [detail] Displays REP configuration and status for all interfaces or the specified interface. Catalyst 3750 Metro Switch Command Reference...
  • Page 428: Rep Preempt Segment

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep preempt segment rep preempt segment Use the rep preempt segment privileged EXEC command to manually start Resilient Ethernet Protocol (REP) VLAN load balancing on a segment. rep preempt segment segment_id...
  • Page 429: Rep Segment

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep segment rep segment Use the rep segment interface configuration command to enable Resilient Ethernet Protocol (REP) on the interface and to assign a segment ID to it. Use the no form of this command to disable REP on the interface.
  • Page 430: Rep Segment

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep segment Access port • You must configure two edge ports on each REP segment, a primary edge port and a port to act as a secondary edge port. If you configure two ports in a segment as the primary edge port, for example ports on different switches, the configuration is allowed, but the REP selects one of them to serve as the segment primary edge port.
  • Page 431 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep segment You can verify your settings by entering the show interfaces rep privileged EXEC command. To verify which port in the segment is the primary edge port, enter the show rep topology privileged EXEC command.
  • Page 432: Rep Stcn

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep stcn rep stcn Use the rep stcn interface configuration command on a Resilient Ethernet Protocol (REP) edge port to configure the port to send REP segment topology change notifications (STCNs) to another interface, to other segments, or to Spanning Tree Protocol (STP) networks.
  • Page 433: Rep Stcn

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rep stcn Related Commands Command Description show interfaces rep Displays REP configuration and status for all interfaces or the specified [detail] interface. Catalyst 3750 Metro Switch Command Reference 2-405 OL-9645-10...
  • Page 434: Reserved-Only

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands reserved-only reserved-only Use the reserved-only DHCP pool configuration mode command to allocate only reserved addresses in the Dynamic Host Configuration Protocol (DHCP) address pool. Use the no form of the command to return to the default.
  • Page 435: Rmon Collection Stats

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands rmon collection stats rmon collection stats Use the rmon collection stats interface configuration command to collect Ethernet group statistics, which include utilization statistics about broadcast and multicast packets, and error statistics about Cyclic Redundancy Check (CRC) alignment errors and collisions.
  • Page 436: Sdm Prefer

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands sdm prefer sdm prefer Use the sdm prefer global configuration command to configure the template used in the Switch Database Management (SDM) resource allocation. You can use a template to allocate system resources to best support the features being used in your application.
  • Page 437: Sdm Prefer

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands sdm prefer Do not use the routing template if you do not have routing enabled on your switch. Entering the sdm prefer routing global configuration command prevents other features from using the memory allocated to unicast routing in the routing template.
  • Page 438 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands sdm prefer Table 2-18 Approximate Feature Resources Allowed by Dual IPv4-IPv6 Templates (continued) Resource Default Routing VLAN IPv4 or MAC QoS ACEs (total) IPv4 or MAC security ACEs (total) IPv6 policy-based routing ACEs...
  • Page 439: Service Instance

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands service instance service instance Use the service instance interface configuration command to configure an Ethernet service instance on the interface and to enter Ethernet service configuration mode. Use the no form of this command to delete the service instance.
  • Page 440: Service Password-Recovery

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands service password-recovery service password-recovery Use the service password-recovery global configuration command 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 441 Chapter 2 Catalyst 3750 Metro 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 to default values.
  • Page 442: Service-Policy (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands service-policy (interface configuration) service-policy (interface configuration) Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to a port or a switch virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
  • Page 443: Service-Policy (Interface Configuration)

    In software releases earlier than Cisco IOS Release 12.2(25)EY, you can apply a policy map only to the input of a physical port. In Cisco IOS Release 12.2(25)EY or later, you can apply a policy map to the input of a physical port or an SVI.
  • Page 444 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-416...
  • Page 445: Service-Policy (Policy-Map Class)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands service-policy (policy-map class) service-policy (policy-map class) Use the service-policy policy-map class configuration command to create a service policy that is a quality of service (QoS) policy within a policy map (called a hierarchical service policy). Use the no form of this command to disable the service policy within a policy map.
  • Page 446: Service-Policy (Policy-Map Class)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands service-policy (policy-map class) This example shows how to create a hierarchical service policy in which all levels are present. This configuration associates a class-level policy map with a VLAN-level policy map, associates the VLAN-level policy map with a physical-level policy map, and attaches the physical-level policy map to a port.
  • Page 447: Set

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands Use the set policy-map class configuration command to classify IP traffic by setting a class of service (CoS), a Differentiated Services Code Point (DSCP), an IP-precedence, or the multiprotocol label switching (MPLS) experimental (EXP) bits in the packet. Use the no form of this command to remove the traffic classification.
  • Page 448 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands You can configure the set cos new-cos, set dscp new-dscp, set precedence new-precedence, or the set mpls experimental exp-number command in an ingress and an egress policy map attached to an enhanced-services (ES) port.
  • Page 449: Setup

    Chapter 2 Catalyst 3750 Metro 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 450 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands setup Enter host name [switch]: host-name The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration.
  • Page 451 Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_co mmand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 452: Setup Express

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands setup express setup express Use the setup express global configuration command to enable Express Setup mode. Use the no form of this command to disable Express Setup mode. setup express no setup express Syntax Description This command has no arguments or keywords.
  • Page 453 Chapter 2 Catalyst 3750 Metro 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 mode LEDs turn solid green after 3 seconds.
  • Page 454: Shape

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands shape shape Use the shape policy-map class configuration command to enable traffic shaping in a hierarchical policy map attached to an enhanced-services (ES) port. Traffic shaping limits the data transmission rate. Use the no form of this command to return to the default setting.
  • Page 455 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands shape Shaping restricts the bandwidth available to VLAN-level classes. The shaping rate configured in the • physical-level policy map becomes the total bandwidth available to all VLAN-level classes. • For VLAN-level and class-level classes, the shaping rate becomes the available bandwidth if the bandwidth is not specified for that class.
  • Page 456: Show Access-Lists

    Chapter 2 Catalyst 3750 Metro 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]...
  • Page 457 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show access-lists 20 permit ip host 10.46.22.128 any 30 permit ip host 10.45.101.64 any 40 permit ip host 10.45.20.64 any 50 permit ip host 10.213.43.128 any 60 permit ip host 10.91.28.64 any 70 permit ip host 10.99.75.128 any...
  • Page 458 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show access-lists This is an example of output from the show access-lists ipc command: Switch# show access-lists ipc LC Access List Config Updates Rcvd Standard Access Lists rcvd Simple Named Access Lists rcvd...
  • Page 459: Show Archive Status

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show archive status show archive status Use the show archive status privileged EXEC command to display the status of a new image being downloaded to a switch with the HTTP or TFTP protocol.
  • Page 460: Show Arp Access-List

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show arp access-list show arp access-list Use the show arp access-list user EXEC command to display detailed information about Address Resolution Protocol (ARP) access control lists (ACLs). show arp access-list [acl-name] This command is available only if your switch is running the enhanced multilayer image (EMI).
  • Page 461: Show Auto Qos

    • show running-config • Examples This is an example of output from the show auto qos command after the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered: Switch> show auto qos GigabitEthernet1/0/1 auto qos voip cisco-softphone...
  • Page 462 GigabitEthernet1/0/1 auto qos voip cisco-phone This is an example of output from the show running-config privileged EXEC command when the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered: Switch# show running-config Building configuration...
  • Page 463 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show auto qos match ip dscp ef class-map match-all AutoQoS-VoIP-Control-Trust match ip dscp cs3 af31 policy-map AutoQoS-Police-SoftPhone class AutoQoS-VoIP-RTP-Trust set dscp ef police 320000 8000 exceed-action policed-dscp-transmit class AutoQoS-VoIP-Control-Trust set dscp cs3...
  • Page 464: Show Boot

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 465: Show Boot

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show boot Table 2-19 show boot Field Descriptions Field Description BOOT path-list Displays a semicolon separated list of executable files to try to load and execute when automatically booting. If the BOOT environment variable is not set, the system attempts to load and execute the first executable image it can find by using a recursive, depth-first search through the flash file system.
  • Page 466: Show Class-Map

    Chapter 2 Catalyst 3750 Metro 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] Syntax Description class-map-name (Optional) Display the contents of the specified class map.
  • Page 467: Show Controllers Cpu-Interface

    Modification 12.1(14)AX This command was introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Examples This is a partial output example from the show controllers cpu-interface command: Switch# show controllers cpu-interface...
  • Page 468 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show controllers cpu-interface ------------------------------ MicDirectPollInfo 80000800 MicIndicationsReceived 00000000 MicInterruptsReceived 00000000 MicPcsInfo 0001001F MicPlbMasterConfiguration 00000000 MicRxFifosAvailable 00000000 MicRxFifosReady 0000BFFF MicTimeOutPeriod: FrameTOPeriod: 00000EA6 DirectTOPeriod: 00004000 <output truncated> MicTransmitFifoInfo: Fifo0: StartPtrs: 038C2800 ReadPtr: 038C2C38...
  • Page 469: Show Controllers Ethernet-Controller

    This display without keywords provides traffic statistics, basically the Remote Network Monitoring (RMON) statistics for all ports or for the specified port. When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
  • Page 470 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show controllers ethernet-controller Examples This is an example of output from the show controllers ethernet-controller command for a port: Switch# show controllers ethernet-controller gigabitethernet1/0/1 Transmit GigabitEthernet1/0/1 Receive 0 Bytes 0 Bytes...
  • Page 471 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show controllers ethernet-controller This is an example of output from the show controllers ethernet-controller port-asic configuration command: Switch# show controllers ethernet-controller port-asic configuration ======================================================================== Switch 1, PortASIC 0 Registers ------------------------------------------------------------------------ DeviceType...
  • Page 472 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show controllers ethernet-controller 0 TxBuffer Bandwidth Drop Cou 0 Rx Invalid Too Large Frames 0 TxQueue Bandwidth Drop Coun 0 Rx Invalid Too Large Frames 0 TxQueue Missed Drop Statist 0 Rx Invalid Too Small Frames...
  • Page 473: Show Controllers Tcam

    Modification 12.1(14)AX This command was introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Examples This is an example of output from the show controllers tcam command: Switch# show controllers tcam...
  • Page 474: Show Controllers Tcam

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show controllers tcam GMR31: FF_FFFFFFFF_FFFFFFFF GMR32: FF_FFFFFFFF_FFFFFFFF GMR33: FF_FFFFFFFF_FFFFFFFF ============================================================================= TCAM related PortASIC 1 registers ============================================================================= LookupType: 89A1C67D_24E35F00 LastCamIndex: 0000FFE0 LocalNoMatch: 000069E0 ForwardingRamBaseAddress: 00022A00 0002FE00 00040600 0002FE00 0000D400 00000000 003FBA00 00009000 00009000 00040600...
  • Page 475: Show Cpu Traffic Qos

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show cpu traffic qos show cpu traffic qos Use the show cpu traffic qos command in user EXEC mode to display the QoS marking values for CPU-generated traffic. show cpu traffic qos Syntax Description This command has no arguments or keywords.
  • Page 476: Show Cpu Traffic Qos

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show cpu traffic qos Catalyst 3750 Metro Switch Command Reference 2-448 OL-9645-10...
  • Page 477: Show Dot1Q-Tunnel

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show dot1q-tunnel show dot1q-tunnel Use the show dot1q-tunnel user EXEC command to display information about 802.1Q tunnel ports. show dot1q-tunnel [interface interface-id] Syntax Description interface interface-id (Optional) Specify the interface for which to display 802.1Q tunneling information.
  • Page 478: Show Dot1X

    Chapter 2 Catalyst 3750 Metro 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] Syntax Description (Optional) Display the 802.1x status for all ports.
  • Page 479: Show Dot1X

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show dot1x PortStatus = UNAUTHORIZED MaxReq HostMode = Multi Port Control = Auto QuietPeriod = 60 Seconds Re-authentication = Disabled ReAuthPeriod = 3600 Seconds ServerTimeout = 30 Seconds SuppTimeout = 30 Seconds...
  • Page 480 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show dot1x Table 2-20 show dot1x statistics Field Descriptions (continued) Field Description RxInvalid Number of EAPOL frames that have been received and have an unrecognized frame type. RxLenError Number of EAPOL frames that have been received in which the packet body length field is invalid.
  • Page 481: Show Dtp

    Chapter 2 Catalyst 3750 Metro 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] Syntax Description interface (Optional) Display port security settings for the specified interface.
  • Page 482 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show dtp Related Commands Command Description show interfaces trunk Displays interface trunking information. Catalyst 3750 Metro Switch Command Reference 2-454 OL-9645-10...
  • Page 483: Show Env

    Chapter 2 Catalyst 3750 Metro 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. show env {all | fan | power | rps | temperature} Syntax Description Display both fan and temperature environmental status.
  • Page 484: Show Errdisable Detect

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show errdisable detect show errdisable detect Use the show errdisable detect user EXEC command to display error-disabled detection status. show errdisable detect Syntax Description This command has no arguments or keywords.
  • Page 485: Show Errdisable Detect

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show errdisable detect udld Enabled port vmps Enabled port Though visible in the output, the dhcp-rate-limit and storm-control fields are not valid. Note Related Commands Command Description errdisable detect cause Enables error-disabled detection for a specific cause or all causes.
  • Page 486: Show Errdisable Flap-Values

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 487 Chapter 2 Catalyst 3750 Metro 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 488: Show Errdisable Recovery

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 489 Chapter 2 Catalyst 3750 Metro 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 490: Show Etherchannel

    Chapter 2 Catalyst 3750 Metro 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}...
  • Page 491: Show Etherchannel

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show etherchannel Local information: LACP port Admin Oper Port Port Port Flags State Priority Number State Fa1/0/1 bndl 32768 0x101 0x3D Fa1/0/2 bndl 32768 0x3D Age of the port in the current state: 01d:20h:06m:04s...
  • Page 492 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show etherchannel Index Load Port EC state No of bits ------+------+------+------------------+----------- Gi1/0/1 Active Gi1/0/2 Active Time since last port bundled: 01d:20h:24m:44s Gi1/0/2 This is an example of output from show etherchannel protocol command:...
  • Page 493: Show Ethernet Service Evc

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ethernet service evc show ethernet service evc Use the show ethernet service evc privileged EXEC command to display information about Ethernet virtual connection (EVC) customer-service instances. show ethernet service evc [id evc-id | interface interface-id] [detail]...
  • Page 494: Show Ethernet Service Instance

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ethernet service instance show ethernet service instance Use the show ethernet service instance privileged EXEC command to display information about Ethernet customer-service instances. show ethernet service instance [id id] [interface interface-id] [detail]...
  • Page 495 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ethernet service instance Related Commands Command Description service instance id ethernet Defines an Ethernet service instance and enters Ethernet service configuration mode. Catalyst 3750 Metro Switch Command Reference 2-467 OL-9645-10...
  • Page 496: Show Ethernet Service Interface

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ethernet service interface show ethernet service interface Use the show ethernet service interface privileged EXEC command to display interface-based information about Ethernet customer-service instances for all interfaces or a specified interface.
  • Page 497: Show Ethernet Service Interface

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ethernet service interface Related Commands Command Description service instance id ethernet Defines an Ethernet service instance and enters Ethernet service configuration mode from interface configuration mode. Catalyst 3750 Metro Switch Command Reference...
  • Page 498: Show Interfaces

    (Optional) Display the input and output packets by switching path for the interface. status (Optional) Display the status of the interface. A status of unsupported in the Type field means that a non-Cisco small form-factor pluggable (SFP) module is inserted in the module slot. err-disabled (Optional) Display interfaces in error-disabled state.
  • Page 499 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces Though visible in the command-line help strings, the crb, fair-queue, irb, mac-accounting, Note precedence, random-detect, rate-limit, and shape keywords are not supported. Command Modes Privileged EXEC Command History Release Modification 12.1(14)AX...
  • Page 500 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces 0 output errors, 0 collisions, 2 interface resets 0 babbles, 0 late collision, 0 deferred 0 lost carrier, 0 no carrier, 0 PAUSE output 0 output buffer failures, 0 output buffers swapped out This is an example of output from the show interfaces accounting command.
  • Page 501 Chapter 2 Catalyst 3750 Metro 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 502 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces switchport command for a port. Table 2-21 describes the fields in the display. Private VLAN trunks are not supported in this release, so those fields are not applicable.
  • Page 503 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces Table 2-21 show interfaces switchport Field Descriptions (continued) Field Description Voice VLAN Displays the VLAN ID on which voice VLAN is enabled. Appliance trust Displays the class of service (CoS) setting of the data packets of the IP phone.
  • Page 504 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces When a Flex Link interface goes down (LINK_DOWN), VLANs preferred on this interface are moved to the peer interface of the Flex Link pair. In this example, if interface Gi1/0/6 goes down, Gi1/0/8 carries all VLANs of the Flex Link pair.
  • Page 505: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Metro 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 [errors | etherchannel | module switch-...
  • Page 506: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces counters Fa1/0/1 475256 4335 Fa1/0/2 Fa1/0/3 Fa1/0/4 Fa1/0/5 Fa1/0/6 Fa1/0/7 Fa1/0/8 Fa1/0/9 Fa1/0/10 Fa1/0/11 Fa1/0/12 Fa1/0/13 5689160 11548 63746 Fa1/0/14 1998856 11547 6092 Fa1/0/15 1999304 11548 6095 Fa1/0/16 1999752...
  • Page 507 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces counters Related Commands Command Description show interfaces Displays additional interface characteristics. Catalyst 3750 Metro Switch Command Reference 2-479 OL-9645-10...
  • Page 508: Show Interfaces Rep

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces rep show interfaces rep Use the show interfaces rep User EXEC command to display Resilient Ethernet Protocol (REP) configuration and status for a specified interface or for all interfaces.
  • Page 509: Show Interfaces Rep

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces rep GigabitEthernet1/0/2 REP enabled Segment-id: 1 (Segment) PortID: 00030019E85BDD00 Preferred flag: No Operational Link Status: INIT_DOWN Current Key: 00000000000000000000 Port Role: Fail Blocked VLAN: 1-4094 Admin-vlan: 1 Preempt Delay Timer: disabled...
  • Page 510: Show Interfaces Transceiver

    The thresholds shown in the output from the show interfaces transceiver threshold-table command are hard coded in Cisco IOS, but are not supported. The thresholds shown in the output from the show interfaces transceiver detail command are read from the SFP EEPROM and are supported.
  • Page 511 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces transceiver Examples This is an example of output from the show interfaces interface-id transceiver properties command: Switch# show interfaces gigabitethernet1/0/1 transceiver properties Name : Gi1/0/1 Administrative Speed: auto Operational Speed: auto...
  • Page 512 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show interfaces transceiver XFP_ER XENPAK_LR 10-1838-04 X2_LR <output truncated> This is an example of output from the show interfaces transceiver threshold-table command. Note that these are thresholds programmed into IOS software, and are NOT used to determine alarms.
  • Page 513: Show Inventory

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show inventory show inventory Use the show inventory user EXEC command to display product identification (PID) information for the hardware. show inventory [entity-name | raw] Syntax Description entity-name (Optional) Display the specified entity. For example, enter the interface (such as gigabitethernet1/0/1) into which a small form-factor pluggable (SFP) module is installed.
  • Page 514: Show Ip Arp Inspection

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip arp inspection show ip arp inspection Use the show ip arp inspection privileged EXEC command to display the configuration and the operating state of dynamic Address Resolution Protocol (ARP) inspection or the status of this feature for all VLANs or for the specified interface or VLAN.
  • Page 515: Show Ip Arp Inspection

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip arp inspection ---- ------------- --------- --------- ---------- Enabled Active deny-all Vlan ACL Logging DHCP Logging Probe Logging ---- ----------- ------------ ------------- Acl-Match Permit Vlan Forwarded Dropped DHCP Drops ACL Drops...
  • Page 516 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip arp inspection If the log buffer overflows, it means that a log event does not fit into the log buffer, and the display for the show ip arp inspection log privileged EXEC command is affected. A -- in the display appears in place of all data except the packet count and the time.
  • Page 517 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip arp inspection Related Commands Command Description arp access-list Defines an ARP ACL. clear ip arp inspection log Clears the dynamic ARP inspection log buffer. clear ip arp inspection statistics Clears the dynamic ARP inspection statistics.
  • Page 518: Show Ip Dhcp Snooping

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

    Chapter 2 Catalyst 3750 Metro 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 DHCP snooping binding database and configuration information for all interfaces on a switch.
  • Page 520: Show Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip dhcp snooping binding This example shows how to display the DHCP snooping binding entries for a specific IP address: Switch> show ip dhcp snooping binding 10.1.2.150 MacAddress IpAddress Lease(sec)
  • Page 521: Show Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip dhcp snooping database show ip dhcp snooping database Use the show ip dhcp snooping database user EXEC command to display the status of the DHCP snooping binding database agent.
  • Page 522: Show Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip dhcp snooping database Successful Writes Failed Writes Media Failures First successful access: Read Last ignored bindings counters : Binding Collisions Expired leases Invalid interfaces Unsupported vlans : Parse failures...
  • Page 523: Show Ip Dhcp Snooping Statistics

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip dhcp snooping statistics show ip dhcp snooping statistics Use the show ip dhcp snooping statistics user EXEC command to display DHCP snooping statistics in summary or detail form. show ip dhcp snooping statistics [detail]...
  • Page 524 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip dhcp snooping statistics Table 2-23 DHCP Snooping Statistics (continued) DHCP Snooping Statistic Description Queue full Number of errors when an internal queue used to process the packets is full. This might happen if...
  • Page 525 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip dhcp snooping statistics Table 2-23 DHCP Snooping Statistics (continued) DHCP Snooping Statistic Description Interface Down Number of times the packet is a reply to the DHCP relay agent, but the SVI interface for the relay agent is down.
  • Page 526: Show Ip Igmp Profile

    Chapter 2 Catalyst 3750 Metro 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 527: Show Ip Igmp Snooping

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

    Chapter 2 Catalyst 3750 Metro 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 530: Show Ip Igmp Snooping Groups

    Chapter 2 Catalyst 3750 Metro 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.
  • Page 531: Show Ip Igmp Snooping Mrouter

    Chapter 2 Catalyst 3750 Metro 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 532: Show Ip Igmp Snooping Querier

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip igmp snooping querier show ip igmp snooping querier Use the show ip igmp snooping querier detail user EXEC command to display the configuration and operation information for the IGMP querier configured on a switch.
  • Page 533: Show Ip Igmp Snooping Querier

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip igmp snooping querier Vlan IP Address IGMP Version Port ------------------------------------------------------------- 1.1.1.1 Fa1/0/1 Global IGMP switch querier status -------------------------------------------------------- admin state : Enabled admin version source IP address : 0.0.0.0...
  • Page 534: Show Ip Sla Standards

    Use the show ip sla standards command in user EXEC or privileged EXEC mode to display the Cisco IOS IP Service Level Agreements (SLAs) and Two-Way Active Measurement Protocol (TWAMP) standards implemented on the switch.
  • Page 535: Show Ip Sla Twamp Connection

    Use the show ip sla twamp connection command in user EXEC mode to display the current Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) connections. show ip sla twamp connection {detail [source-ip ip-address] | requests} ]...
  • Page 536 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip sla twamp connection The following is sample output from the show ip sla twamp connection requests command: Switch> show ip sla twamp connection requests Connection-Id Client Address Client Port 172.27.111.225...
  • Page 537: Show Ip Sla Twamp Session

    Use the show ip sla twamp session command in user EXEC mode to display Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) test sessions. show ip sla twamp session [source-ip ip address | source-port port-number]...
  • Page 538: Show Ip Source Binding

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip source binding show ip source binding Use the show ip source binding user EXEC command to display the IP source bindings on the switch. show ip source binding [ip-address] [mac-address] [dhcp-snooping | static] [interface...
  • Page 539: Show Ip Verify Source

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip verify source show ip verify source Use the show ip verify source user EXEC command to display the IP source guard configuration on the switch or on a specific interface.
  • Page 540: Show Ip Verify Source

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ip verify source IP source guard is not configured on the interface fa1/0/6. Related Commands Command Description ip verify source Enables IP source guard on an interface. Catalyst 3750 Metro Switch Command Reference...
  • Page 541: Show Ipv6 Dhcp Conflict

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 dhcp conflict show ipv6 dhcp conflict Use the show ipv6 dhcp conflict privileged EXEC command to display address conflicts found by a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server when addresses are offered to the client.
  • Page 542: Show Ipv6 Mld Snooping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping show ipv6 mld snooping Use the show ipv6 mld snooping user EXEC command to display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping configuration of the switch or the VLAN.
  • Page 543 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping This is an example of output from the show ipv6 mld snooping command. It displays snooping characteristics for all VLANs on the switch. Switch> show ipv6 mld snooping...
  • Page 544: Show Ipv6 Mld Snooping Address

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping address show ipv6 mld snooping address Use the show ipv6 mld snooping address user EXEC command to display all or specified IP version 6 (IPv6) multicast address information maintained by Multicast Listener Discovery (MLD) snooping.
  • Page 545: Show Ipv6 Mld Snooping Address

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping address Examples This is an example of output from the show snooping address user EXEC command: Switch> show ipv6 mld snooping address Vlan Group Type Version Port List...
  • Page 546: Show Ipv6 Mld Snooping Mrouter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping mrouter show ipv6 mld snooping mrouter Use the show ipv6 mld snooping mrouter user EXEC command to display dynamically learned and manually configured IP version 6 (IPv6) Multicast Listener Discovery (MLD) router ports for the switch or a VLAN.
  • Page 547 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping mrouter Related Commands Command Description ipv6 mld snooping Enables and configures MLD snooping on the switch or on a VLAN. ipv6 mld snooping vlan mrouter Configures multicast router ports for a VLAN.
  • Page 548: Show Ipv6 Mld Snooping Querier

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping querier show ipv6 mld snooping querier Use the show ipv6 mld snooping querier user EXEC command to display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping querier-related information most recently received by the switch or the VLAN.
  • Page 549: Show Ipv6 Mld Snooping Querier

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 mld snooping querier Examples This is an example of output from the show ipv6 mld snooping querier command: Switch> show ipv6 mld snooping querier Vlan IP Address MLD Version Port...
  • Page 550: Show Ipv6 Route Updated

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 route updated show ipv6 route updated Use the show ipv6 route updated command in user EXEC command to display the current contents of the IPv6 routing table. show ipv6 route [protocol] updated [boot-up]{hh:mm | day{month [hh:mm]} [{hh:mm |...
  • Page 551: Show Ipv6 Route Updated

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show ipv6 route updated IA - ISIS interarea, IS - ISIS summary O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2...
  • Page 552: Show L2Protocol-Tunnel

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show l2protocol-tunnel show l2protocol-tunnel Use the show l2protocol-tunnel user EXEC command to display information about Layer 2 protocol tunnel ports. The output displays information for the specified interface or all interfaces with protocol tunneling enabled.
  • Page 553 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show l2protocol-tunnel <output truncated> This is an example of output from the show l2protocol-tunnel summary command: Switch> show l2protocol-tunnel summary COS for Encapsulated Packets: 5 Drop Threshold for Encapsulated Packets: 0...
  • Page 554: Show Lacp

    Chapter 2 Catalyst 3750 Metro 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} Syntax Description channel-group-number (Optional) Number of the channel group.
  • Page 555: Show Lacp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show lacp Table 2-24 show lacp counters Field Descriptions Field Description LACPDUs Sent and Recv The number of LACP packets sent and received by an interface. Marker Sent and Recv The number of LACP marker packets sent and received by an interface.
  • Page 556 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show lacp Table 2-25 show lacp internal Field Descriptions (continued) Field Description Admin Key Administrative key assigned to this port. LACP automatically generates an administrative key value as a hexadecimal number.
  • Page 557 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show lacp This is an example of output from the show lacp sys-id command: Switch> show lacp sys-id 32765,0002.4b29.3a00 The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address associated to the system.
  • Page 558: Show Link State Group

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show link state group show link state group Use the show link state group global configuration command to display the link-state group information. show link state group [number] [detail] Syntax Description number (Optional) Number of the link-state group.
  • Page 559 Enables a link-state group. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm and_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 560: Show Location

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show location show location Use the show location user EXEC command to display location information for an endpoint. show location admin-tag show location civic-location {identifier id number | interface interface-id | static}...
  • Page 561 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show location Civic location information -------------------------- Identifier County : Santa Clara Street number : 3550 Building : 19 Room : C6 Primary road name : Cisco Way City : San Jose...
  • Page 562: Show Mac Access-Group

    Chapter 2 Catalyst 3750 Metro 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]...
  • Page 563: Show Mac Address-Table

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table show mac address-table Use the show mac address-table user EXEC command to display a specific MAC address table static and dynamic entry or the MAC address table static and dynamic entries on a specific interface or VLAN.
  • Page 564 Chapter 2 Catalyst 3750 Metro 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 565: Show Mac Address-Table Address

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table address show mac address-table address Use the show mac address-table address user EXEC command to display MAC address table information for the specified MAC address. show mac address-table address mac-address [interface interface-id] [vlan vlan-id]...
  • Page 566: Show Mac Address-Table Aging-Time

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table aging-time show mac address-table aging-time Use the show mac address-table aging-time user EXEC command to display the aging time of a specific address table instance, all address table instances on a specified VLAN or, if a specific VLAN is not specified, on all VLANs.
  • Page 567 Chapter 2 Catalyst 3750 Metro 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 568: Show Mac Address-Table Count

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table count show mac address-table count Use the show mac address-table count user EXEC command to display the number of addresses present in all VLANs or the specified VLAN.
  • Page 569 Chapter 2 Catalyst 3750 Metro 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 570: Show Mac Address-Table Dynamic

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table dynamic show mac address-table dynamic Use the show mac address-table dynamic user EXEC command to display only dynamic MAC address table entries. show mac address-table dynamic [address mac-address] [interface interface-id] [vlan vlan-id]...
  • Page 571 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table dynamic Command Description show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN. show mac address-table interface Displays the MAC address table information for the specified interface.
  • Page 572: Show Mac Address-Table Interface

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table interface show mac address-table interface Use the show mac address-table interface user command to display the MAC address table information for the specified interface in the specified VLAN.
  • Page 573: Show Mac Address-Table Learning

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table learning show mac address-table learning Use the show mac address-table learning user EXEC command to display the status of MAC address learning for all VLANs or the specified VLAN.
  • Page 574: Show Mac Address-Table Move Update

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table move update show mac address-table move update Use the show mac address-table move update user EXEC command to display the MAC address-table move update information on the switch.
  • Page 575 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table move update Related Commands Command Description clear mac address-table move Clears the MAC address-table move update counters. update mac address-table move update Configures MAC address-table move update on the switch.
  • Page 576: Show Mac Address-Table Multicast

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table multicast show mac address-table multicast Use the show mac address-table multicast user EXEC command to display the Layer 2 multicast entries for all VLANs. Use the command in privileged EXEC mode to display specific multicast entries.
  • Page 577 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table multicast 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 578: Show Mac Address-Table Notification

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table notification show mac address-table notification Use the show mac address-table notification user EXEC command to display the MAC address notification settings for all interfaces or the specified interface.
  • Page 579 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table notification MAC Changed Message : Operation: Added Vlan: 2 MAC Addr: 0000.0000.0000 Module: 0 Port: 1 Operation: Added Vlan: 2 MAC Addr: 0000.0000.0002 Module: 0 Port: 1 Operation: Added Vlan: 2 MAC Addr: 0000.0000.0003 Module: 0...
  • Page 580: Show Mac Address-Table Static

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table static show mac address-table static Use the show mac address-table static user EXEC command to display only static MAC address table entries. show mac address-table static [address mac-address] [interface interface-id] [vlan vlan-id]...
  • Page 581 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table static Related Commands Command Description mac address-table static Adds static addresses to the MAC address table. show mac address-table address Displays MAC address table information for the specified MAC address.
  • Page 582: Show Mac Address-Table Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mac address-table vlan show mac address-table vlan Use the show mac address-table vlan user EXEC command to display the MAC address table information for the specified VLAN. show mac address-table vlan vlan-id...
  • Page 583 Chapter 2 Catalyst 3750 Metro 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 584: Show Mls Qos

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 585: Show Mls Qos Aggregate-Policer

    Chapter 2 Catalyst 3750 Metro 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 586: Show Mls Qos Input-Queue

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 587: Show Mls Qos Interface

    Chapter 2 Catalyst 3750 Metro 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 588 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mls qos interface The port is mapped to qset : 1 This is an example of output from the show mls qos interface interface-id statistics command. Table 2-26 describes the fields in this display.
  • Page 589 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mls qos interface Table 2-26 show mls qos interface statistics Field Descriptions Field Description DSCP incoming Number of received packets for each DSCP value. outgoing Number of sent packets for each DSCP value.
  • Page 590: Show Mls Qos Maps

    Chapter 2 Catalyst 3750 Metro 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 591 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mls qos maps Examples This is an example of output from the show mls qos maps command: Switch> show mls qos maps Policed-dscp map: d1 : d2 0 --------------------------------------- 00 01 02 03 04 05 06 07 08 09...
  • Page 592 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mls qos maps queue-threshold: 1-1 1-1 1-1 1-1 1-1 2-1 1-1 1-1 Dscp-dscp mutation map: Default DSCP Mutation Map: d1 : d2 0 --------------------------------------- 00 01 02 03 04 05 06 07 08 09...
  • Page 593: Show Mls Qos Queue-Set

    Chapter 2 Catalyst 3750 Metro 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 an egress queue-set. show mls qos queue-set [qset-id]...
  • Page 594 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mls qos queue-set Related Commands Command Description mls qos queue-set Allocates buffers to the queue-set. output buffers mls qos queue-set Configures the weighted tail-drop (WTD) thresholds, guarantees the output threshold availability of buffers, and configures the maximum memory allocation of the queue-set.
  • Page 595: Show Mls Qos Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mls qos vlan show mls qos vlan Use the show mls qos vlan user EXEC command to display the policy maps attached to a switch virtual interface (SVI). show mls qos vlan vlan-id...
  • Page 596: Show Monitor

    Chapter 2 Catalyst 3750 Metro 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 597 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show monitor Dest RSPAN VLAN : 105 This is an example of output for the show monitor command for RSPAN source session 1: Switch# show monitor session 1 Session 1 ---------...
  • Page 598: Show Mpls L2Transport Vc

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mpls l2transport vc show mpls l2transport vc Use the show mpl2 l2transport vc user EXEC command to provide information about the Ethernet over multiprotocol label switching (EoMPLS) virtual circuits (VCs) that have been enabled to route Layer 2 packets on a provider-edge device.
  • Page 599: Show Mpls L2Transport Vc

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mpls l2transport vc Table 2-27 show mpls l2 transport vc Field Descriptions Field Description VC State The state of the VC (UP or DOWN): UP—The VC can carry traffic between the two VC end points. A VC is up when both the local and remote interfaces are programmed.
  • Page 600 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mpls l2transport vc local label: 17, remote label: 17, tunnel label: implc-null outgoing interface: Gi1/1/1, next hop: 10.2.0.2 Local MTU: 1500, Remote MTU: 1500 Remote interface description: FastEthernet1/0/2 Packet totals(in/out): 606955/0...
  • Page 601 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mpls l2transport vc Table 2-28 show mpls l2 transport vc detail Field Descriptions (continued) Field Description Remote interface description The interface on the remote device that has been enabled to send and receive Layer 2 packets.
  • Page 602: Show Mvr

    Chapter 2 Catalyst 3750 Metro 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 603 Chapter 2 Catalyst 3750 Metro 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...
  • Page 604: Show Mvr Interface

    Chapter 2 Catalyst 3750 Metro 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 605 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mvr interface In the preceding display, Status is defined as follows: Active means that the port is part of a VLAN • Up/Down means that the port is forwarding/nonforwarding •...
  • Page 606: Show Mvr Members

    Chapter 2 Catalyst 3750 Metro 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]...
  • Page 607: Show Mvr Members

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show mvr members Related Commands Command Description mvr (global configuration) Enables and configures multicast VLAN registration on the switch. mvr (interface configuration) Configures MVR ports. show mvr Displays the global MVR configuration on the switch.
  • Page 608: Show Pagp

    Chapter 2 Catalyst 3750 Metro 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} Syntax Description channel-group-number (Optional) Number of the channel group. The range is 1 to 12.
  • Page 609: Show Pagp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show pagp Channel group 1 neighbors Partner Partner Partner Partner Group Port Name Device ID Port Flags Cap. Gi1/0/1 switch-p2 0002.4b29.4600 Gi1/0/1 10001 Gi1/0/2 switch-p2 0002.4b29.4600 Gi1/0/2 10001 Related Commands Command...
  • Page 610: Show Parser Macro

    This command was introduced. Examples This is a partial output example from the show parser macro command. The output for the Cisco-default macros varies depending on the switch platform and the software image running on the switch: Switch# show parser macro...
  • Page 611: Show Parser Macro

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show parser macro # Recommended value for access vlan (AVID) should not be 1 switchport access vlan $AVID switchport mode access <output truncated> -------------------------------------------------------------- Macro name : cisco-switch Macro type : default interface...
  • Page 612 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_ reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. Catalyst 3750 Metro Switch Command Reference 2-584...
  • Page 613: Show Policy-Map

    Chapter 2 Catalyst 3750 Metro 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 the traffic policy for a traffic class. Policy maps can include policers that specify the bandwidth limitations and the action to take if the limits are exceeded.
  • Page 614 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show policy-map af22 1/10 af23 1/10 af31 1/10 af32 1/10 af33 1/10 af41 1/10 af42 1/10 af43 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1000 6000 1/2000 rsvp 1/10...
  • Page 615: Show Port-Security

    Chapter 2 Catalyst 3750 Metro 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] Syntax Description interface interface-id (Optional) Display port security settings for the specified interface.
  • Page 616 Chapter 2 Catalyst 3750 Metro 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 617 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show port-security Related Commands Command Description switchport port-security Enables port security on a port, restricts the use of the port to a user-defined group of stations, and configures secure MAC addresses.
  • Page 618: Show Rep Topology

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show rep topology show rep topology Use the show rep topology User EXEC command to display Resilient Ethernet Protocol (REP) topology information for a segment or for all segments, including the primary and secondary edge ports in the segment.
  • Page 619 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show rep topology This example shows output from the show rep topology detail command: Switch# show rep topology detail REP Segment 2 repc_2_24ts, Fa0/2 (Primary Edge) Alternate Port, some vlans blocked Bridge MAC: 0019.e714.5380...
  • Page 620: Show Sdm Prefer

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show sdm prefer show sdm prefer Use the show sdm prefer privileged EXEC command to display information about the Switch Database Management (SDM) templates that can be used to maximize system resources for a particular feature, or use the command without a keyword to display the template in use.
  • Page 621: Show Sdm Prefer

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show sdm prefer number of indirect routes: number of policy based routing aces: number of qos aces: number of security aces: This is an example of output from the show sdm prefer routing command: Switch# show sdm prefer routing “desktop routing”...
  • Page 622 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show sdm prefer Related Commands Command Description sdm prefer Sets the SDM template to maximize resources for routing, policy-based routing, or VLANs, or to the default template or to select a dual IPv4 and IPv6 template.
  • Page 623: Show Setup Express

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 624: Show Spanning-Tree

    Chapter 2 Catalyst 3750 Metro 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 625 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show spanning-tree mst [configuration (Optional) Display the multiple spanning-tree (MST) region [digest]] [instance-id configuration and status (available only in privileged EXEC mode). [detail | interface The keywords have these meanings: interface-id [detail]] digest—(Optional) Display the MD5 digest included in the current...
  • Page 626 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show spanning-tree Command Modes User EXEC; indicated keywords available only in privileged EXEC mode. Command History Release Modification 12.1(14)AX This command was introduced. 12.2(25)SEG The digest keyword was added, and new digest and transmit hold count fields appear.
  • Page 627 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show spanning-tree This is an example of output from the show spanning-tree detail command: Switch# show spanning-tree detail VLAN0001 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 49152, sysid 1, address 0003.fd63.9580 Configured hello time 2, max age 20, forward delay 15 Current root has priority 32768, address 0001.42e2.cdd0...
  • Page 628 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show spanning-tree BackboneFast statistics ----------------------- Number of transition via backboneFast (all VLANs) Number of inferior BPDUs received (all VLANs) Number of RLQ request PDUs received (all VLANs) Number of RLQ response PDUs received (all VLANs)
  • Page 629 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show spanning-tree Command Description spanning-tree guard Enables the root guard or the loop guard feature for all the VLANs associated with the selected interface. spanning-tree link-type Overrides the default link-type setting for rapid spanning-tree transitions to the forwarding state.
  • Page 630: Show Storm-Control

    Chapter 2 Catalyst 3750 Metro 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 631 Chapter 2 Catalyst 3750 Metro 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 1/0/1...
  • Page 632: Show System Mtu

    Chapter 2 Catalyst 3750 Metro 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 Syntax Description This command has no arguments or keywords.
  • Page 633: Show Udld

    Chapter 2 Catalyst 3750 Metro 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 interfaces or the specified interface. show udld [interface-id]...
  • Page 634 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show udld Table 2-30 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 635 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show udld This is an example of output from the show udld interface-id command when the aggressive mode is configured: Switch# show udld gigabitethernet1/0/1 Interface Gi1/0/1 Port enable administrative configuration setting:Enabled / in aggressive mode...
  • Page 636: Show Version

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show version show version Use the show version user EXEC command to display version information for the hardware and firmware. show version Syntax Description This command has no arguments or keywords.
  • Page 637 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show version cisco 3750me-24-2-2 (PowerPC405) processor with 120822K/10240K bytes of memory. Last reset from power-on Bridging software. Target IOS Version 12.2(14)AX 1 Virtual Ethernet/IEEE 802.3 interface(s) 24 FastEthernet/IEEE 802.3 interface(s) 4 Gigabit Ethernet/IEEE 802.3 interface(s) The password-recovery mechanism is enabled.
  • Page 638: Show Vlan

    Chapter 2 Catalyst 3750 Metro 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 639: Show Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vlan Usage Guidelines If you try to associate a private VLAN secondary VLAN with a primary VLAN before you define the secondary VLAN, the secondary VLAN is not included in the show vlan private-vlan command output.
  • Page 640 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vlan Table 2-31 show vlan Command Output Fields Field Description VLAN VLAN number. Name Name, if configured, of the VLAN. Status Status of the VLAN (active or suspend). Ports Ports that belong to the VLAN.
  • Page 641 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vlan This is an example of output from the show vlan dot1q tag native command: Switch> show vlan dot1q tag native dot1q native vlan tagging is disabled This is an example of output from the show vlan internal usage command. It shows that VLANs 1025 and 1026 are being used as internal VLANs for Fast Ethernet routed ports 23 and 24.
  • Page 642 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vlan This is an example of output from the show vlan mapping command: Switch# show vlan mapping Interface Gi1/1/1: Outer VLAN Inner VLAN Translated VLAN ---------- ---------- --------------- drop Interface Gi1/1/2:...
  • Page 643: Show Vlan Access-Map

    Chapter 2 Catalyst 3750 Metro 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 all VLAN access maps. show vlan access-map [mapname]...
  • Page 644: Show Vlan Filter

    Chapter 2 Catalyst 3750 Metro 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]...
  • Page 645: Show Vmps

    Chapter 2 Catalyst 3750 Metro 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 646: Show Vmps

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vmps This is an example of output from the show vmps statistics command. Table 2-32 describes each field in the display. Switch> show vmps statistics VMPS Client Statistics ---------------------- Queries:...
  • Page 647 Chapter 2 Catalyst 3750 Metro 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 648: Show Vtp

    Chapter 2 Catalyst 3750 Metro 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 | status}...
  • Page 649: Show Vtp

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vtp Table 2-33 show vtp counters Field Descriptions Field Description Summary advertisements Number of summary advertisements received by this switch on its trunk received ports. Summary advertisements contain the management domain name,...
  • Page 650 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vtp Table 2-33 show vtp counters Field Descriptions (continued) Field Description Number of V1 summary Number of version 1 errors. errors Version 1 summary errors increment whenever a switch in VTP V2 mode receives a VTP version 1 frame.
  • Page 651 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vtp Table 2-34 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 652 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands show vtp Related Commands Command Description clear vtp counters Clears the VTP and pruning counters. Configures the VTP filename, interface name, domain name, and mode. Catalyst 3750 Metro Switch Command Reference...
  • Page 653: Shutdown

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands shutdown shutdown Use the shutdown interface configuration command to disable an interface. Use the no form of this command to restart a disabled interface. shutdown no shutdown Syntax Description This command has no arguments or keywords.
  • Page 654: Shutdown Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands shutdown vlan shutdown vlan Use the shutdown vlan global configuration command 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 655: Small-Frame Violation Rate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands small-frame violation rate small-frame violation rate Use the small-frame violation rate pps interface configuration command on the switch to configure the rate (threshold) for an interface to be error disabled when it receives VLAN-tagged packets that are small frames (67 bytes or less) at the specified rate.
  • Page 656 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands small-frame violation rate Related Commands Command Description errdisable detect cause small-frame Allows any switch port to be put into the error-disabled state if an incoming frame is smaller than the minimum size and arrives at the specified rate (threshold).
  • Page 657: Snmp Mib Rep Trap-Rate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp mib rep trap-rate snmp mib rep trap-rate Use the snmp mib rep trap-rate global configuration command to configure the sending of Resilient Ethernet Protocol (REP) SNMP traps when there is a link operational status or port role change. Use the no version of the command to disable sending of the REP trap.
  • Page 658: Snmp-Server Enable Traps

    [auth-fail-vlan | guest-vlan | no-auth-fail-vlan | no-guest-vlan] } | entity | envmon [fan | shutdown | supply | temperature] | flash | hsrp | ipmulticast | mac-notification [change] [move] [threshold] | msdp | ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change] | pim [invalid-pim-message | neighbor-change | rp-mapping-change] |...
  • Page 659 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp-server enable traps shutdown (Optional) Generate environmental monitor shutdown traps. supply (Optional) Generate environmental monitor power supply traps. temperature (Optional) Generate environmental monitor temperature traps. flash (Optional) Enable SNMP FLASH notifications.
  • Page 660 Modification 12.1(14)AX This command was introduced. 12.2(25)EY The ipmulticast, msdp, ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change], pim [invalid-pim-message | neighbor-change | rp-mapping-change], tty, and storm-control trap-rate keywords were added. 12.2(40)SE The change, move, and threshold keywords were added to the mac-notification option.
  • Page 661 Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command _reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command. snmp-server host Specifies the host that receives SNMP traps.
  • Page 662: Snmp-Server Host

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp-server host snmp-server host Use the snmp-server host global configuration command to specify the recipient (host) of a Simple Network Management Protocol (SNMP) notification operation. Use the no form of this command to remove the specified host.
  • Page 663 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp-server host community-string Password-like community string sent with the notification operation. Though you can set this string by using the snmp-server host command, we recommend that you define this string by using the snmp-server community global configuration command before using the snmp-server host command.
  • Page 664 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp-server host Though visible in the command-line help strings, the fru-ctrl keyword is not supported. Note Catalyst 3750 Metro Switch Command Reference 2-636 OL-9645-10...
  • Page 665 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp-server host Defaults This command is disabled by default. No notifications are sent. If you enter this command with no keywords, the default is to send all trap types to the host. No informs are sent to this host.
  • Page 666 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 667: Snmp Trap Mac-Notification Change

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp trap mac-notification change snmp trap mac-notification change Use the snmp trap mac-notification change interface configuration command to enable the Simple Network Management Protocol (SNMP) MAC address notification trap on a specific Layer 2 interface.
  • Page 668 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands snmp trap mac-notification change Command Description 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. snmp-server enable traps Sends the SNMP MAC notification traps when the mac-notification keyword is appended.
  • Page 669: Spanning-Tree Backbonefast

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree backbonefast spanning-tree backbonefast Use the spanning-tree backbonefast global configuration command to enable the BackboneFast feature. Use the no form of the command to return to the default setting. spanning-tree backbonefast...
  • Page 670: Spanning-Tree Bpdufilter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree bpdufilter spanning-tree bpdufilter Use the spanning-tree bpdufilter interface configuration command to prevent an interface from sending or receiving bridge protocol data units (BPDUs). Use the no form of this command to return to the default setting.
  • Page 671 Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod _command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 672: Spanning-Tree Bpduguard

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree bpduguard spanning-tree bpduguard Use the spanning-tree bpduguard interface configuration command to put an interface in the error-disabled state when it receives a bridge protocol data unit (BPDU). Use the no form of this command to return to the default setting.
  • Page 673 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree bpduguard Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod _command_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 674: Spanning-Tree Cost

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree cost spanning-tree cost Use the spanning-tree cost interface configuration command 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 675 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree cost Related Commands Command Description show spanning-tree interface Displays spanning-tree information for the specified interface. interface-id spanning-tree port-priority Configures an interface priority. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
  • Page 676: Spanning-Tree Etherchannel Guard Misconfig

    Chapter 2 Catalyst 3750 Metro 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 677 Chapter 2 Catalyst 3750 Metro 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 678: Spanning-Tree Extend System-Id

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree extend system-id spanning-tree extend system-id Use the spanning-tree extend system-id global configuration command to enable the extended system ID feature. spanning-tree extend system-id Note Though visible in the command-line help strings, the no version of this command is not supported. You cannot disable the extended system ID feature.
  • Page 679: Spanning-Tree Guard

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree guard spanning-tree guard Use the spanning-tree guard interface configuration command 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 680 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree guard ports. When the switch is operating in MST mode, BPDUs are not sent on nonboundary interfaces if the interface is blocked by loop guard in all MST instances. On a boundary interface, loop guard blocks the interface in all MST instances.
  • Page 681: Spanning-Tree Link-Type

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree link-type spanning-tree link-type Use the spanning-tree link-type interface configuration command to override the default link-type setting, which is controlled by the duplex mode of the interface, and to enable rapid spanning-tree transitions to the forwarding state.
  • Page 682 Chapter 2 Catalyst 3750 Metro 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...
  • Page 683: Spanning-Tree Loopguard Default

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree loopguard default spanning-tree loopguard default Use the spanning-tree loopguard default global configuration command to prevent alternate or root ports from becoming designated ports because of a failure that leads to a unidirectional link. Use the no form of this command to return to the default setting.
  • Page 684 Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 685: Spanning-Tree Mode

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mode spanning-tree mode Use the spanning-tree mode global configuration command to enable per-VLAN spanning-tree plus (PVST+), rapid PVST+, or multiple spanning tree (MST) on your switch. Use the no form of this command to return to the default setting.
  • Page 686 Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_comm and_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 687: Spanning-Tree Mst Configuration

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst configuration spanning-tree mst configuration Use the spanning-tree mst configuration global configuration command to enter multiple spanning-tree (MST) configuration mode through which you configure the MST region. Use the no form of this command to return to the default settings.
  • Page 688 Chapter 2 Catalyst 3750 Metro 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 689: Spanning-Tree Mst Cost

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst cost spanning-tree mst cost Use the spanning-tree mst cost interface configuration command 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 690 Chapter 2 Catalyst 3750 Metro 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 691: Spanning-Tree Mst Forward-Time

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst hello-time spanning-tree mst hello-time Use the spanning-tree mst hello-time global configuration command to set the interval between hello bridge protocol data units (BPDUs) sent by root switch configuration messages. Use the no form of this command to return to the default setting.
  • Page 693: Spanning-Tree Mst Max-Age

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst max-age spanning-tree mst max-age Use the spanning-tree mst max-age global configuration command to set the interval between messages that the spanning tree receives from the root switch. If a switch does not receive a bridge protocol data unit (BPDU) message from the root switch within this interval, it recomputes the spanning-tree topology.
  • Page 694: Spanning-Tree Mst Max-Hops

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst max-hops spanning-tree mst max-hops Use the spanning-tree mst max-hops global configuration command 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 695 Chapter 2 Catalyst 3750 Metro 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 696: Spanning-Tree Mst Pre-Standard

    The port can accept both prestandard and standard BPDUs. If the neighbor types are mismatched, only the common and internal spanning tree (CIST) runs on this interface. If a switch port is connected to a switch running prestandard Cisco IOS software, you must use the Note spanning-tree mst pre-standard interface configuration command on the port.
  • Page 697: Spanning-Tree Mst Port-Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst port-priority spanning-tree mst port-priority Use the spanning-tree mst port-priority interface configuration command to configure an interface priority. If a loop occurs, the Multiple Spanning Tree Protocol (MSTP) can select which interface to put in the forwarding state.
  • Page 698 Chapter 2 Catalyst 3750 Metro 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 699: Spanning-Tree Mst Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst priority spanning-tree mst priority Use the spanning-tree mst priority global configuration command 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 700: Spanning-Tree Mst Root

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree mst root spanning-tree mst root Use the spanning-tree mst root global configuration command to configure the multiple spanning-tree (MST) root switch priority and timers based on the network diameter. Use the no form of this command to return to the default settings.
  • Page 701 Chapter 2 Catalyst 3750 Metro 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 702: Spanning-Tree Port-Priority

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree port-priority spanning-tree port-priority Use the spanning-tree port-priority interface configuration command to configure an interface priority. If a loop occurs, spanning tree can select which interface to put in the forwarding state. Use the no form of this command to return to the default setting.
  • Page 703 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree port-priority Related Commands Command Description show spanning-tree interface Displays spanning-tree information for the specified interface. interface-id spanning-tree cost Sets the path cost for spanning-tree calculations. spanning-tree vlan priority Sets the switch priority for the specified spanning-tree instance.
  • Page 704: Spanning-Tree Portfast (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree portfast (global configuration) spanning-tree portfast (global configuration) Use the spanning-tree portfast global configuration command 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 705: Spanning-Tree Portfast (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree portfast (global configuration) 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. In a valid configuration, Port Fast-enabled interfaces do not receive BPDUs.
  • Page 706: Spanning-Tree Portfast (Interface Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree portfast (interface configuration) spanning-tree portfast (interface configuration) Use the spanning-tree portfast interface configuration command 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 707: Spanning-Tree Portfast (Interface Configuration)

    Related Commands Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_c ommand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 708: Spanning-Tree Uplinkfast

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree uplinkfast spanning-tree uplinkfast Use the spanning-tree uplinkfast global configuration command to accelerate the choice of a new root port when a link or switch fails or when the spanning tree reconfigures itself. Use the no form of this command to return to the default setting.
  • Page 709 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree uplinkfast If you set the max-update-rate to 0, station-learning frames are not generated, so the spanning-tree topology converges more slowly after a loss of connectivity. Examples This example shows how to enable UplinkFast: Switch(config)# spanning-tree uplinkfast You can verify your setting by entering the show spanning-tree summary privileged EXEC command.
  • Page 710: Spanning-Tree Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree vlan spanning-tree vlan Use the spanning-tree vlan global configuration command to configure spanning tree on a per-VLAN basis. Use the no form of this command to return to the default setting.
  • Page 711 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree vlan Command Modes Global configuration Command History Release Modification 12.1(14)AX This command was introduced. Usage Guidelines Disabling the STP causes the VLAN to stop participating in the spanning-tree topology. Interfaces that are administratively down remain down.
  • Page 712 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands spanning-tree vlan This example shows how to set spanning-tree max-age to 30 seconds for VLAN 20: Switch(config)# spanning-tree vlan 20 max-age 30 This example shows how to reset the max-age parameter to the default value for spanning-tree instance...
  • Page 713: Speed

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands speed speed Use the speed interface configuration command 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 714 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands speed Enhanced services (ES) ports do not support 10 or 100 Mbps operation. Setting the speed on an ES port Caution to auto can result in severe data loss if the interface is connected to a 10/100 interface on another switch.
  • Page 715: Srr-Queue Bandwidth Limit

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands srr-queue bandwidth limit srr-queue bandwidth limit Use the srr-queue bandwidth limit interface configuration command to limit the maximum output on a standard port. Use the no form of this command to return to the default setting.
  • Page 716 Chapter 2 Catalyst 3750 Metro 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 717: Srr-Queue Bandwidth Shape

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands srr-queue bandwidth shape srr-queue bandwidth shape Use the srr-queue bandwidth shape interface configuration command to assign the shaped weights and to enable bandwidth shaping on the four egress queues mapped to a standard port. Use the no form of this command to return to the default setting.
  • Page 718 Chapter 2 Catalyst 3750 Metro 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 719: Srr-Queue Bandwidth Share

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands srr-queue bandwidth share srr-queue bandwidth share Use the srr-queue bandwidth share interface configuration command to assign the shared weights and to enable bandwidth sharing on the four egress queues mapped to a port. The ratio of the weights is the ratio of frequency in which the shaped round robin (SRR) scheduler sends packets from each queue.
  • Page 720 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands srr-queue bandwidth share 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 721: Storm-Control

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands storm-control storm-control Use the storm-control interface configuration command to enable broadcast, multicast, or unicast storm control and to set threshold levels on an interface. Use the no form of this command to return to the default setting.
  • Page 722 When the storm control threshold for multicast traffic is reached, all multicast traffic except control Note 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 723 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands storm-control Storm control is supported on physical interfaces. You can also configure storm control on an Note EtherChannel. When storm control is configured on an EtherChannel, the storm control settings propagate to the EtherChannel physical interfaces.
  • Page 724: 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 725 (nonrouting) port, including port blocking and port protection settings. show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 726: Switchport Access

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport access switchport access Use the switchport access interface configuration command 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 727: Switchport Access

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport access Use dynamic-access ports only to connect end stations. Connecting them to switches or routers (that • use bridging protocols) can cause a loss of connectivity. • Configure the network so that STP does not put the dynamic-access port into an STP blocking state.
  • Page 728: Switchport Backup Interface

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport backup interface switchport backup interface Use the switchport backup interface interface configuration command on a Layer 2 interface to configure Flex Links, a pair of interfaces that provide backup to each other. Use the no form of this command to remove the Flex Links configuration.
  • Page 729: Switchport Backup Interface

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport backup interface Command History Release Modification 12.2(20)SE This command was introduced. 12.2(25)FX This command was introduced. 12.2(25)SEE Added preemption, mode, forced, bandwidth, off, and delay keywords. 12.2(37)SE Added prefer vlan keyword.
  • Page 730 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport backup interface This example shows how to configure the Fast Ethernet interface as the MMU primary VLAN: Switch# configure terminal Switch(conf)# interface fastethernet1/0/1 Switch(conf-if)# switchport backup interface fastethernet1/0/2 mmu primary vlan 1021...
  • Page 731 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport backup interface Vlans Preferred on Active Interface: 1-50 Vlans Preferred on Backup Interface: 60, 100-120 The following example shows how to configure multicast fast-convergence on interface Gi1/0/11: Switch# configure terminal...
  • Page 732: Switchport Block

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport block switchport block Use the switchport block interface configuration command 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 733 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport block Related Commands Command Description show interfaces switchport Displays the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. Catalyst 3750 Metro Switch Command Reference...
  • Page 734: Switchport Host

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport mode switchport mode Use the switchport mode interface configuration command 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 736: Switchport Mode

    Chapter 2 Catalyst 3750 Metro 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 737 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport mode This example shows how to configure a port as an 802.1Q tunnel port: Switch(config-if)# switchport mode dot1q-tunnel You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command and examining information in the Administrative Mode and Operational Mode rows.
  • Page 738: Switchport Mode Private-Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport mode private-vlan switchport mode private-vlan Use the switchport mode private-vlan interface configuration command to configure a port as a promiscuous or host private VLAN port. Use the no form of this command to reset the mode to the appropriate default for the device.
  • Page 739 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport mode private-vlan For more information about private-VLAN interaction with other features, see the software Note configuration guide for this release. We strongly recommend that you enable spanning tree Port Fast and bridge-protocol-data-unit (BPDU) guard on isolated and community host ports to prevent STP loops due to misconfigurations and to speed up STP convergence.
  • Page 740: Switchport Nonegotiate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport nonegotiate switchport nonegotiate Use the switchport nonegotiate interface configuration command to specify that Dynamic Trunking Protocol (DTP) negotiation packets are not sent on the Layer 2 interface. The switch does not engage in DTP negotiation on this interface.
  • Page 741: Switchport Nonegotiate

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport nonegotiate 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. switchport mode Configures the VLAN membership mode of a port.
  • Page 742: Switchport Port-Security

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport port-security switchport port-security Use the switchport port-security interface configuration command without keywords 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 743 Chapter 2 Catalyst 3750 Metro 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 744 IP phone requires one MAC address. The Cisco IP phone address is learned on the voice VLAN, but is not learned on the access VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC addresses are required. If you connect more than one PC to the Cisco IP phone, you must configure enough secure addresses to allow one for each PC and one for the Cisco IP phone.
  • Page 745 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport port-security If you disable sticky learning by using the no switchport port-security mac-address sticky • interface configuration command or the running configuration is removed, the sticky secure MAC addresses remain part of the running configuration but are removed from the address table. The addresses that were removed can be dynamically reconfigured and added to the address table as dynamic addresses.
  • Page 746: Switchport Port-Security Aging

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport port-security aging switchport port-security aging Use the switchport port-security aging interface configuration command to set the aging time and type for secure address entries or to change the aging behavior for secure addresses on a particular port. Use the no form of this command to disable port security aging or to set the parameters to their default states.
  • Page 747 Chapter 2 Catalyst 3750 Metro 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 a port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# switchport port-security aging time 120...
  • Page 748: 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 749: Switchport Priority Extend

    Chapter 2 Catalyst 3750 Metro 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 Metro Switch Command Reference...
  • Page 750: Switchport Private-Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport private-vlan switchport private-vlan Use the switchport private-vlan interface configuration command to define a private-VLAN association for an isolated or community port or a mapping for a promiscuous port. Use the no form of this command to remove the private-VLAN association or mapping from the port.
  • Page 751 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport private-vlan You can map a promiscuous port to only one primary VLAN. If you enter the switchport private-vlan mapping command on a promiscuous port that is already mapped to a primary and secondary VLAN, the primary VLAN mapping is overwritten.
  • Page 752: Switchport Protected

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport protected switchport protected Use the switchport protected interface configuration command to isolate unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch. Use the no form of this command to disable protection on the port.
  • Page 753: Switchport Trunk

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport trunk switchport trunk Use the switchport trunk interface configuration command 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 754: Switchport Trunk

    ISL and 802.1Q formats. • In Cisco IOS Release 12.2(25)EY and later, ISL encapsulation is supported only on standard ports and not on ES ports. ES ports support only 802.1Q encapsulation. When you upgrade a switch from Cisco IOS Release 12.2(14)AX to Cisco IOS Release 12.2(25)EY or later, during the initial...
  • Page 755 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 756 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport trunk This example shows how to remove VLANs 3 and 10 to 15 from the pruning-eligible list: Switch(config-if)# switchport trunk pruning vlan remove 3,10-15 You can verify your settings by entering the show interfaces interface-id switchport privileged EXEC command.
  • Page 757: Switchport Vlan Mapping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport vlan mapping switchport vlan mapping Use the switchport vlan mapping interface configuration command on an enhanced-services (ES) port to map (or translate) customer VLANs to service-provider VLANs. Use the no form of this command to remove the VLAN mapping information.
  • Page 758: Switchport Vlan Mapping

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport vlan mapping Command History Release Modification 12.1(14)AX This command was introduced. 12.2(25)EY The internal dot1q-tunnel internal-outer-vlan-id internal-inner-vlan-id external dot1q-tunnel external-outer-vlan-id external-inner-vlan-id keywords were added. Usage Guidelines Use the switchport vlan mapping command only on ES ports that are attached to the service-provider network.
  • Page 759 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands switchport vlan mapping Related Commands Command Description show interfaces interface-id Displays the VLAN mapping table for the identified interface. vlan mapping show vlan mapping Displays the VLAN mapping table for the ES ports.
  • Page 760: 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 761: Switchport Voice Vlan

    IP phone requires up to two MAC addresses. The IP phone address is learned on the voice VLAN, but is not learned on the access VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC addresses are required.
  • Page 762: System Mtu

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands system mtu system mtu Use the system mtu global configuration command to set the maximum packet size or maximum transmission unit (MTU) size for Gigabit Ethernet ports or for Fast Ethernet (10/100) ports or to set an alternate MTU for specific ports.
  • Page 763 If you enter a value that is outside the range for the specific type of switch, the value is not accepted. Beginning with Cisco IOS Release 12.2(55)SE, you can define an alternate MTU size by using the system mtu alternate bytes command and apply it to specified interfaces by using the system mtu alternate interface interface-id command.
  • Page 764 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands system mtu This example shows how to set the maximum packet size for Gigabit Ethernet ports to 1800 bytes, to define an alternate MTU size of 1700 bytes and apply it to Gigabit Ethernet port 0/8. Changes are not...
  • Page 765: 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 766 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands traceroute mac Examples This example shows how to display the Layer 2 path by specifying the source and destination MAC addresses: Switch# traceroute mac 0000.0201.0601 0000.0201.0201 Source 0000.0201.0601 found on con6[ME-C3750-12TE] (2.2.6.6) con6 (2.2.6.6) :Fa1/0/2 =>...
  • Page 767 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands traceroute mac This example shows the Layer 2 path when source and destination switches belong to multiple VLANs: Switch# traceroute mac 0000.0201.0601 0000.0201.0201 Error:Mac found on multiple vlans. Layer2 trace aborted.
  • Page 768: 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 769: Traceroute Mac Ip

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands traceroute mac ip This feature is not supported in Token Ring VLANs. Examples This example shows how to display the Layer 2 path by specifying the source and destination IP addresses and by using the detail keyword: Switch# traceroute mac ip 172.18.18.3 172.18.18.4 detail...
  • Page 770: Trust

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands trust trust Use the trust policy-map class configuration command to define a trust state for traffic classified through the class policy-map configuration command. Use the no form of this command to return to the default setting.
  • Page 771 Chapter 2 Catalyst 3750 Metro 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 772: Udld (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands udld (global configuration) udld (global configuration) Use the udld global configuration command to enable aggressive or normal mode in the UniDirectional Link Detection (UDLD) and to set the configurable message timer time. Use the no form of the command to disable aggressive or normal mode UDLD on all fiber-optic ports.
  • Page 773: Udld (Global Configuration)

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands udld (global configuration) 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 aggressive interface configuration command to re-enable UDLD on the specified interface.
  • Page 774: Udld (Interface Configuration)

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

    Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 776: Udld Reset

    Command Description show running-config Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_com mand_reference_list.html Select the Cisco IOS Commands Master List, Release 12.2 to navigate to the command.
  • Page 777: Uni Count

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands uni count uni count Use the uni count EVC configuration command to set the user-network interface (UNI) count for an Ethernet virtual connection (EVC). Use the no form of this command to return to the default setting.
  • Page 778 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands uni count Examples This example shows how to a UNI count of two with point-to-multipoint service: Switch(config)# ethernet evc test1 Switch(config-evc)# uni count 2 multipoint Related Commands Command Description ethernet evc evc-id Defines an EVC and enters EVC configuration mode.
  • Page 779: Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan vlan Use the vlan global configuration command to add a VLAN and to enter the VLAN configuration mode. Use the no form of this command to delete the VLAN. Configuration information for normal-range VLANs (VLAN IDs 1 to 1005) is always saved in the VLAN database.
  • Page 780: Vlan

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan 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 781 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan no: negates a command or returns it to the default setting. • parent parent-vlan-id: specifies the parent VLAN of an existing FDDI, Token Ring, or TrCRF • VLAN. This parameter identifies the TrBRF to which a TrCRF belongs and is required when defining a TrCRF.
  • Page 782 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan Table 2-35 Valid Commands and Syntax for Different Media Types (continued) Media Type Valid Syntax FDDI-NET name vlan-name, media fd-net, state {suspend | active}, said said-value, mtu mtu-size, bridge bridge-number, stp type {ieee | ibm | auto}, tb-vlan1 tb-vlan1-id, tb-vlan2 tb-vlan2-id If VTP v2 mode is disabled, do not set the stp type to auto.
  • Page 783 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan Table 2-36 VLAN Configuration Rules (continued) Configuration Rule VTP v1 mode is enabled. No VLAN can have an STP type set to auto. This rule applies to Ethernet, FDDI, FDDI-NET, Token Ring, and Token Ring-NET VLANs.
  • Page 784: Vlan Access-Map

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan access-map vlan access-map Use the vlan access-map global configuration command to create or modify a VLAN map entry for VLAN packet filtering. This entry changes the mode to the VLAN access map configuration. Use the no form of this command to delete a VLAN map entry.
  • Page 785 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan access-map For more information about VLAN map entries, see the software configuration guide for this release. Examples This example shows how to create a VLAN map named vac1 and apply matching conditions and actions to it.
  • Page 786: Vlan Filter

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vlan filter vlan filter Use the vlan filter global configuration command to apply a VLAN map to one or more VLANs. Use the no form of this command to remove the map.
  • Page 787: Vlan Filter

    Chapter 2 Catalyst 3750 Metro 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 788: Vmps Reconfirm (Privileged Exec)

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

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vmps reconfirm (global configuration) vmps reconfirm (global configuration) Use the vmps reconfirm global configuration command 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 790: Vmps Retry

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vmps retry vmps retry Use the vmps retry global configuration command 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 791: Vmps Server

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vmps server vmps server Use the vmps server global configuration command 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 792: Vmps Server

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vmps server You can verify your setting by entering the show vmps privileged EXEC command and examining information in the VMPS Domain Server row. Related Commands Command Description show vmps Displays VQP and VMPS information.
  • Page 793: Vrf Upgrade-Cli Multi-Af-Mode

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vrf upgrade-cli multi-af-mode vrf upgrade-cli multi-af-mode To reconfigure the IPv4 VPN routing and forwarding (VRF) commands to allow IPv6 multi-address family VRF support for configured IPv4 VRFs, use the vrf upgrade-cli multi-af-mode in global configuration mode.
  • Page 794 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands vrf upgrade-cli multi-af-mode This example shows how to configure the switch to migrate only the VRF named test to the CLI that supports IPv4 and IPv6 traffic. All other IPv4 VRFs are not modified.
  • Page 795: Vtp

    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 796 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands 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 797 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands 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 798 Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands 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 799: Xconnect

    Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands xconnect xconnect Use the xconnect interface configuration command at customer-edge (CE) or service provider-edge (PE) ingress and egress Ethernet ports or VLAN interfaces with a destination and virtual-connection (VC) ID to route a Layer 2 packets over a specified point-to-point VC by using Ethernet over multiprotocol label switching (EoMPLS).
  • Page 800 To configure the pseudowire class, use the pseudowire-class global configuration command to enter pseudo-wire class configuration mode. See the IOS documentation for this command. http://www.cisco.com/en/US/docs/ios/mpls/command/reference/mp_m4.html#wp1015442 The Catalyst 3750 Metro switch supports only the encapsulation mpls and preferred-path options in pseudo-wire configuration mode. Examples This example shows how to establish an Ethernet over MPLS (EoMPLS) tunnel between the PE1 VLAN 3 interface and the PE2 VLAN 4 interface.
  • Page 801: 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 802: 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 803 Appendix A Catalyst 3750 Metro 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 Metro Switch Command Reference OL-9645-10...
  • Page 804: Cat

    Appendix A Catalyst 3750 Metro 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 805: Copy

    Appendix A Catalyst 3750 Metro 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 806 Appendix A Catalyst 3750 Metro 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 807: Dir

    Appendix A Catalyst 3750 Metro 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 808 Appendix A Catalyst 3750 Metro Switch Boot Loader Commands Table A-1 dir Field Descriptions (continued) Field Description 1839 Size of the file. <date> Last modification date. env_vars Filename. Related Commands Command Description mkdir Creates one or more directories. rmdir Removes one or more directories.
  • Page 809: Flash_Init

    Appendix A Catalyst 3750 Metro 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 810: Format

    Appendix A Catalyst 3750 Metro 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 811: Fsck

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

    Appendix A Catalyst 3750 Metro 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(14)AX...
  • Page 813: Memory

    Appendix A Catalyst 3750 Metro 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(14)AX...
  • Page 814: Mkdir

    Appendix A Catalyst 3750 Metro 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 815: More

    Appendix A Catalyst 3750 Metro 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 816: Rename

    Appendix A Catalyst 3750 Metro 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 817: Reset

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

    Appendix A Catalyst 3750 Metro 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 819: Set

    Appendix A Catalyst 3750 Metro Switch Boot Loader Commands Use the set boot loader command to set or display environment variables, which can be used to control the boot loader or any other software running on the switch. set variable value Note Under normal circumstances, it is not necessary to alter the setting of the environment variables.
  • Page 820 Appendix A Catalyst 3750 Metro Switch Boot Loader Commands BAUD rate—The rate in bits per second (bps) used for the console. The software inherits the baud rate setting from the boot loader and continues to use this value unless the configuration file specifies another setting. The range is from 0 to 4294967295 bps.
  • Page 821: Unset

    Appendix A Catalyst 3750 Metro 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 822 Appendix A Catalyst 3750 Metro 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 823 Appendix A Catalyst 3750 Metro Switch Boot Loader Commands unset unset Use the unset boot loader command to reset one or more environment variables. unset variable ... Under normal circumstances, it is not necessary to alter the setting of the environment variables.
  • Page 824 Appendix A Catalyst 3750 Metro Switch Boot Loader Commands unset 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 825: Version

    Appendix A Catalyst 3750 Metro 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(14)AX...
  • Page 826 Appendix A Catalyst 3750 Metro Switch Boot Loader Commands version Catalyst 3750 Metro Switch Command Reference A-26 OL-9645-10...
  • Page 827: Appendix

    This appendix describes the debug privileged EXEC commands that have been created or changed for use with the Catalyst 3750 Metro switch. These commands are helpful in diagnosing and resolving internetworking problems and should be enabled only under the guidance of Cisco technical support staff.
  • Page 828: Debug Auto Qos

    Appendix B Catalyst 3750 Metro 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.
  • Page 829 Appendix B Catalyst 3750 Metro Switch Debug Commands debug auto qos 21:29:44: mls qos srr-queue output cos-map queue 4 threshold 2 1 21:29:44: mls qos srr-queue output cos-map queue 4 threshold 3 0 21:29:44: no mls qos srr-queue input dscp-map...
  • Page 830: Debug Backup

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug backup debug backup Use the debug backup privileged EXEC command to enable debugging of the Flex Links backup interface. Use the no form of this command to disable debugging. debug backup {all | errors | events | vlan-load-balancing}...
  • Page 831: Debug Dot1X

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug dot1x debug dot1x Use the debug dot1x privileged EXEC command to enable debugging of the 802.1x feature. Use the no form of this command to disable debugging. debug dot1x {all | errors | events | packets | registry | state-machine}...
  • Page 832: Debug Dtp

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug dtp debug dtp Use the debug dtp privileged EXEC command to enable debugging of the Dynamic Trunking Protocol (DTP) activity. Use the no form of this command to disable debugging. debug dtp {aggregation | all | decision | events | oserrs | packets | queue | states | timers}...
  • Page 833: Debug Etherchannel

    Appendix B Catalyst 3750 Metro 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.
  • Page 834: Debug Ethernet Service

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug ethernet service debug ethernet service Use the debug ethernet service privileged EXEC command to enable debugging of Ethernet customer service instances. Use the no form of this command to disable debugging.
  • Page 835 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ethernet service Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 836: Debug Interface

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug interface debug interface Use the debug interface privileged EXEC command to enable debugging of port-related activities. Use the no form of this command to disable debugging. debug interface {interface-id | null interface-number | port-channel port-channel-number |...
  • Page 837: Debug Ip Dhcp Snooping

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip dhcp snooping debug ip dhcp snooping Use the debug ip dhcp snooping privileged EXEC command to enable debugging of DHCP snooping. Use the no form of this command to disable debugging.
  • Page 838: Debug Ip Igmp Filter

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip igmp filter debug ip igmp filter Use the debug ip igmp filter privileged EXEC command to enable debugging of Internet Group Management Protocol (IGMP) filter events. Use the no form of this command to disable debugging.
  • Page 839: Debug Ip Igmp Max-Groups

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip igmp max-groups debug ip igmp max-groups Use the debug ip igmp max-groups privileged EXEC command to enable debugging of Internet Group Management Protocol (IGMP) maximum groups events. Use the no form of this command to disable debugging.
  • Page 840: Debug Ip Igmp Snooping

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip igmp snooping debug ip igmp snooping Use the debug igmp snooping privileged EXEC command to enable debugging of Internet Group Management Protocol (IGMP) snooping activity. Use the no form of this command to disable debugging.
  • Page 841: Debug Ip Sla Error Twamp Connection

    Use the debug ip sla error twamp connection command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) showing exceptions during communication between the TWAMP client and server. Use the no form of this command to disable debugging output.
  • Page 842 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla error twamp connection debug ip sla trace twamp Displays the normal communications sent by an IP SLAs TWAMP control reflector reflector to the TWAMP server. debug ip sla trace twamp...
  • Page 843: Debug Ip Sla Error Twamp Control Reflector

    Use the debug ip sla error twamp control reflector command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) showing exceptions during communication between the TWAMP server and reflector.
  • Page 844 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla error twamp control reflector debug ip sla trace twamp Displays the normal communications sent by an IP SLAs TWAMP control server server to the TWAMP reflector. debug ip sla trace twamp...
  • Page 845: Debug Ip Sla Error Twamp Control Server

    Use the debug ip sla error twamp control server command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) exceptions during communication between the TWAMP server and reflector. Use the no form of this command to disable debugging output.
  • Page 846 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla error twamp control server debug ip sla trace twamp Displays the normal communications sent by an IP SLAs TWAMP control server server to the TWAMP reflector. debug ip sla trace twamp...
  • Page 847: Debug Ip Sla Error Twamp Session

    Use the debug ip sla error twamp session command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) showing exceptions during communication between the TWAMP sender and reflector. Use the no form of this command to disable debugging output.
  • Page 848 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla error twamp session debug ip sla trace twamp Displays the normal communications sent by an IP SLAs TWAMP control server server to the TWAMP reflector. debug ip sla trace twamp...
  • Page 849: Debug Ip Sla Trace Twamp Connection

    Use the debug ip sla trace twamp connection command in privileged EXEC mode to display the normal communications between a Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) client and server. Use the no form of this command to disable debugging output.
  • Page 850 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla trace twamp connection Related Commands Command Description debug ip sla error twamp Displays exceptions during communication between the IP SLAs connection TWAMP client and server. debug ip sla error twamp...
  • Page 851: Debug Ip Sla Trace Twamp Control Reflector

    Use the debug ip sla trace twamp control reflector command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) normal communications between the TWAMP server and reflector. Use the no form of this command to disable debugging output.
  • Page 852 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla trace twamp control reflector Related Commands Command Description debug ip sla error twamp Displays exceptions during communication between the IP SLAs connection TWAMP client and server. debug ip sla error twamp...
  • Page 853: Debug Ip Sla Trace Twamp Control Server

    Use the debug ip sla trace twamp control server command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) normal communications between the TWAMP server and reflector. Use the no form of this command to disable debugging output.
  • Page 854 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla trace twamp control server Related Commands Command Description debug ip sla error twamp Displays exceptions during communication between the IP SLAs connection TWAMP client and server. debug ip sla error twamp...
  • Page 855: Debug Ip Sla Trace Twamp Session

    Use the debug ip sla trace twamp session command in privileged EXEC mode to enable debugging output of Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) normal session communication between the TWAMP sender and reflector. Use the no form of this command to disable debugging output.
  • Page 856 Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip sla trace twamp session Related Commands Command Description debug ip sla error twamp Displays exceptions during communication between the IP SLAs connection TWAMP client and server. debug ip sla error twamp...
  • Page 857: Debug Ip Verify Source Packet

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug ip verify source packet debug ip verify source packet Use the debug ip verify source packet privileged EXEC command to enable debugging of IP source guard. Use the no form of this command to disable debugging.
  • Page 858: Debug Lacp

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug lacp debug lacp Use the debug lacp privileged EXEC command to enable debugging of Link Aggregation Control Protocol (LACP) activity. Use the no form of this command to disable debugging. debug lacp [all | event | fsm | misc | packet]...
  • Page 859: Debug Mac-Notification

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug mac-notification debug mac-notification Use the debug mac-notification privileged EXEC command to enable debugging of MAC notification events. Use the no form of this command to disable debugging. debug mac-notification no debug mac-notification Syntax Description This command has no arguments or keywords.
  • Page 860: Debug Matm

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug matm debug matm Use the debug matm privileged EXEC command to enable debugging of platform-independent MAC address management. Use the no form of this command to disable debugging. debug matm no debug matm Syntax Description This command has no arguments or keywords.
  • Page 861: Debug Matm Move Update

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug matm move update debug matm move update Use the debug matm move update privileged EXEC command to enable debugging of MAC address-table move update message processing. debug matm move update no debug matm move update Syntax Description This command has no arguments or keywords.
  • Page 862: Debug Monitor

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug monitor debug monitor Use the debug monitor privileged EXEC command to enable debugging of the Switched Port Analyzer (SPAN) feature. Use the no form of this command to disable debugging. debug monitor {all | errors | idb-update | info | list | notifications | platform | requests | snmp}...
  • Page 863: Debug Mpls Atom

    (AToM) layer. Use the no form of this command to disable debugging. debug mpls atom no debug mpls atom The Catalyst 3750 Metro switch supports Ethernet over MPLS (EoMPLS), a subset of AToM. Note Syntax Description This command has no arguments or keywords.
  • Page 864: Debug Mpls L2Transport Vlan

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug mpls l2transport vlan debug mpls l2transport vlan Use the debug mpls l2transport vlan privileged EXEC command to enable debugging of the Ethernet over multiprotocol label switching (EoMPLS) Layer 2 VLANs. Use the no form of this command to disable debugging.
  • Page 865: Debug Mvrdbg

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug mvrdbg debug mvrdbg Use the debug mvrdbg privileged EXEC command to enable debugging of Multicast VLAN Registration (MVR). Use the no form of this command to disable debugging. debug mvrdbg {all | events | igmpsn | management | ports}...
  • Page 866: Debug Nvram

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug nvram debug nvram Use the debug nvram privileged EXEC command to enable debugging of NVRAM activity. Use the no form of this command to disable debugging. debug nvram no debug nvram Syntax Description This command has no arguments or keywords.
  • Page 867: Debug Pagp

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug pagp debug pagp Use the debug pagp privileged EXEC command to enable debugging of Port Aggregation Protocol (PAgP) activity. Use the no form of this command to disable debugging. debug pagp [all | event | fsm | misc | packet]...
  • Page 868: Debug Platform Acl

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform acl debug platform acl Use the debug platform acl privileged EXEC command to enable debugging of the access control list (ACL) manager. Use the no form of this command to disable debugging.
  • Page 869: Debug Platform Backup Interface

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform backup interface debug platform backup interface Use the debug platform backup interface privileged EXEC command to enable debugging of the Flex Links platform backup interface. Use the no form of this command to disable debugging.
  • Page 870: Debug Platform Cfm

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform cfm debug platform cfm Use the debug platform cfm privileged EXEC command to enable debugging of the Ethernet Connectivity Fault Management (CFM) service. Use the no form of this command to disable debugging.
  • Page 871: Debug Platform Cpu-Queues

    Appendix B Catalyst 3750 Metro 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 CPU receive queues. Use the no form of this command to disable debugging.
  • Page 872 Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform cpu-queues Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 3750 Metro Switch Command Reference B-46 OL-9645-10...
  • Page 873: Debug Platform Dot1Ad

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform dot1ad debug platform dot1ad To enable debugging of IEEE 802.1ad tagging, use the debug platform dot1ad privileged EXEC command. To disable debugging, use the no form of the command. debug platform dot1ad [error | events | receive | transmit]...
  • Page 874: Debug Platform Dot1X

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform dot1x debug platform dot1x Use the debug platform dot1x privileged EXEC command to enable debugging of 802.1x events. Use the no form of this command to disable debugging. debug platform dot1x {initialization | interface-configuration | rpc}...
  • Page 875: Debug Platform Etherchannel

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform etherchannel debug platform etherchannel Use the debug platform etherchannel privileged EXEC command to enable debugging of platform-dependent EtherChannel events. Use the no form of this command to disable debugging. debug platform etherchannel {init | link-up | rpc-detailed | rpc-generic | warnings}...
  • Page 876: Debug Platform Fallback-Bridging

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform fallback-bridging debug platform fallback-bridging Use the debug platform fallback-bridging privileged EXEC command to enable debugging of the platform-dependent fallback bridging manager. Use the no form of this command to disable debugging.
  • Page 877: Debug Platform Forw-Tcam

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform forw-tcam debug platform forw-tcam Use the debug platform forw-tcam privileged EXEC command to enable debugging of the forwarding ternary content addressable memory (TCAM) manager. Use the no form of this command to disable debugging.
  • Page 878: Debug Platform Ip Arp Inspection

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform ip arp inspection debug platform ip arp inspection Use the debug platform ip arp inspection privileged EXEC command to debug dynamic Address Resolution Protocol (ARP) inspection events. Use the no form of this command to disable debugging.
  • Page 879: Debug Platform Ip Igmp Snooping

    Appendix B Catalyst 3750 Metro 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.
  • Page 880 Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform ip igmp snooping retry Display IGMP snooping retry debug messages. rpc [cfg | l3mm | misc Display IGMP snooping remote procedure call (RPC) event debug messages. | vlan] The keywords have these meanings: cfg—(Optional) Display IGMP snooping RPC debug messages.
  • Page 881: Debug Platform Ip Multicast

    Appendix B Catalyst 3750 Metro 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.
  • Page 882 Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform ip multicast Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 3750 Metro Switch Command Reference B-56 OL-9645-10...
  • Page 883: Debug Platform Ip Unicast

    Appendix B Catalyst 3750 Metro 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.
  • Page 884 Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform ip unicast Usage Guidelines The undebug platform ip unicast command is the same as the no debug platform ip unicast command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
  • Page 885: Debug Platform Led

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform led debug platform led Use the debug platform led privileged EXEC command to enable debugging of LED actions. Use the no form of this command to disable debugging. debug platform led {generic | signal}...
  • Page 886: Debug Platform Matm

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform matm debug platform matm Use the debug platform matm privileged EXEC command to enable debugging of platform-dependent MAC address management. Use the no form of this command to disable debugging.
  • Page 887: Debug Platform Messaging Application

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform messaging application debug platform messaging application Use the debug platform messaging application privileged EXEC command to enable debugging of application messaging activity. Use the no form of this command to disable debugging.
  • Page 888: Debug Platform Mpls

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform mpls debug platform mpls Use the debug platform mpls privileged EXEC command to enable debugging of the multiprotocol label switching (MPLS) control layer. Use the no form of this command to disable debugging...
  • Page 889: Debug Platform Phy

    Appendix B Catalyst 3750 Metro 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. debug platform phy {automdix | flowcontrol | forced | init-seq | link-status | read | sfp |...
  • Page 890: Debug Platform Pm

    Appendix B Catalyst 3750 Metro 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.
  • Page 891 Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform pm Defaults Debugging is disabled. Command Modes Privileged EXEC Command History Release Modification 12.1(14)AX This command was introduced. Usage Guidelines The undebug platform pm command is the same as the no debug platform pm command.
  • Page 892: Debug Platform Port-Asic

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform port-asic debug platform port-asic Use the debug platform port-asic privileged EXEC command to enable debugging of the port application-specific integrated circuit (ASIC) driver. Use the no form of this command to disable debugging.
  • Page 893: Debug Platform Port-Security

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform port-security debug platform port-security Use the debug platform port-security privileged EXEC command to enable debugging of platform-dependent port-security information. Use the no form of this command to disable debugging. debug platform port-security {add | aging | all | delete | errors | rpc | warnings}...
  • Page 894: Debug Platform Qos-Acl-Tcam

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform qos-acl-tcam debug platform qos-acl-tcam Use the debug platform qos-acl-tcam privileged EXEC command to enable debugging of the quality of service (QoS) and access control list (ACL) ternary content addressable memory (TCAM) manager software.
  • Page 895: Debug Platform Remote-Commands

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform remote-commands debug platform remote-commands Use the debug platform remote-commands privileged EXEC command to enable debugging of remote commands. Use the no form of this command to disable debugging. debug platform remote-commands...
  • Page 896: Debug Platform Rep

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform rep debug platform rep Use the debug platform rep privileged EXEC command to enable debugging of Resilient Ethernet Protocol (REP). Use the no form of this command to disable debugging.
  • Page 897: Debug Platform Resource-Manager

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform resource-manager debug platform resource-manager Use the debug platform resource-manager privileged EXEC command to enable debugging of the resource manager software. Use the no form of this command to disable debugging.
  • Page 898: Debug Platform Snmp

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform snmp debug platform snmp Use the debug platform snmp privileged EXEC command to enable debugging of the platform-dependent Simple Network Management Protocol (SNMP) software. Use the no form of this command to disable debugging.
  • Page 899: Debug Platform Span

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform span debug platform span Use the debug platform span privileged EXEC command to enable debugging of the platform-dependent Switched Port Analyzer (SPAN) software. Use the no form of this command to disable debugging.
  • Page 900: Debug Platform Supervisor-Asic

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform supervisor-asic debug platform supervisor-asic Use the debug platform supervisor-asic privileged EXEC command to enable debugging of the supervisor application-specific integrated circuit (ASIC). Use the no form of this command to disable debugging.
  • Page 901: Debug Platform Sw-Bridge

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform sw-bridge debug platform sw-bridge Use the debug platform sw-bridge privileged EXEC command to enable debugging of the software bridging function. Use the no form of this command to disable debugging.
  • Page 902: Debug Platform Tcam

    Appendix B Catalyst 3750 Metro 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.
  • Page 903 Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform tcam l3 {acl {input | output} | Display Layer-3 field-based CAM look-up type debug messages. The ipv6 {acl {input | output} | keywords have these meanings: local | qos | secondary} | acl {input | output}—Display input or output ACL look-up debug...
  • Page 904: Debug Platform Udld

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform udld debug platform udld Use the debug platform udld privileged EXEC command to enable debugging of the platform-dependent UniDirectional Link Detection (UDLD) software. Use the no form of this command to disable debugging.
  • Page 905: Debug Platform Vlan

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug platform vlan debug platform vlan Use the debug platform vlan privileged EXEC command to enable debugging of the VLAN manager software. Use the no form of this command to disable debugging.
  • Page 906: Debug Pm

    Appendix B Catalyst 3750 Metro 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 ports. All features, such as VLANs, UniDirectional Link Detection (UDLD), and so forth, work with the port manager to provide switch functions.
  • Page 907 Appendix B Catalyst 3750 Metro Switch Debug Commands debug pm Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. Catalyst 3750 Metro Switch Command Reference B-81 OL-9645-10...
  • Page 908: Debug Port-Security

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug port-security debug port-security Use the debug port-security privileged EXEC command to enable debugging of the allocation and states of the port security subsystem. Use the no form of this command to disable debugging.
  • Page 909: Debug Rep

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug rep debug rep Use the debug rep privileged EXEC command to enable debugging of Resilient Ethernet Protocol (REP) functions. Use the no form of this command to disable debugging. debug rep {all | bpa-event | bpasm | epasm | error | failure-recovery | lslsm | packet | prsm}...
  • Page 910: Debug Qos-Manager

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug qos-manager debug qos-manager Use the debug qos-manager privileged EXEC command to enable debugging of the quality of service (QoS) manager software. Use the no form of this command to disable debugging.
  • Page 911: Debug Spanning-Tree

    Appendix B Catalyst 3750 Metro 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. debug spanning-tree {all | backbonefast | bpdu | bpdu-opt | config | etherchannel | events |...
  • Page 912 Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree Usage Guidelines The undebug spanning-tree command is the same as the no debug spanning-tree command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
  • Page 913: Debug Spanning-Tree Backbonefast

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree backbonefast debug spanning-tree backbonefast Use the debug spanning-tree backbonefast privileged EXEC command to enable debugging of spanning-tree BackboneFast events. Use the no form of this command to disable debugging. debug spanning-tree backbonefast [detail | exceptions]...
  • Page 914: Debug Spanning-Tree Bpdu

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree bpdu debug spanning-tree bpdu Use the debug spanning-tree bpdu privileged EXEC command to enable debugging of sent and received spanning-tree bridge protocol data units (BPDUs). Use the no form of this command to disable debugging.
  • Page 915: Debug Spanning-Tree Bpdu-Opt

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree bpdu-opt debug spanning-tree bpdu-opt Use the debug spanning-tree bpdu-opt privileged EXEC command to enable debugging of optimized spanning-tree bridge protocol data units (BPDUs) handling. Use the no form of this command to disable debugging.
  • Page 916: Debug Spanning-Tree Mstp

    Appendix B Catalyst 3750 Metro 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.
  • Page 917 Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree mstp Usage Guidelines The undebug spanning-tree mstp command is the same as the no debug spanning-tree mstp command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
  • Page 918: Debug Spanning-Tree Switch

    Appendix B Catalyst 3750 Metro 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 919 Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree switch Usage Guidelines The undebug spanning-tree switch command is the same as the no debug spanning-tree switch command. Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
  • Page 920: Debug Spanning-Tree Uplinkfast

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug spanning-tree uplinkfast debug spanning-tree uplinkfast Use the debug spanning-tree uplinkfast privileged EXEC command to enable debugging of spanning-tree UplinkFast events. Use the no form of this command to disable debugging. debug spanning-tree uplinkfast [exceptions]...
  • Page 921: Debug Sw-Vlan

    Appendix B Catalyst 3750 Metro 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. debug sw-vlan {badpmcookies | cfg-vlan {bootup | cli} | events | ifs | management | notification...
  • Page 922 Appendix B Catalyst 3750 Metro Switch Debug Commands debug sw-vlan Command Description show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN name or ID is specified) in the administrative domain. show vtp Displays general information about VTP management domain, status, and counters.
  • Page 923: Debug Sw-Vlan Ifs

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

    Appendix B Catalyst 3750 Metro 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.
  • Page 925: Debug Sw-Vlan Vtp

    Display debug messages for the contents of all incoming VTP packets that have been passed into the VTP code from the Cisco IOS VTP platform-dependent layer, except for pruning packets. pruning [packets | xmit] Display debug messages generated by the pruning segment of the VTP code.
  • Page 926 Appendix B Catalyst 3750 Metro Switch Debug Commands debug sw-vlan vtp Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show vtp Displays general information about VTP management domain, status, and counters. Catalyst 3750 Metro Switch Command Reference...
  • Page 927: Debug Udld

    Appendix B Catalyst 3750 Metro 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.
  • Page 928 Appendix B Catalyst 3750 Metro Switch Debug Commands debug udld State change indications from the port manager software • MAC address registry calls • Related Commands Command Description show debugging Displays information about the types of debugging that are enabled.
  • Page 929: Debug Vqpc

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug vqpc debug vqpc Use the debug vqpc privileged EXEC command to enable debugging of the VLAN Query Protocol (VQP) client. Use the no form of this command to disable debugging. debug vqpc [all | cli | events | learn | packet]...
  • Page 930: Debug Xconnect

    Appendix B Catalyst 3750 Metro Switch Debug Commands debug xconnect debug xconnect Use the debug xconnect privileged EXEC command to enable debugging of Layer 2 transport routing using Ethernet over multiprotocol label switching (EoMPLS). Use the no form of this command to disable debugging.
  • Page 931: Appendix

    This appendix describes the show platform privileged EXEC commands that have been created or changed for use with the Catalyst 3750 Metro 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 932: Show Platform Acl

    Appendix C Catalyst 3750 Metro 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 933: Show Platform Cfm

    Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform cfm show platform cfm Use the show platform cfm privileged EXEC command to display platform-dependent Ethernet Connectivity Fault Management (CFM) information. CFM is an end-to-end per-service-instance Ethernet layer operation, administration, and management (OAM) protocol that provides proactive connectivity monitoring, fault verification, and fault isolation for large Ethernet networks.
  • Page 934: Show Platform Configuration

    Appendix C Catalyst 3750 Metro 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} Syntax Description config-output Display the output of the last auto-configuration application.
  • Page 935: Show Platform Etherchannel

    Appendix C Catalyst 3750 Metro 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} Syntax Description flags Display EtherChannel port flags.
  • Page 936: Show Platform Forward

    Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform forward show platform forward Use the show platform forward privileged EXEC command for a port to determine how the hardware would forward a frame that matches the specified parameters.
  • Page 937 Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform forward Command History Release Modification 12.1(14)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. Do not use this command unless a technical support representative asks you to do so.
  • Page 938: Show Platform Ip Igmp Snooping

    Appendix C Catalyst 3750 Metro 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 939: Show Platform Ip Multicast

    Appendix C Catalyst 3750 Metro 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 {acl-full-info | counters | groups | hardware [detail] | interfaces | |...
  • Page 940: Show Platform Ip Policy

    Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform ip policy show platform ip policy Use the show platform ip policy privileged EXEC command to display platform-dependent IP policy information. show platform ip policy {interfaces | route-map [name]}...
  • Page 941: Show Platform Ip Unicast

    Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform ip unicast show platform ip unicast Use the show platform ip unicast privileged EXEC command to display platform-dependent IP unicast routing information. show platform ip unicast {adjacency [A.B.C.D]| cef-idb | counts | dhcp | failed {adjacency | arp [A.B.C.D] | route} | mpaths | proxy | route [A.B.C.D] | standby | statistics | trace}...
  • Page 942: Show Platform Ipc Trace

    Appendix C Catalyst 3750 Metro 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 Syntax Description There are no arguments or keywords.
  • Page 943: Show Platform Layer4Op

    Appendix C Catalyst 3750 Metro 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 | pacl [port-asic] | qos [port-asic]} {and-or | map | or-and | vcu} Syntax Description Display access control list (ACL) Layer 4 operators information.
  • Page 944: Show Platform Mac-Address-Table

    Appendix C Catalyst 3750 Metro 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...
  • Page 945: Show Platform Messaging

    Appendix C Catalyst 3750 Metro 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 946: Show Platform Monitor

    Appendix C Catalyst 3750 Metro 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] [ Syntax Description session (Optional) Display SPAN information for the specified SPAN session.
  • Page 947: Show Platform Mvr Table

    Appendix C Catalyst 3750 Metro 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.
  • Page 948: Show Platform Pm

    Appendix C Catalyst 3750 Metro 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 949: Show Platform Port-Asic

    Appendix C Catalyst 3750 Metro 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 950 Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform port-asic global-status [asic number | Display global and interrupt status. The keywords have these port number [asic number]] meanings: asic number—(Optional) Display information for the • specified ASIC. The range is 0 to 1.
  • Page 951 Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform port-asic prog-parser [asic number | port Display the programmable parser tables. The keywords have these number [asic number]] meanings: asic number—(Optional) Display information for the • specified ASIC. The range is 0 to 1.
  • Page 952 Appendix C Catalyst 3750 Metro Switch Show Platform Commands show platform port-asic transmit {port-fifo | queue | Display transmit information. The keywords have these meanings: supervisor-sram} [asic number | port-fifo—Display the contents of the port-FIFO information • port number [asic number]] register.
  • Page 953: Show Platform Port-Security

    Appendix C Catalyst 3750 Metro 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 Syntax Description There are no arguments or keywords. Command Modes...
  • Page 954: Show Platform Qos

    Appendix C Catalyst 3750 Metro 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 955: Show Platform Resource-Manager

    Appendix C Catalyst 3750 Metro 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 956: Show Platform Snmp Counters

    Appendix C Catalyst 3750 Metro 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 Syntax Description There are no arguments or keywords.
  • Page 957: Show Platform Spanning-Tree

    Appendix C Catalyst 3750 Metro 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] Syntax Description synchronization Display spanning-tree state synchronization information. The keywords have...
  • Page 958: Show Platform Stp-Instance

    Appendix C Catalyst 3750 Metro 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 Syntax Description vlan-id Display spanning-tree instance information for the specified VLAN. The range is 1 to 4094.
  • Page 959: Show Platform Tb

    Appendix C Catalyst 3750 Metro 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. show platform tb Syntax Description There are no arguments or keywords. Command Modes...
  • Page 960: Show Platform Tcam

    Appendix C Catalyst 3750 Metro 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 961 Appendix C Catalyst 3750 Metro 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 962: Show Platform Vlan

    Appendix C Catalyst 3750 Metro 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}}...
  • Page 963: Appendix

    Altered versions must be plainly marked as such, and must not be misrepresented as being the original software. Since few users ever read sources, credits must appear in the documentation. This notice may not be removed or altered. Catalyst 3750 Metro Switch Command Reference OL-9645-10...
  • Page 964: I N D E X

    2-200 2-100 access lists auto-QoS See QoS 2-127 on Layer 2 interfaces auto qos voip command 2-127 2-15 access map configuration mode 2-268 access mode 2-707 access ports 2-707 ACEs 2-75, 2-346 Catalyst 3750 Metro Switch Command Reference IN-1 OL-9645-10...
  • Page 965 A-21 defining the match criteria 2-270 setting A-19 displaying 2-438 unsetting A-23 class of service See CoS clear ip arp inspection log command 2-42 clear ip arp inspection statistics command 2-43 Catalyst 3750 Metro Switch Command Reference IN-2 OL-9645-10...
  • Page 966 B-61 debug interface command B-10 debug platform mpls command B-62 debug ip dhcp snooping command B-11 debug platform phy command B-63 debug ip igmp filter command B-12 Catalyst 3750 Metro Switch Command Reference IN-3 OL-9645-10...
  • Page 967 2-65 2-91 deny (ARP access-list configuration) command 2-66 dot1x supplicant force-multicast command 2-92 deny (IPv6) command dot1x system-auth-control command 2-68 2-93 deny command dot1x test eapol-capable command 2-73 2-94 Catalyst 3750 Metro Switch Command Reference IN-4 OL-9645-10...
  • Page 968 2-107 EtherChannel log buffer assigning Ethernet interface to channel group 2-30 clear 2-42 creating port-channel logical interface 2-121 configure 2-136 debug EtherChannel/PAgP, display display 2-486 debug platform-specific events, display B-49 Catalyst 3750 Metro Switch Command Reference IN-5 OL-9645-10...
  • Page 969 2-110 ethernet lmi ce-vlan map command 2-112, 2-114 ethernet lmi command 2-110 Ethernet Local Management Interface See E-LMI Ethernet over MPLS See EoMPLS Ethernet over multiprotocol label switching See EoMPLS Catalyst 3750 Metro Switch Command Reference IN-6 OL-9645-10...
  • Page 970 2-175 flowcontrol command 2-119 images format (boot loader) command A-10 See software images forwarding packets, with ACL matches Immediate-Leave feature, MVR 2-328 forwarding results, display immediate-leave processing 2-177 frame forwarding information, displaying Catalyst 3750 Metro Switch Command Reference IN-7 OL-9645-10...
  • Page 971 2-147 static IP source bindings 2-186 IP DHCP snooping ip ssh command 2-188 See DHCP snooping IPv6 access list, deny conditions 2-68 ip dhcp snooping binding command 2-150 ipv6 access-list command 2-200 Catalyst 3750 Metro Switch Command Reference IN-8 OL-9645-10...
  • Page 972 MAC access-groups, displaying 2-534 Layer 2 protocol ports, displaying 2-524 MAC access list configuration mode 2-246 Layer 2 protocol tunnel mac access-list extended command 2-246 and EtherChannels 2-226 MAC access lists 2-73 Catalyst 3750 Metro Switch Command Reference IN-9 OL-9645-10...
  • Page 973 2-261 2-281 macro global command 2-262 mls qos enhanced command 2-283 macro global description command mls qos map command 2-265 2-285 macro name command mls qos queue-set output buffers command 2-266 2-288 Catalyst 3750 Metro Switch Command Reference IN-10 OL-9645-10...
  • Page 974 VLANs-to-instance mapping 2-659 See MLD path cost 2-661 multicast router learning method 2-178 protocol mode 2-657 multicast router ports, configuring 2-178 restart protocol migration process 2-54 multicast router ports, IPv6 2-221 root port Catalyst 3750 Metro Switch Command Reference IN-11 OL-9645-10...
  • Page 975 2-285 access lists 2-246 single-rate ingress 2-347 denying 2-73 two-rate hierarchical 2-351, 2-354 permitting 2-344 policy-map command 2-358 normal-range VLANs 2-751 policy maps no vlan command 2-751 applying to an interface 2-414 Catalyst 3750 Metro Switch Command Reference IN-12 OL-9645-10...
  • Page 976 2-767 time 2-96 pruning-eligible VLAN list 2-727 switch-to-client frame-retransmission number 2-86, PVST+ 2-87 See STP switch-to-client retransmission time 2-96 test for IEEE 802.1x readiness 2-94 port-channel load-balance command 2-361 Catalyst 3750 Metro Switch Command Reference IN-13 OL-9645-10...
  • Page 977 2-365 enabling the priority queue 2-302 limiting the maximum output on a port 2-687 mapping CoS values to a queue and threshold 2-298 mapping a port to a queue-set 2-374 Catalyst 3750 Metro Switch Command Reference IN-14 OL-9645-10...
  • Page 978 See dot1x auth-fail vlan 2-374 rmdir (boot loader) command A-18 rmon collection stats command 2-407 root guard, for spanning tree 2-651 route distinguisher 2-197 random-detect command 2-375 random-detect dscp command 2-378 Catalyst 3750 Metro Switch Command Reference IN-15 OL-9645-10...
  • Page 979 2-530 show class-map command 2-438 show location 2-532 show controllers cpu-interface command 2-439 show location command 2-532 show controllers ethernet-controller command 2-441 show mac access-group command 2-534 show controllers tcam command 2-445 Catalyst 3750 Metro Switch Command Reference IN-16 OL-9645-10...
  • Page 980 C-13 SNMP host, specifying 2-634 show platform mac-address-table command C-14 SNMP informs, enabling the sending of 2-630 show platform messaging command C-15 snmp mib rep trap-rate command 2-629 Catalyst 3750 Metro Switch Command Reference IN-17 OL-9645-10...
  • Page 981 2-657 detection of indirect link failures 2-641 spanning-tree mst configuration command 2-659 enabling protocol tunneling for 2-225 spanning-tree mst cost command 2-661 EtherChannel misconfiguration 2-648 spanning-tree mst forward-time command 2-663 Catalyst 3750 Metro Switch Command Reference IN-18 OL-9645-10...
  • Page 982 2-227 returning to interfaces 2-696, 2-712 tunnel ports, Layer 2 protocol, displaying 2-524 switchport access command 2-698 type (boot loader) command A-22 switchport backup interface command 2-700 switchport block command 2-704 Catalyst 3750 Metro Switch Command Reference IN-19 OL-9645-10...
  • Page 983 VLAN manager activity 1-5, 2-771 B-95 configuring 2-320 B-99 MPLS, displaying displaying configurations 2-570 2-610 version (boot loader) command extended-range 2-751 A-25 virtual circuits MAC addresses See VCs displaying 2-554 Catalyst 3750 Metro Switch Command Reference IN-20 OL-9645-10...
  • Page 984 See VRF and dynamic-access ports 2-698 clearing client statistics 2-55 displaying information 2-617 per-server retry count 2-762 reconfirmation interval 2-761 reconfirming dynamic VLAN assignments 2-760 associating to an interface 2-198 configuring 2-196 Catalyst 3750 Metro Switch Command Reference IN-21 OL-9645-10...
  • Page 985 Index Catalyst 3750 Metro Switch Command Reference IN-22 OL-9645-10...

Table of Contents