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

Advertisement

Catalyst 3750 Switch Command Reference
Cisco IOS Release 12.2(50)SE
March 2009
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO
CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS
MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY
PRODUCTS.
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-8552-07

Advertisement

Table of Contents
loading

Summary of Contents for Cisco catalyst 3750

  • Page 1 Catalyst 3750 Switch Command Reference Cisco IOS Release 12.2(50)SE March 2009 THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
  • Page 2 OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY. The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
  • Page 3: Table Of Contents

    Privileged EXEC Mode Global Configuration Mode Interface Configuration Mode config-vlan Mode VLAN Configuration Mode Line Configuration Mode Catalyst 3750 Switch Cisco IOS Commands C H A P T E R aaa accounting dot1x aaa authentication dot1x aaa authorization network action...
  • Page 4 2-75 clear ip dhcp snooping 2-76 clear ipc 2-78 clear ipv6 dhcp conflict 2-79 clear l2protocol-tunnel counters 2-80 clear lacp 2-81 clear mac address-table 2-82 clear mac address-table move update 2-84 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 5 2-131 dot1x control-direction 2-133 dot1x credentials (global configuration) 2-135 dot1x critical (global configuration) 2-136 dot1x critical (interface configuration) 2-138 dot1x default 2-140 dot1x fallback 2-141 dot1x guest-vlan 2-142 dot1x host-mode 2-145 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 6 2-193 interface range 2-195 interface vlan 2-197 ip access-group 2-199 ip address 2-202 ip admission 2-204 ip admission name proxy http 2-205 ip arp inspection filter vlan 2-207 ip arp inspection limit 2-209 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 7 2-258 ip snap forwarding 2-260 ip source binding 2-261 ip ssh 2-263 ip sticky-arp (global configuration) 2-265 ip sticky-arp (interface configuration) 2-267 ip verify source 2-269 ipv6 access-list 2-270 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 8 2-322 mac address-table move update 2-324 mac address-table notification 2-326 mac address-table static 2-328 mac address-table static drop 2-329 macro apply 2-331 macro auto execute 2-334 macro auto global processing 2-339 Catalyst 3750 Switch Command Reference viii OL-8552-07...
  • Page 9 2-389 monitor session 2-390 mvr (global configuration) 2-395 mvr (interface configuration) 2-398 network-policy 2-401 network-policy profile (global configuration) 2-402 network-policy profile (network-policy configuration) 2-404 nmsp 2-406 nmsp attachment suppress 2-408 2-409 pagp learn-method 2-410 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 10 2-463 sdm prefer 2-464 service password-recovery 2-468 service-policy 2-470 session 2-473 2-475 setup 2-477 setup express 2-480 shell trigger 2-482 show access-lists 2-484 show archive status 2-487 show arp access-list 2-488 show authentication 2-489 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 11 2-571 show inventory 2-574 show ip arp inspection 2-575 show ip dhcp snooping 2-579 show ip dhcp snooping binding 2-580 show ip dhcp snooping database 2-583 show ip dhcp snooping statistics 2-585 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 12 2-648 show mac address-table static 2-650 show mac address-table vlan 2-652 show mls qos 2-654 show mls qos aggregate-policer 2-655 show mls qos input-queue 2-656 show mls qos interface 2-658 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 13 2-730 show vmps 2-731 show vtp 2-734 shutdown 2-739 shutdown vlan 2-740 small-frame violation rate 2-741 snmp-server enable traps 2-743 snmp-server host 2-748 snmp trap mac-notification 2-753 spanning-tree backbonefast 2-755 Catalyst 3750 Switch Command Reference xiii OL-8552-07...
  • Page 14 2-798 speed 2-801 srr-queue bandwidth limit 2-803 srr-queue bandwidth shape 2-805 srr-queue bandwidth share 2-807 stack-mac persistent timer 2-809 storm-control 2-812 switch 2-815 switch priority 2-817 switch provision 2-818 switch renumber 2-820 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 15 (global configuration) 2-879 vlan (VLAN configuration) 2-885 vlan access-map 2-891 vlan database 2-893 vlan dot1q tag native 2-896 vlan filter 2-898 vmps reconfirm (privileged EXEC) 2-900 vmps reconfirm (global configuration) 2-901 vmps retry 2-902 Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 16 Contents vmps server 2-903 vtp (global configuration) 2-905 vtp (VLAN configuration) 2-909 Catalyst 3750 Switch Bootloader Commands A P P E N D I X boot copy delete flash_init format A-10 fsck A-11 help A-12 memory A-13 mkdir A-15 more...
  • Page 17 B-49 debug platform ip igmp snooping B-50 debug platform ip multicast B-52 debug platform ip source-guard B-54 debug platform ip unicast B-55 debug platform ip wccp B-57 debug platform ipc B-58 Catalyst 3750 Switch Command Reference xvii OL-8552-07...
  • Page 18 B-93 debug spanning-tree uplinkfast B-95 debug sw-vlan B-96 debug sw-vlan ifs B-98 debug sw-vlan notification B-100 debug sw-vlan vtp B-102 debug udld B-104 debug vqpc B-106 debug platform wireless-controller B-107 Catalyst 3750 Switch Command Reference xviii OL-8552-07...
  • Page 19 Contents Catalyst 3750 Switch Show Platform Commands A P P E N D I X show platform acl show platform backup interface show platform configuration show platform etherchannel show platform forward show platform frontend-controller show platform ip igmp snooping show platform ip multicast...
  • Page 20 Contents Acknowledgments for Open-Source Software A P P E N D I X N D E X Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 21 This guide is for the networking professional using the Cisco IOS command-line interface (CLI) to manage the Catalyst 3750 switch, hereafter referred to as the switch. Before using this guide, you should have experience working with the Cisco IOS commands and the switch software features. Before using this guide, you should have experience working with the concepts and terminology of Ethernet and local area networking.
  • Page 22: Related Publications

    Means reader be careful. In this situation, you might do something that could result in equipment Caution damage or loss of data. Related Publications These documents provide complete information about the switch and are available from this Cisco.com site: http://www.cisco.com/en/US/products/hw/switches/ps5023/tsd_products_support_series_home.html Before installing, configuring, or upgrading the switch, see these documents: Note For initial configuration information, see the “Using Express Setup”...
  • Page 23 Preface For cluster requirements, see the Release Notes for Cisco Network Assistant (not orderable but • available on Cisco.com). • For upgrade information, see the “Downloading Software” section in the release notes. See these documents for other information about the switches: Release Notes for the Catalyst 3750, 3560, 2970, and 2960 Switches •...
  • Page 24: Obtaining Documentation And Submitting A Service Request

    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 25: Accessing The Switch

    C H A P T E R Using the Command-Line Interface The Catalyst 3750 switch is supported by Cisco IOS software. This chapter describes how to use the switch command-line interface (CLI) to configure software features. For a complete description of the commands that support these features, see Chapter 2, “Catalyst...
  • Page 26: C H A P T E R 1 Using The Command-Line Interface

    Switch CLI session to a specific stack member. CLI Command Modes This section describes the CLI command mode structure. Command modes support specific Cisco IOS commands. For example, the interface interface-id command only works when entered in global configuration mode.
  • Page 27: Cli Command Modes

    The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt. Switch# ? To return to user EXEC mode, enter the disable privileged EXEC command. Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 28: Privileged Exec Mode

    EXEC command. The configurations of VLAN IDs 1 to 1005 are saved in the VLAN database if VTP is in transparent or server mode. The extended-range VLAN configurations are not saved in the VLAN database. Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 29: Global Configuration Mode

    To exit line configuration mode and to return to global configuration mode, use the exit command. To exit line configuration mode and to return to privileged EXEC mode, enter the end command, or press Ctrl-Z. Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 30 Chapter 1 Using the Command-Line Interface CLI Command Modes Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 31: Aaa Accounting Dot1X

    C H A P T E R Catalyst 3750 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 IEEE 802.1x sessions.
  • Page 32: Chapter 2 Catalyst 3750 Switch Cisco Io Command

    IEEE 802.1x. aaa new-model Enables the AAA access control model. For syntax information, see the Cisco IOS Security Command Reference, Release 12.2 > Authentication, Authorization, and Accounting > Authentication Commands. dot1x reauthentication Enables or disables periodic reauthentication. dot1x timeout Sets the number of seconds between re-authentication attempts.
  • Page 33: Aaa Authentication Dot1X

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands aaa authentication dot1x aaa authentication dot1x Use the aaa authentication dot1x global configuration command to specify the authentication, authorization, and accounting (AAA) method to use on ports complying with the IEEE 802.1x authentication.
  • Page 34: Aaa Authentication Dot1X

    Description aaa new-model Enables the AAA access control model. For syntax information, see the Cisco IOS Security Command Reference, Release 12.2 > Authentication, Authorization, and Accounting > Authentication Commands. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 35: Aaa Authorization Network

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands aaa authorization network aaa authorization network Use the aaa authorization network global configuration command to the configure the switch to use user-RADIUS authorization for all network-related service requests, such as IEEE 802.1x per-user access control lists (ACLs) or VLAN assignment.
  • Page 36 Chapter 2 Catalyst 3750 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 return to the default setting. action {drop | forward}...
  • Page 37: 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 38 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw archive copy-sw Use the archive copy-sw privileged EXEC command on the stack master to copy the running image from the flash memory on one stack member to the flash memory on one or more other members.
  • Page 39: Archive Copy-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw At least one member must be running the image that is to be copied to the switch that has incompatible software. You can copy the image to more than one specific member by repeating the /destination-system destination-stack-member-number option in the command for each member to be upgraded.
  • Page 40 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive copy-sw Examples This example shows how to copy the running image from member 6 to member 8: Switch# archive copy-sw /destination-system 8 6 This example shows how to copy the running image from member 6 to all the other members: Switch# archive copy-sw 6 This example shows how to copy the running image from member 5 to member 7.
  • Page 41 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw archive download-sw Use the archive download-sw privileged EXEC command to download a new image from a TFTP server to the switch or switch stack and to overwrite or keep the existing image.
  • Page 42: Archive Download-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw source-url The source URL alias for a local or network file system. These options are supported: The syntax for the secondary boot loader (BS1): • bs1: The syntax for the local flash file system on the standalone switch or •...
  • Page 43 The /imageonly option removes the HTML files for the existing image if the existing image is being removed or replaced. Only the Cisco IOS image (without the HTML files) is downloaded. Using the /safe or /leave-old-sw option can cause the new image download to fail if there is insufficient flash memory.
  • Page 44 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive download-sw Switch# archive download-sw /directory tftp://10.1.1.10/ c3750-ipservices-tar.122-35.SE.tar c3750-ipbase-tar.122-35.SE.tar. This example shows how to upgrade stack members 6 and 8: Switch# archive download-sw /imageonly /destination-system 6 /destination-system 8 tftp://172.20.129.10/test-image.tar Related Commands Command...
  • Page 45: Archive Tar

    Chapter 2 Catalyst 3750 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 46: Archive Tar

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive tar /table source-url Display the contents of an existing tar file to the screen. For source-url, specify the source URL alias for the local or network file system. These options are supported: The syntax for the local flash file system: •...
  • Page 47 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive tar Command Modes Privileged EXEC Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines Filenames and directory names are case sensitive. Image names are case sensitive. Examples This example shows how to create a tar file. The command writes the contents of the new-configs directory on the local flash device to a file named saved.tar on the TFTP server at 172.20.10.30:...
  • Page 48 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands archive upload-sw archive upload-sw Use the archive upload-sw privileged EXEC command to upload an existing switch image to a server. archive upload-sw [/source-system-num stack member number | /version version_string] destination-url Syntax Description...
  • Page 49: Archive Upload-Sw

    Use the upload feature only if the HTML files associated with the embedded device manager have been installed with the existing image. The files are uploaded in this sequence: the Cisco IOS image, the HTML files, and info. After these files are uploaded, the software creates the tar file.
  • Page 50 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands arp access-list arp access-list Use the arp access-list global configuration command 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 51: Arp Access-List

    Chapter 2 Catalyst 3750 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 52 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication control-direction authentication control-direction Use the authentication control-direction interface configuration command to configure the port mode as unidirectional or bidirectional. Use the no form of this command to return to the default setting.
  • Page 53: Authentication Control-Direction

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication control-direction Command Description authentication Enable or disables reauthentication on a port. periodic authentication Enables manual control of the port authorization state. port-control authentication Adds an authentication method to the port-priority list.
  • Page 54: Authentication Event

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication event authentication event Use the authentication event interface configuration command to set the actions for specific authentication events on the port. authentication event fail {[action [authorize vlan vlan-id | next-method] {| retry {retry...
  • Page 55: Authentication Event

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication event For server-dead events: When the switch moves to the critical-authentication state, only new hosts trying to authenticate are • moved to the critical-authentication VLAN. Authenticated hosts remain in the authenticated VLAN, and the reauthentication timers are disabled.
  • Page 56 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication event You cannot configure an internal VLANs for Layer 3 ports as a restricted VLAN. You cannot specify • the same VLAN as a restricted VLAN and as a voice VLAN.
  • Page 57: Authentication Fallback

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication fallback authentication fallback Use the authentication fallback interface configuration command to configure a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication. To return to the default setting, use the no form of this command.
  • Page 58 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication fallback Command Description authentication Enables manual control of the port authorization state. port-control authentication Adds an authentication method to the port-priority list. priority authentication timer Configures the timeout and reauthentication parameters for an 802.1x-enabled port.
  • Page 59: Authentication Host-Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication host-mode authentication host-mode Use the authentication host-mode interface configuration command to set the authorization manager mode on a port. authentication host-mode [multi-auth | multi-domain | multi-host | single-host] no authentication host-mode [multi-auth | multi-domain | multi-host | single-host]...
  • Page 60 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication host-mode This example shows how to enable single-host mode on a port: Switch(config)# authentication host-mode single-host You can verify your settings by entering the show authentication privileged EXEC command. Related Commands...
  • Page 61: Authentication Open

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication open authentication open Use the authentication open interface configuration command to enable or disable open access on a port. Use the no form of this command to disable open access. authentication open...
  • Page 62 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication open Command Description authentication timer Configures the timeout and reauthentication parameters for an 802.1x-enabled port. authentication Configures the violation modes that occur when a new device connects to a violation port or when a new device connects to a port after the maximum number of devices are connected to that port.
  • Page 63: Authentication Order

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication order authentication order Use the authentication order interface configuration command to set the order of authentication methods used on a port. authentication order [dot1x | mab] {webauth} no authentication order Syntax Description dot1x Add 802.1x to the order of authentication methods.
  • Page 64 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication order Related Commands Command Description authentication Configures the port mode as unidirectional or bidirectional. control-direction authentication event Sets the action for specific authentication events. authentication Configures a port to use web authentication as a fallback method for clients fallback that do not support IEEE 802.1x authentication.
  • Page 65: Authentication Periodic

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication periodic authentication periodic Use the authentication periodic interface configuration command to enable or disable reauthentication on a port. Enter the no form of this command to disable reauthentication. authentication periodic no authentication periodic Command Default Reauthentication is disabled.
  • Page 66 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication periodic Command Description authentication timer Configures the timeout and reauthentication parameters for an 802.1x-enabled port. authentication Configures the violation modes that occur when a new device connects to a violation port or when a new device connects to a port after the maximum number of devices are connected to that port.
  • Page 67: Authentication Port-Control

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication port-control authentication port-control Use the authentication port-control interface configuration command to enable manual control of the port authorization state. Use the no form of this command to return to the default setting.
  • Page 68 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication port-control Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) destination ports—You can enable • IEEE 802.1x authentication on a port that is a SPAN or RSPAN destination port. However, IEEE 802.1x authentication is disabled until the port is removed as a SPAN or RSPAN destination. You can enable IEEE 802.1x authentication on a SPAN or RSPAN source port.
  • Page 69: Authentication Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication priority authentication priority Use the authentication priority interface configuration command to add an authentication method to the port-priority list. auth priority [dot1x | mab] {webauth} no auth priority [dot1x | mab] {webauth}...
  • Page 70 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication priority This example shows how to set MAC authentication Bypass (MAB) as the first authentication method and web authentication as the second authentication method: Switch(config)# authentication priority mab webauth You can verify your settings by entering the show authentication privileged EXEC command.
  • Page 71: Authentication Timer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication timer authentication timer Use the authentication timer interface configuration command to configure the timeout and reauthentication parameters for an 802.1x-enabled port. authentication timer {{[inactivity | reauthenticate] [server | am]} {restart value}}...
  • Page 72 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication timer Related Commands Command Description authentication Configures the port mode as unidirectional or bidirectional. control-direction authentication event Sets the action for specific authentication events. authentication Configures a port to use web authentication as a fallback method for clients fallback that do not support IEEE 802.1x authentication.
  • Page 73: Authentication Violation

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication violation authentication violation Use the authentication violation interface configuration command 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 74 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands authentication violation Command Description authentication Configures a port to use web authentication as a fallback method for clients fallback that do not support IEEE 802.1x authentication. authentication Sets the authorization manager mode on a port.
  • Page 75: Auto Qos Voip

    Syntax Description cisco-phone Identify this port as connected to a Cisco IP Phone, and automatically configure QoS for VoIP. The QoS labels of incoming packets are trusted only when the telephone is detected. This keyword is not supported on a 10-Gigabit Ethernet interface.
  • Page 76 QoS. 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 77 DSCP value of 24, 26, or 46 or is out of profile, the switch changes the DSCP value to 0. When a Cisco IP Phone is absent, the ingress classification is set to not trust the QoS label in the packet. The...
  • Page 78 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands auto qos voip After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS in its name. If you need to modify the policy map or aggregate policer, make a copy of it, and change the copied policy map or policer.
  • Page 79 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands auto qos voip Command Description queue-set Maps a port to a queue-set. show auto qos Displays auto-QoS information. 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 port.
  • Page 80: Boot Auto-Copy-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands boot auto-copy-sw boot auto-copy-sw Use the boot auto-copy-sw global configuration command from the stack master to enable the automatic upgrade (auto-upgrade) process. It automatically upgrades a switch in version-mismatch mode by copying the running software image on any stack member or by copying a tar file image in switch stack flash memory.
  • Page 81: Boot Auto-Download-Sw

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands boot auto-download-sw boot auto-download-sw Use the boot auto-download-sw global configuration command to specify a URL pathname to use for automatic software upgrades. Use the no form of this command to return to the default setting.
  • Page 82 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands boot auto-download-sw Usage Guidelines This command specifies a path URL to use for automatic software upgrades. You can use this command to configure the URL for the master switch to access in case of a version-mismatch.
  • Page 83: Boot Config-File

    Use the boot config-file global configuration command on a standalone switch to specify the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. Use the no form of this command to return to the default setting.
  • Page 84: 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 Switch Bootloader Commands.” Related Commands Command Description show boot Displays the settings of the boot environment variables.
  • Page 85: Boot Helper

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

    Use the boot helper-config-file global configuration command to specify the name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of Cisco IOS that are loaded. Use the no form of this command to return to the default setting.
  • Page 87: Boot Manual

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

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

    Use the boot system global configuration command to specify the Cisco IOS image to load during the next boot cycle. Use the no form of this command to return to the default setting. boot system {filesystem:/file-url ...| switch {number | all}}...
  • Page 90 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 Switch Bootloader Commands.” Related Commands Command...
  • Page 91: Channel-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group channel-group Use the channel-group interface configuration command to assign an Ethernet port to an EtherChannel group, to enable an EtherChannel mode, or both. Use the no form of this command to remove an Ethernet port from an EtherChannel group.
  • Page 92 Chapter 2 Catalyst 3750 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(11)AX This command was introduced. 12.1(14)EA1 The active and passive keywords were added.
  • Page 93 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group Do not configure an EtherChannel in both the PAgP and LACP modes. EtherChannel groups running PAgP and LACP can coexist on the same switch or on different switches in the stack (but not in a cross-stack configuration).
  • Page 94 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands channel-group This example shows how to configure a cross-stack EtherChannel. It uses LACP passive mode and assigns two ports on stack member 2 and one port on stack member 3 as static-access ports in VLAN 10...
  • Page 95: Channel-Protocol

    Chapter 2 Catalyst 3750 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 96: Cisp Enable

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cisp enable cisp enable Use the cisp enable global configuration command to enable Client Information Signalling Protocol (CISP) on a switch so that it acts as an authenticator to a supplicant switch.
  • Page 97: Class

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class class Use the class policy-map configuration command to define a traffic classification match criteria (through the police, set, and trust policy-map class configuration commands) for the specified class-map name. Use the no form of this command to delete an existing class map.
  • Page 98 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class Examples This example shows how to create a policy map called policy1. When attached to the ingress direction, it matches all the incoming traffic defined in class1, sets the IP Differentiated Services Code Point (DSCP) to 10, and polices the traffic at an average rate of 1 Mb/s and bursts at 20 KB.
  • Page 99: Class-Map

    Chapter 2 Catalyst 3750 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 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 100 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands class-map To define packet classification on a physical-port basis, only one match command per class map is supported. In this situation, the match-all and match-any keywords are equivalent. Only one access control list (ACL) can be configured in a class map. The ACL can have multiple access control entries (ACEs).
  • Page 101: Clear Dot1X

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear dot1x clear dot1x Use the clear dot1x privileged EXEC command to clear IEEE 802.1x information for the switch or for the specified port. clear dot1x {all | interface interface-id} Syntax Description Clear all IEEE 802.1x information for the switch.
  • Page 102: Clear Eap Sessions

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear eap sessions clear eap sessions Use the clear eap sessions privileged EXEC command to clear Extensible Authentication Protocol (EAP) session information for the switch or for the specified port. clear eap sessions [credentials name [interface interface-id] | interface interface-id | method name | transport name] [credentials name | interface interface-id | transport name] ...
  • Page 103 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear energywise neighbors clear energywise neighbors Use the clear energywise neighbors privileged EXEC command to delete the EnergyWise neighbor tables. clear energywise neighbors Syntax Description This command has no arguments or keywords.
  • Page 104: Clear Errdisable Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear errdisable interface clear errdisable interface Use the clear errdisable interface privileged EXEC command to re-enable a VLAN that was error disabled. clear errdisable interface interface-id vlan [vlan-list] Syntax Description vlan list (Optional) Specify a list of VLANs to be re-enabled.
  • Page 105: Clear Arp Inspection Log

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ip arp inspection statistics clear ip arp inspection statistics Use the clear ip arp inspection statistics privileged EXEC command to clear the dynamic Address Resolution Protocol (ARP) inspection statistics. clear ip arp inspection statistics [vlan vlan-range]...
  • Page 107: Clear Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 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 108 Chapter 2 Catalyst 3750 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 109: Clear Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear ipc clear ipc Use the clear ipc privileged EXEC command to clear Interprocess Communications Protocol (IPC) statistics. clear ipc {queue-statistics | statistics} Syntax Description queue-statistics Clear the IPC queue statistics. statistics Clear the IPC statistics.
  • Page 110: Clear Ipv6 Dhcp Conflict

    Chapter 2 Catalyst 3750 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 111: Clear L2Protocol-Tunnel Counters

    Chapter 2 Catalyst 3750 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 (physical interface or port channel) for which protocol counters are to be cleared.
  • Page 112: Clear Lacp

    Chapter 2 Catalyst 3750 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 48.
  • Page 113: Clear Mac Address-Table

    Chapter 2 Catalyst 3750 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 a specific dynamic address, all dynamic addresses on a particular interface, all dynamic addresses on stack members, or all dynamic addresses on a particular VLAN.
  • Page 114 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear mac address-table Command Description show mac address-table notification Displays the MAC address notification settings for all interfaces or the specified interface. snmp trap mac-notification Enables the Simple Network Management Protocol (SNMP) MAC address notification trap on a specific interface.
  • Page 115: Clear Mac Address-Table Move Update

    Chapter 2 Catalyst 3750 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 116: Clear Nmsp Statistics

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear nmsp statistics clear nmsp statistics Use the clear nmsp statistics privileged EXEC command to clear the Network Mobility Services Protocol (NMSP) statistics. This command is available only when your switch is running the cryptographic (encrypted) software image.
  • Page 117: Clear Pagp

    Chapter 2 Catalyst 3750 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 48.
  • Page 118: Clear Port-Security

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear port-security clear port-security Use the clear port-security privileged EXEC command to delete from the MAC address table all secure addresses or all secure addresses of a specific type (configured, dynamic, or sticky) on the switch or on an interface.
  • Page 119 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear port-security This example shows how to remove all the dynamic secure addresses learned on a specific interface: Switch# clear port-security dynamic interface gigabitethernet1/0/1 This example shows how to remove all the dynamic secure addresses from the address table:...
  • Page 120: Clear Spanning-Tree Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear spanning-tree counters clear spanning-tree counters Use the clear spanning-tree counters privileged EXEC command 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 121: Clear Spanning-Tree Detected-Protocols

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear vmps statistics clear vmps statistics Use the clear vmps statistics privileged EXEC command 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 123: Clear Vtp Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands clear vtp counters clear vtp counters Use the clear vtp counters privileged EXEC command to clear the VLAN Trunking Protocol (VTP) and pruning counters. clear vtp counters Syntax Description This command has no arguments or keywords.
  • Page 124: Cluster Commander-Address

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

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster enable cluster enable Use the cluster enable global configuration command on a command-capable switch or switch stack to enable it as the cluster command switch, assign a cluster name, and to optionally assign a member number to it.
  • Page 128: Cluster Holdtime

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster member cluster member Use the cluster member global configuration command on the cluster command switch to add candidates to a cluster. Use the no form of the command to remove members from the cluster.
  • Page 130 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster member Examples This example shows how to add a switch as member 2 with MAC address 00E0.1E00.2222 and the password key to a cluster. The cluster command switch adds the candidate to the cluster through VLAN 3.
  • Page 131: Cluster Outside-Interface

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

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

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster timer cluster timer Use the cluster timer global configuration command on the switch stack or on the cluster command switch to set the interval in seconds between heartbeat messages. Use the no form of this command to set the interval to the default value.
  • Page 136 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands cluster timer Related Commands Command Description show cluster Displays the cluster status and a summary of the cluster to which the switch belongs. Catalyst 3750 Switch Command Reference 2-106 OL-8552-07...
  • Page 137: Define Interface-Range

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands define interface-range define interface-range Use the define interface-range global configuration command 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 138 Executes a command on multiple ports at the same time. show running-config Displays the current operating configuration, including defined macros. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 139: 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.1. Examples...
  • Page 140 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands delete Related Commands Command Description archive download-sw Downloads a new image to the switch and overwrites or keeps the existing image. Catalyst 3750 Switch Command Reference 2-110 OL-8552-07...
  • Page 141: Deny (Arp Access-List Configuration)

    Chapter 2 Catalyst 3750 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 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 142 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (ARP access-list configuration) 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 143: Deny (Ipv6 Access-List Configuration)

    Chapter 2 Catalyst 3750 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 144 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (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 145 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (IPv6 access-list configuration) fragments (Optional) Match non-initial fragmented packets where the fragment extension header contains a non-zero fragment offset. The fragments keyword is an option only if the protocol is ipv6 and the operator [port-number] arguments are not specified.
  • Page 146 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands deny (IPv6 access-list configuration) Although visible in the command-line help strings, the flow-label, routing, and Note undetermined-transport keywords are not supported. Defaults No IPv6 access list is defined. Command Modes IPv6 access list configuration...
  • Page 147 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 in the list prevents all packets that have a destination TCP port number greater than 5000 from leaving the interface. The second deny entry in the list prevents all packets that have a source UDP port number less than 5000 from leaving the interface.
  • Page 148: Deny (Mac Access-List Configuration)

    Chapter 2 Catalyst 3750 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 149 Chapter 2 Catalyst 3750 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 150 Chapter 2 Catalyst 3750 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 151: Diagnostic Monitor

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic monitor diagnostic monitor Use the diagnostic monitor global configuration command to configure the health-monitoring diagnostic testing. Use the no form of this command to disable testing and return to the default settings.
  • Page 152 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic monitor Command Modes Global configuration Command History Release Modification 12.2(25)SEE This command was introduced. Usage Guidelines Use these guidelines when scheduling testing: test-id—Enter the show diagnostic content privileged EXEC command to display the test ID list.
  • Page 153 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic monitor Related Commands Command Description show diagnostic Displays online diagnostic test results. Catalyst 3750 Switch Command Reference 2-123 OL-8552-07...
  • Page 154: Diagnostic Schedule

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic schedule diagnostic schedule Use the diagnostic schedule privileged EXEC command to configure the scheduling of diagnostic testing. Use the no form of this command to remove the scheduling and return to the default setting.
  • Page 155 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic schedule mm—Spell out the month, such as January, February... December (either upper case or lower case • characters). • dd—Enter the day as a 2-digit number. yyyy—Enter the year as a 4-digit number.
  • Page 156: Diagnostic Start

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic start diagnostic start Use the diagnostic start user command to run the specified diagnostic test. diagnostic start switch num test {test-id | test-id-range | all | basic | non-disruptive} Syntax Description switch num Specify the switch number.
  • Page 157 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands diagnostic start 16:43:29: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 2 Switch 2 has changed to state DOWN 16:43:30: %STACKMGR-4-STACK_LINK_CHANGE: Stack Port 1 Switch 9 has changed to state DOWN 16:43:30: %STACKMGR-4-SWITCH_REMOVED: Switch 1 has been REMOVED from the stack...
  • Page 158: Dot1X

    IEEE 802.1x authentication and EtherChannel are configured. If you are using a device running the Cisco Access Control Server (ACS) application for IEEE 802.1x authentication with EAP-Transparent LAN Services (TLS) and with EAP-MD5 and your switch is running Cisco IOS Release 12.1(14)EA1, make sure that the device is running ACS Version 3.2.1 or...
  • Page 159 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x Examples This example shows how to globally enable IEEE 802.1x authentication on a switch: Switch(config)# dot1x system-auth-control This example shows how to globally enable the optional guest VLAN behavior on a switch:...
  • Page 160: Dot1X Auth-Fail Max-Attempts

    Chapter 2 Catalyst 3750 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 161 Chapter 2 Catalyst 3750 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 162: Dot1X Auth-Fail Vlan

    Chapter 2 Catalyst 3750 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 163 Chapter 2 Catalyst 3750 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 164: Dot1X Control-Direction

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x control-direction dot1x control-direction Use the dot1x control-direction interface configuration command to enable the IEEE 802.1x authentication with the wake-on-LAN (WoL) feature and to configure the port control as unidirectional or bidirectional. Use the no form of this command to return to the default setting.
  • Page 165 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x control-direction If you enter the dot1x control-direction in interface configuration command to enable unidirectional control, this appears in the show dot1x all command output: ControlDirection = In If you enter the dot1x control-direction in interface configuration command and the port cannot support...
  • Page 166: Dot1X Credentials (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x credentials (global configuration) dot1x credentials (global configuration) Use the dot1x credentials global configuration command to configure a profile on a supplicant switch. dot1x credentials profile no dot1x credentials profile Syntax Description profile Specify a profile for the supplicant switch.
  • Page 167: Dot1X Critical (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x critical (global configuration) dot1x critical (global configuration) Use the dot1x critical global configuration command to configure the parameters for the inaccessible authentication bypass feature, also referred to as critical authentication or the authentication, authorization, and accounting (AAA) fail policy.
  • Page 168 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x critical (global configuration) Related Commands Command Description dot1x critical (interface Enables the inaccessible authentication bypass feature, and configuration) configures the access VLAN for the feature. show dot1x Displays IEEE 802.1x status for the specified port.
  • Page 169: Dot1X Critical (Interface Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x critical (interface configuration) dot1x critical (interface configuration) Use the dot1x critical interface configuration command to enable the inaccessible-authentication-bypass feature, also referred to as critical authentication or the authentication, authorization, and accounting (AAA) fail policy. You can also configure the access VLAN to which the switch assigns the critical port when the port is in the critical-authentication state.
  • Page 170 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x critical (interface configuration) You can configure the inaccessible authentication bypass feature and the restricted VLAN on an IEEE 802.1x port. If the switch tries to re-authenticate a critical port in a restricted VLAN and all the RADIUS servers are unavailable, the switch changes the port state to the critical authentication state, and it remains in the restricted VLAN.
  • Page 171: Dot1X Default

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x default dot1x default Use the dot1x default interface configuration command to reset the IEEE 802.1x parameters to their default values. dot1x default Syntax Description This command has no arguments or keywords.
  • Page 172: Dot1X Fallback

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x fallback dot1x fallback Use the dot1xfallback interface configuration command to configure a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication. To return to the default setting, use the no form of this command.
  • Page 173: Dot1X Guest-Vlan

    VLAN, regardless of whether EAPOL packets had been detected on the interface. In Cisco IOS Release 12.2(25)SE, you can use the dot1x guest-vlan supplicant global configuration command to enable this behavior.
  • Page 174 The amount to decrease the settings depends on the connected IEEE 802.1x client type. The switch supports MAC authentication bypass in Cisco IOS Release 12.2(25)SEE and later. When it is enabled on an IEEE 802.1x port, the switch can authorize clients based on the client MAC address when IEEE 802.1x authentication times out while waiting for an EAPOL message exchange.
  • Page 175 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x guest-vlan Related Commands Command Description dot1x Enables the optional guest VLAN supplicant feature. show dot1x [interface interface-id] Displays IEEE 802.1x status for the specified port. Catalyst 3750 Switch Command Reference 2-145...
  • Page 176: Dot1X Host-Mode

    Use the multi-domain keyword to enable MDA on a port. MDA divides the port into both a data domain and a voice domain. MDA allows both a data device and a voice device, such as an IP phone (Cisco or non-Cisco), on the same IEEE 802.1x-enabled port.
  • Page 177 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x host-mode This example shows how to globally enable IEEE 802.1x authentication, to enable IEEE 802.1x authentication, and to enable MDA on the specified port: Switch(config)# dot1x system-auth-control Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# dot1x port-control auto...
  • Page 178: Dot1X Initialize

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x initialize dot1x initialize Use the dot1x initialize privileged EXEC command to manually return the specified IEEE 802.1x-enabled port to an unauthorized state before initiating a new authentication session on the port.
  • Page 179: Dot1X Mac-Auth-Bypass

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x mac-auth-bypass dot1x mac-auth-bypass Use the dot1x mac-auth-bypass interface configuration command to enable the MAC authentication bypass feature. Use the no form of this command to disable MAC authentication bypass feature. dot1x mac-auth-bypass [eap | timeout inactivity value]...
  • Page 180 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x mac-auth-bypass Examples This example shows how to enable MAC authentication bypass and to configure the switch to use EAP for authentication: Switch(config-if)# dot1x mac-auth-bypass eap This example shows how to enable MAC authentication bypass and to configure the timeout if the...
  • Page 181: Dot1X Max-Reauth-Req

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x max-req dot1x max-req Use the dot1x max-req interface configuration command to set the maximum number of times that the switch sends 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 183: Dot1X Multiple-Hosts

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x multiple-hosts dot1x multiple-hosts This is an obsolete command. In past releases, the dot1x multiple-hosts interface configuration command was used to allow multiple hosts (clients) on an IEEE 802.1x-authorized port. Command History...
  • Page 184: Dot1X Pae

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x pae dot1x pae Use the dot1x pae interface configuration command to configure the port as an IEEE 802.1x port access entity (PAE) authenticator. Use the no form of this command to disable IEEE 802.1x authentication on the port.
  • Page 185: Dot1X Port-Control

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x port-control dot1x port-control Use the dot1x port-control interface configuration command 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 186 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x port-control Dynamic-access ports—If you try to enable IEEE 802.1x authentication on a dynamic-access • (VLAN Query Protocol [VQP]) port, an error message appears, and IEEE 802.1x authentication is not enabled. If you try to change an IEEE 802.1x-enabled port to dynamic VLAN assignment, an error message appears, and the VLAN configuration is not changed.
  • Page 187: Dot1X Re-Authenticate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x re-authenticate dot1x re-authenticate Use the dot1x re-authenticate privileged EXEC command to manually initiate a re-authentication of the specified IEEE 802.1x-enabled port. dot1x re-authenticate [interface interface-id] Syntax Description interface interface-id (Optional) Stack switch number, module, and port number of the interface to re-authenticate.
  • Page 188: Dot1X Re-Authentication

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

    Chapter 2 Catalyst 3750 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. dot1x reauthentication...
  • Page 190: Dot1X Test Eapol-Capable

    Chapter 2 Catalyst 3750 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 191: Dot1X Test Timeout

    Chapter 2 Catalyst 3750 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 192: Dot1X Timeout

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout dot1x timeout Use the dot1x timeout interface configuration command to set IEEE 802.1x timers. Use the no form of this command to return to the default setting. dot1x timeout {quiet-period seconds | ratelimit-period seconds | reauth-period {seconds |...
  • Page 193 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout Command History Release Modification 12.1(11)AX This command was introduced. 12.1(14)EA1 The supp-timeout and server-timeout keywords were added, and the command was changed to the interface configuration mode. 12.2(18)SE The ranges for the server-timeout, supp-timeout, and tx-period keywords were changed.
  • Page 194 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout This example shows how to set 30 as the number of seconds that the switch ignores EAPOL packets from successfully authenticated clients: Switch(config-if)# dot1x timeout ratelimit-period 30 You can verify your settings by entering the show dot1x privileged EXEC command.
  • Page 195 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x timeout Related Commands Command Description dot1x max-req Sets the maximum number of times that the switch sends an EAP-request/identity frame before restarting the authentication process. dot1x reauthentication Enables periodic re-authentication of the client.
  • Page 196: Dot1X Violation-Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands dot1x violation-mode dot1x violation-mode Use the dot1x violation-mode interface configuration command 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 197 Chapter 2 Catalyst 3750 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 Switch Command Reference 2-167 OL-8552-07...
  • Page 198: Duplex

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands duplex duplex Use the duplex interface configuration command to specify the duplex mode of operation for a port. Use the no form of this command to return the port to its default value.
  • Page 199 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands duplex Certain ports can be configured to be either full duplex or half duplex. Applicability of this command depends on the device to which the switch is attached. If both ends of the line support autonegotiation, we highly recommend using the default autonegotiation settings.
  • Page 200: Energywise (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise (global configuration) energywise (global configuration) Use the energywise global configuration command to enable and configure EnergyWise on an entity. Use the no form of this command to disable EnergyWise and to remove the EnergyWise configuration.
  • Page 201: Command Show Energywise

    This example shows how to enable EnergyWise, assign the entity to a domain, and set the password. Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# energywise domain cisco secret cisco protocol udp port 43440 ip 2.2.4.30 Switch(config)# energywise importance 50 Switch(config)# energywise keywords lab1,devlab Switch(config)# energywise management 60500...
  • Page 202: Energywise (Interface Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise (interface configuration) energywise (interface configuration) Use the energywise interface configuration command to configure EnergyWise on the power over Ethernet (PoE) port. Use the no form of this command to disable EnergyWise and to remove the EnergyWise configuration.
  • Page 203 Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)# energywise domain cisco secret cisco protocol udp port 43440 ip 2.2.4.30 Switch(config)# interface gigabitethernet1/0/3 Switch(config-if)# energywise level 10 recurrence importance 90 at 0 8 * * *...
  • Page 204: Energywise Domain

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise domain energywise domain Use the energywise domain global configuration command to enable EnergyWise on the entity, assign the entity to a domain, and set the password for secure communication among the domain entities. Use the no form of this command to disable EnergyWise and to remove the EnergyWise configuration.
  • Page 205 Examples This example shows how to enable EnergyWise, set the domain-name and password, and specify the IP address: Switch(config)# energywise domain cisco secret cisco protocol udp port 43440 ip 2.2.4.30 Related Commands Command Description show energywise Displays the EnergyWise settings and status.
  • Page 206: Energywise Query

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise query energywise query Use the energywise query privileged EXEC command to display power information or to power the entities or PoE ports in the domain. energywise query importance importance {keywords word,word,... | name name} collect {delta | usage} energywise query importance importance {keywords word,word,...
  • Page 207 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise query Defaults The importance value is 1. The power level is 10. Command Modes Privileged EXEC Command History Release Modification 12.2(50)SE This command was introduced. Usage Guidelines In the results from the sum keyword, the Responded total is not accurate. The Queried total is accurate and is the total number of entities that respond to the query.
  • Page 208 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise query Switch# energywise query name lobby* collect usage EnergyWise query, timeout is 3 seconds: Host Name Usage ---- ---- ----- 2.2.4.30 lobbyInterface.17 10.0 (W) Queried: Responded: Time: 0.7 seconds Switch# energywise query name Fa1.0.4* sum usage...
  • Page 209 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands energywise query Switch# energywise query name * set level 10 EnergyWise query, timeout is 3 seconds: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!! Success rate is (48/48) setting entities Queried: Responded: Time: 0.996 seconds This example shows how to filter results with keywords.
  • Page 210: Errdisable Detect Cause

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable detect cause errdisable detect cause Use the errdisable detect cause global configuration command to enable error-disable detection for a specific cause or all causes. Use the no form of this command to disable the error-disable detection feature.
  • Page 211 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable detect cause Command Default Detection is enabled for all causes. All causes, except for per-VLAN error disabling, are configured to shut down the entire port. Command Modes Global configuration Command History...
  • Page 212 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable detect cause Related Commands Command Description show errdisable detect Displays error-disabled detection information. show interfaces status err-disabled Displays interface status or a list of interfaces in the error-disabled state. clear errdisable interface Clears the error-disabled state from a port or VLAN that was error disabled by the per-VLAN error disable feature.
  • Page 213: Errdisable Detect Cause Small-Frame

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable detect cause small-frame errdisable detect cause small-frame Use the errdisable detect cause small-frame global configuration command 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 214 Chapter 2 Catalyst 3750 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 215: Errdisable Recovery Cause Small-Frame

    Chapter 2 Catalyst 3750 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 to enable the recovery timer for ports to be automatically re-enabled after they are error disabled by the arrival of small frames.
  • Page 216: Errdisable Recovery

    Chapter 2 Catalyst 3750 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 |...
  • Page 217 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable recovery vmps Enable the timer to recover from the VLAN Membership Policy Server (VMPS) error-disabled state. interval interval Specify the time to recover from the specified error-disabled state. The range is 30 to 86400 seconds. The same interval is applied to all causes. The default interval is 300 seconds.
  • Page 218 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands errdisable recovery Examples This example shows how to enable the recovery timer for the BPDU guard error-disabled cause: Switch(config)# errdisable recovery cause bpduguard This example shows how to set the timer to 500 seconds: Switch(config)# errdisable recovery interval 500 You can verify your settings by entering the show errdisable recovery privileged EXEC command.
  • Page 219: Exception Crashinfo

    Use the exception crashinfo global configuration command to configure the switch to create the extended crashinfo file when the Cisco IOS image fails. Use the no form of this command to disable this feature. exception crashinfo...
  • Page 220: Fallback Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands fallback profile fallback profile Use the fallback profile global configuration command to create a fallback profile for web authentication. To return to the default setting, use the no form of this command.
  • Page 221 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands fallback profile Related Commands Command Description dot1x fallback Configure a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication. ip admission Enable web authentication on a switch port...
  • Page 222: Flowcontrol

    Chapter 2 Catalyst 3750 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 223 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands flowcontrol Table 2-5 shows the flow control results on local and remote ports for a combination of settings. The table assumes that receive desired has the same results as using the receive on keywords.
  • Page 224: Interface Port-Channel

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

    Chapter 2 Catalyst 3750 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 227 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface range gigabitethernet stack member/module/{first port} - {last port}, where module is always 0 • For physical interfaces: stack member is the number used to identify the switch within the stack. The number ranges –...
  • Page 228: Interface Vlan

    Chapter 2 Catalyst 3750 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 229 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands interface vlan Switch(config-if)# You can verify your setting by entering the show interfaces and show interfaces vlan vlan-id privileged EXEC commands. Related Commands Command Description show interfaces vlan vlan-id Displays the administrative and operational status of all interfaces or the specified VLAN.
  • Page 230: Ip Access-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip access-group ip access-group Use the ip access-group interface configuration command 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 231 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip access-group You can use router ACLs, input port ACLs, and VLAN maps on the same switch. However, a port ACL takes precedence over a router ACL or VLAN map: • When an input port ACL is applied to an interface and a VLAN map is applied to a VLAN that the interface is a member of, incoming packets received on ports with the ACL applied are filtered by the port ACL.
  • Page 232 Command Description access list Configures a numbered ACL. For syntax information, select Cisco 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 >...
  • Page 233: Ip Address

    Chapter 2 Catalyst 3750 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 234 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip address If your switch receives its IP address from a Bootstrap Protocol (BOOTP) or a DHCP server and you remove the switch IP address by using the no ip address command, IP processing is disabled, and the BOOTP or the DHCP server cannot reassign the address.
  • Page 235: Ip Admission

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip admission ip admission Use the ip admission interface configuration command to enable web authentication. You can also use this command in fallback-profile mode. Use the no form of this command to disable web authentication.
  • Page 236: Ip Admission Name Proxy Http

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip admission name proxy http ip admission name proxy http Use the ip admission name proxy http global configuration command to enable web authentication. Use the no form of this command to disable web authentication.
  • Page 237 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip admission name proxy http Related Commands Command Description dot1x fallback Configure a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication. fallback profile Create a web authentication fallback profile.
  • Page 238: Ip Arp Inspection Filter Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection filter vlan ip arp inspection filter vlan Use the ip arp inspection filter vlan global configuration command 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 239 Chapter 2 Catalyst 3750 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 240: Ip Arp Inspection Limit

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection limit ip arp inspection limit Use the ip arp inspection limit interface configuration command 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 241 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection limit The rate limit is calculated separately on each switch in a switch stack. For a cross-stack EtherChannel, this means that the actual rate limit might be higher than the configured value. For example, if you set the rate limit to 30 pps on an EtherChannel that has one port on switch 1 and one port on switch 2, each port can receive packets at 29 pps without causing the EtherChannel to become error-disabled.
  • Page 242: Ip Arp Inspection Log-Buffer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection log-buffer ip arp inspection log-buffer Use the ip arp inspection log-buffer global configuration command 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 243 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection log-buffer The log buffer configuration applies to each stack member in a switch stack. Each stack member has the specified logs number entries and generates system messages at the configured rate. For example, if the interval (rate) is one entry per second, up to five system messages are generated per second in a five-member stack.
  • Page 244: Ip Arp Inspection Trust

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection trust ip arp inspection trust Use the ip arp inspection trust interface configuration command to configure an interface trust state that determines which incoming Address Resolution Protocol (ARP) packets are inspected. Use the no form of this command to return to the default setting.
  • Page 245 Chapter 2 Catalyst 3750 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 inventory Displays the trust state and the rate limit of ARP packets for the specified interfaces interface or all interfaces.
  • Page 246: Ip Arp Inspection Validate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection validate ip arp inspection validate Use the ip arp inspection validate global configuration command 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 247 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection validate The allow-zeros keyword interacts with ARP access control lists (ACLs) in this way: If you configure an ARP ACL to deny ARP probes, they are dropped even if the allow-zero keyword •...
  • Page 248: Ip Arp Inspection Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan ip arp inspection vlan Use the ip arp inspection vlan global configuration command 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 249: Ip Arp Inspection Vlan Logging

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan logging ip arp inspection vlan logging Use the ip arp inspection vlan logging global configuration command to control the type of packets that are logged per VLAN. Use the no form of this command to disable this logging control.
  • Page 250 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip arp inspection vlan logging Usage Guidelines The term logged means that the entry is placed into the log buffer and that a system message is generated. 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.
  • Page 251: Ip Dhcp Snooping

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

    Chapter 2 Catalyst 3750 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 253 Chapter 2 Catalyst 3750 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 254: Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 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 255 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping database Usage Guidelines The DHCP snooping binding database can have up to 8192 bindings. To ensure that the lease time in the database is accurate, we recommend that Network Time Protocol...
  • Page 256: Ip Dhcp Snooping Information Option

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option ip dhcp snooping information option Use the ip dhcp snooping information option global configuration command to enable DHCP option-82 data insertion. Use the no form of this command to disable DHCP option-82 data insertion.
  • Page 257 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option Related Commands Command Description show ip dhcp snooping Displays the DHCP snooping configuration. show ip dhcp snooping binding Displays the DHCP snooping binding information. Catalyst 3750 Switch Command Reference...
  • Page 258: Ip Dhcp Snooping Information Option Allow-Untrusted

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option allow-untrusted ip dhcp snooping information option allow-untrusted Use the ip dhcp snooping information option allow-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 259 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option allow-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 allow-untrusted You can verify your settings by entering the show ip dhcp snooping user EXEC command.
  • Page 260: Ip Dhcp Snooping Information Option Format Remote-Id

    Chapter 2 Catalyst 3750 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 to configure the option-82 remote-ID suboption. Use the no form of this command to configure the default remote-ID suboption.
  • Page 261 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping information option format remote-id Related Commands Command Description ip dhcp snooping vlan information Configures the option-82 circuit-ID suboption. option format-type circuit-id string show ip dhcp snooping Displays the DHCP snooping configuration.
  • Page 262: Ip Dhcp Snooping Limit Rate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping limit rate ip dhcp snooping limit rate Use the ip dhcp snooping limit rate interface configuration command 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 263: Ip Dhcp Snooping Trust

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip dhcp snooping verify ip dhcp snooping verify Use the ip dhcp snooping verify global configuration command 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 265: Ip Dhcp Snooping Vlan

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

    Chapter 2 Catalyst 3750 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 to configure the option-82 circuit-ID suboption. Use the no form of this command to configure the default circuit-ID suboption.
  • Page 267 Chapter 2 Catalyst 3750 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 You can verify your settings by entering the show ip dhcp snooping user EXEC command.
  • Page 268: Ip Igmp Filter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp filter ip igmp filter Use the ip igmp filter interface configuration command 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 269 Chapter 2 Catalyst 3750 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 270: Ip Igmp Max-Groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp max-groups ip igmp max-groups Use the ip igmp max-groups interface configuration command 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 271 Displays the running configuration on the switch interface, including interface-id the maximum number of IGMP groups that an interface can join and the throttling action. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 272: Ip Igmp Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp profile ip igmp profile Use the ip igmp profile global configuration command 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 273 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp profile Related Commands Command Description ip igmp filter Applies the IGMP profile to the specified interface. show ip dhcp snooping Displays the characteristics of all IGMP profiles or the specified statistics IGMP profile number.
  • Page 274: Ip Igmp Snooping

    Chapter 2 Catalyst 3750 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 275 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping Related Commands Command Description ip igmp snooping report-suppression Enables IGMP report suppression. show ip dhcp snooping statistics Displays the snooping configuration. show ip igmp snooping groups Displays IGMP snooping multicast information.
  • Page 276: Ip Igmp Snooping Last-Member-Query-Interval

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping last-member-query-interval ip igmp snooping last-member-query-interval Use the ip igmp snooping last-member-query-interval global configuration command to enable the Internet Group Management Protocol (IGMP) configurable-leave timer globally or on a per-VLAN basis.
  • Page 277 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping last-member-query-interval Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping vlan immediate-leave Enables IGMP Immediate-Leave processing. ip igmp snooping vlan mrouter Configures a Layer 2 port as a multicast router port.
  • Page 278: Ip Igmp Snooping Querier

    Chapter 2 Catalyst 3750 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 279 Chapter 2 Catalyst 3750 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 280: Ip Igmp Snooping Report-Suppression

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping report-suppression ip igmp snooping report-suppression Use the ip igmp snooping report-suppression global configuration command to enable Internet Group Management Protocol (IGMP) report suppression. Use the no form of this command to disable IGMP report suppression and to forward all IGMP reports to multicast routers.
  • Page 281 Chapter 2 Catalyst 3750 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 282: Ip Igmp Snooping Tcn

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping tcn ip igmp snooping tcn Use the ip igmp snooping tcn global configuration command to configure the Internet Group Management Protocol (IGMP) Topology Change Notification (TCN) behavior. Use the no form of this command to return to the default settings.
  • Page 283 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping tcn Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping tcn flood Specifies flooding on an interface as the IGMP snooping spanning-tree TCN behavior.
  • Page 284: Ip Igmp Snooping Tcn Flood

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping tcn flood ip igmp snooping tcn flood Use the ip igmp snooping tcn flood interface configuration command to specify multicast flooding as the Internet Group Management Protocol (IGMP) snooping spanning-tree Topology Change Notification (TCN) behavior.
  • Page 285: Ip Igmp Snooping Vlan Immediate-Leave

    Chapter 2 Catalyst 3750 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 286 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip igmp snooping vlan immediate-leave 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 287: Ip Igmp Snooping Vlan Mrouter

    Chapter 2 Catalyst 3750 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 288 Chapter 2 Catalyst 3750 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/22 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 289: Ip Igmp Snooping Vlan Static

    Chapter 2 Catalyst 3750 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 290 Chapter 2 Catalyst 3750 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 291: Ip Snap Forwarding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip snap forwarding ip snap forwarding Use the ip snap forwarding global configuration command on the switch stack or on a standalone switch to enable forwarding of IP Version 4 (IPv4) and IP Version 6 (IPv6) frames with Subnetwork Access Protocol (SNAP) encapsulation.
  • Page 292: Ip Source Binding

    Chapter 2 Catalyst 3750 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 293 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ip source binding Command Description show ip source binding 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 294: Ip Ssh

    Chapter 2 Catalyst 3750 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 295 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 296: Ip Sticky-Arp (Global Configuration)

    Chapter 2 Catalyst 3750 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 297 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 298: Ip Sticky-Arp (Interface Configuration)

    Chapter 2 Catalyst 3750 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 299 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 300: Ip Verify Source

    Chapter 2 Catalyst 3750 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 301: Ipv6 Access-List

    Chapter 2 Catalyst 3750 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 302 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 access-list Every IPv6 ACL has implicit permit icmp any any nd-na, permit icmp any any nd-ns, and deny ipv6 Note any any statements as its last match conditions. The two permit conditions allow ICMPv6 neighbor discovery.
  • Page 303 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 access-list Related Commands Command Description deny (IPv6 access-list Sets deny conditions for an IPv6 access list. configuration) ipv6 traffic-filter Filters incoming or outgoing IPv6 traffic on an interface. permit (IPv6 Sets permit conditions for an IPv6 access list.
  • Page 304: Ipv6 Address Dhcp

    Chapter 2 Catalyst 3750 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 305: Ipv6 Dhcp Client Request Vendor

    Chapter 2 Catalyst 3750 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 306: Ipv6 Dhcp Ping Packets

    Chapter 2 Catalyst 3750 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 307 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 dhcp ping packets Related Commands Command Description clear ipv6 dhcp Clears an address conflict from the DHCPv6 server database. conflict show ipv6 dhcp Displays address conflicts found by a DHCPv6 server, or reported through conflict a DECLINE message from a client.
  • Page 308: Ipv6 Dhcp Pool

    Chapter 2 Catalyst 3750 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 309 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 dhcp pool vendor-specific: enables the DHCPv6 vendor-specific configuration mode. These configuration • commands are available: – vendor-id: enter a vendor-specific identification number. This number is the vendor IANA Private Enterprise Number. The range is 1 to 4294967295.
  • Page 310 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 dhcp pool Related Commands Command Description ipv6 dhcp server Enables DHCPv6 service on an interface. show ipv6 dhcp pool Displays DHCPv6 configuration pool information. Catalyst 3750 Switch Command Reference 2-280 OL-8552-07...
  • Page 311: Ipv6 Dhcp Server

    Chapter 2 Catalyst 3750 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 312 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 dhcp server If the packet was directly received 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 313: Ipv6 Mld Snooping

    Chapter 2 Catalyst 3750 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 switch stack or the VLAN.
  • Page 314 Chapter 2 Catalyst 3750 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 315: Ipv6 Mld Snooping Last-Listener-Query-Count

    Chapter 2 Catalyst 3750 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 316 Chapter 2 Catalyst 3750 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 317: Ipv6 Mld Snooping Last-Listener-Query-Interval

    Chapter 2 Catalyst 3750 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 318 Chapter 2 Catalyst 3750 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 319: Ipv6 Mld Snooping Listener-Message-Suppression

    Chapter 2 Catalyst 3750 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 320 Chapter 2 Catalyst 3750 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 321: Ipv6 Mld Snooping Robustness-Variable

    Chapter 2 Catalyst 3750 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 322 Chapter 2 Catalyst 3750 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 323: Ipv6 Mld Snooping Tcn

    Chapter 2 Catalyst 3750 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 324 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands ipv6 mld snooping tcn Related Commands 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 325: Ipv6 Mld Snooping Vlan

    Chapter 2 Catalyst 3750 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 326 1006 to 4094), IPv6 MLD snooping must be enabled on the extended VLAN on the Catalyst 6500 switch in order for the Catalyst 3750 or Catalyst 3560 switch to receive queries on the VLAN. For normal-range VLANs (1 to 1005), it is not necessary to enable IPv6 MLD snooping on the VLAN on the Catalyst 6500 switch.
  • Page 327: Ipv6 Traffic-Filter

    Chapter 2 Catalyst 3750 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 stack. Use the no form of this command to disable the filtering of IPv6 traffic on an interface.
  • Page 328 Chapter 2 Catalyst 3750 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/0/1 Switch(config-if)# no switchport Switch(config-if)# ipv6 address 2001::/64 eui-64...
  • Page 329: L2Protocol-Tunnel

    Use the l2protocol-tunnel interface configuration command to enable tunneling of Layer 2 protocols on an access port, IEEE 802.1Q tunnel port, or a port channel. You can enable tunneling for Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets.
  • Page 330 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 331 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands l2protocol-tunnel For more information about Layer 2 protocol tunneling, see the software configuration guide for this release. Examples This example shows how to enable protocol tunneling for CDP packets and to configure the shutdown...
  • Page 332: L2Protocol-Tunnel Cos

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp port-priority lacp port-priority Use the lacp port-priority interface configuration command 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 334 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp port-priority Examples This example shows how to configure the LACP port priority on a port: Switch(config)# interface gigabitethernet2/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 335: Lacp System-Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp system-priority lacp system-priority Use the lacp system-priority global configuration command 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 336 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands lacp system-priority Related Commands Command Description channel-group Assigns an Ethernet port to an EtherChannel group. lacp port-priority Configures the LACP port priority. show lacp sys-id Displays the system identifier that is being used by LACP.
  • Page 337: Location (Global Configuration)

    Chapter 2 Catalyst 3750 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. location {admin-tag string | civic-location identifier id | elin-location string identifier id}...
  • Page 338 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands location (global configuration) This example shows how to configure the emergency location information on the switch: Switch (config)# location elin-location 14085553881 identifier 1 You can verify your settings by entering the show location elin privileged EXEC command.
  • Page 339: Location (Interface Configuration)

    Chapter 2 Catalyst 3750 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. location {additional-location-information word | civic-location-id id | elin-location-id id}...
  • Page 340 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands location (interface configuration) This example shows how to enter emergency location information for an interface: Switch(config)# interface gigabitethernet2/0/2 Switch(config-if)# location elin-location-id 1 Switch(config-if)# end You can verify your settings by entering the show location elin interface privileged EXEC command.
  • Page 341: Link State Group

    Chapter 2 Catalyst 3750 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 342 Displays the link-state group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.2 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 3750 Switch Command Reference 2-312...
  • Page 343: Link State Track

    Displays the link-state group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.2 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 3750 Switch Command Reference 2-313...
  • Page 344: Logging Event

    Chapter 2 Catalyst 3750 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 345: Logging Event Power-Inline-Status

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

    Chapter 2 Catalyst 3750 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 | nomax [min-file-size]] [severity-level-number |...
  • Page 347 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands logging file Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines The log file is stored in ASCII text format in an internal buffer on a standalone switch, and in the case of a switch stack, on the stack master.
  • Page 348: Mac Access-Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-group mac access-group Use the mac access-group interface configuration command 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 349 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-group Examples This example shows how to apply a MAC extended ACL named macacl2 to an interface: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# mac access-group macacl2 in You can verify your settings by entering the show mac access-group privileged EXEC command. You can see configured ACLs on the switch by entering the show access-lists privileged EXEC command.
  • Page 350: Mac Access-List Extended

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-list extended mac access-list extended Use the mac access-list extended global configuration command 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 351 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac access-list extended Examples This example shows how to create a MAC named extended access list named mac1 and to enter extended MAC access-list configuration mode: Switch(config)# mac access-list extended mac1 Switch(config-ext-macl)#...
  • Page 352: Mac Address-Table Aging-Time

    Chapter 2 Catalyst 3750 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 353: Mac Address-Table Learning Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table learning vlan mac address-table learning vlan Use the mac address-table learning global configuration command to enable MAC address learning on a VLAN. This is the default state. Use the no form of this command to disable MAC address learning on a VLAN to control which VLANs can learn MAC addresses.
  • Page 354 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table learning vlan If you disable MAC address learning on a VLAN that includes a secure port, MAC address learning is not disabled on the secure port. If you later disable port security on the interface, the disabled MAC address learning state is enabled.
  • Page 355: Mac Address-Table Move Update

    Chapter 2 Catalyst 3750 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 356 Chapter 2 Catalyst 3750 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 debug matm move update Debugs the MAC address-table move update message processing.
  • Page 357: Mac Address-Table Notification

    Chapter 2 Catalyst 3750 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 stack. Use the no form of this command to return to the default setting.
  • Page 358 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table notification Examples This example shows how to enable the MAC address-table notification feature, set the interval time to 60 seconds, and set the history-size to 100 entries: Switch(config)# mac address-table notification...
  • Page 359: Mac Address-Table Static

    Chapter 2 Catalyst 3750 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 entries from the table.
  • Page 360: Mac Address-Table Static Drop

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static drop mac address-table static drop Use the mac address-table static drop global configuration command to enable unicast MAC address filtering and to configure the switch to drop traffic with a specific source or destination MAC address.
  • Page 361 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mac address-table static drop Examples This example shows how to enable unicast MAC address filtering and to configure the switch to drop packets that have a source or destination address of c2f3.220a.12f4. When a packet is received in VLAN 4 with this MAC address as its source or destination, the packet is dropped: Switch(config)# mac address-table static c2f3.220a.12f4 vlan 4 drop...
  • Page 362: 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 363 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 364 Chapter 2 Catalyst 3750 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 gigabitethernet1/0/4 Switch(config-if)# macro apply cisco-desktop $AVID 25 Related Commands Command...
  • Page 365: Macro Auto Execute

    [[parameter=value] { function contents }]} Note Beginning with Cisco IOS Release 12.2(50)SE, the macro auto execute command replaces the macro name command. Though not visible in the command line, the macro name command is still active. The command will become obsolete in a future Cisco IOS software release.
  • Page 366 {function (Optional) {function contents} Specify a user-defined macro to associate with the contents} trigger. Enter the macro contents within braces. Begin the Cisco IOS shell commands with the left brace and end the command grouping with the right brace. Defaults This command has no default setting.
  • Page 367 Examples This example shows how to use two built-in Auto Smartports macros for connecting Cisco switches and Cisco IP phones to the switch. This example modifies the default voice VLAN, access VLAN, and native VLAN for the trunk interface: Switch# configure terminal...
  • Page 368 CISCO_SWITCH_EVENT This example shows how to map a user-defined event trigger called Cisco Digital Media Player (DMP) to a user-defined macro. Connect the DMP to an 802.1x- or MAB-enabled switch port.
  • Page 369 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro auto execute Table 2-6 Supported Cisco IOS Shell Keywords Command Description Begin the command grouping. End the command grouping. Use as a conditional construct. Use as a conditional construct. else Use as a conditional construct.
  • Page 370: Macro Auto Global Processing

    When there is a link-down event on the port, the switch removes the macro. For example, when you connect a Cisco IP phone to a port, Auto Smartports automatically applies the IP phone macro. The IP phone macro enables quality of service (QoS), security features, and a dedicated voice VLAN to ensure proper treatment of delay-sensitive voice traffic.
  • Page 371 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro auto global processing Examples This example shows how enable Auto Smartports on the switch and to disable the feature on a specific interface: Switch(config)# macro auto global processing Switch(config)# interface interface_id...
  • Page 372: Macro Description

    Chapter 2 Catalyst 3750 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 373: 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 374 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 375 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro global Related Commands Command Description macro apply Applies a macro on an interface or applies and traces a macro on an interface. macro description Adds a description about the macros that are applied to an interface.
  • Page 376: Macro Global Description

    Chapter 2 Catalyst 3750 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 377: Syntax Description

    Beginning with Cisco IOS Release 12.2(50)SE, the macro auto execute command replaces the macro Note name command. Though not visible in the command line, the macro name command is still active. The command will become obsolete in a future Cisco IOS software release.
  • Page 378 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands macro name You can modify a macro by creating a new macro with the same name as the existing macro. The newly created macro overwrites the existing macro but does not affect the configuration of those interfaces on which the original macro was applied.
  • Page 379: Match (Access-Map Configuration)

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands match (class-map configuration) match (class-map configuration) Use the match class-map configuration command to define the match criteria to classify traffic. Use the no form of this command to remove the match criteria.
  • Page 382 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands match (class-map configuration) For the match ip dscp dscp-list or the match ip precedence ip-precedence-list command, you can enter a mnemonic name for a commonly used value. For example, you can enter the match ip dscp af11 command, which is the same as entering the match ip dscp 10 command.
  • Page 383: Mdix Auto

    Chapter 2 Catalyst 3750 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 384: Mls Qos

    Chapter 2 Catalyst 3750 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 385 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos Related Commands Command Description show mls qos Displays QoS information. Catalyst 3750 Switch Command Reference 2-355 OL-8552-07...
  • Page 386: Mls Qos Aggregate-Policer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos aggregate-policer mls qos aggregate-policer Use the mls qos aggregate-policer global configuration command 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 387 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos aggregate-policer You cannot delete an aggregate policer if it is being used in a policy map. You must first use the no police aggregate aggregate-policer-name policy-map class configuration command to delete the aggregate policer from all policy maps before using the no mls qos aggregate-policer aggregate-policer-name command.
  • Page 388: Mls Qos Cos

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos dscp-mutation mls qos dscp-mutation Use the mls qos dscp-mutation interface configuration command 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 391 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos dscp-mutation This example show how to remove the DSCP-to-DSCP-mutation map name dscpmutation1 from the port and to reset the map to the default: Switch(config-if)# no mls qos dscp-mutation dscpmutation1 You can verify your settings by entering the show mls qos maps privileged EXEC command.
  • Page 392: Mls Qos Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map mls qos map Use the mls qos map global configuration command to define the class of service (CoS)-to-Differentiated Services Code Point (DSCP) map, DSCP-to-CoS map, the DSCP-to-DSCP-mutation map, the IP-precedence-to-DSCP map, and the policed-DSCP map. Use the no form of this command to return to the default map.
  • Page 393 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map Defaults Table 2-8 shows the default CoS-to-DSCP map: Table 2-8 Default CoS-to-DSCP Map CoS Value DSCP Value Table 2-9 shows the default DSCP-to-CoS map: Table 2-9 Default DSCP-to-CoS Map...
  • Page 394 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map The default DSCP-to-DSCP-mutation map is a null map, which maps an incoming DSCP value to the same DSCP value. The default policed-DSCP map is a null map, which maps an incoming DSCP value to the same DSCP value.
  • Page 395 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos map Related Commands Command Description mls qos dscp-mutation Applies a DSCP-to-DSCP-mutation map to a DSCP-trusted port. show mls qos maps Displays quality of service (QoS) mapping information. Catalyst 3750 Switch Command Reference...
  • Page 396: Mls Qos Queue-Set Output Buffers

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output buffers mls qos queue-set output buffers Use the mls qos queue-set output buffers global configuration command 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 397 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output buffers Examples This example shows how to map a port to queue-set 2. It allocates 40 percent of the buffer space to egress queue 1 and 20 percent to egress queues 2, 3, and 4:...
  • Page 398: Mls Qos Queue-Set Output Threshold

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos queue-set output threshold mls qos queue-set output threshold Use the mls qos queue-set output threshold global configuration command 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 399 400 percent, or 4 times the allocated number of buffers. One packet can use one 1 or more buffers. The range increased in Cisco IOS Release 12.2(25)SEE1 or later for the drop-threshold, drop-threshold2, and maximum-threshold parameters.
  • Page 400: Mls Qos Rewrite Ip Dscp

    Chapter 2 Catalyst 3750 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 401 | Displays the DSCP transparency setting. For syntax information, select include rewrite Cisco IOS Release 12.2 Configuration Guides and Command References > Cisco IOS Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 402: Mls Qos Srr-Queue Input Bandwidth

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input buffers mls qos srr-queue input buffers Use the mls qos srr-queue input buffers global configuration command to allocate the buffers between the ingress queues. Use the no form of this command to return to the default setting.
  • Page 405 Chapter 2 Catalyst 3750 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 quality of service (QoS) information. Catalyst 3750 Switch Command Reference 2-375...
  • Page 406: Mls Qos Srr-Queue Input Cos-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input cos-map mls qos srr-queue input cos-map Use the mls qos srr-queue input cos-map global configuration command 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 407 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input cos-map Usage Guidelines The CoS assigned at the ingress port selects an ingress or egress queue and threshold. The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. You can assign two weighted tail-drop (WTD) threshold percentages to an ingress queue by using the mls qos srr-queue input threshold global configuration command.
  • Page 408: Mls Qos Srr-Queue Input Dscp-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input dscp-map mls qos srr-queue input dscp-map Use the mls qos srr-queue input dscp-map global configuration command 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 409 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input dscp-map Usage Guidelines The DSCP assigned at the ingress port selects an ingress or egress queue and threshold. The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. You can assign two weighted tail-drop (WTD) threshold percentages to an ingress queue by using the mls qos srr-queue input threshold global configuration command.
  • Page 410: Mls Qos Srr-Queue Input Priority-Queue

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input threshold mls qos srr-queue input threshold Use the mls qos srr-queue input threshold global configuration command 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 413 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue input threshold Related Commands Command Description mls qos srr-queue input bandwidth Assigns shaped round robin (SRR) weights to an ingress queue. mls qos srr-queue input buffers Allocates the buffers between the ingress queues.
  • Page 414: Mls Qos Srr-Queue Output Cos-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output cos-map mls qos srr-queue output cos-map Use the mls qos srr-queue output cos-map global configuration command 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 415 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mls qos srr-queue output cos-map Usage Guidelines The drop-threshold percentage for threshold 3 is predefined. It is set to the queue-full state. The egress queue default settings are suitable for most situations. You should change them only when...
  • Page 416: Mls Qos Srr-Queue Output Dscp-Map

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

    12.2(20)SE The usage guidelines were revised to describe how the switch sets the trust state when a Cisco IP Phone is connected to a switch or routed port. Usage Guidelines Packets entering a quality of service (QoS) domain are classified at the edge of the domain. When the packets are classified at the edge, the switch port within the QoS domain can be configured to one of the trusted states because there is no need to classify the packets at every switch within the domain.
  • Page 419 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 or DSCP settings. You must globally enable the Cisco Discovery Protocol (CDP) on the switch and on the port connected to the IP phone.
  • Page 420: Mls Qos Vlan-Based

    Chapter 2 Catalyst 3750 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 421: 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 422 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session untagged vlan vlan-id Accept incoming packets with untagged encapsulation with the specified VLAN as the default VLAN. vlan vlan-id When used with only the ingress keyword, set default VLAN for ingress traffic.
  • Page 423 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session You can set a combined maximum of two local SPAN sessions and RSPAN source sessions. You can have a total of 66 SPAN and RSPAN sessions on a switch or switch stack.
  • Page 424 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session When you enter monitor session session_number destination interface interface-id encapsulation • replicate with no other keywords, egress encapsulation replicates the source interface encapsulation; ingress forwarding is not enabled. (This applies to local SPAN only; RSPAN does not support encapsulation replication.)
  • Page 425: Vlan Configuration Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands monitor session Related Commands Command Description remote-span Configures an RSPAN VLAN in vlan configuration mode. show monitor Displays SPAN and RSPAN session information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 426: Mvr (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) mvr (global configuration) Use the mvr global configuration command without keywords to enable the multicast VLAN registration (MVR) feature on the switch. Use the command with keywords to set the MVR mode for a switch, configure the MVR IP multicast address, 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 427 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) Command Modes Global configuration Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines A maximum of 256 MVR multicast groups can be configured on a switch. Use the mvr group command to statically set up all the IP multicast addresses that will take part in MVR.
  • Page 428 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (global configuration) Related Commands Command Description mvr (interface configuration) Configures MVR ports. show mvr Displays MVR global parameters or port parameters. show mvr interface Displays the configured MVR interfaces with their type, status, and Immediate Leave configuration.
  • Page 429: Mvr (Interface Configuration)

    Chapter 2 Catalyst 3750 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, to set the Immediate Leave feature, and to statically assign a port to an IP multicast VLAN and IP address.
  • Page 430 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands mvr (interface configuration) Usage Guidelines Configure a port as a source port if that port should be able to both send and receive multicast data bound for the configured multicast groups. Multicast data is received on all ports configured as source ports.
  • Page 431 Chapter 2 Catalyst 3750 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 432: Network-Policy

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands network-policy network-policy Use the network-policy interface configuration command to apply a network-policy profile to an interface. Use the no form of this command to remove the policy. network-policy profile number no network-policy...
  • Page 433: Network-Policy Profile (Global Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands network-policy profile (global configuration) network-policy profile (global configuration) Use the network-policy profile global configuration command to create a network-policy profile and to enter network-policy configuration mode. Use the no form of this command to delete the policy and to return to global configuration mode.
  • Page 434 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands network-policy profile (global configuration) Related Commands Command Description network-policy Applies a network-policy to an interface. network-policy profile Configures the attributes of network-policy profiles. (network-policy configuration) show network-policy profile Displays the configured network-policy profiles.
  • Page 435: Network-Policy Profile (Network-Policy Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands network-policy profile (network-policy configuration) network-policy profile (network-policy configuration) Use the network-policy profile configuration mode command to configure the network-policy profile created by using the network-policy profile global configuration command. Use the no form of this command without additional parameters to delete a profile.
  • Page 436 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands network-policy profile (network-policy configuration) This example shows how to configure the voice application type for VLAN 100 with a priority 4 CoS: Switch(config)# network-policy profile 1 Switch(config-network-policy)#voice vlan 100 cos 4 This example shows how to configure the voice application type for VLAN 100 with a DSCP value of...
  • Page 437: Nmsp

    Usage Guidelines Use the nmsp global configuration command to enable the switch to send NMSP location and attachment notifications to a Cisco Mobility Services Engine (MSE). Examples This example shows how to enable NMSP on a switch and set the location notification time to 10...
  • Page 438 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands nmsp Related Commands Command Description clear nmsp statistics Clears the NMSP statistic counters. nmsp attachment suppress Suppresses reporting attachment information from a specified interface. show nmsp Displays the NMSP information. Catalyst 3750 Switch Command Reference...
  • Page 439: Nmsp Attachment Suppress

    Usage Guidelines Use the nmsp attachment suppress interface configuration command to configure an interface to not send location and attachment notifications to a Cisco Mobility Services Engine (MSE). Examples This example shows how to configure an interface to not send attachment information to the MSE:...
  • Page 440 Use the nsf router configuration command on the switch stack or on a standalone switch to enable and configure Cisco nonstop forwarding (NSF) for Open Shortest Path First (OSPF) or Enhanced Interior Gateway Routing Protocol (EIGRP) routing. Use the no form of this command to disable NSF.
  • Page 441: Pagp Learn-Method

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands pagp learn-method pagp learn-method Use the pagp learn-method interface configuration command to learn the source address of incoming packets received from an EtherChannel port. Use the no form of this command to return to the default setting.
  • Page 442 Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. Catalyst 3750 Switch Command Reference 2-412...
  • Page 443: Pagp Port-Priority

    Chapter 2 Catalyst 3750 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 444 Displays PAgP channel-group information. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands. Catalyst 3750 Switch Command Reference 2-414...
  • Page 445: Permit (Arp Access-List Configuration)

    Chapter 2 Catalyst 3750 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 to permit an ARP packet based on matches against the Dynamic Host Configuration Protocol (DHCP) bindings. Use the no form of this command to remove the specified access control entry (ACE) from the access control list.
  • Page 446 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (ARP access-list configuration) Command History Release Modification 12.2(20)SE 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 447: Permit (Ipv6 Access-List Configuration)

    Chapter 2 Catalyst 3750 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 448 Chapter 2 Catalyst 3750 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 449 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (IPv6 access-list configuration) fragments (Optional) Match noninitial fragmented packets where the fragment extension header contains a nonzero fragment offset. The fragments keyword is an option only if the protocol is ipv6 and the operator [port-number] arguments are not specified.
  • Page 450 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (IPv6 access-list configuration) Defaults No IPv6 access list is defined. Command Modes IPv6 access-list configuration Command History Release Modification 12.2(25)SED 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, except that it is IPv6-specific.
  • Page 451 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (IPv6 access-list configuration) This is a list of ICMP message names: beyond-scope destination-unreachable echo-reply echo-request header hop-limit mld-query mld-reduction mld-report nd-na nd-ns next-header no-admin no-route packet-too-big parameter-option parameter-problem port-unreachable reassembly-timeout renum-command...
  • Page 452 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands permit (IPv6 access-list configuration) Related Commands Command Description ipv6 access-list Defines an IPv6 access list and enters IPv6 access list configuration mode. ipv6 traffic-filter Filters incoming or outgoing IPv6 traffic on an interface.
  • Page 453: Permit (Mac Access-List Configuration)

    Chapter 2 Catalyst 3750 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 454 Chapter 2 Catalyst 3750 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 455 Chapter 2 Catalyst 3750 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 456: Police

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police police Use the police policy-map class configuration command to define a policer for classified traffic. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded. Use the no form of this command to remove an existing policer.
  • Page 457 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands police Policing uses a token-bucket algorithm. You configure the bucket depth (the maximum burst that is tolerated before the bucket overflows) by using the burst-byte option of the police policy-map class configuration command or the mls qos aggregate-policer global configuration command. You...
  • Page 458: Police Aggregate

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

    Chapter 2 Catalyst 3750 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 physical ports or switch virtual interfaces (SVIs) and to enter policy-map configuration mode.
  • Page 461 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands policy-map Only one policy map per ingress port or SVI is supported. You can apply the same policy map to multiple physical ports or SVIs. You can apply a nonhierarchical policy maps to physical ports or to SVIs. However, you can only apply a hierarchical policy map to SVIs.
  • Page 462 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands policy-map This example shows how to create a hierarchical policy map and attach it to an SVI: Switch(config)# class-map cm-non-int Switch(config-cmap)# match access-group 101 Switch(config-cmap)# exit Switch(config)# class-map cm-non-int-2 Switch(config-cmap)# match access-group 102...
  • Page 463: Port-Channel Load-Balance

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands port-channel load-balance port-channel load-balance Use the port-channel load-balance global configuration command 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 464 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands port-channel load-balance Related Commands Command Description interface port-channel Accesses or creates the port channel. show etherchannel Displays EtherChannel information for a channel. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 465: Power Inline

    Use the max max-wattage option to disallow higher-power powered devices. With this configuration, when the powered device sends Cisco Discovery Protocol (CDP) messages requesting more power than the maximum wattage, the switch removes power from the port. If the powered-device IEEE class maximum is greater than the maximum wattage, the switch does not power the device.
  • Page 466 If a port has a Cisco powered device connected to it, you should not use the power inline never command to configure the port. A false link-up can occur on the port, placing it into an error-disabled state.
  • Page 467 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands power inline Related Commands Command Description logging event Enables the logging of PoE events. power-inline-status show controllers Displays the values in the registers of the specified PoE controller. power inline show power inline Displays the PoE status for the specified PoE port or for all PoE ports.
  • Page 468: Power Inline Consumption

    This command was introduced. Usage Guidelines When Cisco powered devices are connected to PoE ports, the switch uses Cisco Discovery Protocol (CDP) to determine the actual power consumption of the devices, and the switch adjusts the power budget accordingly. This does not apply to IEEE third-party powered devices. For these devices, when the switch grants a power request, the switch adjusts the power budget according to the powered-device IEEE classification.
  • Page 469 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands power inline consumption You should carefully plan your switch power budget and make certain not to oversubscribe the power Caution supply. When you enter the power inline consumption default wattage or the no power inline consumption default global configuration command, or the power inline consumption wattage or the no power inline consumption interface configuration command, this caution message appears.
  • Page 470: Priority-Queue

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan private-vlan Use the private-vlan VLAN configuration command 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 473 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan You can associate a secondary (isolated or community) VLAN with only one primary VLAN. A primary VLAN can have one isolated VLAN and multiple community VLANs associated with it. • A secondary VLAN cannot be configured as a primary VLAN.
  • Page 474 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan Examples This example shows how to configure VLAN 20 as a primary VLAN, VLAN 501 as an isolated VLAN, and VLANs 502 and 503 as community VLANs, and to associate them in a private VLAN:...
  • Page 475: Private-Vlan Mapping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands private-vlan mapping private-vlan mapping Use the private-vlan mapping interface configuration command on a switch virtual interface (SVI) to create a mapping between a private-VLAN primary and secondary VLANs so that both VLANs share the same primary VLAN SVI.
  • Page 476 Chapter 2 Catalyst 3750 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 Switch(config-vlan)# end...
  • Page 477: Queue-Set

    Chapter 2 Catalyst 3750 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 478: Radius-Server Dead-Criteria

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands radius-server dead-criteria radius-server dead-criteria Use the radius-server dead-criteria global configuration command to configure the conditions that determine when a RADIUS server is considered unavailable or dead. Use the no form of this command to return to the default settings.
  • Page 479 Specifies the number of times that the switch tries to reach the RADIUS servers before considering the servers to be unavailable. For syntax information, select Cisco IOS Security Command Reference, Release 12.2 > Server Security Protocols > RADIUS Commands.
  • Page 480: Radius-Server Host

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands radius-server host radius-server host Use the radius-server host global configuration command to configure the RADIUS server parameters, including the RADIUS accounting and authentication. Use the no form of this command to return to the default settings.
  • Page 481 {0 string | 7 string Sets the authentication and encryption key for all RADIUS | string} communications between the router and the RADIUS daemon. For syntax information, select Cisco IOS Security Command Reference, Release 12.2 > Server Security Protocols > RADIUS Commands. show running-config Displays the running configuration on the switch.
  • Page 482: Rcommand

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reload reload Use the reload privileged EXEC command to reload the stack member and to put a configuration change into effect. reload [LINE | at | cancel | in | slot stack-member-number | standby-cpu]...
  • Page 485 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reload Related Commands Command Description rcommand Accesses a specific stack member. switch Changes the stack member priority value. switch renumber Changes the stack member number. show switch Displays information about the switch stack and its stack members.
  • Page 486: Remote Command

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote command remote command Use the remote command privileged EXEC command to monitor all or specified stack members. remote command {all | stack-member-number} LINE Syntax Description Apply to all stack members. stack-member-number Specify the stack member.
  • Page 487 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote command Related Commands Command Description reload Accesses a specific stack member. switch Changes the stack member priority value. switch renumber Changes the stack member number. show switch Displays information about the switch stack and its stack members.
  • Page 488: Remote-Span

    Chapter 2 Catalyst 3750 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 489 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands remote-span Examples This example shows how to configure a VLAN as an RSPAN VLAN. Switch(config)# vlan 901 Switch(config-vlan)# remote-span This example shows how to remove the RSPAN feature from a VLAN. Switch(config)# vlan 901 Switch(config-vlan)# no remote-span You can verify your settings by entering the show vlan remote-span user EXEC command.
  • Page 490: Renew Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 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[number]:/filename |...
  • Page 491 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands renew ip dhcp snooping database Related Commands Command Description ip dhcp snooping Enables DHCP snooping on a VLAN. ip dhcp snooping binding Configures the DHCP snooping binding database. show ip dhcp snooping database Displays the status of the DHCP snooping database agent.
  • Page 492: Reserved-Only

    Chapter 2 Catalyst 3750 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 493 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reserved-only Related Commands Command Description show ip dhcp pool Displays the DHCP address pools. Catalyst 3750 Switch Command Reference 2-463 OL-8552-07...
  • Page 494 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands reserved-only Catalyst 3750 Switch Command Reference 2-464 OL-8552-07...
  • Page 495: Rmon Collection Stats

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

    Use a template to provide maximum system usage for unicast routing or for VLAN configuration, to change an aggregator template (Catalyst 3750-12S only) to a desktop template, or to select the dual IPv4 and IPv6 template to support IPv6 forwarding. Use the no form of this command to return to the default template.
  • Page 497 SDM mismatch mode. If you add a Catalyst 3750-12S switch that is running the aggregator template to a stack that has a • desktop switch as the master, the stack operates with the desktop template selected on the master.
  • Page 498 Chapter 2 Catalyst 3750 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 [desktop] global configuration command prevents other features from using the memory allocated to unicast routing in the routing template.
  • Page 499 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands sdm prefer Table 2-18 Approximate Feature Resources Allowed by Dual IPv4-IPv6 Templates (continued) Desktop IPv4-and-IPv6 Templates Aggregator IPv4-and-IPv6 Templates Resource Default Routing VLAN Default Routing VLAN IPv4 policy-based routing ACEs IPv4 or MAC QoS ACEs (total)
  • Page 500: Service Password-Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service password-recovery service password-recovery Use the service password-recovery global configuration command 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 bootup process while the switch is powering up and to assign a new password.
  • Page 501 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service password-recovery from the switch in case the end user uses the password recovery procedure and sets the system back to default values. Do not keep a backup copy of the config file on the switch.
  • Page 502: Service-Policy

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service-policy service-policy Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input of a physical port or a switch virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
  • Page 503 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service-policy Examples This example shows how to apply plcmap1 to an physical ingress port: Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# service-policy input plcmap1 This example shows how to remove plcmap2 from a physical port:...
  • Page 504 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands service-policy Related Commands Command Description policy-map Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. show policy-map Displays QoS policy maps. show running-config Displays the running configuration on the switch.
  • Page 505: Session

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands session session Use the session privileged EXEC command on the stack master to access a specific stack member or to access the controller on a Catalyst 3750G Integrated Wireless LAN Controller Switch.
  • Page 506 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands session Related Commands Command Description reload Reloads the member and puts a configuration change into effect. switch Changes the member priority value. switch renumber Changes the member number. show switch Displays information about the stack and its members.
  • Page 507 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated Services Code Point (DSCP) or an IP-precedence value in the packet. Use the no form of this command to remove traffic classification.
  • Page 508 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command. Examples This example shows how to assign DSCP 10 to all FTP traffic without any policers:...
  • Page 509: Setup

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup setup Use the setup privileged EXEC command to configure the switch with its initial configuration. setup Syntax Description This command has no arguments or keywords. Command Modes Privileged EXEC Command History...
  • Page 510 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup Would you like to enter basic management setup? [yes/no]: yes Configuring global parameters: 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 511 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup cluster enable cluster-name Use this configuration? [yes/no]: yes [0] Go to the IOS command prompt without saving this config. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit.
  • Page 512: Setup Express

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup express setup express Use the setup express global configuration command to enable Express Setup mode. 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 513 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands setup express You can verify that Express Setup mode is enabled by pressing the Mode button: On an unconfigured switch, the LEDs above the Mode button turn solid green after 3 seconds.
  • Page 514: Cisco_Phone_Event

    Use this command to create user-defined event triggers for use with the macro auto execute global configuration command. To support dynamic device discovery when using 802.1x authentication, configure the RADIUS authentication server to support the Cisco attribute-value (av) pair: auto-smart-port=event trigger Examples This example shows how to create a user-defined event trigger called RADIUS_MAB_EVENT:...
  • Page 515 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands shell trigger Related Commands Command Description macro auto global processing Enables Auto Smartports on a switch. macro auto execute Configure mapping from an event trigger to a built-in macro. show shell Displays information about event triggers and macros.
  • Page 516: Show Access-Lists

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

    Chapter 2 Catalyst 3750 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 the TFTP protocol.
  • Page 520: Show Arp Access-List

    Chapter 2 Catalyst 3750 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). show arp access-list [acl-name] [ | {begin | exclude | include} expression]...
  • Page 521: Show Authentication

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show authentication show authentication Use the show authentication command (in either user EXEC or privileged EXEC mode) to display information about authentication manager events on the switch. show authentication {interface interface-id | registrations | sessions [session-id session-id]...
  • Page 522 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show authentication Table 2-19 show authentication Command Output (continued) Field Description Authc Success A method has resulted in authentication success for this session. Authc Failed A method has resulted in authentication fail for this session.
  • Page 523 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show authentication This is an examle of the show authentication sessions command for a specified interface: Switch# show authentication sessions int gi 3/46 Interface: GigabitEthernet3/46 MAC Address: Unknown IP Address: Unknown Status:...
  • Page 524 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show authentication Command Description authentication Enables manual control of the port authorization state. port-control authentication Adds an authentication method to the port-priority list. priority authentication timer Configures the timeout and reauthentication parameters for an 802.1x-enabled port.
  • Page 525: 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 GigabitEthernet2/0/4 auto qos voip cisco-softphone...
  • Page 526 GigabitEthernet2/0/5 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 527 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos mls qos queue-set output 2 buffers 24 20 26 30 mls qos class-map match-all AutoQoS-VoIP-RTP-Trust match ip dscp ef class-map match-all AutoQoS-VoIP-Control-Trust match ip dscp cs3 af31 policy-map AutoQoS-Police-SoftPhone...
  • Page 528 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show auto qos service-policy input AutoQoS-Police-CiscoPhone <output truncated> This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered: Switch>...
  • Page 529: Show Boot

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show boot show boot Use the show boot privileged EXEC command to display the settings of the boot environment variables. show boot [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 530 Config file Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. Private Config file Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration.
  • Page 531: Show Cable-Diagnostics Tdr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr show cable-diagnostics tdr Use the show cable-diagnostics tdr privileged EXEC command to display the Time Domain Reflector (TDR) results. show cable-diagnostics tdr interface interface-id [ | {begin | exclude | include} expression]...
  • Page 532 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr This is an example of output from the show cable-diagnostics tdr interface interface-id command on a Catalyst 3750G-24PS or 3750G-48PS switch: Switch# show cable-diagnostics tdr interface gigabitethernet1/0/2 TDR test last run on: March 01 20:15:40...
  • Page 533 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cable-diagnostics tdr If an interface does not support TDR, this message appears: % TDR test is not supported on switch 1 Related Commands Command Description test cable-diagnostics tdr Enables and runs TDR on an interface.
  • Page 534: Show Cisp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cisp show cisp Use the show cisp privileged EXEC command to display CISP information for a specified interface. show cisp {[interface interface-id] | clients | summary} | {[begin | exclude | include} expression]}...
  • Page 535: Show Class-Map

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster show cluster Use the show cluster user EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on the cluster command switch and cluster member switches.
  • Page 537: Show Cluster Candidates

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster This is an example of output when the show cluster command is entered on a cluster member switch: Switch1> show cluster Member switch for cluster “hapuna” Member number: Management IP address: 192.192.192.192...
  • Page 538: Modification This Command Was Introduced

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster candidates This is an example of output from the show cluster candidates command that uses the MAC address of a cluster member switch directly connected to the cluster command switch: Switch>...
  • Page 540: Command Modes Privileged Exec

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster members show cluster members Use the show cluster members privileged EXEC command to display information about the cluster members. show cluster members [n | detail] [ | {begin | exclude | include} expression] Syntax Description (Optional) Number that identifies a cluster member.
  • Page 541 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show cluster members This is an example of output from the show cluster members detail command: Switch# show cluster members detail Device 'StLouis1' with member number 0 (Command Switch) Device type: cisco WS-C3750 MAC address: 0002.4b29.2e00...
  • Page 542: Show Controllers Cpu-Interface

    12.1(11)AX This command was introduced. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
  • Page 543: Show Controllers Ethernet-Controller

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers cpu-interface queue 2 maxrecevsize 5EE pakhead 1470D40 paktail 1470FE4 queue 3 maxrecevsize 5EE pakhead 19CDDD0 paktail 19D02C8 <output truncated> Supervisor ASIC Mic Registers ------------------------------ MicDirectPollInfo 80000800 MicIndicationsReceived 00000000 MicInterruptsReceived 00000000...
  • Page 544: User Exec Mode

    This display without keywords provides traffic statistics, basically the RMON statistics for all interfaces or for the specified interface. When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
  • Page 545 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Examples This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-23 describes the Transmit fields, and Table 2-24 describes the Receive fields.
  • Page 546 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-23 Transmit Field Descriptions (continued) Field Description 5 collision frames The number of frames that are successfully sent on an interface after five collisions occur. 6 collision frames The number of frames that are successfully sent on an interface after six collisions occur.
  • Page 547 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-24 Receive Field Descriptions (continued) Field Description Unicast bytes The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits.
  • Page 548 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Table 2-24 Receive Field Descriptions (continued) Field Description System FCS error frames The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values.
  • Page 549 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller To determine which version of the XENPAK documentation to read, check the XENPAK MSA Version supported field in the display. Version 2.1 is 15 hexadecimal, and Version 3.0 is 1e hexadecimal.
  • Page 550 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller Vendor Specific : 0x00:41 00 20 F4 88 84 28 94 C0 00 30 14 06 39 00 D9 0x10:03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
  • Page 551 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers ethernet-controller 0 RxQ-1, wt-0 enqueue frames 0 RxQ-1, wt-0 drop frames 296 RxQ-1, wt-1 enqueue frames 0 RxQ-1, wt-1 drop frames 2836036 RxQ-1, wt-2 enqueue frames 0 RxQ-1, wt-2 drop frames...
  • Page 552: Show Controllers Power Inline

    This command was introduced. Usage Guidelines For the Catalyst 3750-48PS switches, the instance range is 0 to 11. For the Catalyst 3750-24PS switches, the instance range is 0 to 5. For the Catalyst 3750G-48PS switches, the instance range is 0 to 2. For instances other than 0 to 2, the switches provides no output.
  • Page 553 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers power inline Examples This is an example of output from the show controllers power inline command on a switch other than a Catalyst 3750G-48PS or 3750G-24PS switch: Switch> show controllers power inline...
  • Page 554: Show Controllers Tcam

    The asic [number] keywords were added. Usage Guidelines This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch. Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
  • Page 555 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers tcam HRR0: 00000000_E000CAFC HRR1: 00000000_00000000 HRR2: 00000000_00000000 HRR3: 00000000_00000000 HRR4: 00000000_00000000 HRR5: 00000000_00000000 HRR6: 00000000_00000000 HRR7: 00000000_00000000 <output truncated> GMR31: FF_FFFFFFFF_FFFFFFFF GMR32: FF_FFFFFFFF_FFFFFFFF GMR33: FF_FFFFFFFF_FFFFFFFF ============================================================================= TCAM related PortASIC 1 registers...
  • Page 556: Show Controllers Utilization

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers utilization show controllers utilization Use the show controllers utilization user EXEC command to display bandwidth utilization on the switch or specific ports. show controllers [interface-id] utilization [ | {begin | exclude | include} expression]...
  • Page 557 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show controllers utilization This is an example of output from the show controllers utilization command on a specific port: Switch> show controllers gigabitethernet1/0/1 utilization Receive Bandwidth Percentage Utilization Transmit Bandwidth Percentage Utilization...
  • Page 558: Show Diagnostic

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show diagnostic show diagnostic Use the show diagnostic user EXEC command to view the test results of the online diagnostics and to list the supported test suites. show diagnostic content switch [num | all] [ | {begin | exclude | include} expression]...
  • Page 559 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show diagnostic Command History Release Modification 12.2(25)SEE This command was introduced. Usage Guidelines If you do not enter a switch num, information for all switches is displayed. In the command output, the possible testing results are as follows: Passed (.)
  • Page 560 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show diagnostic This example shows how to display the online diagnostic test status: Switch# show diagnostic status <BU> - Bootup Diagnostics, <HM> - Health Monitoring Diagnostics, <OD> - OnDemand Diagnostics, <SCH> - Scheduled Diagnostics...
  • Page 561: Show Dot1Q-Tunnel

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1q-tunnel show dot1q-tunnel Use the show dot1q-tunnel user EXEC command to display information about IEEE 802.1Q tunnel ports. show dot1q-tunnel [interface interface-id] [ | {begin | exclude | include} expression] Syntax Description interface interface-id (Optional) Specify the interface for which to display IEEE 802.1Q tunneling...
  • Page 562: Show Dot1X

    The command syntax was changed, and the command output was modified. 12.2(35)SE The display was expanded to include the status of a port that is configured as both a host and an IP phone (a Cisco IP phone or phone from another manufacturer). Usage Guidelines If you do not specify a port, global parameters and a summary appear.
  • Page 563 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x Examples This is an example of output from the show dot1x user EXEC command: Switch> show dot1x Sysauthcontrol Enabled Dot1x Protocol Version Critical Recovery Delay Critical EAPOL Disabled This is an example of output from the show dot1x all user EXEC command: Switch>...
  • Page 564 This is an example of output from the show dot1x interface interface-id details commmand when a port is configured as both a host and an IP phone (a Cisco IP phone or phone from another manufacturer). The HostMode field shows...
  • Page 565 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x SuppTimeout = 30 ReAuthPeriod = 3600 (Locally configured) ReAuthMax = 2 MaxReq = 2 TxPeriod = 1 RateLimitPeriod = 0 Mac-Auth-Bypass = Enabled Critical-Auth = Enabled Critical Recovery Action = Reinitialize...
  • Page 566 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dot1x Table 2-26 show dot1x statistics Field Descriptions (continued) Field Description TxTotal Number of Extensible Authentication Protocol over LAN (EAPOL) frames of any type that have been sent. RxVersion Number of received packets in the IEEE 802.1x Version 1 format.
  • Page 567: Show Dtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dtp show dtp Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information for the switch or for a specified interface. show dtp [interface interface-id] [ | {begin | exclude | include} expression]...
  • Page 568 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show dtp Statistics ---------- 3160 packets received (3160 good) 0 packets dropped 0 nonegotiate, 0 bad version, 0 domain mismatches, 0 bad TLVs, 0 other 6320 packets output (6320 good) 3160 native, 3160 software encap isl, 0 isl hardware native...
  • Page 569: Show Eap

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show eap show eap Use the show eap privileged EXEC command to display Extensible Authentication Protocol (EAP) registration and session information for the switch or for the specified port. show eap {{registrations [method [name] | transport [name]]} | {sessions [credentials name...
  • Page 570 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show eap Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output appear. Examples This is an example of output from the show eap registrations privileged EXEC command: Switch>...
  • Page 571 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show eap This is an example of output from the show eap sessions interface interface-id privileged EXEC command: Switch# show eap sessions gigabitethernet1/0/1 Role: Authenticator Decision: Fail Lower layer: Dot1x-AuthenticaInterface: Gi1/0/1 Current method:...
  • Page 572: Show Energywise

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show energywise show energywise Use the show energywise privileged EXEC command to display the EnergyWise settings, the status of the entity, and the status of the power over Ethernet (PoE) ports. show energywise neighbors [categories | children | domain | events | level [children | current...
  • Page 573 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show energywise Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Examples...
  • Page 574 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show energywise Switch# show energywise level current Interface Name Level Value --------- ---- ----- ----- lobby.1 558.0 (W) Switch# show energywise level current children Interface Name Level Value --------- ---- ----- ----- lobby.1...
  • Page 575 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show energywise Switch# show energywise usage child Interface Name Usage Caliber --------- ---- _____ _______ lobby.1 558.0 (W) Gi1/0/1 Gi1.0.1 presumed Gi1/0/2 Gi1.0.2 presumed Gi1/0/3 Gi1.0.3 presumed Gi1/0/4 Gi1.0.4 presumed Gi1/0/5 Gi1.0.5 presumed <output truncated>...
  • Page 576: Show Env

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env show env Use the show env user EXEC command to display fan, temperature, redundant power system (RPS) availability, and power information for the switch being accessed (standalone switch or stack master or stack member).
  • Page 577 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env On a Catalyst 3750G-48PS or 3750G-24PS switch, you can also use the show env temperature command to display the switch temperature status. The command output shows the green and yellow states as OK and the red state as FAULTY.
  • Page 578 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show env FAN is OK TEMPERATURE is OK POWER is OK RPS is NOT PRESENT This example shows how to display the temperature value, state, and the threshold values. Table 2-27 describes the temperature states in the command output.
  • Page 579: Show Errdisable Detect

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable detect loopback Enabled port lsgroup Enabled port pagp-flap Enabled port psecure-violation Enabled port/vlan security-violatio Enabled port sfp-config-mismat Enabled port storm-control Enabled port udld Enabled port vmps Enabled port Related Commands...
  • Page 581 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable flap-values show errdisable flap-values Use the show errdisable flap-values user EXEC command to display conditions that cause an error to be recognized for a cause. show errdisable flap-values [ | {begin | exclude | include} expression]...
  • Page 582: Show Errdisable Recovery

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable flap-values Related Commands Command Description errdisable detect cause Enables error-disabled detection for a specific cause or all causes. show errdisable detect Displays error-disabled detection status. show errdisable recovery Displays error-disabled recovery timer information.
  • Page 583 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable recovery show errdisable recovery Use the show errdisable recovery user EXEC command to display the error-disabled recovery timer information. show errdisable recovery [ | {begin | exclude | include} expression]...
  • Page 584 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show errdisable recovery Timer interval:300 seconds Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) --------- ----------------- -------------- Gi1/0/2 link-flap Though visible in the output, the unicast-flood field is not valid.
  • Page 585: Show Etherchannel

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show fallback profile show fallback profile Use the show fallback profile privileged EXEC command to display the fallback profiles that are configured on a switch. show fallback profile [append | begin | exclude | include | { [redirect | tee] url} expression]...
  • Page 589 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show fallback profile Related Commands Command Description dot1x fallback profile Configure a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication. fallback profile profile Create a web authentication fallback profile.
  • Page 590: Show Flowcontrol

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show idprom show idprom Use the show idprom user EXEC command to display the IDPROM information for the specified interface. show idprom {interface interface-id} [detail] [ | {begin | exclude | include} expression]...
  • Page 593 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show idprom To determine which version of the XENPAK documentation to read, check the XENPAK MSA Version supported field in the display. Version 2.1 is 15 hexadecimal, and Version 3.0 is 1E hexadecimal (not shown in the example).
  • Page 594 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show idprom Vendor Specific : 0x00:41 00 20 F4 88 84 28 94 C0 00 30 14 06 39 00 D9 0x10:03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
  • Page 595: 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 596 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces tengigabitethernet Display the status of a connected ten-gigabit module. transceiver [detail | (Optional) Display the physical properties of a CWDM or DWDM small properties] form-factor (SFP) module interface. The keywords have these meanings: detail—(Optional) Display calibration properties, including high and low...
  • Page 597 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Use the show interfaces switchport module number command to display the switch port • characteristics of all interfaces on that switch in the stack. If there is no switch with that module number in the stack, there is no output.
  • Page 598 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces capabilities command for an interface. Switch# show interfaces gigabitethernet1/0/2 capabilities GigabitEthernet1/0/2 Model: WS-C3750G-24TS Type: 10/100/1000BaseTX Speed: 10,100,1000,auto Duplex: full,auto Trunk encap. type: 802.1Q,ISL...
  • Page 599 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces interface-id pruning command when pruning is enabled in the VTP domain: Switch# show interfaces gigibitethernet1/0/2 pruning Port Vlans pruned for lack of request by neighbor...
  • Page 600 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Name: Gi1/0/1 Switchport: Enabled Administrative Mode: dynamic auto Operational Mode: static access Administrative Trunking Encapsulation: negotiate Operational Trunking Encapsulation: native Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default)
  • Page 601 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Table 2-28 show interfaces switchport Field Descriptions (continued) Field Description Administrative private-vlan Displays the administrative VLAN association for host-association private-VLAN host ports. Administrative private-vlan mapping Displays the administrative VLAN mapping for private-VLAN promiscuous ports.
  • Page 602 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces This is an example of output from the show interfaces switchport backup command. In this example, VLANs 1 to 50, 60, and 100 to 120 are configured on the switch:...
  • Page 603 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Port Vlans allowed and active in management domain Gi1/0/1 Port Vlans in spanning tree forwarding state and not pruned Gi1/0/1 This is an example of output from the show interfaces interface-id transceiver properties command:...
  • Page 604 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces ITU Channel not available (Wavelength not available), Transceiver is internally calibrated. mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable. ++ : high alarm, + : high warning, - : low warning, -- : low alarm.
  • Page 605 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces Command Description switchport private-vlan Defines private-VLAN association for a host port or private-VLAN mapping for a promiscuous port. switchport protected Isolates unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch.
  • Page 606: Show Interfaces Counters

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters show interfaces counters Use the show interfaces counters privileged EXEC command to display various counters for the switch or for a specific interface. show interfaces [interface-id | vlan vlan-id] counters [errors | etherchannel | module switch-...
  • Page 607 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters Examples This is an example of partial output from the show interfaces counters command. It displays all counters for the switch. Switch# show interfaces counters Port InOctets InUcastPkts InMcastPkts...
  • Page 608 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show interfaces counters This is an example of output from the show interfaces counters trunk command. It displays trunk counters for all interfaces. Switch# show interfaces counters trunk Port TrunkFramesTx TrunkFramesRx WrongEncap...
  • Page 609: Show Inventory

    Chapter 2 Catalyst 3750 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] [ | {begin | exclude | include} expression]...
  • Page 610: Show Ip Arp Inspection

    Chapter 2 Catalyst 3750 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 611 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip arp inspection Examples This is an example of output from the show ip arp inspection command Switch# show ip arp inspection Source Mac Validation : Disabled Destination Mac Validation : Disabled...
  • Page 612 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip arp inspection Gi1/0/1 0001.c940.1115 173.1.1.2 DHCP Deny 19:39:07 UTC Mon Mar 1 1993 Gi1/0/1 0001.c940.1116 173.1.1.3 DHCP Deny 19:39:08 UTC Mon Mar 1 1993 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.
  • Page 613 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip arp inspection This is an example of output from the show ip arp inspection vlan 5 command. It shows the configuration and the operating state of dynamic ARP inspection for VLAN 5.
  • Page 614: Show Ip Dhcp Snooping

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping show ip dhcp snooping Use the show ip dhcp snooping user EXEC command to display the DHCP snooping configuration. show ip dhcp snooping [ | {begin | exclude | include} expression]...
  • Page 615: Show Ip Dhcp Snooping Binding

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding show ip dhcp snooping binding Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding database and configuration information for all interfaces on a switch.
  • Page 616 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding This example shows how to display the DHCP snooping binding entries for a specific IP address: Switch> show ip dhcp snooping binding 10.1.2.150 MacAddress IpAddress Lease(sec) Type...
  • Page 617 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping binding Related Commands Command Description ip dhcp snooping binding Configures the DHCP snooping binding database show ip dhcp snooping Displays the DHCP snooping configuration. Catalyst 3750 Switch Command Reference...
  • Page 618: Show Ip Dhcp Snooping Database

    Chapter 2 Catalyst 3750 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. show ip dhcp snooping database [detail] [ | {begin | exclude | include} expression]...
  • Page 619 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping database This is an example of output from the show ip dhcp snooping database detail command: Switch# show ip dhcp snooping database detail Agent URL : tftp://10.1.1.1/directory/file Write delay Timer : 300 seconds...
  • Page 620: Show Ip Dhcp Snooping Statistics

    Chapter 2 Catalyst 3750 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] [ | {begin | exclude | include} expression]...
  • Page 621 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping statistics Table 2-30 shows the DHCP snooping statistics and their descriptions: Table 2-30 DHCP Snooping Statistics DHCP Snooping Statistic Description Packets Processed by DHCP Snooping Total number of packets handled by DHCP snooping, including forwarded and dropped packets.
  • Page 622 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip dhcp snooping statistics Table 2-30 DHCP Snooping Statistics (continued) DHCP Snooping Statistic Description Reply output port equal to input port Number of times the output port for a DHCP reply packet is the same as the input port, causing a possible loop.
  • Page 623: Show Ip Igmp Profile

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping show ip igmp snooping Use the show ip igmp snooping user EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN.
  • Page 625 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping TCN flood query count Last member query interval : 100 Vlan 1: -------- IGMP snooping :Enabled Immediate leave :Disabled Multicast router learning mode :pim-dvmrp Source only learning age timer...
  • Page 626: Show Ip Igmp Snooping Groups

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping Command Description ip igmp snooping vlan mrouter Adds a multicast router port or configures the multicast learning method. ip igmp snooping vlan static Statically adds a Layer 2 port as a member of a multicast group.
  • Page 627 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping groups show ip igmp snooping groups Use the show ip igmp snooping groups privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping multicast table for the switch or the multicast information. Use with the vlan keyword to display the multicast table for a specified multicast VLAN or specific multicast information.
  • Page 628: Show Ip Igmp Snooping Mrouter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping groups Examples This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch. Switch# show ip igmp snooping groups...
  • Page 629 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping mrouter show ip igmp snooping mrouter Use the show ip igmp snooping mrouter privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN.
  • Page 630 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping mrouter Related Commands Command Description ip igmp snooping Enables IGMP snooping on the switch or on a VLAN. ip igmp snooping vlan mrouter Adds a multicast router port.
  • Page 631: Show Ip Igmp Snooping Querier

    Chapter 2 Catalyst 3750 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 632 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip igmp snooping querier Examples This is an example of output from the show ip igmp snooping querier command: Switch> show ip igmp snooping querier Vlan IP Address IGMP Version Port --------------------------------------------------- 172.20.50.11...
  • Page 633: Show Ip Source Binding

    Chapter 2 Catalyst 3750 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 634 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip source binding Related Commands Command Description ip dhcp snooping binding Configures the DHCP snooping binding database. ip source binding Configures static IP source bindings on the switch. Catalyst 3750 Switch Command Reference...
  • Page 635: Show Ip Verify Source

    Chapter 2 Catalyst 3750 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 636 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ip verify source On the Gigabit Ethernet 4 interface, IP source guard with source IP and MAC address filtering is • enabled, and static IP source bindings are configured on VLANs 10 and 11. For VLANs 12 to 20, the default port ACL is applied on the interface for the VLANs on which IP source guard is not configured.
  • Page 637: Show Ipc

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc show ipc Use the show ipc user EXEC command to display Interprocess Communications Protocol (IPC) configuration, status, and statistics on a switch stack or a standalone switch. show ipc {mcast {appclass | groups | status} | nodes | ports [open] | queue | rpc | session {all |...
  • Page 638 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc Usage Guidelines Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear. Examples This example shows how to display the IPC routing status: Switch>...
  • Page 639 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc There are 0 IPC messages waiting for additional fragments. There are 0 IPC messages currently on the IPC inboundQ. Messages currently in use Message cache size 1000 Maximum message cache usage...
  • Page 640 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipc Related Commands Command Description clear ipc Clears the IPC multicast routing statistics. Catalyst 3750 Switch Command Reference 2-610 OL-8552-07...
  • Page 641: Show Ipv6 Access-List

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipv6 access-list show ipv6 access-list Use the show ipv6 access-list user EXEC command to display the contents of all current IPv6 access lists. show ipv6 access-list [access-list-name] Note This command is available only if and you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
  • Page 642 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipv6 access-list Table 2-31 show ipv6 access-list Field Descriptions (continued) Field Description An equal operand that compares the source or destination ports of TCP or UDP packets. bgp (matches) Border Gateway Protocol. The protocol type that the packet is equal to and the number of matches.
  • Page 643: Show Ipv6 Dhcp Conflict

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

    Chapter 2 Catalyst 3750 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 645 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipv6 mld snooping Vlan 100: -------- MLD snooping : Disabled MLDv1 immediate leave : Disabled Explicit host tracking : Enabled Multicast router learning mode : pim-dvmrp Robustness variable Last listener query count...
  • Page 646: Show Ipv6 Mld Snooping Address

    Chapter 2 Catalyst 3750 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 647 Chapter 2 Catalyst 3750 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 648: Show Ipv6 Mld Snooping Mrouter

    Chapter 2 Catalyst 3750 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 649 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipv6 mld snooping mrouter This is an example of output from the show ipv6 mld snooping mrouter vlan command. It shows multicast router ports for a specific VLAN. Switch> show ipv6 mld snooping mrouter vlan 100...
  • Page 650: Show Ipv6 Mld Snooping Querier

    Chapter 2 Catalyst 3750 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 651 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show ipv6 mld snooping querier Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
  • Page 652: Show Ipv6 Route Updated

    Chapter 2 Catalyst 3750 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 653 Displays the current contents of the IPv6 routing table. For syntax information, select Cisco IOS Software > Command References for the Cisco IOS Software Releases 12.3 Mainline > Cisco IOS IPv6 Command Reference > IPv6 Commands: show ipv6 nat translations...
  • Page 654: Show L2Protocol-Tunnel

    Chapter 2 Catalyst 3750 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. Displays information for interfaces with protocol tunneling enabled. show l2protocol-tunnel [interface interface-id] [summary] [ | {begin | exclude | include}...
  • Page 655 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show l2protocol-tunnel Examples This is an example of output from the show l2protocol-tunnel command: Switch> show l2protocol-tunnel COS for Encapsulated Packets: 5 Drop Threshold for Encapsulated Packets: 0 Port Protocol Shutdown Drop...
  • Page 656 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show l2protocol-tunnel Related Commands Command Description clear l2protocol-tunnel counters Clears counters for protocol tunneling ports. l2protocol-tunnel Enables Layer 2 protocol tunneling for CDP, STP, or VTP packets on an interface. l2protocol-tunnel cos Configures a class of service (CoS) value for tunneled Layer 2 protocol packets.
  • Page 657: Show Lacp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp show lacp Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information. show lacp [channel-group-number] {counters | internal | neighbor | sys-id} [ | {begin | exclude |...
  • Page 658 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp Gi2/0/1 Gi2/0/2 Table 2-32 show lacp counters Field Descriptions Field Description LACPDUs Sent and Recv The number of LACP packets sent and received by a port. Marker Sent and Recv The number of LACP marker packets sent and received by a port.
  • Page 659 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show lacp Table 2-33 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. The administrative key defines the ability of a port to aggregate with other ports.
  • Page 660 Chapter 2 Catalyst 3750 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 661: Show Location

    Chapter 2 Catalyst 3750 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 | [ | {begin | exclude | include} expression] show location civic-location {identifier id number | interface interface-id | static } | {begin |...
  • Page 662 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show location Room : C6 Primary road name : Cisco Way City : San Jose State : CA Country : US This is an example of output from the show location civic-location command that displays all the civic location information: Switch>...
  • Page 663 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show location Related Commands Command Description location (global configuration) Configures the global location information for an endpoint. location (interface configuration) Configures the location information for an interface. Catalyst 3750 Switch Command Reference...
  • Page 664: Show Link State Group

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show link state group show link state group Use the show link state group privileged EXEC command to display the link-state group information. show link state group [number] [detail] [ | {begin | exclude | include} expression]...
  • Page 665 Enables a link-state group. show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference for Release 12.2 > Cisco IOS File Management Commands > Configuration File Commands. Catalyst 3750 Switch Command Reference 2-635...
  • Page 666: Show Mac Access-Group

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

    Chapter 2 Catalyst 3750 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 669 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 670: Show Mac Address-Table Address

    Chapter 2 Catalyst 3750 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] [ | {begin |...
  • Page 671: Show Mac Address-Table Aging-Time

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table address Related Commands Command Description show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN. show mac address-table count Displays the number of addresses present in all VLANs or the specified VLAN.
  • Page 672 Chapter 2 Catalyst 3750 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 673: Show Mac Address-Table Count

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table aging-time Related Commands Command Description mac address-table aging-time Sets the length of time that a dynamic entry remains in the MAC address table after the entry is used or updated.
  • Page 674 Chapter 2 Catalyst 3750 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. show mac address-table count [vlan vlan-id] [ | {begin | exclude | include} expression]...
  • Page 675: Show Mac Address-Table Dynamic

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table count Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 676 Chapter 2 Catalyst 3750 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 677: Show Mac Address-Table Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table dynamic Related Commands Command Description clear mac address-table dynamic Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN.
  • Page 678 Chapter 2 Catalyst 3750 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. show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include}...
  • Page 679: Show Mac Address-Table Notification

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table interface Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 680: Show Mac Address-Table Learning

    Chapter 2 Catalyst 3750 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 681: Show Mac Address-Table Move Update

    Chapter 2 Catalyst 3750 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. show mac address-table move update [ | {begin | exclude | include} expression]...
  • Page 682 Chapter 2 Catalyst 3750 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 683 Chapter 2 Catalyst 3750 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. show mac address-table notification [interface [interface-id]] [ | {begin | exclude | include}...
  • Page 684: Show Mac Address-Table Static

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table notification Examples This is an example of output from the show mac address-table notification command: Switch> show mac address-table notification MAC Notification Feature is Enabled on the switch Interval between Notification Traps : 60 secs...
  • Page 685 Chapter 2 Catalyst 3750 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 686: Show Mac Address-Table Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table static Examples This is an example of output from the show mac address-table static command: Switch> show mac address-table static Mac Address Table ------------------------------------------ Vlan Mac Address Type Ports...
  • Page 687 Chapter 2 Catalyst 3750 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 [ | {begin | exclude | include} expression]...
  • Page 688 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mac address-table vlan Related Commands Command Description show mac address-table address Displays MAC address table information for the specified MAC address. show mac address-table aging-time Displays the aging time in all VLANs or the specified VLAN.
  • Page 689: Show Mls Qos

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

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

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface show mls qos interface Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the port level. show mls qos interface [interface-id] [buffers | queueing | statistics]...
  • Page 694 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface DSCP Mutation Map:Default DSCP Mutation Map Trust device:none qos mode:vlan-based This is an example of output from the show mls qos interface interface-id command when VLAN-based QoS is disabled: Switch>...
  • Page 695 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface 15 - 19 : 20 - 24 : 25 - 29 : 30 - 34 : 35 - 39 : 40 - 44 : 45 - 49 :...
  • Page 696 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos interface Command Description mls qos srr-queue output dscp-map Maps DSCP values to an egress queue or maps DSCP values to a queue and to a threshold ID. policy-map Creates or modifies a policy map.
  • Page 697: Show Mls Qos Maps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps show mls qos maps Use the show mls qos maps user EXEC command to display quality of service (QoS) mapping information. During classification, QoS uses the mapping tables to represent the priority of the traffic and to derive a corresponding class of service (CoS) or Differentiated Services Code Point (DSCP) value from the received CoS, DSCP, or IP precedence value.
  • Page 698 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps The DSCP input queue threshold and the DSCP output queue threshold maps appear as a matrix. The d1 column specifies the most-significant digit of the DSCP number. The d2 row specifies the least-significant digit in the DSCP number.
  • Page 699 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mls qos maps Dscp-inputq-threshold map: d1 :d2 -------------------------------------------------------------------- 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01...
  • Page 700: Show Mls Qos Queue-Set

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

    Chapter 2 Catalyst 3750 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 [ | {begin | exclude | include} expression]...
  • Page 703: Show Monitor

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor show monitor Use the show monitor user EXEC command to display information about all Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show a specific session, all sessions, all local sessions, or all remote sessions.
  • Page 704 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor Examples This is an example of output for the show monitor user EXEC command: Switch# show monitor Session 1 --------- Type : Local Session Source Ports : RX Only : Fa4/0/1...
  • Page 705 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show monitor Related Commands Command Description monitor session Starts or modifies a SPAN or RSPAN session. Catalyst 3750 Switch Command Reference 2-675 OL-8552-07...
  • Page 706: Show Mvr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr show mvr Use the show mvr privileged EXEC command without keywords to display the current Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
  • Page 707: Show Mvr Interface

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr Related Commands Command Description mvr (global configuration) Enables and configures multicast VLAN registration on the switch. mvr (interface configuration) Configures MVR ports. show mvr interface Displays the configured MVR interfaces, status of the specified interface, or all multicast groups to which the interface belongs when the interface and members keywords are appended to the command.
  • Page 708 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr interface show mvr interface Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
  • Page 709: Show Mvr Members

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr interface In the preceding display, Status is defined as follows: Active means the port is part of a VLAN. • Up/Down means that the port is forwarding/nonforwarding. • Inactive means that the port is not yet part of any VLAN.
  • Page 710 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr members show mvr members Use the show mvr members privileged EXEC command to display all receiver and source ports that are currently members of an IP multicast group. show mvr members [ip-address] [ | {begin | exclude | include} expression]...
  • Page 711 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show mvr members This is an example of output from the show mvr members ip-address command. It displays the members of the IP multicast group with that address: Switch# show mvr members 239.255.0.2 239.255.003.--22...
  • Page 712: Show Network-Policy Profile

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show network-policy profile show network-policy profile Use the show network policy profile privileged EXEC command to display the network-policy profiles. show network-policy profile [profile number] [detail] [ | {begin | exclude | include} expression]...
  • Page 713 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show network-policy profile Related Commands Command Description network-policy Applies a network-policy to an interface. network-policy profile (global Creates the network-policy profile. configuration) network-policy profile Configures the attributes of network-policy profiles. (network-policy configuration)
  • Page 714: Show Nmsp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show nmsp show nmsp Use the show nmsp privileged EXEC command to display the Network Mobility Services Protocol (NMSP) information for the switch. This command is available only when your switch is running the cryptographic (encrypted) software image.
  • Page 715 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show nmsp ------------------------------ Service Subservice ----------- -------------- Attachment Wired Station Location Subscription This is an example of output from the show nmsp notification interval command: Switch# show nmsp notification interval NMSP Notification Intervals...
  • Page 716 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show nmsp This is an example of output from the show nmsp show subscription detail and the show nmsp show subscription summary commands: Switch# show nmsp subscription detail Mobility Services Subscribed by 172.19.35.109:...
  • Page 717: Show Pagp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show pagp show pagp Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information. show pagp [channel-group-number] {counters | dual-active | internal | neighbor} [ | {begin |...
  • Page 718 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show pagp This is an example of output from the show pagp 1 internal command: Switch> show pagp 1 internal Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
  • Page 719: Show Parser Macro

    Output appear. Examples This is a partial output example from the show parser macro command. The output for the Cisco-default macros varies depending on the switch platform and the software image running on the switch:...
  • Page 720 Chapter 2 Catalyst 3750 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-phone Macro type : default interface...
  • Page 721 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show parser macro # Allow port channels to be automatically formed channel-protocol pagp This is an example of output from the show parser macro brief command: Switch# show parser macro brief default global...
  • Page 722: Show Policy-Map

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show port-security show port-security Use the show port-security privileged EXEC command to display port-security settings for an interface or for the switch. show port-security [interface interface-id] [address | vlan] [ | {begin | exclude | include}...
  • Page 725 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show port-security Examples This is an example of the output from the show port-security command: Switch# show port-security Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action (Count) (Count) (Count) ------------------------------------------------------------------------------- Gi1/0/1 Shutdown -------------------------------------------------------------------------------...
  • Page 726 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show port-security Related Commands Command Description clear port-security Deletes from the MAC address table a specific type of secure address or all the secure addresses on the switch or an interface. switchport port-security...
  • Page 727: Show Power Inline

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show power inline show power inline Use the show power inline user EXEC command to display the Power over Ethernet (PoE) status for the specified PoE port or for all PoE ports.
  • Page 728 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show power inline Fa1/0/3 auto IP Phone 7910 15.4 Fa1/0/4 auto IP Phone 7960 15.4 Fa1/0/5 static on 15.4 IP Phone 7960 15.4 Fa1/0/6 static power-deny 10.0 10.0 Fa1/0/7 auto IP Phone 7910 15.4...
  • Page 729 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show power inline Table 2-35 show power inline interface Field Descriptions (continued) Field Description Used The amount of PoE allocated to ports Remaining The amount of PoE not allocated to ports in the system. (Available – Used =...
  • Page 730: Show Sdm Prefer

    (Optional) Display the template that maximizes system resources for Layer 2 VLANs. desktop (Optional) For Catalyst 3750-12S aggregator switches only, display the desktop templates. For this switch, when you do not enter the desktop keyword, the aggregator templates appear. | begin (Optional) Display begins with the line that matches the expression.
  • Page 731 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show sdm prefer Usage Guidelines When you change the SDM template by using the sdm prefer global configuration command, you must reload the switch for the configuration to take effect. If you enter the show sdm prefer command before you enter the reload privileged EXEC command, the show sdm prefer command shows the template currently in use and the template that will become active after a reload.
  • Page 732 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show sdm prefer This is an example of output from the show sdm prefer dual-ipv4-and-ipv6 default command entered on a desktop switch: Switch# show sdm prefer dual-ipv4-and-ipv6 default "desktop IPv4 and IPv6 default" template:...
  • Page 733: Show Setup Express

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show shell show shell Use the show shell privileged EXEC command to display shell information. show shell [environment | functions | triggers] [ | {begin | exclude | include} expression] Syntax Description environment (Optional) Display shell environment information.
  • Page 735 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show shell Trigger Id: CISCO_WIRELESS_AP_EVENT Trigger description: Event for Wireless Access Point macro Trigger environment: NATIVE_VLAN=1 Trigger mapping function: CISCO_AP_AUTO_SMARTPORT Trigger Id: CISCO_WIRELESS_LIGHTWEIGHT_AP_EVENT Trigger description: Event for Wireless Lightweight Access Point macro...
  • Page 736 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show shell conf t interface $INTERFACE no macro description no auto qos voip trust no switchport mode trunk no switchport trunk encapsulation dot1q no switchport trunk native vlan $NATIVE_VLAN no switchport trunk allowed vlan ALL exit <output truncated>...
  • Page 737: Show Spanning-Tree

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree show spanning-tree Use the show spanning-tree user EXEC command to display spanning-tree state information. show spanning-tree [bridge-group | active [detail] | backbonefast | blockedports | bridge | detail [active] | inconsistentports | interface interface-id | mst | pathcost method | root | summary...
  • Page 738 Chapter 2 Catalyst 3750 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 739 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree | begin (Optional) Display begins with the line that matches the expression. | exclude (Optional) Display excludes lines that match the expression. | include (Optional) Display includes lines that match the specified expression.
  • Page 740 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree hello 2, max age 20, forward delay 15 Timers: hello 0, topology change 0, notification 0, aging 300 Uplinkfast enabled Port 1 (GigabitEthernet2/0/1) of VLAN0001 is forwarding Port path cost 3019, Port priority 128, Port Identifier 128.24.
  • Page 741 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree This is an example of output from the show spanning-tree mst configuration command: Switch# show spanning-tree mst configuration Name [region1] Revision Instance Vlans Mapped -------- ------------------ 1-9,21-4094 10-20 ---------------------------- This is an example of output from the show spanning-tree mst interface interface-id command:...
  • Page 742 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show spanning-tree Command Description spanning-tree loopguard default Prevents alternate or root ports from becoming the designated port because of a failure that leads to a unidirectional link. spanning-tree mst configuration Enters multiple spanning-tree (MST) configuration mode through which the MST region configuration occurs.
  • Page 743: Show Storm-Control

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch show switch Use the show switch user EXEC command to display information related to a stack member or the switch stack. show switch [stack-member-number | detail | neighbors | stack-ports [summary] | stack-ring...
  • Page 746 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch Initializing—A switch has determined whether its stack master status. If it is not the stack master, • it is receiving its system- and interface-level configuration from the stack master and loading it.
  • Page 747 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch This example shows the member 6 summary information: Switch> show switch 6 Current Switch# Role Mac Address Priority State -------------------------------------------------------- Member 0003.e31a.1e00 Ready This example shows the neighbor information for a stack: Switch>...
  • Page 748 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch Table 2-37 show switch stack-ports summary Command Output (continued) Field Description Li nk OK This shows if the link is stable. The link partner is a StackWise port on a neighbor switch.
  • Page 749 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show switch Related Commands Command Description reload Reloads the member and puts a configuration change into effect. remote command Monitors all or specified members. session Accesses a specific member. switch Changes the member priority value.
  • Page 750: Show System Mtu

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show udld show udld Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port. show udld [interface-id] [ | {begin | exclude | include} expression]...
  • Page 752 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show udld Table 2-38 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 753 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show udld Related Commands Command Description udld Enables aggressive or normal mode in UDLD or sets the configurable message timer time. udld port Enables UDLD on an individual interface or prevents a fiber-optic interface from being enabled by the udld global configuration command.
  • Page 754: Show Version

    Chapter 2 Catalyst 3750 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 [ | {begin | exclude | include} expression] Syntax Description | begin (Optional) Display begins with the line that matches the expression.
  • Page 755 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show version The password-recovery mechanism is enabled. 512K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address : 00:09:43:A7:F2:00 Motherboard assembly number : 73-7056-05 Motherboard serial number : CSJ0638004U Motherboard revision number...
  • Page 756: Show Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan show vlan Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.
  • Page 757 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan Release Modification 12.2(20)SE The mtu and private-vlan keywords were added. 12.2(25)SE The dot1q tag native keywords were added. Usage Guidelines In the show vlan mtu command output, the MTU_Mismatch column shows whether all the ports in the VLAN have the same MTU.
  • Page 758 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan <output truncated> 1005 trnet 101005 1500 Remote SPAN VLANs ------------------------------------------------------------------------------ Primary Secondary Type Ports ------ --------- ----------------- ------------------------------------------ Primary Secondary Type Ports ------- --------- ----------------- ------------------------------------------ isolated Fa1/0/13, Fa1/0/20, Fa1/0/22, Gi1/0/1, Fa2/0/13, Fa2/0/22, Fa3/0/13, Fa3/0/14.
  • Page 759 Chapter 2 Catalyst 3750 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 private-vlan command: Switch>...
  • Page 760 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan 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 on stack member 1.
  • Page 761: Show Vlan Access-Map

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan access-map Related Commands Command Description show vlan filter Displays information about all VLAN filters or about a particular VLAN or VLAN access map. vlan access-map Creates a VLAN map entry for VLAN packet filtering.
  • Page 763 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vlan filter show vlan filter Use the show vlan filter privileged EXEC command to display information about all VLAN filters or about a particular VLAN or VLAN access map. show vlan filter [access-map name | vlan vlan-id] [ | {begin | exclude | include} expression]...
  • Page 764: Show Vmps

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vmps show vmps Use the show vmps user EXEC command without keywords to display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, and the current and primary servers, or use the statistics keyword to display client-side statistics.
  • Page 765 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vmps This is an example of output from the show vmps statistics command. Table 2-40 describes each field in the display. Switch> show vmps statistics VMPS Client Statistics ---------------------- Queries: Responses:...
  • Page 766 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vmps Related Commands Command Description clear vmps statistics Clears the statistics maintained by the VQP client. vmps reconfirm Sends VQP queries to reconfirm all dynamic VLAN assignments with the (privileged EXEC) VMPS.
  • Page 767: Show Vtp

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp show vtp Use the show vtp user EXEC command to display general information about the VLAN Trunking Protocol (VTP) management domain, status, and counters. show vtp {counters | password | status} [ | {begin | exclude | include} expression]...
  • Page 768 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp VTP pruning statistics: Trunk Join Transmitted Join Received Summary advts received from non-pruning-capable device ---------------- ---------------- ---------------- --------------------------- Fa1/0/47 Fa1/0/48 Gi2/0/1 Gi3/0/2 Table 2-41 show vtp counters Field Descriptions Field...
  • Page 769 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp Table 2-41 show vtp counters Field Descriptions (continued) Field Description Number of configuration Number of MD5 digest errors. digest errors Digest errors increment whenever the MD5 digest in the summary packet and the MD5 digest of the received advertisement calculated by the switch do not match.
  • Page 770 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp Table 2-42 show vtp status Field Descriptions Field Description VTP Version Displays the VTP version operating on the switch. By default, the switch implements Version 1 but can be set to Version 2.
  • Page 771 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp Related Commands Command Description clear vtp counters Clears the VTP and pruning counters. vtp (global configuration) Configures the VTP filename, interface name, domain name, and mode. vtp (VLAN configuration) Configures the VTP domain name, password, pruning, and mode.
  • Page 772 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands show vtp Catalyst 3750 Switch Command Reference 2-742 OL-8552-07...
  • Page 773: Shutdown

    2 V ] Chapter 2 Catalyst 3750 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 774: Shutdown Vlan

    Chapter 2 Catalyst 3750 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 775: Small-Frame Violation Rate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands small-frame violation rate small-frame violation rate Use the small-frame violation rate pps interface configuration command 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 776 Chapter 2 Catalyst 3750 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 777: Snmp-Server Enable Traps

    } | entity | envmon [fan | shutdown | status | supply | temperature] | errdisable [notification-rate value] | flash [insertion | removal] | fru-ctrl | hsrp | ipmulticast | mac-notification | msdp | ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change] | pim [invalid-pim-message | neighbor-change | rp-mapping-change] |...
  • Page 778 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server enable traps dot1x [auth-fail-vlan | (Optional) Enable IEEE 802.1x traps. The keywords have these meanings: guest-vlan | auth-fail-vlan—(Optional) Generate a trap when the port moves to the • no-auth-fail-vlan | configured restricted VLAN.
  • Page 779 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server enable traps ospf [cisco-specific | (Optional) Enable Open Shortest Path First (OSPF) traps. The keywords errors | lsa | rate-limit | have these meanings: retransmit | cisco-specific—(Optional) Enable Cisco-specific traps. •...
  • Page 780: Snmp-Server Host

    The bgp, copy-config, envmon, flash, port-security, stpx, syslog, vlancreate, and vlandelete keywords were added. 12.2(18)SE The ipmulticast, msdp, ospf [cisco-specific | errors | lsa | rate-limit | retransmit | state-change], pim [invalid-pim-message | neighbor-change | rp-mapping-change], and tty keywords were added.
  • Page 781 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server enable traps You can verify your setting by entering the show vtp status or the show running-config privileged EXEC command. Related Commands Command Description show running-config Displays the running configuration on the switch. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 >...
  • Page 782 Chapter 2 Catalyst 3750 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 783 Chapter 2 Catalyst 3750 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 784 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands snmp-server host notification-type (Optional) Type of notification to be sent to the host. If no type is specified, all notifications are sent. The notification type can be one or more of the these keywords: bgp—Send Border Gateway Protocol (BGP) state change traps.
  • Page 785 Chapter 2 Catalyst 3750 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 786 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 787: Snmp Trap Mac-Notification

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree backbonefast spanning-tree backbonefast Use the spanning-tree backbonefast global configuration command to enable the BackboneFast feature. Use the no form of the command to return to the default setting. spanning-tree backbonefast no spanning-tree backbonefast Syntax Description This command has no arguments or keywords.
  • Page 790: Spanning-Tree Bpdufilter

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpdufilter spanning-tree bpdufilter Use the spanning-tree bpdufilter interface configuration command 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 791 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpdufilter Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 792: Spanning-Tree Bpduguard

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpduguard spanning-tree bpduguard Use the spanning-tree bpduguard interface configuration command 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 793 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree bpduguard Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 794: Spanning-Tree Cost

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree cost spanning-tree cost Use the spanning-tree cost interface configuration command 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 795 Chapter 2 Catalyst 3750 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 796: Spanning-Tree Etherchannel Guard Misconfig

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

    Chapter 2 Catalyst 3750 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 799 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree extend system-id Related Commands Command Description show spanning-tree summary Displays a summary of spanning-tree interface states. spanning-tree mst root Configures the MST root switch priority and timers based on the network diameter.
  • Page 800: Spanning-Tree Guard

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree guard spanning-tree guard Use the spanning-tree guard interface configuration command 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 801: Spanning-Tree Loopguard Default

    Chapter 2 Catalyst 3750 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 802: Spanning-Tree Link-Type

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree link-type spanning-tree link-type Use the spanning-tree link-type interface configuration command to override the default link-type setting, which is determined by the duplex mode of the interface, and to enable rapid spanning-tree transitions to the forwarding state.
  • Page 803 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree link-type Related Commands Command Description clear spanning-tree detected-protocols Restarts the protocol migration process (force the renegotiation with neighboring switches) on all interfaces or on the specified interface. show spanning-tree interface Displays spanning-tree state information for the specified interface-id interface.
  • Page 804 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree loopguard default spanning-tree loopguard default Use the spanning-tree loopguard default global configuration command 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 805 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree loopguard default Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 806: Spanning-Tree Mode

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mode spanning-tree mode Use the spanning-tree mode global configuration command 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 807 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mode Related Commands Command Description show running-config Displays the current operating configuration. For syntax information, select Cisco IOS Configuration Fundamentals Command Reference, Release 12.2 > File Management Commands > Configuration File Management Commands.
  • Page 808: Spanning-Tree Mst Configuration

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst configuration spanning-tree mst configuration Use the spanning-tree mst configuration global configuration command 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 809 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst configuration When you map VLANs to an MST instance, the mapping is incremental, and VLANs specified in the command are added to or removed from the VLANs that were previously mapped. To specify a range, use a hyphen;...
  • Page 810: Spanning-Tree Mst Cost

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst cost spanning-tree mst cost Use the spanning-tree mst cost interface configuration command 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 811 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst cost Related Commands Command Description show spanning-tree Displays MST information for the specified interface. interface interface-id spanning-tree mst Configures an interface priority. port-priority spanning-tree mst priority Configures the switch priority for the specified spanning-tree instance.
  • Page 812: Spanning-Tree Mst Forward-Time

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst hello-time spanning-tree mst hello-time Use the spanning-tree mst hello-time global configuration command 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 814: Spanning-Tree Mst Max-Age

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-age spanning-tree mst max-age Use the spanning-tree mst max-age global configuration command 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 815 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-hops spanning-tree mst max-hops Use the spanning-tree mst max-hops global configuration command 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 816 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst max-hops Related Commands Command Description show spanning-tree Displays MST information. spanning-tree mst forward-time Sets the forward-delay time for all MST instances. spanning-tree mst hello-time Sets the interval between hello BPDUs sent by root switch configuration messages.
  • Page 817: Spanning-Tree Mst Port-Priority

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst port-priority spanning-tree mst port-priority Use the spanning-tree mst port-priority interface configuration command to configure an interface priority. If a loop occurs, the Multiple Spanning Tree Protocol (MSTP) can find the interface to put in the forwarding state.
  • Page 818 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst port-priority Related Commands Command Description show spanning-tree mst interface Displays MST information for the specified interface. interface-id spanning-tree mst cost Sets the path cost for MST calculations. spanning-tree mst priority Sets the switch priority for the specified spanning-tree instance.
  • Page 819: 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 820: Spanning-Tree Mst Priority

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst root spanning-tree mst root Use the spanning-tree mst root global configuration command 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 822 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree mst root When you enter the spanning-tree mst instance-id root secondary command, because of support for the extended system ID, the software changes the switch priority from the default value (32768) to 28672.
  • Page 823: Spanning-Tree Port-Priority

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

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (global configuration) Enabling BPDU filtering on an interface is the same as disabling spanning tree on it and can result in Caution spanning-tree loops. Use the spanning-tree portfast bpduguard default global configuration command to globally enable BPDU guard on interfaces that are in a Port Fast-operational state.
  • Page 827 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (interface configuration) spanning-tree portfast (interface configuration) Use the spanning-tree portfast interface configuration command 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 828 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree portfast (interface configuration) Examples This example shows how to enable the Port Fast feature on a port: Switch(config)# interface gigabitethernet2/0/2 Switch(config-if)# spanning-tree portfast You can verify your settings by entering the show running-config privileged EXEC command.
  • Page 829: Spanning-Tree Transmit Hold-Count

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree transmit hold-count spanning-tree transmit hold-count Use the spanning-tree transmit hold-count global configuration command to configure the number of bridge protocol data units (BPDUs) sent every second. Use the no form of this command to return to the default setting.
  • Page 830: Spanning-Tree Uplinkfast

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree uplinkfast spanning-tree uplinkfast Use the spanning-tree uplinkfast global configuration command 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 831: Spanning-Tree Vlan

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree uplinkfast Do not enable the root guard on interfaces that will be used by the UplinkFast feature. With UplinkFast, the backup interfaces (in the blocked state) replace the root port in the case of a failure. However, if root guard is also enabled, all the backup interfaces used by the UplinkFast feature are placed in the root-inconsistent state (blocked) and prevented from reaching the forwarding state.
  • Page 832 Chapter 2 Catalyst 3750 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 833 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree vlan Command Modes Global configuration Command History Release Modification 12.1(11)AX This command was introduced. 12.1(14)EA1 The value for the vlan-id variable was changed. Usage Guidelines Disabling the STP causes the VLAN to stop participating in the spanning-tree topology. Interfaces that are administratively down remain down.
  • Page 834 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands spanning-tree vlan This example shows how to set the spanning-tree hello-delay time to 3 seconds for VLANs 20 to 24: Switch(config)# spanning-tree vlan 20-24 hello-time 3 This example shows how to set spanning-tree max-age to 30 seconds for VLAN 20:...
  • Page 835: Speed

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands speed speed Use the speed interface configuration command to specify the speed of a 10/100 Mb/s or 10/100/1000 Mb/s port. Use the no or default form of this command to return the port to its default value.
  • Page 836 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands speed For guidelines on setting the switch speed and duplex parameters, see the “Configuring Interface Characteristics” chapter in the software configuration guide for this release. Examples This example shows how to set the speed on a port to 100 Mb/s:...
  • Page 837: Srr-Queue Bandwidth Limit

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth limit srr-queue bandwidth limit Use the srr-queue bandwidth limit interface configuration command to limit the maximum output on a port. Use the no form of this command to return to the default setting.
  • Page 838: Srr-Queue Bandwidth Shape

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth limit Related Commands Command Description mls qos queue-set output buffers Allocates buffers to the queue-set. mls qos srr-queue output cos-map Maps class of service (CoS) values to egress queue or maps CoS values to a queue and to a threshold ID.
  • Page 839 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth shape srr-queue bandwidth shape Use the srr-queue bandwidth shape interface configuration command to assign the shaped weights and to enable bandwidth shaping on the four egress queues mapped to a port. Use the no form of this command to return to the default setting.
  • Page 840 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth shape Examples This example shows how to configure the queues for the same port for both shaping and sharing. Because the weight ratios for queues 2, 3, and 4 are set to 0, these queues operate in shared mode. The bandwidth weight for queue 1 is 1/8, which is 12.5 percent.
  • Page 841 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth share srr-queue bandwidth share Use the srr-queue bandwidth share interface configuration command switch 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 dequeues packets from each queue.
  • Page 842 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands srr-queue bandwidth share Examples This example shows how to configure the weight ratio of the SRR scheduler running on an egress port. Four queues are used. The bandwidth ratio allocated for each queue in shared mode is 1/(1+2+3+4), 2/(1+2+3+4), 3/(1+2+3+4), and 4/(1+2+3+4), which is 10 percent, 20 percent, 30 percent, and 40 percent for queues 1, 2, 3, and 4.
  • Page 843: Stack-Mac Persistent Timer

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands stack-mac persistent timer stack-mac persistent timer Use the stack-mac persistent timer global configuration command on the switch stack to enable the persistent MAC address feature. When this feature is enabled, if the stack master changes, the stack MAC address does not change for approximately 4 minutes, for an indefinite time period, or for a configured time value.
  • Page 844 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands stack-mac persistent timer You can set the time period to be from 0 to 60 minutes. If you enter the command with no value, the default delay is 4 minutes. • If you enter 0, the stack continues to use the current stack MAC address until you enter the no •...
  • Page 845 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands stack-mac persistent timer You can verify your settings by entering either of two privileged EXEC commands: show running-config—If enabled, and the time in minutes appears • stack-mac persistent timer in the output.
  • Page 846: Storm-Control

    Chapter 2 Catalyst 3750 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 847 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 848 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands storm-control If you configure the action to be taken as shutdown (the port is error-disabled during a storm) when a packet storm is detected, you must use the no shutdown interface configuration command to bring the interface out of this state.
  • Page 849 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch switch Use the switch privileged EXEC on a stack member to disable or enable the specified StackWise port on the member. switch stack-member-number stack port port-number {disable | enable} Syntax Description stack-member-number Specify the current stack member number.
  • Page 850 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch Related Commands Command Description show switch Displays information about the switch stack and the stack members. Catalyst 3750 Switch Command Reference 2-820 OL-8552-07...
  • Page 851: Switch Priority

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch provision switch provision Use the switch provision global configuration command on the stack master to provision (to supply a configuration to) a new switch before it joins the switch stack. Use the no form of this command to delete all configuration information associated with the removed switch (a stack member that has left the stack).
  • Page 853 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switch provision Examples This example shows how to provision a Catalyst 3750G-12S switch with a stack member number of 2 for the switch stack. The show running-config command output shows the interfaces associated with...
  • Page 854: Switch Renumber

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport switchport Use the switchport interface configuration command with no keywords to put an interface that is in Layer 3 mode into Layer 2 mode for Layer 2 configuration. Use the no form of this command to put an interface in Layer 3 mode.
  • Page 857 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 858: Switchport Access

    Chapter 2 Catalyst 3750 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 859 The software implements the VLAN Query Protocol (VQP) client, which can query a VMPS such • as a Catalyst 6000 series switch. The Catalyst 3750 switches are not VMPS servers. The VMPS server must be configured before a port is configured as dynamic.
  • Page 860: Switchport Autostate Exclude

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport autostate exclude switchport autostate exclude Use the switchport autostate exclude interface configuration command to exclude an interface from the VLAN interface (switch virtual interface) line-state up or down calculation. Use the no form of this command to return to the default setting.
  • Page 861 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport autostate exclude Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none...
  • Page 862: Switchport Backup Interface

    Chapter 2 Catalyst 3750 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 863 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport backup interface Command History Release Modification 12.2(20)SE 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. 12.2(44)SE The multicast, fast-convergence, delay, mode, prefer, and vlan keywords were added.
  • Page 864 Chapter 2 Catalyst 3750 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 865 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport backup interface When a Flex Link interface comes up, VLANs preferred on this interface are blocked on the peer interface and moved to the forwarding state on the interface that has just come up. In this example, if interface Gi1/0/6 comes up, VLANs preferred on this interface are blocked on the peer interface Gi1/0/8 and forwarded on Gi1/0/6.
  • Page 866 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport backup interface The following example shows how to configure multicast fast-convergence on interface Gi1/0/11: Switch# configure terminal Switch(config)# interface gigabitEthernet 1/0/11 Switch(config-if)# switchport backup interface gigabitEthernet 1/0/12 multicast fast-convergence Switch(config-if)# end You can verify your setting by entering the show interfaces switchport backup detail privileged EXEC command.
  • Page 867: Switchport Block

    Chapter 2 Catalyst 3750 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 868: Switchport Host

    Chapter 2 Catalyst 3750 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 869: Switchport Mode

    Chapter 2 Catalyst 3750 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 870: Switchport Nonegotiate

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport mode When you enter dynamic auto mode, the interface converts the link to a trunk link if the neighboring interface is set to trunk or desirable mode. When you enter dynamic desirable mode, the interface becomes a trunk interface if the neighboring interface is set to trunk, desirable, or auto mode.
  • Page 871 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport mode This example shows how set the port to dynamic desirable mode: Switch(config)# interface gigabitethernet2/0/1 Switch(config-if)# switchport mode dynamic desirable This example shows how to configure a port for trunk mode:...
  • Page 872 Chapter 2 Catalyst 3750 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 873 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport mode private-vlan For more information about private-VLAN interaction with other features, see the software 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 874 Chapter 2 Catalyst 3750 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 875 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport nonegotiate Examples This example shows how to cause a port to refrain from negotiating trunking mode and to act as a trunk or access port (depending on the mode set): Switch(config)# interface gigabitethernet2/0/1...
  • Page 876: Switchport Port-Security

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security switchport port-security Use the switchport port-security interface configuration command without keywords 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. Use the no form of this command to disable port security or to set the parameters to their default states.
  • Page 877 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security vlan [vlan-list] (Optional) For trunk ports, you can set the maximum number of secure MAC addresses on a VLAN. If the vlan keyword is not entered, the default value is used.
  • Page 878 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 879 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security Sticky secure MAC addresses have these characteristics: When you enable sticky learning on an interface by using the switchport port-security • mac-address sticky interface configuration command, the interface converts all the dynamic secure...
  • Page 880 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security Related Commands Command Description clear port-security Deletes from the MAC address table a specific type of secure address or all the secure addresses on the switch or an interface. show port-security address Displays all the secure addresses configured on the switch.
  • Page 881: Switchport Port-Security Aging

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security aging switchport port-security aging Use the switchport port-security aging interface configuration command 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 882 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport port-security aging Examples This example sets the aging time as 2 hours for absolute aging for all the secure addresses on the port: Switch(config)# interface gigabitethernet1/0/1 Switch(config-if)# switchport port-security aging time 120...
  • Page 883: 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 884 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport priority extend Related Commands Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) port. switchport voice vlan Configures the voice VLAN on the port. {vlan-id | dot1p | none |...
  • Page 885: Switchport Private-Vlan

    Chapter 2 Catalyst 3750 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 886 Chapter 2 Catalyst 3750 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 887: Switchport Protected

    Chapter 2 Catalyst 3750 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 888 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport protected Syntax Description Command Description show interfaces Displays the administrative and operational status of a switching (nonrouting) switchport port, including port blocking and port protection settings. switchport block Prevents unknown multicast or unicast traffic on the interface.
  • Page 889: Switchport Trunk

    Chapter 2 Catalyst 3750 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 890 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport trunk Separate nonconsecutive VLAN IDs with a comma; use a hyphen to designate a range of IDs. except lists the VLANs that should be calculated by inverting the defined list of VLANs. (VLANs •...
  • Page 891 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 892 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands switchport trunk VLAN 1, VLANs 1002 to 1005, and extended-range VLANs (VLANs 1006 to 4094) cannot be • pruned. Examples This example shows how to cause a port configured as a switched interface to encapsulate in IEEE 802.1Q trunking format regardless of its default trunking format in trunking mode:...
  • Page 893: Switchport Voice Detect

    Use the switchport voice detect interface configuration command to detect and recognize a Cisco IP phone. Use the no form of this command to return to the default setting. switchport voice detect cisco-phone [full-duplex]...
  • Page 894: 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 895 IP phone requires one MAC address. The Cisco IP phone address is learned on the voice VLAN, but is not learned on the access VLAN. If you connect a single PC to the Cisco IP phone, no additional MAC addresses are required.
  • Page 896: System Env Temperature Threshold Yellow

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands system env temperature threshold yellow system env temperature threshold yellow Use the system env temperature threshold yellow global configuration command to configure the difference between the yellow and red temperature thresholds which determines the value of yellow threshold.
  • Page 897 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands system env temperature threshold yellow the red threshold is 66 degrees C and you want to configure the yellow threshold as 51 degrees C, set the difference between the thresholds as 15 by using the system env temperature threshold yellow 15 command.
  • Page 898: System Mtu

    Chapter 2 Catalyst 3750 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, for routed ports, or for Fast Ethernet (10/100) ports.
  • Page 899 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands system mtu command. Therefore, if you use TFTP to configure a new switch by using a backup configuration file and want the system MTU to be other than the default, you must explicitly configure the system mtu and system mtu jumbo settings on the new switch and then reload the switch.
  • Page 900: Test Cable-Diagnostics Tdr

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands test cable-diagnostics tdr test cable-diagnostics tdr Use the test cable-diagnostics tdr privileged EXEC command to run the Time Domain Reflector (TDR) feature on an interface. test cable-diagnostics tdr interface interface-id Syntax Description interface-id Specify the interface on which to run TDR.
  • Page 901: 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 902 Chapter 2 Catalyst 3750 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[WS-C3750-12T] (2.2.6.6) con6 (2.2.6.6) :Gi0/0/1 =>...
  • Page 903: Traceroute Mac Ip

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands traceroute mac This example shows the Layer 2 path when the source and destination devices are in different VLANs: Switch# traceroute mac 0000.0201.0601 0000.0301.0201 Error:Source and destination macs are on different vlans.
  • Page 904 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 905 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands traceroute mac ip The Layer 2 traceroute feature is not supported when multiple devices are attached to one port through hubs (for example, multiple CDP neighbors are detected on a port). When more than one CDP neighbor is detected on a port, the Layer 2 path is not identified, and an error message appears.
  • Page 906: Trust

    Chapter 2 Catalyst 3750 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 or the class-map global configuration command. Use the no form of this command to return to the default setting.
  • Page 907 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands trust If you specify trust ip-precedence, QoS uses the IP precedence value from the ingress packet and the IP-precedence-to-DSCP map. For non-IP packets that are tagged, QoS uses the received CoS value; for non-IP packets that are untagged, QoS uses the default port CoS value.
  • Page 908: Udld

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld udld 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 909: Udld Port

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld You can use these commands to reset an interface shut down by UDLD: The udld reset privileged EXEC command to reset all interfaces shut down by UDLD • The shutdown and no shutdown interface configuration commands •...
  • Page 910 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld port udld port Use the udld port interface configuration command to enable the UniDirectional Link Detection (UDLD) on an individual interface or prevent a fiber-optic interface from being enabled by the udld global configuration command.
  • Page 911 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands udld port You can use these commands to reset an interface shut down by UDLD: The udld reset privileged EXEC command to reset all interfaces shut down by UDLD • The shutdown and no shutdown interface configuration commands •...
  • Page 912: Udld Reset

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

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) vlan (global configuration) Use the vlan global configuration command to add a VLAN and to enter the config-vlan 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 914 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) If you enter an invalid VLAN ID, you receive an error message and do not enter config-vlan mode. Entering the vlan command with a VLAN ID enables config-vlan mode. When you enter the VLAN ID of an existing VLAN, you do not create a new VLAN, but you can modify VLAN parameters for that VLAN.
  • Page 915 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) name vlan-name: names the VLAN with an ASCII string from 1 to 32 characters that must be unique • within the administrative domain. The default is VLANxxxx where xxxx represents four numeric digits (including leading zeros) equal to the VLAN ID number.
  • Page 916: Vlan (Vlan Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) Table 2-44 Valid Commands and Syntax for Different Media Types Media Type Valid Syntax Ethernet name vlan-name, media ethernet, state {suspend | active}, said said-value, mtu mtu-size, remote-span, tb-vlan1 tb-vlan1-id, tb-vlan2 tb-vlan2-id...
  • Page 917 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) Table 2-45 VLAN Configuration Rules (continued) Configuration Rule VTP v2 mode is enabled, and you Specify a bridge number. Do not leave this field blank. are configuring a TrBRF VLAN media type.
  • Page 918 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (global configuration) Command Description show vlan Displays the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) in the administrative domain. vlan (VLAN Configures normal-range VLANs in the VLAN database.
  • Page 919 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) vlan (VLAN configuration) Use the vlan VLAN configuration command to configure VLAN characteristics for a normal-range VLAN (VLAN IDs 1 to 1005) in the VLAN database. You access VLAN configuration mode by entering vlan database privileged EXEC command.
  • Page 920 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) media {ethernet | fddi | (Optional) Specify the VLAN media type. Table 2-46 lists the valid fd-net | tokenring | tr-net} syntax for each media type. ethernet is Ethernet media type (the default).
  • Page 921 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) Table 2-46 shows the valid syntax options for different media types. Table 2-46 Valid Syntax for Different Media Types Media Type Valid Syntax Ethernet vlan vlan-id [name vlan-name] media ethernet [state {suspend | active}]...
  • Page 922 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) Table 2-47 VLAN Configuration Rules (continued) Configuration Rule VTP v2 mode is enabled, and you Specify a bridge number. Do not leave this field blank. are configuring a TrBRF VLAN media type.
  • Page 923 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines You can only use this command mode for configuring normal-range VLANs, that is, VLAN IDs 1 to 1005.
  • Page 924 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan (VLAN configuration) When the no vlan vlan-id state form is used, the VLAN state returns to the default (active). • When the no vlan vlan-id stp type form is used, the VLAN spanning-tree type returns to the default •...
  • Page 925: Vlan Access-Map

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan access-map vlan access-map Use the vlan access-map global configuration command 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 926 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan access-map In global configuration mode, use the vlan filter interface configuration command to apply the map to one or more VLANs. For more information about VLAN map entries, see the software configuration guide for this release.
  • Page 927: Vlan Database

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan database vlan database Use the vlan database privileged EXEC command to enter VLAN configuration mode. From this mode, you can add, delete, and modify VLAN configurations for normal-range VLANs and globally propagate these changes by using the VLAN Trunking Protocol (VTP).
  • Page 928 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan database When you have modified VLAN or VTP parameters, you can use these editing buffer manipulation commands: • abort: exits the mode without applying the changes. The VLAN configuration that was running before you entered VLAN configuration mode continues to be used.
  • Page 929 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan database VLAN ISL Id: 1002 Name: fddi-default Media Type: FDDI VLAN 802.10 Id: 101002 State: Operational MTU: 1500 Bridge Type: SRB Ring Number: 0 Translational Bridged VLAN: 1 Translational Bridged VLAN: 1003 <output truncated>...
  • Page 930: Vlan Dot1Q Tag Native

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan dot1q tag native vlan dot1q tag native Use the vlan dot1q tag native global configuration command to enable tagging of native VLAN frames on all IEEE 802.1Q trunk ports. Use the no form of this command to return to the default setting.
  • Page 931 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan dot1q tag native Related Commands Command Description show vlan dot1q tag native Displays IEEE 802.1Q native VLAN tagging status. Catalyst 3750 Switch Command Reference 2-901 OL-8552-07...
  • Page 932: Vlan Filter

    Chapter 2 Catalyst 3750 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 933 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vlan filter Related Commands Command Description show vlan access-map Displays information about a particular VLAN access map or all VLAN access maps. show vlan filter Displays information about all VLAN filters or about a particular VLAN or VLAN access map.
  • Page 934: Vmps Reconfirm (Privileged Exec)

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

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

    Chapter 2 Catalyst 3750 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 937: Vmps Server

    Chapter 2 Catalyst 3750 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 938 Chapter 2 Catalyst 3750 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 939: Vtp (Global Configuration)

    VTP administrative domain for the switch. The domain name is case sensitive. file filename Specify the Cisco IOS file system file where the VTP VLAN configuration is stored. interface name Specify the name of the interface providing the VTP ID updated for this device.
  • Page 940 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (global configuration) Defaults The default filename is flash:vlan.dat. The default mode is server mode. No domain name or password is defined. No password is configured. Pruning is disabled. The default version is Version 1.
  • Page 941 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (global configuration) Follow these guidelines when setting VTP mode: The no vtp mode command returns the switch to VTP server mode. • The vtp mode server command is the same as no vtp mode except that it does not return an error •...
  • Page 942: Vtp (Vlan Configuration)

    Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (global configuration) If you are configuring a Token Ring bridge relay function (TrBRF) or Token Ring concentrator relay • function (TrCRF) VLAN media type, you must use Version 2. • If you are configuring a Token Ring or Token Ring-NET VLAN media type, you must use Version You cannot save password, pruning, and version configurations in the switch configuration file.
  • Page 943 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) vtp (VLAN configuration) Use the vtp VLAN configuration command to configure VLAN Trunking Protocol (VTP) characteristics. You access VLAN configuration mode by entering the vlan database privileged EXEC command. Use the no form of this command to return to the default settings, disable the characteristic, or remove the password.
  • Page 944 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) Command Modes VLAN configuration Command History Release Modification 12.1(11)AX This command was introduced. Usage Guidelines If the VTP mode is transparent, the mode and domain name are saved in the switch running configuration file, and you can save the configuration in the switch startup configuration file by using the copy running-config startup-config privileged EXEC command.
  • Page 945 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) Follow these guidelines when configuring a VTP domain name: The switch is in the no-management-domain state until you configure a domain name. While in the • no-management-domain state, the switch does not send any VTP advertisements even if changes occur to the local VLAN configuration.
  • Page 946 Chapter 2 Catalyst 3750 Switch Cisco IOS Commands vtp (VLAN configuration) Examples This example shows how to place the switch in VTP transparent mode: Switch(vlan)# vtp transparent Setting device to VTP TRANSPARENT mode. This example shows how to set the administrative domain for the switch:...
  • Page 947: Catalyst 3750 Switch Bootloader Commands

    You gain access to the bootloader command line if the switch is set to manually boot up, 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 bootloader if you have lost or forgotten the switch password.
  • Page 948: 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 949 Appendix A Catalyst 3750 Switch Bootloader Commands boot Related Commands Command Description Sets the BOOT environment variable to boot a specific image when the BOOT keyword is appended to the command. Catalyst 3750 Switch Command Reference OL-8552-07...
  • Page 950 Appendix A Catalyst 3750 Switch Bootloader Commands Use the cat bootloader 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 951: Copy

    Appendix A Catalyst 3750 Switch Bootloader Commands copy copy Use the copy bootloader 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 952: Delete

    Appendix A Catalyst 3750 Switch Bootloader Commands delete delete Use the delete bootloader 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 953 Appendix A Catalyst 3750 Switch Bootloader Commands Use the dir bootloader 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 954 Appendix A Catalyst 3750 Switch Bootloader Commands Table A-1 dir Field Descriptions (continued) Field Description 1644045 Size of the file. <date> Last modification date. env_vars Filename. Related Commands Command Description mkdir Creates one or more directories. rmdir Removes one or more directories.
  • Page 955: Flash_Init

    Appendix A Catalyst 3750 Switch Bootloader Commands flash_init flash_init Use the flash_init bootloader 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 956: Format

    Appendix A Catalyst 3750 Switch Bootloader Commands format format Use the format bootloader 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 957: Fsck

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

    Appendix A Catalyst 3750 Switch Bootloader Commands help help Use the help bootloader command to display the available commands. help Syntax Description This command has no arguments or keywords. Command Modes Bootloader Command History Release Modification 12.1(11)AX This command was introduced.
  • Page 959: Memory

    Appendix A Catalyst 3750 Switch Bootloader Commands memory memory Use the memory bootloader command to display memory heap utilization information. memory Syntax Description This command has no arguments or keywords. Command Modes Bootloader Command History Release Modification 12.1(11)AX This command was introduced.
  • Page 960 Appendix A Catalyst 3750 Switch Bootloader Commands memory Table A-2 memory Field Descriptions (continued) Field Description Stack Beginning and ending address of the area in memory allocated to the software to store automatic variables, return addresses, and so forth. Heap Beginning and ending address of the area in memory that memory is dynamically allocated to and freed from.
  • Page 961: Mkdir

    Appendix A Catalyst 3750 Switch Bootloader Commands mkdir mkdir Use the mkdir bootloader 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 962: More

    Appendix A Catalyst 3750 Switch Bootloader Commands more more Use the more bootloader 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 963: Rename

    Appendix A Catalyst 3750 Switch Bootloader Commands rename rename Use the rename bootloader 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. /source-file-url Original path (directory) and filename.
  • Page 964: Reset

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

    Appendix A Catalyst 3750 Switch Bootloader Commands rmdir rmdir Use the rmdir bootloader 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 966 115200. HELPER_CONFIG_FILE filesystem:/file-url—The name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of Cisco IOS that are loaded, including the helper image.
  • Page 967 Appendix A Catalyst 3750 Switch Bootloader Commands Defaults The environment variables have these default values: MANUAL_BOOT: No (0) BOOT: Null string ENABLE_BREAK: No (Off or 0) (the automatic bootup process cannot be interrupted by pressing the Break key on the console).
  • Page 968 Appendix A Catalyst 3750 Switch Bootloader Commands The HELPER_CONFIG_FILE environment variable can also be set by using the boot helper-config-file filesystem:/file-url global configuration command. The SWITCH_NUMBER environment variable can also be set by using the switch current-stack-member-number renumber new-stack-member-number global configuration command.
  • Page 969: Type

    Appendix A Catalyst 3750 Switch Bootloader Commands type type Use the type bootloader 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 970: Unset

    HELPER_CONFIG_FILE—Resets the name of the configuration file to be used by the Cisco IOS helper image. If this is not set, the file specified by the CONFIG_FILE environment variable is used by all versions of Cisco IOS that are loaded, including the helper image. This variable is used only for internal development and testing.
  • Page 971 Appendix A Catalyst 3750 Switch Bootloader Commands unset The BOOT environment variable can also be reset by using the no boot system global configuration command. The ENABLE_BREAK environment variable can also be reset by using the no boot enable-break global configuration command.
  • Page 972: Version

    Appendix A Catalyst 3750 Switch Bootloader Commands version version Use the version boot loader command to display the bootloader version. version Syntax Description This command has no arguments or keywords. Command Modes Bootloader Command History Release Modification 12.1(11)AX This command was introduced.
  • Page 973: Catalyst 3750 Switch Debug Commands

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

    Appendix B Catalyst 3750 Switch Debug Commands debug auto qos debug auto qos Use the debug auto qos privileged EXEC command to enable debugging of the automatic quality of service (auto-QoS) feature. Use the no form of this command to disable debugging.
  • Page 975 Appendix B Catalyst 3750 Switch Debug Commands debug auto qos 21:29:42: mls qos srr-queue input cos-map queue 2 threshold 1 2 21:29:42: mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7 21:29:43: mls qos srr-queue input cos-map queue 2 threshold 3 3 5...
  • Page 976: Debug Backup

    Appendix B Catalyst 3750 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 977: Debug Cisp

    Appendix B Catalyst 3750 Switch Debug Commands debug cisp debug cisp Use the debug cisp global configuration command to enable debugging message exchanges and events on a Client Information Signalling Protocol (CISP)-enabled interface.Use the no form of this command to disable debugging.
  • Page 978: Debug Cluster

    Appendix B Catalyst 3750 Switch Debug Commands debug cluster debug cluster Use the debug cluster privileged EXEC command to enable debugging of cluster-specific events. Use the no form of this command to disable debugging. debug cluster {discovery | events | extended | hsrp | http | ip [packet] | members | nat | neighbors...
  • Page 979 Appendix B Catalyst 3750 Switch Debug Commands debug cluster Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show cluster Displays the cluster status and a summary of the cluster to which the switch belongs.
  • Page 980: Debug Dot1X

    Appendix B Catalyst 3750 Switch Debug Commands debug dot1x debug dot1x Use the debug dot1x privileged EXEC command to enable debugging of the IEEE 802.1x authentication feature. Use the no form of this command to disable debugging. debug dot1x {all | errors | events | feature | packets | registry | state-machine}...
  • Page 981 Appendix B Catalyst 3750 Switch Debug Commands debug dot1x Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show dot1x Displays IEEE 802.1xstatistics, administrative status, and operational status for the switch or for the specified port.
  • Page 982: Debug Dtp

    Appendix B Catalyst 3750 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 983: Debug Eap

    Appendix B Catalyst 3750 Switch Debug Commands debug eap debug eap Use the debug eap privileged EXEC command to enable debugging of the Extensible Authentication Protocol (EAP) activity. Use the no form of this command to disable debugging. debug dot1x {all | authenticator | errors | events | md5 | packets | peer | sm}...
  • Page 984: Debug Etherchannel

    Appendix B Catalyst 3750 Switch Debug Commands debug etherchannel debug etherchannel Use the debug etherchannel privileged EXEC command to enable debugging of the EtherChannel/PAgP shim. This shim is the software module that is the interface between the Port Aggregation Protocol (PAgP) software module and the port manager software module. Use the no form of this command to disable debugging.
  • Page 985 Appendix B Catalyst 3750 Switch Debug Commands debug etherchannel Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show etherchannel Displays EtherChannel information for the channel. Catalyst 3750 Switch Command Reference B-13 OL-8552-07...
  • Page 986: Debug Ilpower

    {cdp | controller | event | ha | port | powerman | registries} no debug ilpower {cdp | controller | event | ha | port | powerman | registries} Syntax Description Display PoE Cisco Discovery Protocol (CDP) debug messages. controller Display PoE controller debug messages.
  • Page 987: Debug Interface

    Appendix B Catalyst 3750 Switch Debug Commands debug interface debug interface Use the debug interface privileged EXEC command to enable debugging of interface-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 988 Appendix B Catalyst 3750 Switch Debug Commands debug interface Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show etherchannel Displays EtherChannel information for the channel. Catalyst 3750 Switch Command Reference B-16 OL-8552-07...
  • Page 989: Debug Ip Dhcp Snooping

    Appendix B Catalyst 3750 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 990: Debug Ip Verify Source Packet

    Appendix B Catalyst 3750 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 991: Debug Ip Igmp Filter

    Appendix B Catalyst 3750 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 992: Debug Ip Igmp Max-Groups

    Appendix B Catalyst 3750 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 993: Debug Ip Igmp Snooping

    Appendix B Catalyst 3750 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 994: Debug Lacp

    Appendix B Catalyst 3750 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 995: Debug Lldp Packets

    Appendix B Catalyst 3750 Switch Debug Commands debug lldp packets debug lldp packets Use the debug lldp packets privileged EXEC command to enable debugging of Link Layer Discovery Protocol (LLDP) packets. Use the no form of this command to disable debugging.
  • Page 996: Debug Mac-Notification

    Appendix B Catalyst 3750 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 997: Debug Matm

    Appendix B Catalyst 3750 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 998: Debug Matm Move Update

    Appendix B Catalyst 3750 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 999: Debug Monitor

    Appendix B Catalyst 3750 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 1000 Appendix B Catalyst 3750 Switch Debug Commands debug monitor Related Commands Command Description show debugging Displays information about the types of debugging that are enabled. show monitor Displays information about all SPAN and remote SPAN (RSPAN) sessions on the switch.

Table of Contents