Cisco 4500M Command Reference Manual
Cisco 4500M Command Reference Manual

Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Summary of Contents for Cisco 4500M

  • Page 1 Catalyst 4500 Series Switch Cisco IOS Command Reference Release 12.2(18)EW Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: DOC-7816201= Text Part Number: 78-16201-01...
  • 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

    Saving Configuration Changes 1-11 Show Platform Commands 1-11 Cisco IOS Commands for the Catalyst 4500 Series Switches C H A P T E R #macro keywords aaa accounting dot1x default start-stop group radius aaa accounting system default start-stop group radius...
  • Page 4 2-49 debug interface 2-51 debug ipc 2-52 debug ip dhcp snooping event 2-53 debug ip dhcp snooping packet 2-54 debug ip verify source packet 2-55 debug lacp 2-56 debug monitor 2-57 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 5 2-84 dot1x multiple-hosts 2-85 dot1x port-control 2-86 dot1x re-authenticate 2-88 dot1x re-authentication 2-89 dot1x system-auth-control 2-90 dot1x timeout 2-91 duplex 2-93 errdisable detect 2-95 errdisable recovery 2-97 flowcontrol 2-100 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 6 2-143 ip igmp snooping vlan mrouter 2-144 ip igmp snooping vlan static 2-146 ip local-proxy-arp 2-147 ip mfib fastdrop 2-148 ip route-cache flow 2-149 ip source binding 2-151 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 7 2-192 port-channel load-balance 2-194 power dc input 2-196 power inline 2-197 power inline consumption 2-199 power redundancy-mode 2-200 power supplies required 2-202 private-vlan 2-203 private-vlan mapping 2-205 private-vlan synchronize 2-207 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 8 2-245 show class-map 2-246 show diagnostic result module 2-247 show diagnostic result module test 2 2-251 show diagnostic result module test 3 2-253 show dot1x 2-255 show environment 2-258 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW viii 78-16201-01...
  • Page 9 2-315 show ip mfib 2-316 show ip mfib fastdrop 2-318 show ip mroute 2-319 show ip source binding 2-324 show ip verify source 2-325 show ipc 2-327 show l2protocol-tunnel 2-329 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 10 2-378 show slaveslot0: 2-380 show slot0: 2-382 show spanning-tree 2-384 show spanning-tree mst 2-389 show storm-control 2-391 show system mtu 2-393 show tech-support 2-394 show udld 2-396 show vlan 2-397 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 11 2-435 spanning-tree mst max-hops 2-436 spanning-tree mst root 2-437 spanning-tree pathcost method 2-439 spanning-tree portfast (interface configuration mode) 2-440 spanning-tree portfast bpdufilter default 2-442 spanning-tree portfast bpduguard default 2-444 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 12 2-493 vlan (VLAN Database mode) 2-495 vlan access-map 2-498 vlan database 2-499 vlan dot1q tag native 2-501 vlan filter 2-502 vlan internal allocation policy 2-503 vmps reconfirm (global configuration) 2-504 Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 13 2-515 vtp v2-mode 2-516 N D E X Acronyms A P P E N D I X Acknowledgments for Open-Source Software A P P E N D I X Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW xiii 78-16201-01...
  • Page 14 Contents Catalyst4500 Series Switch Cisco IOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 15 Appendix B Acknowledgments for Provides the acknowledgments for Open-Source Software Open-Source Software. Related Documentation The Catalyst4500 series Cisco IOS documentation set includes these publications: • Catalyst4500 Series Switch InstallationGuide • Catalyst 4500 Series Switch Supervisor Engine III Installation Note •...
  • Page 16 • Catalyst4500 Series Switch Cisco IOS System Message Guide • Release Notes for Catalyst 4500 Series Switch Software Release 12.1(13)EW Other documents in the Cisco IOS documentation set include: • Cisco IOS Release 12.1 Configuration Guides • Cisco IOS Release 12.1 Command References For information about MIBs, refer to this URL: http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml...
  • Page 17: Obtaining Documentation

    These sections explain how to obtain technical information from Cisco Systems. Cisco.com You can access the most current Cisco documentation on the World Wide Web at this URL: http://www.cisco.com/univercd/home/home.htm You can access the Cisco website at this URL: http://www.cisco.com...
  • Page 18: Documentation Feedback

    The Cisco TAC website is located at this URL: http://www.cisco.com/tac Accessing all the tools on the Cisco TAC website requires a Cisco.com user ID and password. If you have a valid service contract but do not have a login ID or password, register at this URL: http://tools.cisco.com/RPF/register/register.do...
  • Page 19: Obtaining Additional Publications And Information

    TAC Case Priority Definitions To ensure that all cases are reported in a standard format, Cisco has established case priority definitions. Priority 1 (P1)—Your network is “down” or there is a critical impact to your business operations. You and Cisco will commit all necessary resources around the clock to resolve the situation.
  • Page 20 Preface Obtaining Additional Publications and Information • iQ Magazine is the Cisco bimonthly publication that delivers the latest information about Internet business strategies for executives. You can access iQ Magazine at this URL: http://www.cisco.com/go/iqmagazine • Internet Protocol Journal is a quarterly journal published by Cisco Systems for engineering professionals involved in designing, developing, and operating public and private internets and intranets.
  • Page 21: Getting Help

    Using the CLI String Search, page 1-6 • Saving Configuration Changes, page 1-11 For an overview of the Catalyst4500 series switch Cisco IOS configuration, refer to the Catalyst4500 Series Switch Cisco IOS Software Configuration Guide . Getting Help To display a list of commands that you can use within a command mode, enter a question mark ( ?) at the system prompt.
  • Page 22: Chapter1 Command-Line Interface

    Chapter1 Command-Line Interface How to Find Command Options How to Find Command Options This section provides an example of how to display syntax for a command. The syntax can consist of optional or required keywords. To display keywords for a command, enter a question mark (?) at the command prompt or after entering part of a command followed by a space.
  • Page 23: How To Find Command Options

    Chapter1 Command-Line Interface How to Find Command Options Table1-2 How to Find Command Options (continued) Command Purpose Enter a ? to display a list of all the Switch(config-if)# ? Interface configuration commands: interface configuration commands access-expression Build a bridge boolean access expression available for the Gigabit Ethernet apollo Apollo interface subcommands...
  • Page 24: Understanding Command Modes

    Chapter1 Command-Line Interface Understanding Command Modes Table1-2 How to Find Command Options (continued) Command Purpose After you enter the group keyword, Switch(config-if)# channel-group ? <1-256> Channel group number enter a ? to display what you must enter next on the command line. In Switch(config-if)#channel-group this example, you must enter a channel group number from 1to 256.
  • Page 25: Understanding Command Modes

    Chapter1 Command-Line Interface Understanding Command Modes When you start a session on the Catalyst4500 series switch, you begin in user mode, often called EXEC mode. Only a limited subset of the commands are available in EXEC mode. In order to have access to all commands, you must enter privileged EXEC mode.
  • Page 26: Using The No And Default Forms Of Commands

    Chapter1 Command-Line Interface Using the No and Default Forms of Commands Table1-3 Summary of Main Command Modes (continued) Command Mode Access Method Prompt Exit Method Subinterface From interface To exit to global configuration mode, enter the exit Switch(config-subif)# configuration configuration mode, command.
  • Page 27: Using The Cli String Search

    Chapter1 Command-Line Interface Using the CLI String Search You can perform three types of filtering: • Use the begin keyword to begin output with the line that contains a specified regular expression. • Use the include keyword to include output lines that contain a specified regular expression. •...
  • Page 28 Chapter1 Command-Line Interface Using the CLI String Search You can specify a range of single-character patterns to match against command output. For example, you can create a regular expression that matches a string containing one of the following letters: a, e, i, o, or u.
  • Page 29 Chapter1 Command-Line Interface Using the CLI String Search You can create a multiple-character regular expression containing all letters, all digits, all keyboard characters, or a combination of letters, digits, and other keyboard characters. These examples are all valid regular expressions: telebit 3107 v32bis Multipliers You can create more complex regular expressions to match multiple occurrences of a specified regular...
  • Page 30 Chapter1 Command-Line Interface Using the CLI String Search Anchoring You can match a regular expression pattern against the beginning or the end of the string. That is, you can specify that the beginning or end of a string contains a specific pattern. You “anchor” these regular expressions to a portion of the string using the special characters shown in Table1-6 Table1-6...
  • Page 31: Saving Configuration Changes

    Chapter1 Command-Line Interface Saving Configuration Changes This regular expression uses parentheses for recall: a(.)bc(.)\1\2 This regular expression matches an a followed by any character (call it character 1), followed by bc followed by any character (character 2), followed by character 1 again, followed by character 2 again. So, the regular expression can match aZbcTZT.
  • Page 32: Show Platform Commands

    Chapter1 Command-Line Interface Show Platform Commands Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 1-12 78-16201-01...
  • Page 33 Switches This chapter contains an alphabetical listing of CiscoIOS commands for the Catalyst4500 series switches. For information about Cisco IOS commands that are not included in this publication, refer to CiscoIOS Release 12.1 ConfigurationGuides and CommandReferences at this URL: http://www.cisco.com/univercd/cc/td/doc/product/software/ios121/121cgcr/index.htm Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 34: C H A P T E R 2 Cisco Ios Commands For The Catalyst 4500 Series Switches

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches #macro keywords #macro keywords To specify the help string for macro keywords, use the # macro keywords command. #macro keywords [keyword1] [keyword2] [keyword3] Syntax Description keyword 1 (Optional) Specifies a keyword that is needed while applying a macro to an interface.
  • Page 35: Aaa Accounting Dot1X Default Start-Stop Group Radius

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches aa a accounting dot1x d efault start-stop group radius aaa accounting dot1x default start-stop group radius To enable accounting for dot.1x authentication sessions, use the aaa accounting dot1x default start-stop group radius command. Use the no form of this command to disable accounting.
  • Page 36: Aaa Accounting System Default Start-Stop Group Radius

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches aaa accounting system default start-stop group radius aaa accounting system default start-stop group radius To receive session termination messages after the switch reboots, use the aaa accounting system default start-stop group radius command. Use the no form of this command to disable accounting.
  • Page 37: Access-Group Mode

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches access-group mode access-group mode To specify override modes (for example, VACL overrides PACL) and non-override modes (for example, merge or strict mode), use the access-group mode command. Use the no form of this command to return to preferred port mode.
  • Page 38: Action

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches action action To specify an action to be taken when a match occurs in a VACL, use the action command. To remove an action clause, use the no form of this command.
  • Page 39: Apply

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches apply apply To implement a new VLAN database, increment the configuration number, save the configuration number in NVRAM, and propagate the configuration number throughout the administrative domain, use the apply command.
  • Page 40: Arp Access-List

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches arp access-list arp access-list To define an ARP access list or add clauses at the end of a predefined list, use the arp access-list command. arp access-list name Syntax Description name Specifies the access control list name.
  • Page 41: Attach Module

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches attach module attach module To remotely connect to a specific module, use the attach module configuration command. attach module mod Syntax Description Target module for the command. Defaults This command has no default settings.
  • Page 42: Auto Qos Voip

    QoS. Use the cisco-phone keyword on ports at the edge of the network that are connected to Cisco IP phones. The switch detects the telephone through the Cisco Discovery Protocol (CDP) and trusts the CoS labels in packets received from the telephone.
  • Page 43 Switch(config-if)# auto qos voip trust This example shows how to enable auto-QoS and to trust the CoS labels received in incoming packets when the device connected to Fast Ethernet interface 2/1 is detected as a Cisco IP phone: Switch(config)# interface fastethernet2/1...
  • Page 44 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches auto qos voip 00:00:59: 00:00:59:interface GigabitEthernet1/1 00:00:59: qos trust device cisco-phone 00:00:59: qos trust cos 00:00:59: tx-queue 3 00:00:59: priority high 00:00:59: shape percent 33 00:00:59: bandwidth percent 33 00:00:59: service-policy output autoqos-voip-policy You can verify your settings by entering the show auto qos interface command.
  • Page 45: Auto-Sync

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches auto-sync auto-sync To enable automatic synchronization of the configuration files in NVRAM, use the auto-sync command. To disable automatic synchronization, use the no form of this command. auto-sync {startup-config | config-register | bootvar | standard }...
  • Page 46: Channel-Group

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches channel-group channel-group To assign and configure an EtherChannel interface to an EtherChannel group, use the channel-group command. To remove a channel group configuration from an interface, use the no form of this command.
  • Page 47 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches channel-group Any configuration or attribute changes you make to the port-channel interface are propagated to all interfaces within the same channel group as the port channel (for example, configuration changes are also propagated to the physical interfaces that are not part of the port channel, but are part of the channel group).
  • Page 48: Channel-Protocol

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches channel-protocol channel-protocol To enable LACP or PAgP on an interface, use the channel-protocol command. To disable the protocols, use the no form of this command. channel-protocol {lacp | pagp} no channel-protocol {lacp | pagp}...
  • Page 49 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches channel-protocol Related Commands channel-group show etherchannel Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-17 78-16201-01...
  • Page 50: Class-Map

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches class-map class-map To access the QoS class map configuration mode to configure QoS class maps, use the class-map command. To delete a class map, use the no form of this command.
  • Page 51 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches class-map • mpls • After you have configured the class map name and are in class map configuration mode, you can enter the match subcommands. The syntax for these subcommands is as follows: match {[access-group {acl_index | name acl_name}] | [ip {dscp | precedence} value1 value2...
  • Page 52: Clear Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear counters clear counters To clear interface counters, use the clear counters command. clear counters [{FastEthernet interface_number} | {GigabitEthernet interface_number} | {null interface_number} | {port-channel number} | {vlan vlan_id}] Syntax Description FastEthernet interface_number (Optional) Specifies the Fast Ethernet interface;...
  • Page 53 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear counters This example shows how to clear counters on a specific interface: Switch# clear counters vlan 200 Clear "show interface" counters on this interface [confirm]y Switch# Related Commands show interface counters (refer to Cisco IOS documentation) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 54: Clear Hw-Module Slot Password

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear hw-module slot password clear hw-module slot password To clear the password on an intelligent line module, use the clear hw-module slot password command: clear hw-module slot slot_num password Syntax Description slot_num (Optional) Specifies a slot on a line module.
  • Page 55: Clear Interface Gigabitethernet

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear interface gigabitethernet clear interface gigabitethernet To clear the hardware logic from a Gigabit Ethernet IEEE 802.3z interface, use the clear interface .gigabitethernet command. clear interface gigabitethernet slot/port Syntax Description slot/port Number of the slot and port.
  • Page 56: Clear Interface Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear interface vlan clear interface vlan To clear the hardware logic from a VLAN, use the clear interface vlan command. clear interface vlan number Syntax Description number Number of the VLAN interface; valid values are from 1 to 4094.
  • Page 57: Clear Ip Access-Template

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip access-template clear ip access-template To clear statistical information in access lists, use the clear ip access-template command. clear ip access-template access-list Syntax Description access-list Number of the access list; valid values are from 100 to 199 for an IP extended access list, and from 2000 to 2699 for an expanded range IP extended access list.
  • Page 58: Clear Ip Arp Inspection Log

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip arp inspection log clear ip arp inspection log To clear the status of the log buffer, use the clear ip arp inspection log command. clear ip arp inspection log Syntax Description This command has no arguments or keywords.
  • Page 59: Clear Ip Arp Inspection Statistics

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip arp inspection statistics clear ip arp inspection statistics To clear the dynamic ARP inspection statistics, use the clear ip arp inspection statistics command. clear ip arp inspection statistics [vlan vlan-range]...
  • Page 60: Clear Ip Dhcp Snooping Database

    This example shows how to clear the DHCP binding database: Switch# clear ip dhcp snooping database Switch# Related Commands ip dhcp snooping ip dhcp snooping binding interface (refer to Cisco IOS documentation) ip dhcp snooping information option ip dhcp snooping trust ip dhcp snooping vlan show ip dhcp snooping show ip dhcp snooping binding Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 61: Clear Ip Dhcp Snooping Database Statistics

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip dhcp snooping database statistics clear ip dhcp snooping database statistics To clear DHCP binding database statistics, use the clear ip dhcp snooping database statistics command. clear ip dhcp snooping database statistics Syntax Description This command has no arguments or keywords.
  • Page 62: Clear Ip Igmp Group

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip igmp group clear ip igmp group To delete IGMP group cache entries, use the clear ip igmp group command. clear ip igmp group [{fastethernet slot/port} | {GigabitEthernet slot/port} | {host_name |...
  • Page 63 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip igmp group Related Commands ip host (refer to Cisco IOS documentation) show ip igmp groups (refer to Cisco IOS documentation) show ip igmp interface Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 64: Clear Ip Igmp Snooping Membership

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip igmp snooping membership clear ip igmp snooping membership To clear the explicit host tracking database, use the clear ip igmp snooping membership command. clear ip igmp snooping membership [vlan vlan_id]...
  • Page 65: Clear Ip Mfib Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip mfib counters clear ip mfib counters To clear global MFIB counters and counters for all active MFIB routes, use the clear ip mfib counters command. clear ip mfib counters Syntax Description This command has no arguments or keywords.
  • Page 66: Clear Ip Mfib Fastdrop

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear ip mfib fastdrop clear ip mfib fastdrop To clear all MFIB fast drop entries, use the clear ip mfib fastdrop command. clear ip mfib fastdrop Syntax Description This command has no arguments or keywords.
  • Page 67: Clear Lacp Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear lacp counters clear lacp counters To clear statistics for all interfaces belonging to a specific channel group, use the clear lacp counters command. clear lacp [channel-group] counters Syntax Description channel-group (Optional) Channel group number;...
  • Page 68: Clear Mac-Address-Table Dynamic

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear mac-address-table dynamic clear mac-address-table dynamic To clear dynamic address entries from the Layer 2 MAC address table, use the clear mac-address-table dynamic command. clear mac-address-table dynamic [{address mac_addr} | {interface interface }] [vlan vlan_id]...
  • Page 69: Clear Pagp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear pagp clear pagp To clear port channel information, use the clear pagp command. clear pagp {group-number | counters} Syntax Description group-number Channel group number; valid values are from 1 to 64.
  • Page 70: Clear Port-Security

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear port-security clear port-security To delete from the MAC address table all secure addresses, all configured secure addresses, or a specific dynamic or sticky secure address on an interface, use the clear port-security command.
  • Page 71: Clear Qos

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear qos clear qos To clear global and per-interface aggregate QoS counters, use the clear qos command. clear qos [aggregate-policer [name] | interface {{fastethernet | GigabitEthernet} {slot/interface}} | vlan {vlan_num} | port-channel {number}]...
  • Page 72: Clear Vlan Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear vlan counters clear vlan counters To clear the software-cached counter values to start from zero again for a specified VLAN or all existing VLANs, use the clear vlan counters command.
  • Page 73: Clear Vmps Statistics

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches clear vmps statistics clear vmps statistics To clear VMPS statistics, use the clear vmps statistics command. clear vmps statistics Syntax Description This command has no arguments or keywords. Defaults This command has no default settings.
  • Page 74: Debug Adjacency

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug adjacency debug adjacency To display adjacency debugging information, use the debug adjacency command. To disable debugging output, use the no form of this command. debug adjacency [ipc] no debug adjacency Syntax Description (Optional) Displays IPC entries in the adjacency database.
  • Page 75: Debug Backup

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug backup debug backup To debug backup events, use the debug backup command. To disable debugging output, use the no form of this command. debug backup no debug backup Syntax Description This command has no arguments or keywords.
  • Page 76: Debug Condition Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug condition interface debug condition interface To limit debugging output of interface-related activities, use the debug condition interface command. To disable debugging output, use the no form of this command.
  • Page 77: Debug Condition Standby

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug condition standby debug condition standby To limit debugging output for standby state changes, use the debug condition standby command. To disable debugging output, use the no form of this command.
  • Page 78 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug condition standby are first removed. Proceed with removal? [yes/no]: n % Operation aborted Switch# Related Commands undebug condition standby (same as no debug condition standby) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 79: Debug Condition Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug condition vlan debug condition vlan To limit VLAN debugging output for a specific VLAN, use the debug condition vlan command. To disable debugging output, use the no form of this command.
  • Page 80: Debug Dot1X

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug dot1x debug dot1x To enable debugging for the 802.1x feature, use the debug dot1x command. Use the no form of this command to disable debugging output. debug dot1x {all | errors | events | packets | registry | state-machine }...
  • Page 81: Debug Etherchnl

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug etherchnl debug etherchnl To debug EtherChannel, use the debug etherchnl command. To disable debugging output, use the no form of this command. debug etherchnl [all | detail | error | event | idb | linecard ]...
  • Page 82 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug etherchnl This example shows how to disable debugging: Switch# no debug etherchnl Switch# Related Commands undebug etherchnl (same as no debug etherchnl) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-50...
  • Page 83: Debug Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug interface debug interface To abbreviate entry of the debug condition interface command, use the debug interface command. To disable debugging output, use the no form of this command. debug interface {FastEthernet slot/port | GigabitEthernet slot/port | null |...
  • Page 84: Debug Ipc

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug ipc debug ipc To debug IPC activity, use the debug ipc command. To disable debugging output, use the no form of this command. debug ipc {all | errors | events | headers | packets | ports | seats}...
  • Page 85: Debug Ip Dhcp Snooping Event

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug ip dhcp snooping event debug ip dhcp snooping event To debug DHCP snooping events, use the debug ip dhcp snooping event command. To disable debugging output, use the no form of this command.
  • Page 86: Debug Ip Dhcp Snooping Packet

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug ip dhcp snooping packet debug ip dhcp snooping packet To debug DHCP snooping messages, use the debug ip dhcp snooping packet command. To disable debugging output, use the no form of this command.
  • Page 87: Debug Ip Verify Source Packet

    (refer to Cisco IOS documentation) show ip dhcp snooping show ip dhcp snooping binding show ip verify source (refer to Cisco IOS documentation) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 88: Debug Lacp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug lacp debug lacp To debug LACP activity, use the debug lacp command. To disable debugging output, use the no form of this command. debug lacp [all | event | fsm | misc | packet]...
  • Page 89: Debug Monitor

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug monitor debug monitor To display monitoring activity, use the debug monitor command. To disable debugging output, use the no form of this command. debug monitor {all | errors | idb-update | list | notifications | platform | requests}...
  • Page 90: Debug Nvram

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug nvram debug nvram To debug NVRAM activity, use the debug nvram command. To disable debugging output, use the no form of this command. debug nvram no debug nvram Syntax Description This command has no arguments or keywords.
  • Page 91: Debug Pagp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug pagp debug pagp To debug PAgP activity, use the debug pagp command. To disable debugging output, use the no form of this command. debug pagp [all | event | fsm | misc | packet]...
  • Page 92: Debug Platform Packet Protocol Lacp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug platform packet protocol lacp debug platform packet protocol lacp To debug LACP protocol packets, use the debug platform packet protocol lacp command. To disable debugging output, use the no form of this command.
  • Page 93: Debug Platform Packet Protocol Pagp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug platform packet protocol pagp debug platform packet protocol pagp To debug PAgP protocol packets, use the debug platform packet protocol lacp command. To disable debugging output, use the no form of this command.
  • Page 94: Debug Pm

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug pm debug pm To debug port manager (PM) activity, use the debug pm command. To disable debugging output, use the no form of this command. debug pm {all | card | cookies | etherchnl | messages | port | registry | scp | sm | span | split |...
  • Page 95: Debug Psecure

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug psecure debug psecure To debug port security, use the debug psecure command. To disable debugging output, use the no form of this command. debug psecure no debug psecure Syntax Description This command has no arguments or keywords.
  • Page 96: Debug Redundancy

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug redundancy debug redundancy To debug supervisor redundancy, use the debug redundancy command. To disable debugging output, use the no form of this command. debug redundancy {errors | fsm | kpa | msg | progression | status | timer}...
  • Page 97: Debug Smf Updates

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug smf updates debug smf updates To debug software MAC filter (SMF) address insertions and deletions, use the debug smf updates command. To disable debugging output, use the no form of this command.
  • Page 98: Debug Spanning-Tree

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug spanning-tree debug spanning-tree To debug spanning tree activities, use the debug spanning-tree command. To disable debugging output, use the no form of this command. debug spanning-tree {all | bpdu | bpdu-opt | etherchannel | config | events | exceptions |...
  • Page 99: Debug Spanning-Tree Backbonefast

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug spanning-tree backbonefast debug spanning-tree backbonefast To enable debugging of spanning tree BackboneFast events, use the debug spanning-tree backbonefast command. To disable debugging output, use the no form of this command.
  • Page 100: Debug Spanning-Tree Switch

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug spanning-tree switch debug spanning-tree switch To enable switch shim debugging, use the debug spanning-tree switch command. To disable debugging output, use the no form of this command. debug spanning-tree switch {all | errors | general | pm | rx {decode | errors | interrupt |...
  • Page 101 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug spanning-tree switch Examples This example shows how to enable transmit BPDU debugging on the spanning tree switch shim: Switch# debug spanning-tree switch tx Spanning Tree Switch Shim transmit bpdu debugging is on...
  • Page 102: Debug Spanning-Tree Uplinkfast

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug spanning-tree uplinkfast debug spanning-tree uplinkfast To enable debugging of spanning tree UplinkFast events, use the debug spanning-tree uplinkfast command. To disable debugging output, use the no form of this command.
  • Page 103: Debug Sw-Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug sw-vlan debug sw-vlan To debug VLAN manager activities, use the debug sw-vlan command. To disable debugging output, use the no form of this command. debug sw-vlan {badpmcookies | events | management | packets | registries}...
  • Page 104: Debug Sw-Vlan Ifs

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug sw-vlan ifs debug sw-vlan ifs To enable VLAN manager IOS file system (IFS) error tests, use the debug sw-vlan ifs command. To disable debugging output, use the no form of this command.
  • Page 105: Debug Sw-Vlan Notification

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug sw-vlan notification debug sw-vlan notification To enable debugging messages that trace the activation and deactivation of ISL VLAN IDs, use the debug sw-vlan notification command. To disable debugging output, use the no form of this command.
  • Page 106: Debug Sw-Vlan Vtp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug sw-vlan vtp debug sw-vlan vtp To enable debugging messages to be generated by the VTP protocol code, use the debug sw-vlan vtp command. To disable debugging output, use the no form of this command.
  • Page 107: Debug Udld

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug udld debug udld To enable debugging of UDLD activity, use the debug udld command. To disable debugging output, use the no form of this command. debug udld {events | packets | registries}...
  • Page 108: Debug Vqpc

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches debug vqpc debug vqpc To debug VLAN Query Protocol (VQP), use the debug vqpc command. To disable debugging output, use the no form of this command. debug vqpc [all | cli | events | learn | packet]...
  • Page 109: Define Interface-Range

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches define interface-range define interface-range To create a macro of interfaces, use the define interface-range command. define interface-range macro-name interface-range Syntax Description macro-name Name of the interface range macro; up to 32 characters.
  • Page 110: Deny

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches deny deny To deny an ARP packet based on matches against the DHCP bindings, use the deny command. Use the no form of the command to remove specified ACEs from the access list.
  • Page 111 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches deny Command History Release Modification 12.1(19)EW Support for this command was introduced on the Catalyst 4500 series switch. Usage Guidelines Deny clauses can be added to forward or drop ARP packets based on some matching criteria.
  • Page 112: Diagnostic Monitor Action

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches diagnostic monitor action diagnostic monitor action To direct the action of the switch when it detects a packet memory failure, use the diagnostic monitor action command. diagnostic monitor action [conservative | normal | aggressive ]...
  • Page 113: Dot1X Guest-Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x guest-vlan dot1x guest-vlan To enable guest VLAN on a per-port basis use the dot1x guest-vlan command. To return to the default setting, use the no form of this command.
  • Page 114: Dot1X Initialize

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x initialize dot1x initialize To unauthorize an interface before reinitializing 802.1x, use the dot1x initialize command. dot1x initialize interface Syntax Description interface The number of the interface. Defaults This command has no default settings.
  • Page 115: Dot1X Max-Reauth-Req

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x max-reauth-req dot1x max-reauth-req To set the maximum number of times the switch will retransmit an EAP-Request/Identity frame to the client before restarting the authentication process, use the dot1x max-reauth-req command. To return to the default setting, use the no form of this command.
  • Page 116: Dot1X Max-Req

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x max-req dot1x max-req To set the maximum number of times the switch retransmits an Extensible Authentication Protocol (EAP)-Request frame of types other than EAP-Request/Identity to the client before restarting the authentication process, use the dot1x max-req command.
  • Page 117: Dot1X Multiple-Hosts

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x multiple-hosts dot1x multiple-hosts To allow multiple hosts (clients) on an 802.1x-authorized port that has the dot1x port-control interface configuration command set to auto, use the dot1x multiple-hosts command. To return to the default setting, use the no form of this command.
  • Page 118: Dot1X Port-Control

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x port-control dot1x port-control To enable manual control of the authorization state on a port, use the dot1x port-control command. To return to the default setting, use the no form of this command.
  • Page 119 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x port-control • Switch Port Analyzer (SPAN) destination port—You can enable 802.1x on a port that is a SPAN destination port; however, 802.1x is disabled until the port is removed as a SPAN destination. You can enable 802.1x on a SPAN source port.
  • Page 120: Dot1X Re-Authenticate

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x re-authenticate dot1x re-authenticate To manually initiate a reauthentication of all 802.1x-enabled ports or the specified 802.1x-enabled port, use the dot1x re-authenticate command. dot1x re-authenticate [interface interface-id] Syntax Description interface interface-id (Optional) Slot and port number of the interface.
  • Page 121: Dot1X Re-Authentication

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x re-authentication dot1x re-authentication To enable periodic reauthentication of the client, use the dot1x re-authentication command. To return to the default setting, use the no form of this command. dot1x re-authentication...
  • Page 122: Dot1X System-Auth-Control

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x system-auth-control dot1x system-auth-control To enable 802.1x authentication on the switch, use the dot1x system-auth-control command. To disable 802.1x authentication on the system, use the no form of this command.
  • Page 123: Dot1X Timeout

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x timeout dot1x timeout To set the reauthentication timer, use the dot1x timeout command. To return to the default setting, use the no form of this command. dot1x timeout {reauth-period seconds | quiet-period seconds | tx-period seconds |...
  • Page 124 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches dot1x timeout This example shows how to set 60 as the number of seconds that the switch waits for a response to an EAP-request/identity frame from the client before retransmitting the request:...
  • Page 125: Duplex

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches duplex duplex To configure the duplex operation on an interface, use the duplex command. To return to the default setting, use the no form of this command. duplex {auto | full | half}...
  • Page 126 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches duplex If the transmission speed on a 16-port RJ-45 Gigabit Ethernet port is set to 1000, duplex mode is set to full. If the transmission speed is changed to 10 or 100, the duplex mode stays at full. You must configure the correct duplex mode on the switch when the transmission speed changes to 10 or 100 from 1000 Mbps.
  • Page 127: Errdisable Detect

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches errdisable detect errdisable detect To enable error disable detection, use the errdisable detect command. To disable the error disable detection feature, use the no form of this command. errdisable detect cause {all | arp-inspection | dhcp-rate-limit | dtp-flap | gbic-invalid |...
  • Page 128 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches errdisable detect To disable error disable detection for DAI, perform the following: Switch(config)# no errdisable detect cause arp-inspection Switch(config)# end Switch# show errdisable detect ErrDisable Reason Detection status ----------------- ----------------...
  • Page 129: Errdisable Recovery

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches errdisable recovery errdisable recovery To configure the recovery mechanism variables, use the errdisable recovery command. To return to the default setting, use the no form of this command. errdisable recovery [cause {all | arp-inspection | bpduguard | channel-misconfig |...
  • Page 130 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches errdisable recovery Defaults Error disable recovery is disabled. The recovery interval is set to 300 seconds. Command Modes Configuration Command History Release Modification 12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch.
  • Page 131 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches errdisable recovery Timer interval: 300 seconds Interfaces that will be enabled at the next timeout: Switch# Related Commands show errdisable recovery show interfaces status Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 132: Flowcontrol

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches flowcontrol flowcontrol To configure a Gigabit Ethernet interface to send or receive pause frames, use the flowcontrol command. To disable the flow control setting, use the no form of this command.
  • Page 133 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches flowcontrol Command History Release Modification 12.1(8a)EW Support for this command was introduced on the Catalyst 4500 series switch. Usage Guidelines Pause frames are special packets that signal a source to stop sending frames for a specific period of time because the buffers are full.
  • Page 134 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches flowcontrol Examples This example shows how to enable send flow control: Switch(config-if)# flowcontrol receive on Switch(config-if)# This example shows how to disable send flow control: Switch(config-if)# flowcontrol send off Switch(config-if)#...
  • Page 135: Hw-Module Power

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches hw-module power hw-module power To turn the power off on a slot or line module, use the no hw-module power command. To turn the power back on, use the hw-module power command.
  • Page 136: Instance

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches instance instance To map a VLAN or a set of VLANs to an MST instance, use the instance command. To return the VLANs to the common instance default, use the no form of this command.
  • Page 137 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches instance Related Commands name revision show spanning-tree mst spanning-tree mst configuration Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-105 78-16201-01...
  • Page 138 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches instance Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-106 78-16201-01...
  • Page 139: Interface Port-Channel

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches interface port-channel interface port-channel To access or create a port channel interface, use the interface port-channel command. interface port-channel channel-group Syntax Description channel-group Port channel group number; valid values are from 1 to 64.
  • Page 140: Interface Range

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches interface range interface range To run a command on multiple ports at the same time, use the interface range command. interface range {vlan vlan_id - vlan_id} {port-range | macro name}...
  • Page 141 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches interface range Valid values for interface-type are as follows: • FastEthernet • GigabitEthernet • Vlan vlan_id You cannot specify both a macro and an interface range in the same command. After creating a macro, you can enter additional ranges.
  • Page 142: Interface Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches interface vlan interface vlan To create or access a Layer 3 switch virtual interface (SVI), use the interface vlan command. To delete an SVI, use the no form of this command.
  • Page 143: Ip Arp Inspection Filter Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection filter vlan ip arp inspection filter vlan To permit ARPs from hosts configured for static IP when DAI is enabled and to define an ARP access list and apply it to a VLAN, use the ip arp inspection filter vlan command. Use the no form of this command to disable this application.
  • Page 144 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection filter vlan Vlan Configuration Operation ACL Match Static ACL ---- ------------- --------- --------- ---------- Enabled Active static-hosts Vlan ACL Logging DHCP Logging ---- ----------- ------------ Acl-Match Deny...
  • Page 145: Ip Arp Inspection Limit (Interface)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection limit (interface) ip arp inspection limit (interface) To limit the rate of incoming ARP requests and responses on an interface and prevent DAI from consuming all of the system’s resources in event of a DOS attack, use the ip arp inspection limit command.
  • Page 146 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection limit (interface) Examples This example shows how to limit the rate of incoming ARP requests to 25 packets per second: Switch# config terminal Switch(config)# interface fa6/3 Switch(config-if)# ip arp inspection limit rate 25...
  • Page 147: Ip Arp Inspection Log-Buffer

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection log-buffer ip arp inspection log-buffer To configure parameters that are associated with the logging buffer, use the ip arp inspection log-buffer command. Use the no form of this command to disable the parameters.
  • Page 148 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection log-buffer This example shows how to configure the logging rate to 10 logs per 3 seconds: Switch(config)# ip arp inspection log-buffer logs 10 interval 3 Switch(config)# end...
  • Page 149: Ip Arp Inspection Trust

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection trust ip arp inspection trust To set a per-port configurable trust state that determines the set of interfaces where incoming ARP packets are inspected, use the ip arp inspection trust command. Use the no form of this command to make interfaces untrusted.
  • Page 150: Ip Arp Inspection Validate

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection validate ip arp inspection validate To perform specific checks for ARP inspection, use the ip arp inspection validate command. Use the no form of this command to disable the checks.
  • Page 151: Related Commands

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection validate Examples This example show how to enable source MAC validation: Switch(config)# ip arp inspection validate src-mac Switch(config)# end Switch# show ip arp inspection vlan 1 Source Mac Validation...
  • Page 152: Ip Arp Inspection Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection vlan ip arp inspection vlan To enable dynamic ARP inspection (DAI) on a per-VLAN basis, use the ip arp inspection vlan command. Use the no form of this command to disable DAI.
  • Page 153: Ip Arp Inspection Vlan Logging

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection vlan logging ip arp inspection vlan logging To control the type of packets that are logged, use the ip arp inspection vlan logging command. Use the no form of this command to disable this logging control.
  • Page 154 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip arp inspection vlan logging Examples This example shows how to configure ARP inspection on VLAN 1 to log packets on matching against ACLs with the logging keyword: Switch# config terminal Enter configuration commands, one per line.
  • Page 155: Ip Cef Load-Sharing Algorithm

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip cef load-sharing algorithm ip cef load-sharing algorithm To configure the load-sharing hash function so that the source TCP/UDP port, or the destination TCP/UDP port, or both can be included in the hash in addition to the source and destination IP addresses, use the ip cef load-sharing algorithm command.
  • Page 156: Ip Dhcp Snooping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping ip dhcp snooping To enable DHCP snooping globally, use the ip dhcp snooping command. To disable DHCP snooping, use the no form of this command. ip dhcp snooping...
  • Page 157: Ip Dhcp Snooping Binding

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping binding ip dhcp snooping binding To set up and generate a DHCP binding configuration to restore bindings across reboots, use the ip dhcp snooping binding command. To disable the binding configuration, use the no form of this command.
  • Page 158: Ip Dhcp Snooping Database

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping database ip dhcp snooping database To store the bindings generated by DHCP snooping, use the ip dhcp snooping database command. Use the no form of this command to either reset the timeout, reset the write-delay, or delete the agent specified by the URL.
  • Page 159 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping database Examples This example shows how to store a database file with the IP address 10.1.1.1 within a directory called directory. A file named file must be present on the TFTP server.
  • Page 160: Ip Dhcp Snooping Information Option

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping information option ip dhcp snooping information option To enable DHCP option 82 data insertion, use the ip dhcp snooping information option command. To disable DHCP option 82 data insertion, use the no form of this command.
  • Page 161: Ip Dhcp Snooping Limit Rate

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping limit rate ip dhcp snooping limit rate To configure the number of DHCP messages an interface can receive per second, use the ip dhcp snooping limit rate command. To disable DHCP snooping rate limiting, use the no form of this command.
  • Page 162: Ip Dhcp Snooping Trust

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping trust ip dhcp snooping trust To configure an interface as trusted for DHCP snooping purposes, use the ip dhcp snooping trust command. To configure an interface as untrusted, use the no form of this command.
  • Page 163: Ip Dhcp Snooping Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping vlan ip dhcp snooping vlan Use the ip dhcp snooping vlan command to enable DHCP snooping on a VLAN. To disable DHCP snooping on a VLAN, use the no form of this command.
  • Page 164 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip dhcp snooping vlan Related Commands ip dhcp snooping ip dhcp snooping information option ip dhcp snooping limit rate ip dhcp snooping trust show ip dhcp snooping show ip dhcp snooping binding Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 165: Ip Igmp Filter

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp filter ip igmp filter To control whether all hosts on a Layer2 interface can join one or more IP multicast groups by applying an IGMP profile to the interface, use the ip igmp filter command. To remove a profile from the interface,...
  • Page 166: Ip Igmp Max-Groups

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp max-groups ip igmp max-groups To set the maximum number of IGMP groups that a Layer 2 interface can join, use the ip igmp max-groups command. To set the maximum back to the default, use the no form of this command.
  • Page 167: Ip Igmp Profile

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp profile ip igmp profile To create an IGMP profile, use the ip igmp profile command. To delete the IGMP profile, use the no form of this command. ip igmp profile profile number...
  • Page 168: Ip Igmp Query-Interval

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp query-interval ip igmp query-interval To configure the frequency that the switch sends IGMP host-query messages, use the ip igmp query-interval command. To return to the default frequency, use the no form of this command.
  • Page 169: Ip Igmp Snooping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping ip igmp snooping To enable IGMP snooping, use the ip igmp snooping command. To disable IGMP snooping, use the no form of this command. ip igmp snooping [tcn {flood query count count | query solicit}]...
  • Page 170 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping This example shows how to enable flooding the spanning-tree table to the network after 9 topology changes have occurred: Switch(config)# ip igmp snooping tcn flood query count 9...
  • Page 171: Ip Igmp Snooping Report-Suppression

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping report-suppression ip igmp snooping report-suppression To enable report suppression, use the ip igmp snooping report-suppression command. To disable report suppression and forward reports to multicast devices, use the no form of this command.
  • Page 172 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping report-suppression Related Commands ip igmp snooping vlan immediate-leave ip igmp snooping vlan mrouter ip igmp snooping vlan static Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-140 78-16201-01...
  • Page 173: Ip Igmp Snooping Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping vlan ip igmp snooping vlan To enable IGMP snooping for a VLAN, use the ip igmp snooping vlan command. To disable IGMP snooping, use the no form of this command.
  • Page 174: Ip Igmp Snooping Vlan Explicit-Tracking

    Explicit host tracking : Disabled Switch# Related Commands clear ip igmp snooping statistics vlan (refer to Cisco IOS documentation) show ip igmp snooping membership show ip igmp snooping statistics vlan (refer to Cisco IOS documentation) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 175: Ip Igmp Snooping Vlan Immediate-Leave

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping vlan immediate-leave ip igmp snooping vlan immediate-leave To enable IGMP immediate-leave processing, use the ip igmp snooping vlan immediate-leave command. To disable immediate-leave processing, use the no form of this command.
  • Page 176: Ip Igmp Snooping Vlan Mrouter

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping vlan mrouter ip igmp snooping vlan mrouter To statically configure an Layer 2 interface as a multicast router interface for a VLAN, use the ip igmp snooping vlan mrouter command. To remove the configuration, use the no form of this command.
  • Page 177 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping vlan mrouter Examples This example shows how to specify the next-hop interface to multicast switch: Switch(config-if)# ip igmp snooping 400 mrouter interface fastethernet 5/6 Switch(config-if)# This example shows how to specify the multicast switch learning method:...
  • Page 178: Ip Igmp Snooping Vlan Static

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip igmp snooping vlan static ip igmp snooping vlan static To configure an Layer 2 interface as a member of a group, use the ip igmp snooping vlan static command. To remove the configuration, use the no form of this command.
  • Page 179: Ip Local-Proxy-Arp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip local-proxy-arp ip local-proxy-arp To enable the local proxy ARP feature, use the ip local-proxy-arp command. To disable the l ocal proxy ARP feature, use the no form of this command.
  • Page 180: Ip Mfib Fastdrop

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip mfib fastdrop ip mfib fastdrop To enable MFIB fast drop, use the ip mfib fastdrop command. To disable MFIB fast drop, use the no form of this command. ip mfib fastdrop...
  • Page 181: Ip Route-Cache Flow

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip route-cache flow ip route-cache flow To enable NetFlow statistics for IP routing, use the ip route-cache flow command. To disable NetFlow statistics, use the no form of this command.
  • Page 182 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip route-cache flow Examples This example shows how to enable NetFlow switching on the switch: Switch# config terminal Switch(config)# ip route-cache flow Switch(config)# exit Switch# Note This command does not work on a per-interface basis.
  • Page 183: Ip Source Binding

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip source binding ip source binding To add or delete a static IP source binding entry, use the ip source binding command. Use the no form of this command to delete the corresponding IP source binding entry.
  • Page 184: Ip Sticky-Arp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip sticky-arp ip sticky-arp To enable sticky ARP, use the ip sticky-arp command. Use the no form of this command to disable sticky ARP. ip sticky-arp no ip sticky-arp Syntax Description This command has no arguments or keywords.
  • Page 185 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip sticky-arp Related Commands arp (refer to Cisco IOS documentation) show arp (refer to Cisco IOS documentation) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-153 78-16201-01...
  • Page 186: Ip Verify Header Vlan All

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip verify header vlan all ip verify header vlan all To enable IP header validation for Layer 2-switched IPv4 packets, use the ip verify header vlan all command. To disable the IP header validation, use the no form of this command.
  • Page 187: Ip Verify Source Vlan Dhcp-Snooping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip verify source vlan dhcp-snooping ip verify source vlan dhcp-snooping To enable IP source guard on DHCP snooping untrusted Layer 2 interfaces, use the ip verify source vlan dhcp-snooping command. Use the no form of this command to disable IP source guard on DHCP snooping untrusted Layer 2 interfaces.
  • Page 188 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches ip verify source vlan dhcp-snooping Related Commands debug ip verify source packet (refer to Cisco IOS documentation) ip dhcp snooping ip dhcp snooping limit rate ip dhcp snooping information option...
  • Page 189: L2Protocol-Tunnel

    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 Layer2 protocol MAC address.
  • Page 190: L2Protocol-Tunnel Cos

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches l2protocol-tunnel cos l2protocol-tunnel cos To configure the class of service (CoS) value for all tunneled Layer 2 protocol packets, use the l2protocol-tunnel cos command. Use the no form of this command to return to the default value of zero.
  • Page 191: L2Protocol-Tunnel Drop-Threshold

    I2protocol-tunnel drop-threshold command. You can set the drop threshold for Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets. Use the no form of this command to disable the drop threshold on the interface.
  • Page 192: L2Protocol-Tunnel Shutdown-Threshold

    To configure the protocol tunneling encapsulation rate, use the I2protocol-tunnel shutdown-threshold command. You can set the encapsulation rate for Cisco Discovery Protocol (CDP), Spanning Tree Protocol (STP), or VLAN Trunking Protocol (VTP) packets. Use the no form of this command to disable the encapsulation rate on the interface.
  • Page 193: Lacp Port-Priority

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches lacp port-priority lacp port-priority To set the LACP priority for physical interfaces, use the lacp port-priority command. lacp port-priority priority Syntax Description priority Priority for the physical interfaces; valid values are from 1 to 65535.
  • Page 194: Lacp System-Priority

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches lacp system-priority lacp system-priority To set the priority of the system for LACP, use the lacp system-priority command. lacp system-priority priority Syntax Description priority Priority of the system; valid values are from 1 to 65535.
  • Page 195: Mac Access-List Extended

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac access-list extended mac access-list extended To define extended MAC access lists, use the mac access-list extended command. To remove MAC access lists, use the no form of this command.
  • Page 196 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac access-list extended Table2-7 mac access-list extended Subcommands (continued) Subcommand Description dest-mac mask (Optional) Destination MAC address in the form: dest-mac-address dest-mac-address-mask. protocol-family (Optional) Name of the protocol family. Table2-8 explains which packets are mapped to a particular protocol family.
  • Page 197 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac access-list extended Examples This example shows how to create a MAC layer access list named mac_layer that denies traffic from 0000.4700.0001, which is going to 0000.4700.0009, and permits all other traffic: Switch(config)# mac access-list extended mac_layer Switch(config-ext-macl)# deny 0000.4700.0001 0.0.0 0000.4700.0009 0.0.0 protocol-family appletalk...
  • Page 198: Mac-Address-Table Aging-Time

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac-address-table aging-time mac-address-table aging-time To configure aging time for entries in the Layer 2 table, use the mac-address-table aging-time command. To reset the seconds value to the default setting, use the no form of this command.
  • Page 199: Mac-Address-Table Dynamic Group Protocols

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac-address-table dynamic group protocols mac-address-table dynamic group protocols To enable the learning of MAC addresses in both the “ip” and “other” protocol buckets, even though the incoming packet may belong to only one of the protocol buckets, use the mac-address -table dynamic group protocols command.
  • Page 200 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac-address-table dynamic group protocols 0003.ba06.4538 dynamic ip GigabitEthernet3/1 0003.fd63.3eb4 dynamic ip GigabitEthernet3/1 0004.2326.18a1 dynamic ip GigabitEthernet3/1 0004.5a5d.de53 dynamic ip GigabitEthernet3/1 0004.5a5e.6ecc dynamic ip GigabitEthernet3/1 0004.5a5e.f60e dynamic ip GigabitEthernet3/1 0004.5a5f.06f7 dynamic ip GigabitEthernet3/1 0004.5a5f.072f...
  • Page 201 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac-address-table dynamic group protocols 0004.5a5f.090b dynamic ip,other GigabitEthernet3/1 0004.5a64.f813 dynamic ip,other GigabitEthernet3/1 0004.5a66.1a77 dynamic ip,other GigabitEthernet3/1 0004.5a6b.56b2 dynamic ip,other GigabitEthernet3/1 0004.5a6c.6a07 dynamic ip,other GigabitEthernet3/1 0004.5a88.b075 dynamic ip,other GigabitEthernet3/1 0004.c1bd.1b40 dynamic ip,other GigabitEthernet3/1 0004.c1d8.b3c0...
  • Page 202: Mac-Address-Table Static

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac-address-table static mac-address-table static To configure static MAC addresses for a VLAN interface or drop unicast traffic for a MAC address for a VLAN interface, use the mac-address-table static command. To remove static MAC address configurations, use the no form of this command.
  • Page 203 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches mac-address-table static Examples This example shows how to add static entries to the MAC address table: Switch(config)# mac-address-table static 0050.3e8d.6400 vlan 100 interface fastethernet5/7 Switch(config)# This example shows how to configure a static MAC address with IGMP snooping disabled for a specified address: Switch(config)# mac-address-table static 0050.3e8d.6400 vlan 100 interface fastethernet5/7 disable-snooping...
  • Page 204: Macro Apply Cisco-Desktop

    Cisco IOS Commands for the Catalyst 4500 Series Switches macro apply cisco-desktop macro apply cisco-desktop To enable Cisco-recommended features and settings that are suitable for connecting a switch port to a standard desktop, use the macro apply cisco-desktop command. macro apply cisco-desktop $AVID access_vlanid...
  • Page 205 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches macro apply cisco-desktop Related Commands macro apply cisco-phone macro apply cisco-router macro apply cisco-switch Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-173 78-16201-01...
  • Page 206: Macro Apply Cisco-Phone

    To enable Cisco-recommended features and settings that are suitable for connecting a switch port to a standard desktop and a Cisco IP phone, use the macro apply cisco-phone command. macro apply cisco-phone $AVID access_vlanid $VVID voice_vlanid...
  • Page 207 2 switchport port-security aging type inactivity # Enable auto-qos to extend trust to attached Cisco phone auto qos voip cisco-phone # Configure port as an edge network port spanning-tree portfast...
  • Page 208: Macro Apply Cisco-Router

    Cisco IOS Commands for the Catalyst 4500 Series Switches macro apply cisco-router macro apply cisco-router To enable Cisco-recommended features and settings that are suitable for connecting a switch port to a router, use the macro apply cisco-router command. macro apply cisco-router $NVID native_vlanid...
  • Page 209 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches macro apply cisco-router # Ensure fast access to the network when enabling the interface. # Ensure that switch devices cannot become active on the interface. spanning-tree portfast spanning-tree bpduguard enable...
  • Page 210: Macro Apply Cisco-Switch

    Cisco IOS Commands for the Catalyst 4500 Series Switches macro apply cisco-switch macro apply cisco-switch To enable Cisco-recommended features and settings that are suitable for connecting a switch port to another switch, use the macro apply cisco-switch command. macro apply cisco-switch $NVID native_vlanid...
  • Page 211 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches macro apply cisco-switch Related Commands macro apply cisco-desktop macro apply cisco-phone macro apply cisco-router Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-179 78-16201-01...
  • Page 212: Main-Cpu

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches main-cpu main-cpu To enter the main CPU submode and manually synchronize the configurations on the two supervisor engines, use the main-cpu command. main-cpu Syntax Description This command has no arguments or keywords.
  • Page 213: Match

    Refer to the Catalyst4500 Series Switch CiscoIOS Software Configuration Guide for additional configuration guidelines and restrictions. Refer to the Cisco IOS Command Reference publication for additional match command information. Examples This example shows how to define a match clause for a VLAN access map:...
  • Page 214: Monitor Session

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches monitor session monitor session To enable SPAN sessions on interfaces or VLANs, use the monitor session command. To remove one or more source or destination interfaces from a SPAN session, or a source VLAN from a SPAN session, use the no form of this c ommand.
  • Page 215 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches monitor session queue queue_id Specifies that only traffic received on the specific CPU subqueue should be copied to the destination of the session. Valid values are from 1 to 32, or by the following names: all,...
  • Page 216 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches monitor session Usage Guidelines Only one SPAN destination for a SPAN session is supported. If you attempt to add another destination interface to a session that already has a destination interface configured, you will get an error. You must first remove a SPAN destination interface before changing the SPAN destination to a different interface.
  • Page 217 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches monitor session This example shows how to limit SPAN traffic to VLANs 100 through 304: Switch(config)# monitor session 1 filter vlan 100 - 304 Switch(config)# This example shows how to configure RSPAN VLAN 20 as the destination:...
  • Page 218: Mtu

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches To enable jumbo frames on an interface by adjusting the maximum size of a packet, or maximum transmission unit (MTU), use the mtu command. To return to the default setting, use the no form of this command.
  • Page 219: Name

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches name name To set the MST region name, use the name command. To return to the default name, use the no form of this command. name name no name name...
  • Page 220: Pagp Learn-Method

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches pagp learn-method pagp learn-method To learn the input interface of incoming packets, use the pagp learn-method command. To return to the default value, use the no form of this command.
  • Page 221: Pagp Port-Priority

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches pagp port-priority pagp port-priority To select a port in hot standby mode, use the pagp port-priority command. To return to the default value, use the no form of this command.
  • Page 222: Permit

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches permit permit To permit an ARP packet based on matches against the DHCP bindings, use the permit command. Use the no form of the command to remove specified ACEs from the access list.
  • Page 223 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches permit Command History Release Modification 12.1(19)EW Support for this command was introduced on the Catalyst 4500 series switch. Usage Guidelines Permit clauses can be added to forward or drop ARP packets based on some matching criteria.
  • Page 224: Policy-Map

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches policy-map policy-map To access the QoS policy map configuration mode to configure the QoS policy map, use the policy-map command. To delete a policy map, use the no form of this command.
  • Page 225 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches policy-map Related Commands class-map service-policy show class-map show policy-map show policy-map interface Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-193 78-16201-01...
  • Page 226: Port-Channel Load-Balance

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches port-channel load-balance port-channel load-balance To set the load distribution method among the ports in the bundle, use the port-channel load-balance command. To reset the load distribution to the default, use the no form of this command.
  • Page 227 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches port-channel load-balance Related Commands interface port-channel show etherchannel Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-195 78-16201-01...
  • Page 228: Power Dc Input

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power dc input power dc input To configure power DC input parameters on the switch, use the power dc input command. To return to the default power settings, use the no form of this command.
  • Page 229: Power Inline

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power inline power inline To set the inline-power state for the inline-power-capable interfaces, use the power inline command. To return to the default values, use the no form of this command.
  • Page 230 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power inline Examples This example shows how to set the inline-power detection and power for the inline-power-capable interfaces: Switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z.
  • Page 231: Power Inline Consumption

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power inline consumption power inline consumption To set the default power that is allocated to an interface for all the inline-power-capable interfaces on the switch, use the power inline consumption command. To return to the default values, use the no form of this command.
  • Page 232: Power Redundancy-Mode

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power redundancy-mode power redundancy-mode To configure the power settings for the chassis, use the power redundancy-mode command. To return to the default setting, use the default form of this command.
  • Page 233 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power redundancy-mode Examples This example shows how to set the power management mode to combined: Switch(config)# power redundancy-mode combined Switch(config)# Related Commands show power Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 234: Power Supplies Required

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches power supplies required power supplies required To configure the power redundancy mode for the Catalyst 4006 (only), use the power supplies required command. To return to the default power redundancy mode, use the default form of this command or the power supplies required 2 command.
  • Page 235: Private-Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches private-vlan private-vlan To configure PVLANs and the association between a PVLAN and a secondary VLAN, use the private-vlan commands. To return to the default value, use the no form of this command.
  • Page 236 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches private-vlan An isolated VLAN is a VLAN used by isolated ports to communicate with promiscuous ports. The isolated VLAN traffic is blocked on all other private ports in the same VLAN and can be received only by standard trunking ports and promiscuous ports assigned to the corresponding primary VLAN.
  • Page 237: Private-Vlan Mapping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches private-vlan mapping private-vlan mapping To create a mapping between the primary and the secondary VLANs, so that both share the same primary VLAN SVI, use the private-vlan mapping command. To remove all PVLAN mappings from an SVI, use the no form of the command.
  • Page 238 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches private-vlan mapping Examples This example shows how to map the interface of VLAN 20 to the SVI of VLAN 18: Switch(config)# interface vlan 18 Switch(config-if)# private-vlan mapping 18 20 Switch(config-if)#...
  • Page 239: Private-Vlan Synchronize

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches private-vlan synchronize private-vlan synchronize To map secondary VLANs to the same instance as the primary VLAN, use the private-vlan synchronize command. private-vlan synchronize Syntax Description This command has no arguments or keywords.
  • Page 240: Qos (Global Configuration Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos (global configuration mode) qos (global configuration mode) To globally enable QoS functionality on the switch, use the qos command. To globally disable QoS functionality, use the no form of this command.
  • Page 241: Qos (Interface Configuration Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos (interface configuration mode) qos (interface configuration mode) To enable QoS functionality on an interface, use the qos command. To disable QoS functionality on an interface, use the no form of this command.
  • Page 242: Qos Account Layer2 Encapsulation

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos account layer2 encapsulation qos account layer2 encapsulation To include additional bytes to be accounted by QoS features, use the qos account layer2 encapsulation command. Use the no form of this command to disable the use of additional bytes.
  • Page 243 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos account layer2 encapsulation This example shows how to disable consistent accounting of Layer 2 encapsulation by QoS features: Switch# config terminal Switch(conf)# no qos account layer2 encapsulation Switch (conf)#...
  • Page 244: Qos Aggregate-Policer

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos aggregate-policer qos aggregate-policer To define a named aggregate policer, use the qos aggregate-policer command. To delete a named aggregate policer, use the no form of this command. qos aggregate-policer name rate burst [conform-action {transmit | drop} |...
  • Page 245 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos aggregate-policer Table2-10 Rate Suffix Suffix Description 1000 bps 1,000,000 bps 1,000,000,000 bps Bursts can be entered in bytes without a suffix. In addition, the suffixes shown in Table2-11 are allowed.
  • Page 246 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos aggregate-policer Examples This example shows how to configure a QoS aggregate policer to allow a maximum of 100,000 bits per second with a normal burst size of 10,000 bytes, to transmit when these rates are not exceeded, and to...
  • Page 247: Qos Cos

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos cos qos cos To define the default CoS value for an interface use the qos cos command. To remove a prior entry, use the no form of this command.
  • Page 248: Qos Dbl

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos dbl qos dbl To enable Dynamic Buffer Limiting (DBL) globally on the switch, use the qos dbl command. To disable DBL, use the no form of this command. qos dbl [buffers {aggressive-flow buffers} | credits {aggressive-flow credits |...
  • Page 249 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos dbl Command History Release Modification 12.1(13)EW Support for this command was introduced on the Catalyst 4500 series switch. Examples This example shows how to enable DBL globally on the switch:...
  • Page 250: Qos Dscp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos dscp qos dscp To define the default CoS value for an interface use the qos dscp command. To remove a prior entry, use the no form of this command.
  • Page 251: Qos Map Cos

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos map cos qos map cos To define the ingress CoS-to-DSCP mapping for trusted interfaces, use the qos map cos command. To remove a prior entry, use the no form of this command.
  • Page 252: Qos Map Dscp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos map dscp qos map dscp To map DSCP values to selected transmit queues and to map the DSCP-to-CoS value, use the qos map dscp command. To return to the default value, use the no form of this command.
  • Page 253 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos map dscp This example shows how to configure the egress DSCP-to-transmit queue: Switch(config)# qos map dscp 20 25 to tx-queue 1 Switch(config)# Related Commands qos map cos show qos interface...
  • Page 254: Qos Map Dscp Policed

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos map dscp policed qos map dscp policed To set the mapping of policed DSCP values to marked-down DSCP values, use the qos map dscp policed command. To remove a prior entry, use the no form of this command.
  • Page 255: Qos Rewrite Ip Dscp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos rewrite ip dscp qos rewrite ip dscp To enable DSCP rewrite for IP packets, use the qos rewrite ip dscp command. To disable IP DSCP rewrite, use the no form of the command.
  • Page 256: Qos Trust

    {cos | device cisco-phone | dscp | extend [cos priority]} no qos trust {cos | device cisco-phone | dscp | extend [cos priority]} Syntax Description Specifies that the CoS bits in incoming frames are trusted and derives the internal DSCP value from the CoS bits.
  • Page 257 This example shows how to set the PVID CoS level to 6: Switch(config-if)# qos trust extend cos 6 Switch(config-if)# This example shows how to set the Cisco phone as the trust device: Switch(config-if)# qos trust device cisco-phone Switch(config-if)# Related Commands...
  • Page 258: Qos Vlan-Based

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches qos vlan-based qos vlan-based To enable per-VLAN QoS for a Layer 2 interface, use the qos vlan-based command. To disable per-VLAN QoS for a Layer 2 interface, use the no form of this command.
  • Page 259: Redundancy

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches redundancy redundancy To enter the redundancy configuration mode, use the redundancy command in the global configuration mode. redundancy Syntax Description This command has no arguments or keywords. Defaults This command has no default settings.
  • Page 260: Redundancy Force-Switchover

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches redundancy force-switchover redundancy force-switchover To force a switchover from the active to the standby supervisor engine, use the redundancy force-switchover command. redundancy force-switchover Syntax Description This command has no arguments or keywords.
  • Page 261: Redundancy Reload

    Before using this command, refer to the “Performing a Software Upgrade” section of the Catalyst4500 Series Switch Cisco IOS Software Configuration Guide for additional information. The redundancy reload shelf command conducts a reboot of both supervisor engines. The modules are reset.
  • Page 262: Remote Login Module

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches remote login module remote login module To remotely connect to a specific module, use the remote login module configuration command. remote login module mod Syntax Description Target module for the command.
  • Page 263: Remote-Span

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches remote-span remote-span To convert a VLAN into an RSPAN VLAN, use the remote-span command. To convert an RSPAN VLAN to a VLAN, use the no form of this command. remote-span...
  • Page 264: Renew Ip Dhcp Snooping Database

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches renew ip dhcp snooping database renew ip dhcp snooping database To renew the DHCP binding database, use the renew ip dhcp snooping database command. renew ip dhcp snooping database [validation none ] [url]...
  • Page 265: Reset

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches reset reset To leave the proposed new VLAN database but remain in VLAN configuration mode and reset the proposed new database to be identical to the VLAN database currently implemented, use the reset command.
  • Page 266: Revision

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches revision revision To set the MST configuration revision number, use the revision command. To return to the default settings, use the no form of this command. revision version no revision...
  • Page 267: Service-Policy

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches service-policy service-policy To attach a policy map to an interface, use the service-policy command. To remove a policy map from an interface, use the no form of this command. service-policy {input | output} policy-map name...
  • Page 268: Session Module

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches session module session module To remotely connect to a specific module, use the session module configuration command. session module mod Syntax Description Target module for the command. Defaults This command has no default settings.
  • Page 269: Shape

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches shape shape To specify traffic shaping on an interface, use the shape command. Use the no form of this command to remove traffic shaping. shape [rate] [percent] no shape [rate] [percent ]...
  • Page 270 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches shape Examples The following example shows how to configure a maximum bandwidth (70 percent) for the interface fa3/1: Switch(config)# interface fastethernet3/1 Switch(config-if)# tx-queue 3 Switch(config-if-tx-queue)# shape 70m Switch(config-if-tx-queue)# Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 271: Show Access-Group Mode Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show access-group mode interface show access-group mode interface To display the ACL configuration on a Layer 2 interface, use the show mac access-group interface command. show access-group mode interface [interface interface-number ]...
  • Page 272: Show Arp Access-List

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show arp access-list show arp access-list To display detailed information on an ARP access list, use the show arp command. show arp access-list Syntax Description This command has no arguments or keywords.
  • Page 273: Show Auto Qos

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show auto qos show auto qos To display the automatic quality of service (auto-QoS) configuration that is applied, use the show auto qos user EXEC command. show auto qos [interface [interface-id]] [{begin | exclude | include} expression]...
  • Page 274 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show auto qos Examples This example shows output from the show auto qos command when auto-QoS is enabled: Switch# show auto qos 00:00:55:qos 00:00:56:qos map cos 3 to dscp 26...
  • Page 275: Show Bootflash

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show bootflash: show bootflash: To display information about the bootflash: file system, use the show bootflash: command. show bootflash: [all | chips | filesys] Syntax Description (Optional) Displays all possible Flash information.
  • Page 276 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show bootflash: This example shows how to display system image information: Switch> show bootflash: -# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name .. image 8C5A393A 237E3C 2063804 Aug 23 1999 16:18:45 c4-boot-mz ..
  • Page 277: Show Bootvar

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show bootvar show bootvar To display BOOT environment variable information, use the show bootvar command. show bootvar Syntax Description This command has no arguments or keywords. Defaults This command has no default settings.
  • Page 278: Show Class-Map

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show class-map show class-map To display class map information, use the show class-map command. show class-map class_name Syntax Description class_name Name of the class map. Defaults This command has no default settings.
  • Page 279: Show Diagnostic Result Module

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show diagnostic result module show diagnostic result module To display module-based diagnostic test results, use the show diagnostic result module command . show diagnostic result module [slot-num | all] [test [test-id | test-id-range | all]] [detail]...
  • Page 280 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show diagnostic result module module 5: Overall diagnostic result: PASS Diagnostic level at card bootup: minimal Test results: (. = Pass, F = Fail, U = Untested) 1) linecard-online-diag --------------------> .
  • Page 281 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show diagnostic result module Port Traffic: L2 Asic Loopback ... 0: . 1: . 2: . 3: . 4: . 5: . 6: . 7: . 8: . 9: . 10: . 11: .
  • Page 282 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show diagnostic result module Packet memory errors: 0 0 Current alert level: green Per 5 seconds in the last minute: 0 0 0 0 0 0 0 0 0 0...
  • Page 283: Show Diagnostic Result Module Test 2

    This command was introduced on the Catalyst 4500 series switch. Usage Guidelines The detail keyword is intended for use by Cisco support personnel when analyzing failures. Examples This example shows how to display the results of the bootup packet memory tests: Switch# show diagnostic result module 1 test 2 Test results: (.
  • Page 284 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show diagnostic result module test 2 Number of errors found: 0 Cells with hard errors (failed two or more tests): 0 Cells with soft errors (failed one test, includes hard): 0...
  • Page 285: Show Diagnostic Result Module Test 3

    This command was introduced on the Catalyst 4500 series switch. Usage Guidelines The detail keyword is intended for use by Cisco support personnel when analyzing failures. Examples This example shows how to display results from the ongoing packet memory tests: Switch# show diagnostic result module 1 test 3 Test results: (.
  • Page 286 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show diagnostic result module test 3 Packet memory errors: 0 0 Current alert level: green Per 5 seconds in the last minute: 0 0 0 0 0 0 0 0 0 0...
  • Page 287: Show Dot1X

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show dot1x show dot1x To display 802.1X statistics and operational status for the entire switch or for a specified interface, use the show dot1x command. show dot1x [interface interface-id] | [statistics [interface interface-id]] | [all]...
  • Page 288 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show dot1x This example shows how to display 802.1x statististics for a specific port: Switch# show dot1x interface fastethernet3/2 AuthSM State = AUTHENTICATED(GUEST_VLAN) BendSM State = IDLE PortStatus = AUTHORIZED...
  • Page 289 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show dot1x Table2-13 show dot1x statistics Field Descriptions (continued) Field Description RxRespId Number of EAP-response/identity frames that have been received. RxResp Number of valid EAP-response frames (other than response/identity frames) that have been received.
  • Page 290: Show Environment

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show environment show environment To display environment alarm, operational status, and the current reading for the chassis, use the show environment command. show environment [alarm ] | [status [chassis | fantray | powersupply | supervisor ]] |...
  • Page 291 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show environment Power supplies needed by system : 1 Chassis Type : WS-C4507R Supervisor Led Color : Green Fantray : good Power consumed by Fantray : 50 Watts This example shows how to display information about environment alarms:...
  • Page 292 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show environment This example shows how to display information about the power supply: Switch# show environment status powersupply Power Supply Model No Type Status Sensor ------ --------------- --------- ------- ------...
  • Page 293: Show Errdisable Detect

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show errdisable detect show errdisable detect To display error disable detection status, use the show errdisable detect command. show errdisable detect Syntax Description This command has no arguments or keywords.
  • Page 294: Show Errdisable Recovery

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show errdisable recovery show errdisable recovery To display error disable recovery timer information, use the show errdisable recovery command. show errdisable recovery Syntax Description This command has no arguments or keywords.
  • Page 295: Show Etherchannel

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show etherchannel show etherchannel To display EtherChannel information for a channel, use the show etherchannel command. show etherchannel [channel-group] {port-channel | brief | detail | summary | port | load-balance...
  • Page 296 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show etherchannel Ports in the Port-channel: Index Load Port ------------------- Switch# This example shows how to display load-balancing information: Switch# show etherchannel load-balance Source XOR Destination mac address Switch# This example shows how to display a summary of information for a specific group:...
  • Page 297 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show etherchannel Age of the port in the current state: 02h:33m:17s Port-channels in the group: ---------------------- Port-channel: Po1 ------------ Age of the Port-channel = 02h:33m:52s Logical slot/port = 10/1 Number of ports in agport = 0...
  • Page 298 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show etherchannel Flags: S - Device is sending Slow hello. C - Device is in Consistent state. A - Device is in Auto mode. P - Device learns on physical port.
  • Page 299: Show Flowcontrol

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show flowcontrol show flowcontrol To display the per-interface status and statistics related to flow control, use the show flowcontrol command. show flowcontrol [module slot | interface interface ] Syntax Description module slot (Optional) Limits the display to interfaces on a specific module.
  • Page 300 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show flowcontrol Examples This example shows how to display flow control status on all the gigabit interfaces: Switch# show flowcontrol Port Send FlowControl Receive FlowControl RxPause TxPause admin oper admin...
  • Page 301: Show Idprom

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show idprom show idprom To display IDPROMs for the chassis, supervisor engine, module, power supplies, fan trays, clock module, and multiplexor (mux) buffer, use the show idprom command. show idprom {all | chassis | module [mod] | interface int_name | supervisor | power-supply...
  • Page 302 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show idprom FRU Major Type = 0x4201 FRU Minor Type = 303 OEM String = Cisco Systems, Inc. Product Number = WS-X4306 Serial Number = 00000135 Part Number = <tbd>...
  • Page 303 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show idprom Calibration type = Internal Rx pwr measuremnt = Optical Modulation Amplitude (OMA) Address change = Required CC_EXT = 0xB2 Vendor Specific ID Fields: 20944D30 29 00 02 80 22 33 38 3D C7 67 83 E8 DF 65 6A AF )..."38=Gg^Ch_ej/...
  • Page 304 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show idprom Block Count = 2 FRU Major Type = 0x4001 FRU Minor Type = 24 OEM String = Cisco Systems, Inc. Product Number = WS-C4006 Serial Number = FOX04473737...
  • Page 305 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show idprom Idprom Size = 256 Block Count = 1 FRU Major Type = 0x4002 FRU Minor Type = 0 OEM String = "Cisco Systems" Product Number = WS-X4502-fan Serial Number =...
  • Page 306: Show Interfaces

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces show interfaces To display traffic on a specific interface, use the show interfaces command. show interfaces [{{FastEthernet mod/interface-number} | {GigabitEthernet mod/interface-number} | {null interface-number} | vlan vlan_id} | status}]...
  • Page 307 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces Full-duplex, 1000Mb/s ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:00, output never, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops...
  • Page 308: Show Interfaces Capabilities

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces capabilities show interfaces capabilities To display the interface capabilities for an interface or for all the interfaces on a switch, use the show interfaces capabilities command. show interfaces capabilities [{module mod}]...
  • Page 309 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces capabilities Inline power: SPAN: source/destination UDLD Link Debounce: Link Debounce Time: Port Security Dot1x GigabitEthernet1/2 Model: WS-X4516-Gbic Type: Unsupported GBIC Speed: 1000 Duplex: full Trunk encap. type: 802.1Q,ISL...
  • Page 310: Show Interfaces Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces capabilities This example shows how to display interface capabilities for interface fa3/1: Switch# show interface fastethernet3/1 capabilities FastEthernet3/1 Model: WS-X4148-RJ-RJ-45 Type: 10/100BaseTX Speed: 10,100,auto Duplex: half,full,auto Trunk encap. type: 802.1Q,ISL...
  • Page 311: Show Interfaces Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces counters show interfaces counters To display traffic on the physical interface, use the show interfaces counters command. show interfaces counters [all | detail | errors | storm-control | trunk] [module mod ] Syntax Description (Optional) Displays all interface counters including errors, trunk, and detail.
  • Page 312 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces counters This example shows how to display traffic seen by a specific module: Switch# show interfaces counters module 1 Port InOctets InUcastPkts InMcastPkts InBcastPkts Gi1/1 Gi1/2 Port OutOctets...
  • Page 313: Show Interfaces Description

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces description show interfaces description To display a description and status of an interface, use the show interfaces description command. show interfaces [interface ] description Syntax Description interface (Optional) Type of interface.
  • Page 314: Show Interfaces Link

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces link show interfaces link To display how long a cable has been disconnected from an interface, use the show interfaces link command: show interfaces link [module mod_num ]...
  • Page 315: Show Interfaces Mtu

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces mtu show interfaces mtu To display the maximum transmission unit (MTU) size of all the physical interfaces and SVIs on the switch, use the show interfaces mtu command.
  • Page 316: Show Interfaces Private-Vlan Mapping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces private-vlan mapping show interfaces private-vlan mapping To display PVLAN mapping information for VLAN SVIs, use the show interface private-vlan mapping command. show interface private-vlan mapping [active] Syntax Description active (Optional) Displays active interfaces only.
  • Page 317: Show Interfaces Status

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces status show interfaces status To display interface status or a list of interfaces in error-disabled state, use the show interfaces status command. show interfaces status [err-disabled] Syntax Description err-disabled (Optional) Displays interfaces in error-disabled state.
  • Page 318: Show Interfaces Switchport

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces switchport show interfaces switchport To display the administrative and operational status of a switching (nonrouting) port, use the show interfaces switchport command. show interfaces [interface-id] switchport [module mod]...
  • Page 319 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces switchport Administrative Mode:dynamic auto Operational Mode:down Administrative Trunking Encapsulation:negotiate Negotiation of Trunking:On Access Mode VLAN:1 (default) Trunking Native Mode VLAN:1 (default) Administrative private-vlan host-association:none Administrative private-vlan mapping:none Operational private-vlan:none...
  • Page 320: Show Interfaces Transceiver

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces transceiver show interfaces transceiver To display diagnostic-monitoring data for all interfaces that have transceivers installed, use the show interfaces transceiver command. show interfaces {{[int_name ] transceiver {[detail]} | {transceiver [module mod] | detail...
  • Page 321 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces transceiver Examples This example shows how to display diagnostic monitoring data for all interfaces with transceivers installed on the switch: Switch# show interfaces transceiver If device is externally calibrated, only calibrated values are printed.
  • Page 322 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces transceiver Optical High Alarm High Warn Low Warn Low Alarm Transmit Power Threshold Threshold Threshold Threshold Port (dBm) (dBm) (dBm) (dBm) (dBm) ------- ----------------- ---------- --------- --------- ---------...
  • Page 323 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces transceiver High Alarm High Warn Low Warn Low Alarm Current Threshold Threshold Threshold Threshold Port (milliamperes) (mA) (mA) (mA) (mA) ------- ----------------- ---------- --------- --------- --------- Gi2/1 50.6 60.0...
  • Page 324 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces transceiver High Alarm High Warn Low Warn Low Alarm Current Threshold Threshold Threshold Threshold Port (milliamperes) (mA) (mA) (mA) (mA) ------- ----------------- ---------- --------- --------- --------- Gi2/1 50.6 60.0...
  • Page 325: Show Interfaces Trunk

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces trunk show interfaces trunk To display port and module interface-trunk information, use the show interfaces trunk command. show interfaces trunk [module mod ] Syntax Description module mod (Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6.
  • Page 326 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show interfaces trunk Fa5/10 none Fa5/11 none Fa5/12 none Fa5/48 none Port Vlans allowed and active in management domain Fa5/1 none Fa5/2 none Fa5/3 none Fa5/4 none Fa5/5 none Fa5/6...
  • Page 327: Show Ip Arp Inspection

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip arp inspection show ip arp inspection To show the status of dynamic ARP inspection for a specific range of VLANs, use the show ip arp inspection command. show ip arp inspection {[statistics] vlan vlan-range | interfaces [interface-name ]}...
  • Page 328 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip arp inspection This example shows how to display the statistics of packets that have been processed by DAI for all active VLANs: Switch# show ip arp inspection statistic s...
  • Page 329 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip arp inspection This example shows how to display the trust state of the interfaces on the switch: Switch# show ip arp inspection interface s Interface Trust State Rate (pps)
  • Page 330: Show Ip Arp Inspection Log

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip arp inspection log show ip arp inspection log To show the status of the log buffer, use the show ip arp inspection log command. show ip arp inspection log Syntax Description This command has no arguments or keywords.
  • Page 331: Show Ip Cef Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip cef vlan show ip cef vlan To view IP CEF VLAN interface status and configuration information and display the prefixes for a specific interface, use the show ip cef vlan command.
  • Page 332: Show Ip Dhcp Snooping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip dhcp snooping show ip dhcp snooping To display the DHCP snooping configuration, use the show ip dhcp snooping command. show ip dhcp snooping Syntax Description This command has no arguments or keywords.
  • Page 333: Show Ip Dhcp Snooping Binding

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip dhcp snooping binding show ip dhcp snooping binding To display DHCP snooping binding entries, use the show ip dhcp snooping binding command. show ip dhcp snooping binding [ip-address] [mac-address] [vlan vlan_num]...
  • Page 334 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip dhcp snooping binding This example shows how to display the DHCP snooping binding entries MAC address: Switch# show ip dhcp snooping binding 55.5.5.2 0002.b33f.3d5f MacAddress IpAddress Lease(sec) Type...
  • Page 335 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip dhcp snooping binding Related Commands ip dhcp snooping information option ip dhcp snooping limit rate ip dhcp snooping trust ip igmp snooping ip igmp snooping vlan Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 336: Show Ip Dhcp Snooping Database

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip dhcp snooping database show ip dhcp snooping database To display the status of DHCP snooping database agent, use the show ip dhcp snooping database command. show ip dhcp snooping database [detail]...
  • Page 337 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip dhcp snooping database Last Succeded Time : None Last Failed Time : 17:14:25 UTC Sat Jul 7 2001 Last Failed Reason : Unable to access URL. Total Attempts...
  • Page 338: Show Ip Igmp Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp interface show ip igmp interface To view IP IGMP interface status and configuration information, use the show ip igmp interface command. show ip igmp interface [FastEthernet slot/port | GigabitEthernet slot/port |...
  • Page 339: Show Ip Igmp Profile

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp profile show ip igmp profile To view all configured IGMP profiles or a specified IGMP profile, use the show ip igmp profile privileged EXEC command. show ip igmp profile [profile number ]...
  • Page 340: Show Ip Igmp Snooping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping show ip igmp snooping To display information on dynamically learned and manually configured VLAN switch interfaces, use the show ip igmp snooping command. show ip igmp snooping [querier | group | mrouter ] [vlan vlan_id] a.b.c.d [summary | sources |...
  • Page 341 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping Examples This example shows how to display the global snooping information on the switch: Switch> show ip igmp snooping Global IGMP Snooping configuration: ----------------------------------- IGMP snooping...
  • Page 342 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping This example shows how to display IGMP querier information for VLAN 5 when running IGMPv2: Switch# show ip igmp snooping querier vlan 5 IP address :5.5.5.10...
  • Page 343 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping This example shows how to display the current state of a group with respect to a host MAC address: Switch# show ip igmp snooping group vlan 10 226.6.6.7 hosts IGMPv3 host information for group 226.6.6.7...
  • Page 344: Show Ip Igmp Snooping Membership

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping membership show ip igmp snooping membership To display host membership information, use the show ip igmp snooping membership command. show ip igmp snooping membership [interface interface_num] [vlan vlan_id] [reporter a.b.c.d] [source a.b.c.d group a.b.c.d]...
  • Page 345 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping membership This example shows how to display host membership information for VLAN 20 and to delete the explicit host tracking: Switch# show ip igmp snooping membership vlan 20...
  • Page 346: Show Ip Igmp Snooping Mrouter

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping mrouter show ip igmp snooping mrouter To display information on dynamically learned and manually configured multicast switch interfaces, use the show ip igmp snooping mrouter command.
  • Page 347: Show Ip Igmp Snooping Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip igmp snooping vlan show ip igmp snooping vlan To display information on dynamically learned and manually configured VLAN switch interfaces, use the show ip igmp snooping vlan command.
  • Page 348: Show Ip Mfib

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mfib show ip mfib To display all active Multicast Forwarding Information Base (MFIB) routes, use the show ip mfib command. show ip mfib [all | counters | log [n]]...
  • Page 349 Forwarding (F)—Used in conjunction with the A flag as described above. The set of forwarding interfaces together form a multicast olist or output interface list. • Signaling (S)—Set on an interface when a multicast routing protocol process in Cisco IOS needs to be notified of ingress packets on that interface. •...
  • Page 350: Show Ip Mfib Fastdrop

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mfib fastdrop show ip mfib fastdrop To show all currently active fast drop entries and to show whether fast drop is enabled, use the show ip mfib fastdrop command.
  • Page 351: Show Ip Mroute

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mroute show ip mroute To display IP multicast routing table information, use the show ip mroute command. show ip mroute [interface_type slot/port | host_name | host_address [source] | active [kbps |...
  • Page 352 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mroute Examples This example shows how to display all entries in the IP multicast routing table: Switch# show ip mroute IP Multicast Routing Table Flags:D - Dense, S - Sparse, s - SSM Group, C - Connected, L - Local,...
  • Page 353 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mroute Other counts:Total/RPF failed/Other drops(OIF-null, rate-limit etc) Group:224.2.136.89, Source count:1, Group pkt count:29051 Source:132.206.72.28/32, Forwarding:29051/-278/1186/0, Other:85724/8/56665 Switch# This example shows how to display summary information: Switch# show ip mroute summary...
  • Page 354 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mroute Table2-16 show ip mroute Field Descriptions (continued) Field Description J - Join SPT For (*, G) entries, indicates that the rate of traffic flowing down the shared tree is exceeding the SPT-Threshold set for the group. (The default SPT-Threshold setting is 0kbps.) When the J - Join SPT...
  • Page 355 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip mroute Table2-16 show ip mroute Field Descriptions (continued) Field Description Address of the RP switch. For switches and access servers operating in sparse mode, this address is always 0.0.0.0.
  • Page 356: Show Ip Source Binding

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip source binding show ip source binding To display IP source bindings configured on the system, use the show ip source binding EXEC command. show ip source binding [ip-address] [mac-address] [dhcp-snooping | static] [vlan vlan-id ]...
  • Page 357: Show Ip Verify Source

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip verify source show ip verify source To display IP source guard configuration and filters on a particular interface, use the show ip verify source command. show ip verify source [interface interface_num]...
  • Page 358 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ip verify source • The following output appears when you enter the show ip verify source interface fa6/4 command and the interface fa6/4 has IP source filter mode configured as IP MAC, and existing IP MAC that binds 10.0.0.2/aaaa.bbbb.cccc on VLAN 10 and 11.0.0.1/aaaa.bbbb.cccd on VLAN 11 :...
  • Page 359: Show Ipc

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ipc show ipc To display IPC information, use the show ipc command. show ipc {nodes | ports | queue | status} Syntax Description nodes Displays participating nodes. ports Displays local IPC ports.
  • Page 360 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show ipc RPC packets: current/peak/total 0/1/17 Switch# This example shows how to display the contents of the IPC retransmission queue: Switch# show ipc queue There are 0 IPC messages waiting for acknowledgement in the transmit queue.
  • Page 361: Show L2Protocol-Tunnel

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show l2protocol-tunnel show l2protocol-tunnel To display information about Layer 2 protocol tunnel ports, use the show l2protocol-tunnel command. This command displays information for interfaces with protocol tunneling enabled. show l2protocol-tunnel [interface interface-id ] [[summary] | {begin | exclude | include }...
  • Page 362 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches 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 Port Protocol Shutdown Drop Encapsulation Decapsulation Drop Threshold Threshold Counter...
  • Page 363 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show l2protocol-tunnel Related Commands clear I2protocol-tunnel counter (refer to Cisco IOS documentation) l2protocol-tunnel l2protocol-tunnel cos Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-331 78-16201-01...
  • Page 364: Show Lacp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show lacp show lacp To display LACP information, use the show lacp command. show lacp [channel-group] {counters | internal | neighbors | sys-id} Syntax Description channel-group (Optional) Number of the channel group; valid values are from 1 to 64.
  • Page 365 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show lacp This example shows how to display internal information for the interfaces belonging to a specific channel: Switch# show lacp 1 internal Flags: S - Device sends PDUs at slow rate. F - Device sends PDUs at fast rate.
  • Page 366 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show lacp This example shows how to display LACP neighbors information for a specific port channel: Switch# show lacp 1 neighbor Flags: S - Device sends PDUs at slow rate. F - Device sends PDUs at fast rate.
  • Page 367: Show Mac Access-Group Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac access-group interface show mac access-group interface To display the ACL configuration on a Layer 2 interface, use the show mac access-group interface command. show mac access-group interface [interface interface-number]...
  • Page 368: Show Mac-Address-Table Address

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table address show mac-address-table address To display MAC address table information for a specific MAC address, use the show mac-address-table address command. show mac-address-table address mac_addr [interface type slot/port | protocol protocol | vlan...
  • Page 369 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table address Related Commands show mac-address-table aging-time show mac-address-table count show mac-address-table dynamic show mac-address-table interface show mac-address-table multicast show mac-address-table protocol show mac-address-table static show mac-address-table vlan Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 370: Show Mac-Address-Table Aging-Time

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table aging-time show mac-address-table aging-time To display the MAC address aging time, use the show mac-address-table aging-time command. show mac-address-table aging-time [vlan vlan_id] Syntax Description vlan vlan_id (Optional) Specifies a VLAN; valid values are from 1 to 4094.
  • Page 371: Show Mac-Address-Table Count

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table count show mac-address-table count To display the number of entries currently in the MAC address table, use the show mac-address-table count command. show mac-address-table count [vlan vlan_id] Syntax Description vlan vlan_id (Optional) Specifies a VLAN;...
  • Page 372: Show Mac-Address-Table Dynamic

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table dynamic show mac-address-table dynamic To display dynamic MAC address table entries only, use the show mac-address-table dynamic command. show mac-address-table dynamic [address mac_addr | interface type slot/port |...
  • Page 373 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table dynamic 0000.0000.0202 dynamic ip FastEthernet6/15 0000.0000.0203 dynamic ip,assigned FastEthernet6/15 0000.0000.0204 dynamic ip,assigned FastEthernet6/15 0000.0000.0205 dynamic ip,assigned FastEthernet6/15 0000.0000.0101 dynamic ip FastEthernet6/16 0000.0000.0102 dynamic ip FastEthernet6/16 0000.0000.0103 dynamic ip,assigned FastEthernet6/16 0000.0000.0104...
  • Page 374: Show Mac-Address-Table Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table interface show mac-address-table interface To display the MAC address table information for a specific interface, use the show mac-address-table interface command. show mac-address-table interface type slot/port Syntax Description type Interface type;...
  • Page 375 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table interface Related Commands show mac-address-table address show mac-address-table aging-time show mac-address-table count show mac-address-table dynamic show mac-address-table multicast show mac-address-table protocol show mac-address-table static show mac-address-table vlan Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 376: Show Mac-Address-Table Multicast

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table multicast show mac-address-table multicast To display multicast MAC address table information, use the show mac-address-table multicast command. show mac-address-table multicast [count | {igmp-snooping [count]} | {user [count]} |...
  • Page 377 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table multicast Related Commands show mac-address-table address show mac-address-table aging-time show mac-address-table count show mac-address-table dynamic show mac-address-table interface show mac-address-table protocol show mac-address-table static show mac-address-table vlan Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 378: Show Mac-Address-Table Protocol

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table protocol show mac-address-table protocol To display MAC address table information based on the protocol, use the show mac-address-table protocol command. show mac-address-table protocol {assigned | ip | ipx | other}...
  • Page 379 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table protocol 0000.0000.0203 dynamic other FastEthernet6/15 0000.0000.0204 dynamic other FastEthernet6/15 0030.94fc.0dff static ip,ipx,assigned,other Switch 0000.0000.0101 dynamic other FastEthernet6/16 0000.0000.0102 dynamic other FastEthernet6/16 0000.0000.0103 dynamic other FastEthernet6/16 0000.0000.0104 dynamic other...
  • Page 380: Show Mac-Address-Table Static

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table static show mac-address-table static To display static MAC address table entries only, use the show mac-address-table static command. show mac-address-table static [address mac_addr | interface type number | protocol protocol |...
  • Page 381 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table static Multicast Entries vlan mac address type ports -------+---------------+-------+------------------------------------------- ffff.ffff.ffff system Switch,Fa6/15 ffff.ffff.ffff system Fa6/16 1002 ffff.ffff.ffff system 1003 ffff.ffff.ffff system 1004 ffff.ffff.ffff system 1005 ffff.ffff.ffff system Fa6/1 ffff.ffff.ffff...
  • Page 382: Show Mac-Address-Table Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table vlan show mac-address-table vlan To display MAC address table information for a specific VLAN, use the show mac-address-table vlan command. show mac-address-table [vlan vlan_id] [protocol protocol] Syntax Description vlan vlan_id (Optional) Displays entries for a specific VLAN;...
  • Page 383 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show mac-address-table vlan This example shows how to display MAC address table information for a specific protocol type: Switch# show mac-address-table vlan 100 protocol other Unicast Entries vlan mac address...
  • Page 384: Show Module

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show module show module To display module information, use the show module command. show module [mod | all] Syntax Description (Optional) Number of the module; valid values vary from chassis to chassis.
  • Page 385 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show module This example shows how to display information for a specific module: Switch# show module 2 Mod Ports Card Type Model Serial No. --- ----- -------------------------------------- ------------------ ----------- Catalyst 4000 supervisor 2 (Active)
  • Page 386: Show Monitor

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show monitor show monitor To display SPAN session information, use the show monitor command. show monitor [session] [range session-range | local | remote | all | session-number ] [detail] Syntax Description session (Optional) Displays SPAN information for a session.
  • Page 387 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show monitor TX Only : None Both : Gi1/1, CPU Source VLANs RX Only : None TX Only : None Both : None Source RSPAN VLAN : Fa6/1 Destination Ports : Fa6/1...
  • Page 388: Show Pagp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show pagp show pagp To display port channel information, use the show pagp command. show pagp [group-number ] {counters | internal | neighbor} Syntax Description group-number (Optional) Channel group number; valid values are from 1 to 64.
  • Page 389 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show pagp Fa5/5 U6/S7 Switch# This example shows how to display PAgP neighbor information for all neighbors: Switch# show pagp neighbor Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
  • Page 390: Show Policy-Map

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show policy-map show policy-map To display policy map information, use the show policy-map command. show policy-map [policy_map_name ] Syntax Description policy_map_name (Optional) Name of the policy map. Defaults This command has no default settings.
  • Page 391: Show Policy-Map Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show policy-map interface show policy-map interface To display statistics and configurations of input and output policies attached to an interface, use the show policy-map interface command. show policy-map interface [{FastEthernet interface-number} | {GigabitEthernet...
  • Page 392 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show policy-map interface class-map:ipp5 (match-all) 0 packets match:ip precedence 5 set: ip precedence 6 class-map:class-default (match-any) 0 packets match:any 0 packets Switch# This example shows how to display input policy statistics and configurations for a specific interface:...
  • Page 393: Show Port-Security

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show port-security show port-security To display port security settings for an interface or for the switch, use the show port-security command. show port-security [address ] [interface interface-id ] Syntax Description...
  • Page 394 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show port-security This is an example of output from the show port-security interface fastethernet2/2 command: Switch# show port-security interface fastethernet2/2 Port Security : Enabled Port Status : Secure-up Violation Mode...
  • Page 395: Show Power

    The show power in-line interface | module command displays the amount of power used to operate a Cisco 7960 IP Phone. To view the amount of power requested, use the show cdp neighbors command. Because of the PoE consumed by FPGAs and other hardware components on the module the operating PoE consumption for an 802.3af-compliant module can be nonzero, even when there are no powered...
  • Page 396 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show power Examples This example shows how to display general power supply information: Switch# show power Power Inline Supply Model No Type Status Sensor Status ------ ---------------- --------- ----------- ------...
  • Page 397 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show power WS-X4248-RJ45V WS-4548-GB-RJ45 Fan Tray ----------------------- --------- ------------ ------- Total Inline Power Admin Inline Power Oper Model Device Device Efficiency ---- ----------------- ---------------- ---------------- ---------- WS-X4013+ WS-X4448-GB-LX WS-X4418 WS-X4248-RJ45V...
  • Page 398 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show power Fa3/11 auto Fa3/12 auto Fa3/13 auto Fa3/14 auto Fa3/15 auto Fa3/16 auto Fa3/17 auto Fa3/18 auto --------- ------ ---------- ---------- ---------- ------------------- ----- Totals: 117.5 104.6 Switch# This example shows how to display the number of power supplies needed by the system:...
  • Page 399: Show Qos

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show qos show qos To display QoS information, use the show qos command. show qos Syntax Description This command has no arguments or keywords. Defaults This command has no default settings.
  • Page 400: Show Qos Aggregate Policer

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show qos aggregate policer show qos aggregate policer To display QoS aggregate policer information, use the show qos aggregate policer command. show qos aggregate policer [aggregate_name] Syntax Description aggregate_name (Optional) Named aggregate policer.
  • Page 401: Show Qos Dbl

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show qos dbl show qos dbl To display global Dynamic Buffer Limiting (DBL) information, use the show qos dbl command. show qos dbl Syntax Description This command has no arguments or keywords.
  • Page 402: Show Qos Interface

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show qos interface show qos interface To display queueing information, use the show qos interface command. show qos interface {FastEthernet interface-number | GigabitEthernet interface-number } | [vlan vlan_id | port-channel number]...
  • Page 403: Show Qos Maps

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show qos maps show qos maps To display QoS map information, use the show qos maps command. show qos maps [cos | dscp [policed | tx-queue]] Syntax Description (Optional) Displays CoS map information.
  • Page 404 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show qos maps DSCP-CoS Mapping Table (dscp = d1d2) d1 :d2 ------------------------------------- 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 02 02 02 02...
  • Page 405: Show Redundancy

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show redundancy show redundancy To display redundancy facility information, use the show redundancy command. show redundancy {clients | counters | history | states} Syntax Description clients Displays the redundancy facility client information.
  • Page 406 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show redundancy errored peer msg rx = 0 buffers tx = 1535 tx buffers unavailable = 0 buffers rx = 1530 buffer release errors = 0 duplicate client registers = 0...
  • Page 407 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show redundancy client count = 4 client_notification_TMR = 30000 milliseconds keep_alive TMR = 4000 milliseconds keep_alive count = 1 keep_alive threshold = 7 RF debug mask = 0x0 Switch# Related Commands...
  • Page 408: Show Running-Config

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show running-config show running-config To display module status and configuration, use the show running-config command. show running-config [module slot] Syntax Description module slot (Optional) Specifies the module slot number; valid values are fro m 1 to 6.
  • Page 409 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show running-config interface FastEthernet1 no ip address shutdown duplex auto speed auto Switch# This example shows the output for the show running-config command when you have enabled the switchport voice vlan command: Switch# show running-config int fastethernet 6/1 Building configuration...
  • Page 410: Show Slavebootflash

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show slavebootflash: show slavebootflash: To display information about the standby bootflash file system, use the show slavebootflash: command. show slavebootflash: [all | chips | filesys] Syntax Description (Optional) Displays all possible Flash information.
  • Page 411 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show slavebootflash: This example shows how to display system image information: Switch> show slavebootflash: -# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name .. image 8C5A393A 237E3C 2063804 Aug 23 1999 16:18:45 c4-boot-mz ..
  • Page 412: Show Slaveslot0

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show slaveslot0: show slaveslot0: To display information about the file system on the standby supervisor engine, use the show slaveslot0: command. show slot0: [all | chips | filesys] Syntax Description (Optional) Displays all Flash information including the output from the show slot0: chips and show slot0: filesys commands.
  • Page 413 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show slaveslot0: COMMON MEMORY REGISTERS: Bank 1 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0...
  • Page 414: Show Slot0

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show slot0: show slot0: To display information about the slot0: file system, use the show slot0: command. show slot0: [all | chips | filesys] Syntax Description (Optional) Displays all Flash information including the output from the show slot0: chips and show slot0: filesys commands.
  • Page 415 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show slot0: COMMON MEMORY REGISTERS: Bank 1 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0...
  • Page 416: Show Spanning-Tree

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree show spanning-tree To display spanning tree state information, use the show spanning-tree command. show spanning-tree [bridge_group | active | backbonefast | bridge [id] | inconsistentports | interface type | root | summary [total] | uplinkfast | vlan vlan_id | pathcost method |detail]...
  • Page 417 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree Number of topology changes 0 last change occurred 18:13:54 ago Times: hold 1, topology change 24, notification 2 hello 2, max age 14, forward delay 10 Timers: hello 0, topology change 0, notification 0 Port 265 (FastEthernet5/9) of VLAN1 is forwarding Port path cost 19, Port priority 128, Port Identifier 129.9.
  • Page 418 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree Address 0030.94fc.0a00 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Designated Name Port ID Prio Cost Sts Cost Bridge ID...
  • Page 419 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree This example shows how to display spanning tree information for a specific bridge group: Switch# show spanning-tree vlan 1 UplinkFast is disabled BackboneFast is disabled This example shows how to display a summary of port states: Switch# show spanning-tree summary Root bridge for:VLAN1, VLAN2.
  • Page 420 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree Related Commands spanning-tree backbonefast spanning-tree cost spanning-tree guard spanning-tree pathcost method spanning-tree portfast default spanning-tree portfast (interface configuration mode) spanning-tree port-priority spanning-tree uplinkfast spanning-tree vlan Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 421: Show Spanning-Tree Mst

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree mst show spanning-tree mst To display MST protocol information, use the show spanning-tree mst command. show spanning-tree mst [configuration] show spanning-tree mst [instance-id] [detail] show spanning-tree mst [instance-id] interface interface [detail]...
  • Page 422 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show spanning-tree mst This example shows how to display additional MST protocol values: Switch# show spanning-tree mst 3 detail # # # # # # MST03 vlans mapped: 3,3000-3999 Bridge address 0002.172c.f400 priority 32771 (32768 sysid 3)
  • Page 423: Show Storm-Control

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show storm-control show storm-control To display broadcast storm control settings on the switch or on the specified interface, use the show storm-control user EXEC command. show storm-control [interface-id | broadcast]...
  • Page 424 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show storm-control This is an example of output from the show storm-control command for a specified interface and traffic type, where no storm control threshold has been set for that traffic type on the specified interface.
  • Page 425: Show System Mtu

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show system mtu show system mtu To display the global MTU setting, use the show system mtu command. show system mtu Syntax Description This command has no arguments or keywords.
  • Page 426: Show Tech-Support

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show tech-support show tech-support To display troubleshooting information for TAC, use the show tech-support command. show tech-support [bridging | cef | ipmulticast | isis | password [page] | page] Syntax Description bridging (Optional) Specifies bridging-related information.
  • Page 427 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show tech-support • show process memory • show process cpu • show buffers • show logging • show module • show power • show environment • show interfaces switchport •...
  • Page 428: Show Udld

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show udld show udld To display the administrative and operational UDLD status, use the show udld command. show udld interface-id Syntax Description interface-id Name of the interface. Defaults This command has no default settings.
  • Page 429: Show Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan show vlan To display VLAN information, use the show vlan command. show vlan [brief | id vlan_id | name name] show vlan private-vlan [type] Syntax Description brief (Optional) Displays only a single line for each VLAN, naming the VLAN, status, and ports.
  • Page 430 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan VLAN0850 active Fa5/9 VLAN0917 active Fa5/9 VLAN0999 active Fa5/9 1002 fddi-default active Fa5/9 1003 trcrf-default active Fa5/9 1004 fddinet-default active Fa5/9 1005 trbrf-default active Fa5/9 VLAN Type SAID...
  • Page 431 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan This example shows how to display the VLAN parameters for VLAN 3 only: Switch# show vlan id 3 VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- VLAN0003 active...
  • Page 432: Show Vlan Access-Map

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan access-map show vlan access-map To display the contents of a VLAN access map, use the show vlan access-map command. show vlan access-map [map-name] Syntax Description map-name (Optional) Name of the VLAN access map.
  • Page 433: Show Vlan Counters

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan counters show vlan counters To display software-cached counter values , use the show vlan counters command. show vlan [id vlanid] counters Syntax Description id vlanid (Optional) Displays the software-cached counter values for a specific VLAN.
  • Page 434: Show Vlan Dot1Q Tag Native

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan dot1q tag native show vlan dot1q tag native To display all the ports on the switch that are eligible for native VLAN tagging as well as their current native VLAN tagging status, use the show vlan dot1q tag native command.
  • Page 435: Show Vlan Internal Usage

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan internal usage show vlan internal usage Use the show vlan internal usage command to display information about the internal VLAN allocation. show vlan [id vlan-id] internal usage Syntax Description id vlan-id (Optional) Displays internal VLAN allocation information for the specified VLAN;...
  • Page 436: Show Vlan Mtu

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan mtu show vlan mtu To display the minimum and maximum transmission unit (MTU) sizes of each VLAN, use the show vlan mtu command. show vlan mtu Syntax Description...
  • Page 437: Show Vlan Private-Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan private-vlan show vlan private-vlan To display PVLAN information, use the show vlan private-vlan command. show vlan private-vlan [type] Syntax Description type (Optional) Displays the PVLAN type; valid types are Isolated and Primary.
  • Page 438 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan private-vlan Table2-20 show vlan private-vlan Command Output Fields Field Description Primary Number of the primary VLAN. Secondary Number of the secondary VLAN. Secondary-Type Secondary VLAN type is isolated.
  • Page 439: Show Vlan Remote-Span

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vlan remote-span show vlan remote-span To display a list of Remote SPAN (RSPAN) VLANs, use the show vlan remote-span command. show vlan remote-span Syntax Description This command has no arguments or keywords.
  • Page 440: Show Vmps

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vmps show vmps To display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, current servers, and primary servers, use the show vmps command.
  • Page 441: Show Vtp

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vtp show vtp To display VTP statistics and domain information, use the show vtp command. show vtp {counters | status} Syntax Description counters Specifies VTP statistics. status Specifies VTP domain status.
  • Page 442 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vtp MD5 digest : 0xE6 0xF8 0x3E 0xDD 0xA4 0xF5 0xC2 0x0E Configuration last modified by 172.20.52.18 at 9-22-99 11:18:20 Local updater ID is 172.20.52.18 on interface Vl1 (lowest numbered VLAN interfac...
  • Page 443 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vtp Related Commands vtp (global configuration mode) vtp client vtp domain vtp password vtp pruning vtp server vtp transparent vtp v2-mode Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-411 78-16201-01...
  • Page 444 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches show vtp Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-412 78-16201-01...
  • Page 445: Snmp Ifindex Clear

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp ifindex clear snmp ifindex clear To clear any previously configured snmp ifindex commands that were entered for a specific interface, use the snmp ifindex clear command. snmp ifindex clear Syntax Description This command has no arguments or keywords.
  • Page 446: Snmp Ifindex Persist

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp ifindex persist snmp ifindex persist To enable ifIndex values in the Interfaces MIB (IF-MIB) that persist across reboots (ifIndex persistence) on a specific interface, use the snmp ifindex persist command. Use the no form of this command to disable ifIndex persistence only on a specific interface.
  • Page 447: Snmp-Server Enable Traps

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp-server enable traps snmp-server enable traps To enable SNMP notifications (traps or informs), use the snmp-server enable traps command. To disable all SNMP notifications, use the no form of this command.
  • Page 448 • vtp—Controls the VTP traps from the CISCO-VTP-MIB. Examples This example shows how to send all traps to the host specified by the name myhost.cisco.com, using the community string defined as public: Switch(config)# snmp-server enable traps Switch(config)# snmp-server host myhost.cisco.com public...
  • Page 449: Snmp-Server Ifindex Persist

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp-server ifindex persist snmp-server ifindex persist To globally enable ifIndex values that will remain constant across reboots for use by SNMP, use the snmp-server ifindex persist command. Use the no form of this command to globally disable ifIndex persistence.
  • Page 450: Snmp-Server Ifindex Persist Compress

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp-server ifindex persist compress snmp-server ifindex persist compress To configure the format of the ifIndex table in compressed format, use the snmp-server ifindex persist compress command. Use the no form of this command to place the table in decompressed format.
  • Page 451: Spanning-Tree Backbonefast

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree backbonefast spanning-tree backbonefast To enable BackboneFast on a spanning tree VLAN, use the spanning-tree backbonefast command. To disable BackboneFast, use the no form of the command. spanning-tree backbonefast no spanning-tree backbonefast Syntax Description This command has no arguments or keywords.
  • Page 452: Spanning-Tree Bpdufilter

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree bpdufilter spanning-tree bpdufilter To enable BPDU filtering on an interface, use the spanning-tree bpdufilter command. To return to the default settings, use the no form of this command. spanning-tree bpdufilter {enable | disable}...
  • Page 453 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree bpdufilter Examples This example shows how to enable the BPDU filter feature on this interface: Switch(config-if)# spanning-tree bpdufilter enable Switch(config-if)# Related Commands show spanning-tree spanning-tree portfast bpdufilter default Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 454: Spanning-Tree Bpduguard

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree bpduguard spanning-tree bpduguard To enable BPDU guard on an interface, use the spanning-tree bpduguard command. To return to the default settings, use the no form of this command. spanning-tree bpduguard {enable | disable}...
  • Page 455: Spanning-Tree Cost

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree cost spanning-tree cost To calculate the path cost of STP on an interface, use the spanning-tree cost command. To revert to the default, use the no form of this command.
  • Page 456: Spanning-Tree Etherchannel Guard Misconfig

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree etherchannel guard misconfig spanning-tree etherchannel guard misconfig To display an error message when a loop due to a channel misconfiguration is detected, use the spanning-tree etherchannel guard misconfig command. To disable the feature, use the no form of this command.
  • Page 457: Spanning-Tree Extend System-Id

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree extend system-id spanning-tree extend system-id To enable the extended system ID feature on a chassis that supports 1024 MAC addresses, use the spanning-tree extend system-id command. To disable the feature, use the no form of this command.
  • Page 458: Spanning-Tree Guard

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree guard spanning-tree guard To enable root guard, use the spanning-tree guard command. To disable root guard, use the no form of this command. spanning-tree guard {loop | root | none}...
  • Page 459: Spanning-Tree Link-Type

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree link-type spanning-tree link-type To configure a link type for a port, use the spanning-tree link-type command. To return to the default settings, use the no form of this command.
  • Page 460: Spanning-Tree Loopguard Default

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree loopguard default spanning-tree loopguard default To enable loop guard as the default on all ports of a specific bridge, use the spanning-tree loopguard default command. To disable loop guard, use the no form of this command.
  • Page 461: Spanning-Tree Mode

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mode spanning-tree mode To switch between PVST+ and MST modes, use the spanning-tree mode command. To return to the default settings, use the no form of this command. spanning-tree mode {pvst | mst | rapid-pvst}...
  • Page 462: Spanning-Tree Mst

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst spanning-tree mst To set the path cost and port-priority parameters for any MST instance (including the CIST with instance ID0), use the spanning-tree mst command. To return to the default settings, use the no form of this command.
  • Page 463: Spanning-Tree Mst Configuration

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst configuration spanning-tree mst configuration To enter the MST configuration submode, use the spanning-tree mst configuration command. To return to the default MST configuration, use the no form of this command.
  • Page 464 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst configuration Whenever you change an MST configuration submode parameter, it can cause a loss of connectivity. To reduce the number of service disruptions, when you enter the MST configuration submode, you are changing a copy of the current MST configuration.
  • Page 465: Spanning-Tree Mst Forward-Time

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst forward-time spanning-tree mst forward-time To set the forward delay timer for all the instances, use the spanning-tree mst forward-time command. To return to the default settings, use the no form of the command.
  • Page 466: Spanning-Tree Mst Hello-Time

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst hello-time spanning-tree mst hello-time To set the hello-time delay timer for all the instances, use the spanning-tree mst hello-time command. To return to the default settings, use the no form of the command.
  • Page 467: Spanning-Tree Mst Max-Age

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst max-age spanning-tree mst max-age To set the max-age timer for all the instances, use the spanning-tree mst max-age command. To return to the default settings, use the no form of the command.
  • Page 468: Spanning-Tree Mst Max-Hops

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst max-hops spanning-tree mst max-hops To specify the number of possible hops in the region before a BPDU is discarded, use the spanning-tree mst max-hops command. To return to the default settings, use the no form of the command.
  • Page 469: Spanning-Tree Mst Root

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst root spanning-tree mst root To designate the primary root, secondary root, bridge priority, and timer value for an instance, use the spanning-tree mst root command. To return to the default settings, use the no form of the command.
  • Page 470 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree mst root This example shows how to set the priority and timer values for the bridge: Switch(config)# spanning-tree mst 0 root primary diameter 7 hello-time 2 Switch(config)# spanning-tree mst 5 root primary...
  • Page 471: Spanning-Tree Pathcost Method

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree pathcost method spanning-tree pathcost method To set the path cost calculation method, use the spanning-tree pathcost method command. To revert to the default setting, use the no form of this command.
  • Page 472: Spanning-Tree Portfast (Interface Configuration Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree portfast (interface configuration mode) spanning-tree portfast (interface configuration mode) To enable PortFast mode, where the interface is immediately put into the forwarding state upon linkup without waiting for the timer to expire, use the spanning-tree portfast command. To return to the default setting, use the no form of this command.
  • Page 473 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree portfast (interface configuration mode) • no spanning-tree portfast —This command implicitly enables PortFast if the spanning-tree portfast default command is defined in global configuration and if the port is not a trunk port. If you do not configure PortFast globally, the no spanning-tree portfast command is equivalent to the spanning-tree portfast disable command.
  • Page 474: Spanning-Tree Portfast Bpdufilter Default

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree portfast bpdufilter default spanning-tree portfast bpdufilter default To enable the BPDU filtering by default on all PortFast ports, use the spanning-tree portfast bpdufilter default command. To return to the default settings, use the no form of this command.
  • Page 475 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree portfast bpdufilter default Related Commands show spanning-tree mst spanning-tree bpdufilter Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-443 78-16201-01...
  • Page 476: Spanning-Tree Portfast Bpduguard Default

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree portfast bpduguard default spanning-tree portfast bpduguard default To enable the BPDU guard feature by default on all PortFast ports, use the spanning-tree portfast bpduguard default command. To return to the default settings, use the no form of this command.
  • Page 477: Spanning-Tree Portfast Default

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree portfast default spanning-tree portfast default To globally enable PortFast by default on all access ports, use the spanning-tree portfast default command. To disable PortFast as default on all access ports, use the no form of this command.
  • Page 478: Spanning-Tree Port-Priority

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree port-priority spanning-tree port-priority To prioritize an interface when two bridges compete for position as the root bridge, use the spanning-tree port-priority command. The priority you set breaks the tie. To revert to the default setting, use the no form of this command.
  • Page 479: Spanning-Tree Uplinkfast

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree uplinkfast spanning-tree uplinkfast To enable the UplinkFast feature, use the spanning-tree uplinkfast command. To disable UplinkFast, use the no form of the command. spanning-tree uplinkfast [max-update-rate packets-per-second] no spanning-tree uplinkfast [max-update-rate]...
  • Page 480 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree uplinkfast Related Commands spanning-tree cost spanning-tree port-priority spanning-tree portfast default spanning-tree portfast (interface configuration mode) spanning-tree vlan Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-448 78-16201-01...
  • Page 481: Spanning-Tree Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree vlan spanning-tree vlan To configure STP on a per-VLAN basis, use the spanning-tree vlan command. To return to the default value, use the no form of this command. spanning-tree vlan vlan_id [forward-time seconds | hello-time seconds | max-age seconds |...
  • Page 482 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches spanning-tree vlan Usage Guidelines When you are setting the max-age seconds value , if a bridge does not hear BPDUs from the root bridge within the specified interval, it assumes that the network has changed and recomputes the spanning tree topology.
  • Page 483: Speed

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches speed speed To configure the interface speed, use the speed command. To disable a speed setting, use the no form of this command. speed [10 | 100 | 1000 | auto | nonegotiate]...
  • Page 484 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches speed Table2-22 Supported speed Command Options Interface Type Supported Syntax Default Setting Guidelines 10/100-Mbps speed [10 | 100 | auto If the speed is set to auto, you will not...
  • Page 485 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches speed Table2-23 System Action Using duplex and speed Commands (continued) duplex Command speed Command Resulting System Action duplex full speed 100 Forces 100 Mbps and full duplex duplex full speed 1000...
  • Page 486: Storm-Control

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches storm-control storm-control To enable broadcast storm control on a port, and to specify what to do when a storm occurs on a port, use the storm-control interface configuration command. Use the no form of this command to disable storm control for broadcast traffic and disable the specified storm-control action.
  • Page 487 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches storm-control Enter the show running-config command to display the enabled suppression mode and level setting. To turn off suppression for the specified traffic type, you can do one of the following: •...
  • Page 488: Storm-Control Broadcast Include Multicast

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches storm-control broadcast include multicast storm-control broadcast include multicast To enable multicast storm control on a port, use the storm-control broadcast include multicast command. Use the no form of this command to disable multicast storm control.
  • Page 489: Switchport

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport switchport To modify the switching characteristics of a Layer 2 switch interface, use the switchport command. To return the interface to the routed-interface status and cause all further Layer 2 configuration to be erased, use the no form of this command without parameters.
  • Page 490 When you use the switchport voice vlan command the output for the show running-config command changes to show the voice VLAN set. Examples 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 491: Switchport Access Vlan

    Supervisor Engine 2, valid values for vlan-id are from 1 to 4094. Extended-range VLANs are not supported on systems configured with a Supervisor Engine 1. Examples 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 Switch(config-if)# Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 492 Note This command is not used on platforms that do not support Cisco-routed ports. All physical ports on such platforms are assumed to be Layer 2-switched interfaces. This example shows how to cause a port interface that has already been configured as a switched interface to operate in VLAN 2 instead of the platform’s default VLAN when in access mode:...
  • Page 493: Switchport Block

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport block switchport block To prevent unknown multicast or unicast packets from being forwarded, use the switchport block interface configuration command. Use the no form of this command to allow forwarding unknown multicast or unicast packets.
  • Page 494: Switchport Mode

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport mode switchport mode To set the interface type, use the switchport mode command. To reset the mode to the appropriate default mode for the device , use the no form of the command.
  • Page 495 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport mode If you enter dynamic desirable mode, the interface becomes a trunk interface if the neighboring interface is set to trunk, desirable , or auto mode. If you enter specify the dot1q-tunnel keyword, the port is set unconditionally as an 802.1Q tunnel port.
  • Page 496: Switchport Port-Security

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport port-security switchport port-security To enable port security on an interface, use the switchport port-security command. To disable port security and set parameters to their default states, use the no form of this command.
  • Page 497 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport port-security • When port security is enabled and no keywords are entered, the default maximum number of secure MAC addresses is 1. • Aging is disabled. • Aging time is 0 minutes •...
  • Page 498 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport port-security To allow limited time access to particular secure addresses, set the aging type as absolute . When the aging time lapses, the secure addresses are deleted. To allow continuous access to a limited number of secure addresses, set the aging type as inactivity. This removes the secure address when it become s inactive, and other addresses can become secure.
  • Page 499 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport port-security This example shows how to configure a secure MAC address on Fast Ethernet port 12: Switch(config)# interface fastethernet 0/12 Switch(config-if)# switchport mode access Switch(config-if)# switchport port-security Switch(config-if)# switchport port-security mac-address 1000.2000.3000 Switch(config-if) You can verify your settings by using the show port-security address privileged EXEC command.
  • Page 500: Switchport Private-Vlan Association Trunk

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport private-vlan association trunk switchport private-vlan association trunk To configure the association between a secondary VLANs and a VLAN on a private VLAN trunk port, use the switchport private-vlan association trunk command. To remove the private VLAN mapping from the port, use the no form of the command.
  • Page 501: Switchport Private-Vlan Host-Association

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport private-vlan host-association switchport private-vlan host-association To define a PVLAN association for an isolated or community port, use the switchport private-vlan host-association command. To remove the PVLAN mapping from the port, use the no form of the command.
  • Page 502: Switchport Private-Vlan Mapping

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport private-vlan mapping switchport private-vlan mapping To d efine private VLAN mapping for a promiscuous port, use the switchport private-vlan mapping command. To clear all mapping from the primary VLAN, use the no form of this command.
  • Page 503: Switchport Private-Vlan Trunk Allowed Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport private-vlan trunk allowed vlan switchport private-vlan trunk allowed vlan To configure a list of allowed normal VLANs on a private VLAN trunk port, use the switchport private-vlan trunk allowed vlan command. T o remove all allowed normal VLANs from a private VLAN trunk port, use the no form of the command.
  • Page 504 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport private-vlan trunk allowed vlan Examples This example shows how to configure private VLAN trunk port that carries normal VLANs 1 to10: Switch(config-if)# switchport private-vlan trunk allowed vlan 1-10 Switch(config-if)#...
  • Page 505: Switchport Private-Vlan Trunk Native Vlan

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport private-vlan trunk native vla n switchport private-vlan trunk native vlan To control the tagging of native VLAN traffic on 802.1Q private VLAN trunks, use the switchport private-vlan trunk native vlan tag command. To remove the control of tagging (and default to the global setting), use the no form of the command.
  • Page 506: Switchport Trunk

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches switchport trunk switchport trunk To set trunk characteristics when an interface is in trunking mode, use the switchport trunk command. To reset all of the trunking characteristics back to the original defaults, use the no form of this command.
  • Page 507 802.1Q trunks: • When connecting Cisco switches through an 802.1Q trunk, make sure the native VLAN for an 802.1Q trunk is the same on both ends of the trunk link. If the native VLAN on one end of the trunk is different from the native VLAN on the other end, spanning tree loops might result.
  • Page 508 802.1Q network through 802.1Q trunks. • Ensure that the native VLAN is the same on all of the 802.1Q trunks connecting the Cisco switches to the non-Cisco 802.1Q network. • If you are connecting multiple Cisco switches to a non-Cisco 802.1Q network, all of the connections must be through 802.1Q trunks.
  • Page 509: System Mtu

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches system mtu system mtu To set the maximum Layer 2 or Layer 3 payload size, use the system mtu command. To revert to the default MTU setting, use the no form of this command.
  • Page 510: Traceroute Mac

    Catalyst 6500 series switches running Catalyst operating system Release 6.1 or later for the supervisor engine For Layer 2 traceroute to functional properly, Cisco Discovery Protocol (CDP) must be enabled on all of the switches in the network. Do not disable CDP.
  • Page 511 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches traceroute mac Layer 2 traceroute supports only unicast traffic. If you specify a multicast source or destination MAC address, the physical path is not identified, and an error message appears.
  • Page 512 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches traceroute mac This example shows the Layer 2 path when the switch cannot find the destination port for the source MAC address: Switch# traceroute mac 0000.0011.1111 0000.0201.0201 Error:Source Mac address not found.
  • Page 513: Traceroute Mac Ip

    Catalyst 6500 series switches running Catalyst operating system Release 6.1 or later for the supervisor engine For Layer 2 traceroute to functional properly, Cisco Discovery Protocol (CDP) must be enabled on all the switches in the network. Do not disable CDP.
  • Page 514 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches traceroute mac ip The traceroute mac ip command output shows the Layer 2 path when the specified source and destination IP addresses are in the same subnet. When you specify the IP addresses, the switch uses Address Resolution Protocol (ARP) to associate the IP addresses with the corresponding MAC addresses and the VLAN IDs.
  • Page 515 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches traceroute mac ip Related Commands traceroute mac Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-483 78-16201-01...
  • Page 516: Tx-Queue

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches tx-queue tx-queue To configure the transmit queue parameters for an interface, use the tx-queue command. To return to the default value, use the no form of this command. tx-queue [queue-id ] {bandwidth bandwidth-rate | priority high | shape shape-rate}...
  • Page 517 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches tx-queue Switch(config-if-tx-queue)# bandwidth 1000000000 Switch(config-if-tx-queue)# This example shows how to configure transmit queue 3 to the high priority: Switch(config-if)# tx-queue 3 Switch(config-if-tx-queue)# priority high Switch(config-if-tx-queue)# This example shows how to configure the traffic shaping rate of 64 kbps to transmit queue 1:...
  • Page 518: Udld (Global Configuration Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches udld (global configuration mode) udld (global configuration mode) To enable aggressive or normal mode in the UDLD protocol and to set the configurable message timer time, use the udld command. Use the no form of the command to do the following: •...
  • Page 519 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches udld (global configuration mode) Related Commands show udld udld (interface configuration mode) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-487 78-16201-01...
  • Page 520: Udld (Interface Configuration Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches udld (interface configuration mode) udld (interface configuration mode) To enable UDLD on an individual interface or to prevent a fiber interface from being enabled by the udld (global configuration mode) command, use the udld command.
  • Page 521 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches udld (interface configuration mode) This example shows how to cause any port interface to enable UDLD in aggressive mode, despite the current global udld (enable or aggressive ) setting: Switch (config-if)# udld aggressive...
  • Page 522: Udld Reset

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches udld reset udld reset To reset all UDLD ports in the shutdown state, use the udld reset command. udld reset Syntax Description This command has no keywords or variables. Defaults This command has no default settings.
  • Page 523: Unidirectional

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches unidirectional unidirectional To configure nonblocking Gigabit Ethernet ports to unidirectionally send or receive traffic on an interface, use the unidirectional command. To disable unidirectional communication, use the no form of this command.
  • Page 524: Username

    The name argument can be only one word. White spaces and quotation marks are not allowed. You can use multiple username commands to specify options for a single user. For information about additional username commands, refer to the Cisco IOS Command Reference. Examples...
  • Page 525: Verify

    If the two MD5 signatures match, the copied file is identical to the original file. You can find the MD5 signature posted on the Cisco.com page with the image. You can use the verify /md5 command in one of the following ways: •...
  • Page 526 ..........................................................Done! verified /md5 (slot0:c6sup12-jsv-mz) = 0f369ed9e98756f179d4f29d6e7755d3 Switch# Related Commands show file system (Flash file system) (refer to Cisco IOS documentation) show flash (refer to Cisco IOS documentation) Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 2-494 78-16201-01...
  • Page 527: Vlan (Vlan Database Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan (VLAN Database mode) vlan (VLAN Database mode) To configure a specific VLAN, use the vlan command. To delete a VLAN, use the no form of this command. vlan vlan_id [are hops] [backupcrf mode] [bridge type | bridge-num] [media type] [mtu mtu-size]...
  • Page 528 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan (VLAN Database mode) Defaults The defaults are as follows: • The vlan-name is “VLANxxxx” where “xxxx” represents four numeric digits (including leading zeroes) equal to the VLAN ID number.
  • Page 529 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan (VLAN Database mode) Examples This example shows how to add a new VLAN with all default parameters to the new VLAN database: Switch(vlan)# vlan 2 Note If the VLAN already exists, no action occurs.
  • Page 530: Vlan Access-Map

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan access-map vlan access-map To enter the VLAN access-map command mode to create a VLAN access map, use the vlan access-map command. To remove a mapping sequence or the entire map, use the no form of this command.
  • Page 531: Vlan Database

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan database vlan database To enter VLAN configuration mode, use the vlan database command. vlan database Syntax Description This command has no arguments or keywords. Defaults This command has no default settings.
  • Page 532 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan database This example shows how to delete a VLAN after you are in VLAN configuration mode: Switch(vlan)# no vlan 100 Deleting VLAN 100... Switch(vlan)# This example shows how to turn off pruning after you are in VLAN configuration mode:...
  • Page 533: Vlan Dot1Q Tag Native

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan dot1q tag native vlan dot1q tag native To enable tagging of native VLAN frames on all 802.1Q trunk ports, use the vlan dot1q tag native command. Use the no form of this command to disable tagging of native VLAN frames.
  • Page 534: Vlan Filter

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan filter vlan filter To apply a VLAN access map, use the vlan filter command. To clear the VLAN access maps from VLANs or interfaces, use the no form of this command.
  • Page 535: Vlan Internal Allocation Policy

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vlan internal allocation policy vlan internal allocation policy Use the vlan internal allocation policy command to configure the internal VLAN allocation scheme. Use the no form of this command to return to the default setting.
  • Page 536: Vmps Reconfirm (Global Configuration)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vmps reconfirm (global configuration) vmps reconfirm (global configuration) To change the reconfirmation interval for the VLAN Query Protocol (VQP) client, use the vmps reconfirm command. To return to the default setting, use the no form of this command.
  • Page 537: Vmps Reconfirm (Privileged Exec)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vmps reconfirm (privileged EXEC) vmps reconfirm (privileged EXEC) To immediately send VLAN Query Protocol (VQP) queries to reconfirm all dynamic VLAN assignments with the VLAN Membership Policy Server (VMPS), use the vmps reconfirm command.
  • Page 538: Vmps Retry

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vmps retry vmps retry To configure the per-server retry count for the VLAN Query Protocol (VQP) client, use the vmps retry command. To return to the default setting, use the no form of this command.
  • Page 539: Vmps Server

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vmps server vmps server To configure the primary VLAN Membership Policy Server (VMPS) and up to three secondary servers, use the vmps server command. To remove a VMPS server, use the no form of this command.
  • Page 540 Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vmps server Examples This example shows how to configure the server with IP address 191.10.49.20 as the primary VMPS server. The servers with IP addresses 191.10.49.21 and 191.10.49.22 are configured as secondary servers: Switch(config)# vmps server 191.10.49.20 primary...
  • Page 541: Vtp (Global Configuration Mode)

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp (global configuration mode) vtp (global configuration mode) To modify the name of a VTP configuration storage file, use the vtp command. To clear a filename, use the no form of this command.
  • Page 542: Vtp Client

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp client vtp client To place a device in VTP client mode, use the vtp client command. To return to VTP server mode, use the no form of this command.
  • Page 543: Vtp Domain

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp domain vtp domain To configure the administrative domain name for a device, use the vtp domain command. vtp domain domain-name Syntax Description domain-name Name of the domain. Defaults This command has no default settings.
  • Page 544: Vtp Password

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp password vtp password To create a VTP domain password, use the vtp password command. To delete the password, use the no form of this command. vtp password password-value no vtp password...
  • Page 545: Vtp Pruning

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp pruning vtp pruning To enable pruning in the VLAN database, use the vtp pruning command. To disable pruning in the VLAN database, use the no form of this command.
  • Page 546: Vtp Server

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp server vtp server To place the device in VTP server mode, use the vtp server command. vtp server Syntax Description This command has no arguments or keywords. Defaults Enabled...
  • Page 547: Vtp Transparent

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp transparent vtp transparent To place a device in VTP transparent mode, use the vtp transparent command. To return to VTP server mode, use the no form of this command.
  • Page 548: Vtp V2-Mode

    Chapter2 Cisco IOS Commands for the Catalyst 4500 Series Switches vtp v2-mode vtp v2-mode To enable version 2 mode, use the vtp v2-mode command. To disable version 2 mode, use the no form of this command. vtp v2-mode no vtp v2-mode Syntax Description This command has no arguments or keywords.
  • Page 549: I N D E X

    I N D E X Symbols $ matches the end of a string abbreviating commands 1-10 ( ) in commands context-sensitive help * matches 0 or more sequences of a pattern Access Gateway Module + matches 1 or more sequences of a pattern connecting to a module 2-230 .
  • Page 550 VLAN configuration information auto-QoS cisco-desktop 2-10 2-172 configuring for VoIP macro apply 2-241 displaying configuration Cisco Express Forwarding See CEF cisco-phone 2-174 macro apply baby giants cisco-router 2-393 2-176 displaying the system MTU setting...
  • Page 551 Index 2-25, 2-26 clearing IP access lists Cost of Service 2-27 clearing IP ARP inspection statistics VLAN See QoS CoS 2-28 clearing IP DHCP snooping database counters 2-29 2-20 clearing IP DHCP snooping database statistics clearing interface counters 2-33 clearing MFIB counters and routes 2-34 clearing MFIB fastdrop entries 2-37...
  • Page 552 Index 2-131 limiting output for debugging standby state enabling on a VLAN 2-45 changes 2-128 enabling option 82 2-51 shortcut to the debug condition interface 2-129 enabling rate limiting on an interface debugging 2-130 enabling trust on an interface 2-57 activity monitoring 2-125 establishing binding configuration...
  • Page 553 Index 2-457 voice VLANs environmental 2-258 field replaceable unit (FRU) alarms 2-258 2-258 displaying status information displaying information 2-258 Flash memory file system status 2-243 2-258 displaying file system information temperature 2-493 verifying checksum error disable detection 2-95 flow control enabling error disable detection 2-100 configuring a gigabit interface for pause frames...
  • Page 554 Index 2-269 module inline power 2-269 2-363 mux buffer displaying inline power status 2-269 power supplies inspection log 2-269 2-26 supervisor engine clearing log buffer ifIndex persistence interface 2-413 2-279 clearing SNMP ifIndex commands displaying suppressed multicast bytes 2-418 compress SNMP ifIndex table format interface capabilities 2-417 2-276...
  • Page 555 2-223 enable DSCP rewrite 2-286 displaying status of native VLAN tagging IP phone and standard desktop log buffer 2-174 enabling Cisco-recommended features 2-298 show status IP source binding logging 2-151 adding or deleting 2-121 ip arp inspection vlan command...
  • Page 556 Index 2-340 displaying dynamic table entry information modes 2-339 displaying entry count access-group 2-336 2-239 displaying information show access-group interface 2-342 displaying interface-based information switching between PVST+, MST, and Rapid 2-429 PVST 2-344 displaying multicast information See also command modes 2-346 displaying protocol-based information 2-22...
  • Page 557 Index Multiple Spanning Tree PAgP 2-37 See MST clearing port channel information 2-59 debugging PAgP activity 2-16 deselecting channeling protocol 2-356 displaying port channel information hot standby mode native VLAN 2-189 2-473 returning to defaults controlling tagging of traffic 2-189 2-402 selecting ports displaying ports eligible for native tagging...
  • Page 558 Index 2-107 2-158 creating setting a CoS value for Layer 2 packets 2-356 2-159 displaying information setting a drop threshold for Layer 2 packets load distribution method PVLANs 2-194 2-203 resetting to defaults configuring isolated and primary PVLANs 2-194 2-473 setting controlling tagging of native VLAN traffic 2-152...
  • Page 559 Index 2-220 mapping DSCP values to transmit queues resetting PVLAN trunk 2-220 2-462 mapping egress DSCP-to-CoS setting switchport to trunk 2-220 mapping the DSCP-to-CoS value ROM monitor mode 2-222 setting the mapping of policed DSCP values summary 2-224 setting the trust state root guard 2-384 QoS CoS...
  • Page 560 2-172 2-384 enabling Cisco-recommended features displaying UplinkFast status standard desktop and Cisco IP phone enabling BPDU filtering by default on all PortFast 2-442 ports 2-174 enabling Cisco-recommended features Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 561 2-68 trust state disabling debugging 2-117 setting switch to router connection 2-176 tunnel ports enabling Cisco-recommended features 2-329 displaying information about Layer 2 protocol switch to switch connection 2-178 TX queues enabling Cisco-recommended features 2-484 allocating bandwidth switch virtual interface...
  • Page 562 Index 2-484 2-308 specifying traffic rate displaying IP address and version information 2-397 displaying Layer 2 VLAN information 2-352 displaying statistical information 2-399 displaying VLAN information 2-120 enabling dynamic ARP inspection UDLD 2-142 2-486 enabling Explicit Host Tracking enabling by default on all fiber interfaces 2-81 2-488 enabling guest per-port...
  • Page 563 Index 2-499 entering VLAN configuration mode VMPS 2-507 configuring servers 2-505 reconfirming dynamic VLAN assignments 2-504 vmps reconfirm (global configuration) command 2-505 vmps reconfirm (privileged EXEC) command 2-506 vmps retry command 2-507 vmps server command voice VLANs 2-457 enabling VoIP 2-10 configuring auto-QoS 2-506...
  • Page 564 Index Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW IN-16 78-16201-01...
  • Page 565: Appendix

    A P P E N D I X Acronyms access control entry access control list authority and format identifier Agport aggregation port Active Monitor Present APaRT Automated Packet Recognition and Translation Address Resolution Protocol Border Gateway Protocol BPDU bridge protocol data unit bridge relay function Bisync BSTUN...
  • Page 566 CPLD Complex Programmable Logic Device cyclic redundancy check concentrator relay function Common Spanning Tree Dynamic ARP Inspection Dynamic Buffer Limiting Data Country Code dCEF distributed Cisco Express Forwarding dial-on-demand routing discard eligibility Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 567 AppendixA Acronyms Digital Equipment Corporation Domain-Specific Part Format Identifier Dynamic Feedback Protocol DISL Dynamic Inter-Switch Link Data Link Control DLSw Data Link Switching data movement processor Domain Name System Department of Defense denial of service DRAM dynamic RAM DRiP Dual Ring Protocol DSAP destination service access point DSCP...
  • Page 568 A pp e n di x A Acronyms Electronic Industries Association ELAN Emulated Local Area Network EOBC Ethernet out-of-band channel end-system identifier FECN forward explicit congestion notification feature manager field replaceable unit feasible successor metrics GARP General Attribute Registration Protocol GMRP GARP Multicast Registration Protocol GVRP...
  • Page 569 AppendixA Acronyms ILMI Integrated Local Management Interface Internet Protocol interprocessor communication Internetwork Packet Exchange IS-IS Intermediate System-to-Intermediate System Intradomain Routing Protocol Inter-Switch Link International Organization of Standardization Integrated SONET router Layer 2 Layer 3 Layer 4 local area network LANE LAN Emulation LAPB Link Access Procedure, Balanced...
  • Page 570 A pp e n di x A Acronyms Media Access Control Message Digest 5 Multicast Expansion Table MFIB Multicast Forwarding Information Base Management Information Base media-independent interface Multilayer Switching MLSE maintenance loop signaling entity Maintenance Operation Protocol MOTD message-of-the-day multicast routing monitor Multicast Replication Queue MSDP Multicast Source Discovery Protocol...
  • Page 571 AppendixA Acronyms NSAP network service access point Network Time Protocol NVRAM nonvolatile RAM Operation, Administration, and Maintenance Open System Interconnection OSPF open shortest path first port access entity PAgP Port Aggregation Protocol packet buffer daughterboard Personal Computer (formerly PCMCIA) pulse code modulation peak cell rate policy decision point protocol data unit...
  • Page 572 A pp e n di x A Acronyms PRID Policy Rule Identifiers PVLAN Private VLAN PVST+ Per VLAN Spanning Tree+ QoS manager quality of service RACL router interface access control list RADIUS Remote Access Dial-In User Service random-access memory Remote Copy Protocol RGMP Router Group Management Protocol Routing Information Field...
  • Page 573 Station Management SNAP Subnetwork Access Protocol SNMP Simple Network Management Protocol SPAN Switched Port Analyzer source-route bridging source-route transparent bridging SSTP Cisco Shared Spanning Tree Spanning Tree Protocol switched virtual circuit switched virtual interface Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 78-16201-01...
  • Page 574 A pp e n di x A Acronyms TACACS+ Terminal Access Controller Access Control System Plus TARP Target Identifier Address Resolution Protocol TCAM Ternary Content Addressable Memory table contention level TCP/IP Transmission Control Protocol/Internet Protocol TFTP Trivial File Transfer Protocol Telecommunications Industry Association type-length-value TopN...
  • Page 575 AppendixA Acronyms virtual channel circuit virtual circuit descriptor virtual circuit identifier Virtual Configuration Register VINES Virtual Network System VLAN virtual LAN VMPS VLAN Membership Policy Server VLAN Trunking Protocol VVID voice VLAN ID weighted fair queueing WRED weighted random early detection weighted round-robin Xerox Network System Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW...
  • Page 576 A pp e n di x A Acronyms Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW A-12 78-16201-01...
  • Page 577: Appendix

    A P P E N D I X Acknowledgments for Open-Source Software The Catalyst operating system software pipe command uses Henry Spencer’s regular expression library (regex). The most recent version of the library has been modified slightly in the Catalyst operating system software to maintain compatibility with earlier versions of the library.
  • Page 578 AppendixB Acknowledgments for Open-Source Software Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW 78-16201-01...

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents