- Preface
- Using the Command Line Interface
- Catalyst 3750 Switch Cisco IOS Commands - aaa accounting through reserved-only
- Catalyst 3750 Switch Cisco IOS Commands - rmon collection through show vtp
- Catalyst 3750 Switch Cisco IOS Commands - shutdown through vtp
- Catalyst 3750 Switch Bootloader Commands
- Catalyst 3750 Switch Debug Commands
- Catalyst 3750 Switch Show Platform Commands
- Acknowledgments for Open-Source Software
- rmon collection stats
- sdm prefer
- service password-recovery
- service-policy
- session
- set
- setup
- setup express
- show access-lists
- show archive status
- show arp access-list
- show authentication
- show auto qos
- show boot
- show cable-diagnostics tdr
- show cdp forward
- show cisp
- show class-map
- show cluster
- show cluster candidates
- show cluster members
- show controllers cpu-interface
- show controllers ethernet-controller
- show controllers power inline
- show controllers tcam
- show controllers utilization
- show diagnostic
- show dot1q-tunnel
- show dot1x
- show dtp
- show eap
- show env
- show errdisable detect
- show errdisable flap-values
- show errdisable recovery
- show etherchannel
- show fallback profile
- show flowcontrol
- show idprom
- show interfaces
- show interfaces counters
- show inventory
- show ip arp inspection
- show ip dhcp snooping
- show ip dhcp snooping binding
- show ip dhcp snooping database
- show ip dhcp snooping statistics
- show ip igmp profile
- show ip igmp snooping
- show ip igmp snooping groups
- show ip igmp snooping mrouter
- show ip igmp snooping querier
- show ip source binding
- show ip verify source
- show ipc
- show ipv6 access-list
- show ipv6 dhcp conflict
- show ipv6 mld snooping
- show ipv6 mld snooping address
- show ipv6 mld snooping mrouter
- show ipv6 mld snooping querier
- show ipv6 route updated
- show l2protocol-tunnel
- show lacp
- show lldp
- show location
- show link state group
- show mac access-group
- show mac address-table
- 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 learning
- show mac address-table move update
- show mac address-table notification
- show mac address-table static
- show mac address-table vlan
- show mls qos
- show mls qos aggregate-policer
- show mls qos input-queue
- show mls qos interface
- show mls qos maps
- show mls qos queue-set
- show mls qos vlan
- show monitor
- show mvr
- show mvr interface
- show mvr members
- show network-policy profile
- show nmsp
- show pagp
- show policy-map
- show port-security
- show power inline
- show sdm prefer
- show setup express
- show spanning-tree
- show storm-control
- show switch
- show system mtu
- show udld
- show version
- show vlan
- show vlan access-map
- show vlan filter
- show vmps
- show vtp
rmon collection stats
Use the rmon collection stats interface configuration command to collect Ethernet group statistics, which include usage statistics about broadcast and multicast packets, and error statistics about cyclic redundancy check (CRC) alignment errors and collisions. Use the no form of this command to return to the default setting.
rmon collection stats index [ owner name ]
no rmon collection stats index [ owner name ]
Syntax Description
Remote Network Monitoring (RMON) collection control index. The range is 1 to 65535. |
|
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The RMON statistics collection command is based on hardware counters.
Examples
This example shows how to collect RMON statistics for the owner root :
You can verify your setting by entering the show rmon statistics privileged EXEC command.
Related Commands
|
|
---|---|
sdm prefer
Use the sdm prefer global configuration command to configure the template used in Switch Database Management (SDM) resource allocation. You can use a template to allocate system resources to best support the features being used in your application. Use a template to provide maximum system usage for unicast routing or for VLAN configuration, to change an aggregator template (Catalyst 3750-12S only) to a desktop template, or to select the dual IPv4 and IPv6 template to support IPv6 forwarding. Use the no form of this command to return to the default template.
sdm prefer { access | default | dual-ipv4-and-ipv6 { default | routing | vlan } | routing | vlan } [ desktop ]
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must reload the switch for the configuration to take effect. If you enter the show sdm prefer command before you enter the reload privileged EXEC command, the show sdm prefer command shows the template currently in use and the template that will become active after a reload.
Desktop switches support only desktop templates; an aggregator switch (Catalyst 3750-12S) supports both desktop and aggregator templates. On an aggregator switch, if you do not enter the desktop keyword, the aggregator templates are selected.
All stack members use the same SDM desktop or aggregator template, stored on the stack master. When a new switch member is added to a stack, as with the switch configuration file and VLAN database file, the SDM configuration that is stored on the master overrides the template configured on an individual switch.
To route IPv6 packets in a stack of switches, all switches in the stack should be running the IP services image. The IPv6 packets are routed in hardware across the stack, as long as the packet does not have exceptions (IPv6Options) and the switches have not run out of hardware resources.
If a member cannot support the template that is running on the master switch, the switch goes into SDM mismatch mode, the master switch does not attempt to change the SDM template, and the switch cannot be a functioning member of the stack.
- If the master switch is a Catalyst 3750-12S, and you change the template from an aggregator template to a desktop template and reload the switch, the entire stack operates with the selected desktop template. This could cause configuration losses if the number of ternary content addressable memory (TCAM) entries exceeds the desktop template sizes.
- If you change the template on a Catalyst 3750-12S master from a desktop template to an aggregator template and reload the switch, any desktop switches that were part of the stack go into SDM mismatch mode.
- If you add a Catalyst 3750-12S switch that is running the aggregator template to a stack that has a desktop switch as the master, the stack operates with the desktop template selected on the master. This could cause configuration losses on the Catalyst 3750-12S member if the number of TCAM entries on it exceeds desktop template sizes.
For more information about stacking, see the “Managing Switch Stacks” chapter in the software configuration guide.
The access template maximizes system resources for access control lists (ACLs) as required to accommodate a large number of ACLs.
The default templates balance the use of system resources.
Use the sdm prefer vlan [ desktop ] global configuration command only on switches intended for Layer 2 switching with no routing. When you use the VLAN template, no system resources are reserved for routing entries, and any routing is done through software. This overloads the CPU and severely degrades routing performance.
Do not use the routing template if you do not have routing enabled on your switch. Entering the sdm prefer routing [ desktop ] global configuration command prevents other features from using the memory allocated to unicast routing in the routing template.
Do not use the ipv4-and-ipv6 templates if you do not plan to enable IPv6 routing on the switch. Entering the sdm prefer ipv4-and-ipv6 { default | routing | vlan } [ desktop ] global configuration command divides resources between IPv4 and IPv6, limiting those allocated to IPv4 forwarding.
Table 0-1 lists the approximate number of each resource supported in each of the IPv4-only templates for a desktop or aggregator switch. The values in the template are based on eight routed interfaces and approximately one thousand VLANs and represent the approximate hardware boundaries set when a template is selected. If a section of a hardware resource is full, all processing overflow is sent to the CPU, seriously impacting switch performance.
Table 0-2 lists the approximate number of each resource supported in each of the dual IPv4-and IPv6 templates for a desktop or aggregator switch.
|
|
|
||||
---|---|---|---|---|---|---|
|
|
|
|
|
|
|
IPv6 policy-based routing ACEs1 |
||||||
1.IPv6 policy-based routing is not supported in this release. |
Examples
This example shows how to configure the access template on a desktop switch:
This example shows how to configure the routing template on a desktop switch:
This example shows how to configure the desktop routing template on an aggregator switch:
This example shows how to configure the dual IPv4-and-IPv6 default template on a desktop switch:
This example shows how to change a switch template to the default template. On an aggregator switch, this is the default aggregator template; on a desktop switch, this is the default desktop template.
This example shows how to configure the desktop default template on an aggregator switch:
You can verify your settings by entering the show sdm prefer privileged EXEC command.
Related Commands
|
|
---|---|
Displays the current SDM template in use or displays the templates that can be used, with approximate resource allocation per feature. |
service password-recovery
Use the service password-recovery global configuration command to enable the password-recovery mechanism (the default). This mechanism allows an end user with physical access to the switch to hold down the Mode button and interrupt the bootup process while the switch is powering up and to assign a new password. Use the no form of this command to disable part of the password-recovery functionality. When the password-recovery mechanism is disabled, interrupting the bootup process is allowed only if the user agrees to set the system back to the default configuration.
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
As a system administrator, you can use the no service password-recovery command to disable some of the functionality of the password recovery feature by allowing an end user to reset a password only by agreeing to return to the default configuration.
To use the password-recovery procedure, a user with physical access to the switch holds down the Mode button while the unit powers up and for a second or two after the LED above port 1X turns off. When the button is released, the system continues with initialization.
If the password-recovery mechanism is disabled, this message appears:
Note If the user chooses not to reset the system to the default configuration, the normal bootup process continues, as if the Mode button had not been pressed. If you choose to reset the system to the default configuration, the configuration file in flash memory is deleted, and the VLAN database file, flash:vlan.dat (if present), is deleted.If you use the no service password-recovery command to control end user access to passwords, we recommend that you save a copy of the config file in a location away from the switch in case the end user uses the password recovery procedure and sets the system back to default values. Do not keep a backup copy of the config file on the switch.
If the switch is operating in VTP transparent mode, we recommend that you also save a copy of the vlan.dat file in a location away from the switch.
When you enter the service password-recovery or no service password-recovery command on the stack master, it is propagated throughout the stack and applied to all switches in the stack.
You can verify if password recovery is enabled or disabled by entering the show version privileged EXEC command.
Examples
This example shows how to disable password recovery on a switch or switch stack so that a user can only reset a password by agreeing to return to the default configuration.
Related Commands
|
|
---|---|
service-policy
Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input of a physical port or a switch virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
service-policy input policy-map-name
no service-policy input policy-map-name
Syntax Description
Apply the specified policy map to the input of a physical port or an SVI. |
Note Though visible in the command-line help strings, the history keyword is not supported, and you should ignore the statistics that it gathers. The output keyword is also not supported.
Defaults
Command Modes
Command History
|
|
---|---|
A policy map can now be applied to a physical port or an SVI. |
|
Usage Guidelines
Only one policy map per ingress port is supported.
Policy maps can be configured on physical ports or on SVIs. When VLAN-based quality of service (QoS) is disabled by using the no mls qos vlan-based interface configuration command on a physical port, you can configure a port-based policy map on the port. If VLAN-based QoS is enabled by using the mls qos vlan-based interface configuration command on a physical port, the switch removes the previously configured port-based policy map. After a hierarchical policy map is configured and applied on an SVI, the interface-level policy map takes effect on the interface.
You can apply a policy map to incoming traffic on a physical port or on an SVI. You can configure different interface-level policy maps for each class defined in the VLAN-level policy map. For more information about hierarchical policy maps, see the “Configuring QoS” chapter in the software configuration guide for this release.
Classification using a port trust state (for example, mls qos trust [ cos | dscp | ip-precedence ] and a policy map (for example, service-policy input policy-map-name) are mutually exclusive. The last one configured overwrites the previous configuration.
Policy maps that use the police aggregate command fail when applied to a 10-Gigabit Ethernet interface.
Examples
This example shows how to apply plcmap1 to an physical ingress port:
This example shows how to remove plcmap2 from a physical port:
This example shows how to apply plcmap1 to an ingress SVI when VLAN-based QoS is enabled:
This example shows how to create a hierarchical policy map and attach it to an SVI:
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
|
|
---|---|
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
|
session
Use the session privileged EXEC command on the stack master to access a specific stack member or to access the controller on a Catalyst 3750G Integrated Wireless LAN Controller Switch.
session stack-member-number [ processor 1 ]
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
The processor keyword was added for Catalyst 3750G Integrated Wireless LAN Controller Switch. |
Usage Guidelines
When you access the member, its member number is appended to the system prompt.
Use the session command from the master to access a member switch.
Use the session command with processor 1 from the master or a standalone switch to access the internal controller. A standalone switch is always member 1.
Use the processor 1 keyword to change to the controller command-line interface. See the Cisco Wireless LAN Controller Configuration Guide Release 4.0 for controller configuration information.
Examples
This example shows how to access member 6:
This example shows how to access the controller on member 2, which is a Catalyst 3750G wireless LAN controller switch (standalone or stack master):
Related Commands
|
|
---|---|
Reloads the member and puts a configuration change into effect. |
|
set
Use the set policy-map class configuration command to classify IP traffic by setting a Differentiated Services Code Point (DSCP) or an IP-precedence value in the packet. Use the no form of this command to remove traffic classification.
set { dscp new-dscp | [ ip ] precedence new-precedence }
no set { dscp new-dscp | [ ip ] precedence new-precedence }
Syntax Description
Defaults
Command Modes
Policy-map class configuration
Command History
|
|
---|---|
The ip dscp new-dscp keyword was changed to dscp new-dscp. The set dscp new-dscp command replaces the set ip dscp new-dscp command. |
|
Usage Guidelines
If you have used the set ip dscp p olicy-map class configuration command, the switch changes this command to set dscp in the switch configuration. If you enter the set ip dscp policy-map class configuration command, this setting appears as set dscp in the switch configuration.
You can use the set ip precedence policy-map class configuration command or the set precedence policy-map class configuration command. This setting appears as set ip precedence in the switch configuration.
The set command is mutually exclusive with the trust policy-map class configuration command within the same policy map.
For the set dscp new-dscp or the set ip precedence new-precedence command, you can enter a mnemonic name for a commonly used value. For example, you can enter the set dscp af11 command, which is the same as entering the set dscp 10 command. You can enter the set ip precedence critical command, which is the same as entering the set ip precedence 5 command. For a list of supported mnemonics, enter the set dscp ? or the set ip precedence ? command to see the command-line help strings.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.
Examples
This example shows how to assign DSCP 10 to all FTP traffic without any policers:
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
setup
Use the setup privileged EXEC command to configure the switch with its initial configuration.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When you use the setup command, make sure that you have this information:
- IP address and network mask
- Password strategy for your environment
- Whether the switch will be used as the cluster command switch and the cluster name
When you enter the setup command, an interactive dialog, called the System Configuration Dialog, appears. It guides you through the configuration process and prompts you for information. The values shown in brackets next to each prompt are the default values last set by using either the setup command facility or the configure privileged EXEC command.
Help text is provided for each prompt. To access help text, press the question mark (?) key at a prompt.
To return to the privileged EXEC prompt without making changes and without running through the entire System Configuration Dialog, press Ctrl-C.
When you complete your changes, the setup program shows you the configuration command script that was created during the setup session. You can save the configuration in NVRAM or return to the setup program or the command-line prompt without saving it.
Examples
This is an example of output from the setup command:
Related Commands
|
|
---|---|
setup express
Use the setup express global configuration command to enable Express Setup mode. Use the no form of this command to disable Express Setup mode.
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When Express Setup is enabled on a new (unconfigured) switch, pressing the Mode button for 2 seconds activates Express Setup. You can access the switch through an Ethernet port by using the IP address 10.0.0.1 and then can configure the switch with the web-based Express Setup program or the command-line interface (CLI)-based setup program.
When you press the Mode button for 2 seconds on a configured switch, the LEDs above the Mode button start blinking. If you press the Mode button for a total of 10 seconds, the switch configuration is deleted, and the switch reboots. The switch can then be configured like a new switch, either through the web-based Express Setup program or the CLI-based setup program.
Note As soon as you make any change to the switch configuration (including entering no at the beginning of the CLI-based setup program), configuration by Express Setup is no longer available. You can only run Express Setup again by pressing the Mode button for 10 seconds. This deletes the switch configuration and reboots the switch.
If Express Setup is active on the switch, entering the write memory or copy running-configuration startup-configuration privileged EXEC commands deactivates Express Setup. The IP address 10.0.0.1 is no longer valid on the switch, and your connection using this IP address ends.
The primary purpose of the no setup express command is to prevent someone from deleting the switch configuration by pressing the Mode button for 10 seconds.
Examples
This example shows how to enable Express Setup mode:
You can verify that Express Setup mode is enabled by pressing the Mode button:
- On an unconfigured switch, the LEDs above the Mode button turn solid green after 3 seconds.
- On a configured switch, the mode LEDs begin blinking after 2 seconds and turn solid green after 10 seconds.
This example shows how to disable Express Setup mode:
You can verify that Express Setup mode is disabled by pressing the Mode button. The mode LEDs do not turn solid green or begin blinking green if Express Setup mode is not enabled on the switch.
Related Commands
|
|
---|---|
show access-lists
Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch.
show access-lists [name | number | hardware counters | ipc ] [ | { begin | exclude | include } expression ]
Syntax Description
Note Though visible in the command-line help strings, the rate-limit keywords are not supported.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The switch supports only IP standard and extended access lists. Therefore, the allowed numbers are only 1 to 199 and 1300 to 2699.
This command also displays the MAC ACLs that are configured.
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show access-lists command:
This is an example of output from the show access-lists hardware counters command:
Related Commands
|
|
---|---|
Configures a standard or extended numbered access list on the switch. |
|
Configures a named or numbered MAC access list on the switch. |
show archive status
Use the show archive status privileged EXEC command to display the status of a new image being downloaded to a switch with the HTTP or the TFTP protocol.
show archive status [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you use the archive download-sw privileged EXEC command to download an image to a TFTP server, the output of the archive download-sw command shows the status of the download.
If you do not have a TFTP server, you can use Network Assistant or the embedded device manager to download the image by using HTTP. The show archive status command shows the progress of the download.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
These are examples of output from the show archive status command:
Related Commands
|
|
---|---|
show arp access-list
Use the show arp access-list user EXEC command to display detailed information about Address Resolution Protocol (ARP) access control (lists).
show arp access-list [ acl-name ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show arp access-list command:
Related Commands
show authentication
Use the show authentication command (in either user EXEC or privileged EXEC mode) to display information about authentication manager events on the switch.
show authentication {interface interface-id | registrations | sessions [session-id session-id] [handle handle] [interface interface-id] [mac mac] [method method]}
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Table 0-3 describes the significant fields shown in the output of the show authentication command.
Note The possible values for the status of sessions are shown below. For a session in terminal state, Authz Success or Authz Failed is displayed along with No methods if no method has provided a result.
Table 0-4 lists the possible values for the state of methods. For a session in a terminal state, Authc Success, Authc Failed, or Failed over are displayed. Failed over means that an authentication method ran and then failed over to the next method, which did not provide a result. Not run appears for sessions that synchronized on standby.
Examples
This is an example the show authentication registrations command:
The is an example of the show authentication interface interface-id command:
This is an example of the show authentication sessions command:
This is an example of the show authentication sessions command for a specified interface:
This is an example of the show authentication sessions command for a specified MAC address:
This is an example of the show authentication session method command for a specified method:
Related Commands
show auto qos
Use the show auto qos user EXEC command to display the quality of service (QoS) commands entered on the interfaces on which automatic QoS (auto-QoS) is enabled.
show auto qos [ interface [ interface-id ]]
Syntax Description
(Optional) Display auto-QoS information for the specified port or for all ports. Valid interfaces include physical ports. |
Command Modes
Command History
|
|
---|---|
The information in the command output changed, and the user guidelines were updated. |
|
Usage Guidelines
The show auto qos command output shows only the auto-QoS command entered on each interface. The show auto qos interface interface-id command output shows the auto-QoS command entered on a specific interface.
Use the show running-config privileged EXEC command to display the auto-QoS configuration and the user modifications.
The show auto qos command output also shows the service policy information for the Cisco IP phone.
To display information about the QoS configuration that might be affected by auto-QoS, use one of these commands:
Examples
This is an example of output from the show auto qos command after the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered:
This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered:
This is an example of output from the show running-config privileged EXEC command when the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered:
This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered:
This is an example of output from the show auto qos command when auto-QoS is disabled on the switch:
This is an example of output from the show auto qos i nterface interface-id command when auto-QoS is disabled on an interface:
Related Commands
|
|
---|---|
show boot
Use the show boot privileged EXEC command to display the settings of the boot environment variables.
show boot [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show boot command. Table 0-5 describes each field in the display.
For switch stacks, information is shown for each switch in the stack.
|
|
---|---|
Displays a semicolon separated list of executable files to try to load and execute when automatically booting up. If the BOOT environment variable is not set, the system attempts to load and execute the first executable image it can find by using a recursive, depth-first search through the flash file system. In a depth-first search of a directory, each encountered subdirectory is completely searched before continuing the search in the original directory. If the BOOT variable is set but the specified images cannot be loaded, the system attempts to boot up with the first bootable file that it can find in the flash file system. |
|
Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. |
|
Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. |
|
Displays whether a break during booting up is enabled or disabled. If it is set to yes, on, or 1, you can interrupt the automatic bootup process by pressing the Break key on the console after the flash file system is initialized. |
|
Displays whether the switch automatically or manually boots up. If it is set to no or 0, the bootloader attempts to automatically boot up the system. If it is set to anything else, you must manually boot up the switch from the bootloader mode. |
|
Displays a semicolon separated list of loadable files to dynamically load during the bootloader initialization. Helper files extend or patch the functionality of the bootloader. |
|
Displays whether the switch stack is set to automatically copy its software version to an incompatible switch so that it can join the stack. A switch in version-mismatch mode is a switch that has a different stack protocol version than the version on the stack. Switches in version-mismatch mode cannot join the stack. If the stack has an image that can be copied to a switch in version-mismatch mode, and if the boot auto-copy-sw feature is enabled, the stack automatically copies the image from another stack member to the switch in version-mismatch mode. The switch then exits version-mismatch mode, reboots, and joins the stack. |
Related Commands
show cable-diagnostics tdr
Use the show cable-diagnostics tdr privileged EXEC command to display the Time Domain Reflector (TDR) results.
show cable-diagnostics tdr interface interface-id [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
TDR is supported only on 10/100/100 copper Ethernet ports. It is not supported on 10/100 ports, 10-Gigabit module ports, or on SFP module ports. For more information about TDR, see the software configuration guide for this release.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show cable-diagnostics tdr interface interface-id command on a switch other than a Catalyst 3750G-24PS or 3750G-48PS switch:
This is an example of output from the show cable-diagnostics tdr interface interface-id command on a Catalyst 3750G-24PS or 3750G-48PS switch:
Table 0-6 lists the descriptions of the fields in the show cable-diagnostics tdr command output.
This is an example of output from the show interfaces interface-id command when TDR is running:
This is an example of output from the show cable-diagnostics tdr interface interface-id command when TDR is not running:
If an interface does not support TDR, this message appears:
Related Commands
|
|
---|---|
show cdp forward
To display the CDP forwarding table, use the show cdp forward user EXEC command.
show cdp forward [ entry | forward | interface interface-id | neighbor | traffic ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show cdp forward command output shows the number of CDP packets forwarded on each ingress-port- to-egress-port mapping and the statistics for forwarded and dropped packets.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
Related Commands
|
|
---|---|
Configures the ingress and egress switch ports for CDP traffic. |
show cisp
Use the show cisp privileged EXEC command to display CISP information for a specified interface.
show cisp { [ interface interface-id ] | clients | summary} | {[begin | exclude | include } expression ]}
Syntax Description
Command Modes
Command History
|
|
---|---|
Examples
This example shows output from the show cisp interface command:
This example shows output from the show cisp summary command:
Related Commands
|
|
---|---|
show class-map
Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic.
show class-map [ class-map-name ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show class-map command:
Related Commands
|
|
---|---|
Creates a class map to be used for matching packets to the class whose name you specify. |
|
show cluster
Use the show cluster user EXEC command to display the cluster status and a summary of the cluster to which the switch belongs. This command can be entered on the cluster command switch and cluster member switches.
show cluster [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you enter this command on a switch that is not a cluster member, the error message Not a management cluster member
appears.
On a cluster member switch, this command displays the identity of the cluster command switch, the switch member number, and the state of its connectivity with the cluster command switch.
On a cluster command switch stack or cluster command switch, this command displays the cluster name and the total number of members. It also shows the cluster status and time since the status changed. If redundancy is enabled, it displays the primary and secondary command-switch information.
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output when the show cluster command is entered on the active cluster command switch:
This is an example of output when the show cluster command is entered on a cluster member switch:
This is an example of output when the show cluster command is entered on a cluster member switch that is configured as the standby cluster command switch:
This is an example of output when the show cluster command is entered on the cluster command switch that has lost connectivity with member 1:
This is an example of output when the show cluster command is entered on a cluster member switch that has lost connectivity with the cluster command switch:
Related Commands
|
|
---|---|
Enables a command-capable switch as the cluster command switch, assigns a cluster name, and optionally assigns a member number to it. |
|
show cluster candidates
Use the show cluster candidates privileged EXEC command to display a list of candidate switches.
show cluster candidates [ detail | mac-address H.H.H. ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command is available only on the cluster command switch stack or cluster command switch.
If the switch is not a cluster command switch, the command displays an empty line at the prompt.
The SN in the display means switch member number. If E appears in the SN column, it means that the switch is discovered through extended discovery. If E does not appear in the SN column, it means that the switch member number is the upstream neighbor of the candidate switch. The hop count is the number of devices the candidate is from the cluster command switch.
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show cluster candidates command:
This is an example of output from the show cluster candidates command that uses the MAC address of a cluster member switch directly connected to the cluster command switch:
This is an example of output from the show cluster candidates command that uses the MAC address of a cluster member switch three hops from the cluster edge:
This is an example of output from the show cluster candidates detail command:
Related Commands
|
|
---|---|
Displays the cluster status and a summary of the cluster to which the switch belongs. |
|
show cluster members
Use the show cluster members privileged EXEC command to display information about the cluster members.
show cluster members [ n | detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command is available only on the cluster command switch stack or cluster command switch.
If the cluster has no members, this command displays an empty line at the prompt.
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show cluster members command. The SN in the display means switch number.
This is an example of output from the show cluster members for cluster member 3:
This is an example of output from the show cluster members detail command:
Related Commands
|
|
---|---|
Displays the cluster status and a summary of the cluster to which the switch belongs. |
|
show controllers cpu-interface
Use the show controllers cpu-interface privileged EXEC command to display the state of the CPU network interface ASIC and the send and receive statistics for packets reaching the CPU.
show controllers cpu-interface [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is a partial output example from the show controllers cpu-interface command:
Related Commands
show controllers ethernet-controller
Use the show controllers ethernet-controller privileged EXEC command without keywords to display per-interface send and receive statistics read from the hardware. Use with the phy keyword to display the interface internal registers or the port-asic keyword to display information about the port ASIC.
show controllers ethernet-controller [ interface-id ] [ phy [ detail ]] [ port-asic { configuration | statistics }] [ fastethernet 0 ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Privileged EXEC (only supported with the interface-id keywords in user EXEC mode)
Command History
|
|
---|---|
The display was enhanced to show the XENPAK module serial EEPROM contents. |
Usage Guidelines
This display without keywords provides traffic statistics, basically the RMON statistics for all interfaces or for the specified interface.
When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show controllers ethernet-controller command for an interface. Table 0-7 lists the Transmit fields, and Table 0-8 lists the Receive fields.
|
|
---|---|
The number of frames dropped on the egress port because the packet aged out. |
|
The number of frames that are not sent after the time exceeds 2*maximum-packet time. |
|
The number of frames that are larger than the maximum allowed frame size. |
|
The number of frames that are successfully sent on an interface after one collision occurs. |
|
The number of frames that are successfully sent on an interface after two collisions occur. |
|
The number of frames that are successfully sent on an interface after three collisions occur. |
|
The number of frames that are successfully sent on an interface after four collisions occur. |
|
The number of frames that are successfully sent on an interface after five collisions occur. |
|
The number of frames that are successfully sent on an interface after six collisions occur. |
|
The number of frames that are successfully sent on an interface after seven collisions occur. |
|
The number of frames that are successfully sent on an interface after eight collisions occur. |
|
The number of frames that are successfully sent on an interface after nine collisions occur. |
|
The number of frames that are successfully sent on an interface after ten collisions occur. |
|
The number of frames that are successfully sent on an interface after 11 collisions occur. |
|
The number of frames that are successfully sent on an interface after 12 collisions occur. |
|
The number of frames that are successfully sent on an interface after 13 collisions occur. |
|
The number of frames that are successfully sent on an interface after 14 collisions occur. |
|
The number of frames that are successfully sent on an interface after 15 collisions occur. |
|
The number of frames that could not be sent on an interface after 16 collisions occur. |
|
After a frame is sent, the number of frames dropped because late collisions were detected while the frame was sent. |
|
The number of frames dropped on an interface because the CFI2 bit is set. |
|
The number of frames that are not sent after the time exceeds the maximum-packet time. |
|
The total number of frames sent on an interface that are 64 bytes. |
|
The total number of frames sent on an interface that are from 65 to 127 bytes. |
|
The total number of frames sent on an interface that are from 128 to 255 bytes. |
|
The total number of frames sent on an interface that are from 256 to 511 bytes. |
|
The total number of frames sent on an interface that are from 512 to 1023 bytes. |
|
The total number of frames sent on an interface that are from 1024 to 1518 bytes. |
|
The number of frames sent on an interface that are larger than the maximum allowed frame size. |
|
The number of frames that are successfully sent on an interface after one collision occurs. This value does not include the number of frames that are not successfully sent after one collision occurs. |
|
|
|
---|---|
The total amount of memory (in bytes) used by frames received on an interface, including the FCS3 value and the incorrectly formed frames. This value excludes the frame header bits. |
|
The total number of frames successfully received on the interface that are directed to unicast addresses. |
|
The total number of frames successfully received on the interface that are directed to multicast addresses. |
|
The total number of frames successfully received on an interface that are directed to broadcast addresses. |
|
The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits. |
|
The total amount of memory (in bytes) used by multicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits. |
|
The total amount of memory (in bytes) used by broadcast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits. |
|
The total number of frames received on an interface that have alignment errors. |
|
The total number of frames received on an interface that have a valid length (in bytes) but do not have the correct FCS values. |
|
The number of frames received on an interface that are larger than the maximum allowed frame size. |
|
The number of frames received on an interface that are smaller than 64 bytes. |
|
The total number of frames that are from 1024 to 1518 bytes. |
|
The total number of overrun frames received on an interface. |
|
The number of frames received on an interface that have symbol errors. |
|
The number of frames received that were larger than maximum allowed MTU4 size (including the FCS bits and excluding the frame header) and that have either an FCS error or an alignment error. |
|
The number of frames received on an interface that are larger than the maximum allowed frame size. |
|
The number of frames received that are smaller than 64 bytes (including the FCS bits and excluding the frame header) and that have either an FCS error or an alignment error. |
|
The number of frames received on an interface that are smaller than 64 bytes (or 68 bytes for VLAN-tagged frames) and that have valid FCS values. The frame size includes the FCS bits but excludes the frame header bits. |
|
The number of frames dropped on the ingress port because the packet aged out. |
|
The number of frames received on an interface that are larger than the maximum allowed frame size and have valid FCS values. The frame size includes the FCS value but does not include the VLAN tag. |
|
The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values. |
|
The total number of frames received on an interface that are dropped because the ingress queue is full. |
|
This is an example of output from the show controllers ethernet-controller phy command for a specific interface:
This is an example of output from the show controllers ethernet-controller tengigabitethernet1/0/1 phy command for the 10-Gigabit Ethernet interface. It shows the XENPAK module serial EEPROM contents.
For information about the EEPROM map and the field descriptions for the display, see the XENPAK multisource agreement (MSA) at these sites:
http://www.xenpak.org/MSA/XENPAK_MSA_R2.1.pdf
http://www.xenpak.org/MSA/XENPAK_MSA_R3.0.pdf
To determine which version of the XENPAK documentation to read, check the XENPAK MSA Version supported field in the display. Version 2.1 is 15 hexadecimal, and Version 3.0 is 1e hexadecimal.
This is an example of output from the show controllers ethernet-controller port-asic configuration command:
This is an example of output from the show controllers ethernet-controller port-asic statistics command:
Related Commands
show controllers power inline
Use the show controllers power inline user EXEC command to display the values in the registers of the specified Power over Ethernet (PoE) controller.
show controllers power inline [ instance] [module switch-number ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
For the Catalyst 3750-48PS switches, the instance range is 0 to 11.
For the Catalyst 3750-24PS switches, the instance range is 0 to 5.
For the Catalyst 3750G-48PS switches, the instance range is 0 to 2. For instances other than 0 to 2, the switches provides no output.
For the Catalyst 3750G-24PS switches, the instance range is 0 to 1. For instances other than 0 to 1, the switches provides no output.
Though visible on all switches, this command is valid only for PoE switches. It provides no information for switches that do not support PoE.
The output provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show controllers power inline command on a switch other than a Catalyst 3750G-48PS or 3750G-24PS switch:
This is an example of output from the show controllers power inline command on a Catalyst 3750G-24PS switch:
Related Commands
|
|
---|---|
Configures the power management mode for the specified PoE port or for all PoE ports. |
|
Displays the PoE status for the specified PoE port or for all PoE ports. |
show controllers tcam
Use the show controllers tcam privileged EXEC command to display the state of the registers for all ternary content addressable memory (TCAM) in the system and for all TCAM interface ASICs that are CAM controllers.
show controllers tcam [ asic [ number ]] [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show controllers tcam command:
Related Commands
show controllers utilization
Use the show controllers utilization user EXEC command to display bandwidth utilization on the switch or specific ports.
show controllers [ interface-id ] utilization [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show controllers utilization command.
This is an example of output from the show controllers utilization command on a specific port:
Related Commands
|
|
---|---|
show diagnostic
Use the show diagnostic user EXEC command to view the test results of the online diagnostics and to list the supported test suites.
show diagnostic content switch [ num | all ] [ | { begin | exclude | include } expression ]
show diagnostic post [{ begin | exclude | include } expression ]
show diagnostic result switch [ num | all ] [ detail | test { test-id | test-id-range | all } [ detail ]] [ | { begin | exclude | include } expression ]
show diagnostic schedule switch [ num | all ] [ | { begin | exclude | include } expression ]
show diagnostic status [ | { begin | exclude | include } expression ]
show diagnostic switch [ num | all ] [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you do not enter a switch num, information for all switches is displayed.
In the command output, the possible testing results are as follows:
Examples
This example shows how to display the online diagnostics that are configured on a switch:
This example shows how to display the online diagnostic results for a switch:
This example shows how to display the online diagnostic test status:
This example shows how to display the online diagnostic test schedule for a switch:
Related Commands
|
|
---|---|
Sets the scheduling of test-based online diagnostic testing. |
|
show dot1q-tunnel
Use the show dot1q-tunnel user EXEC command to display information about IEEE 802.1Q tunnel ports.
show dot1q-tunnel [ interface interface-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
These are examples of output from the show dot1q-tunnel command:
Related Commands
|
|
---|---|
show vlan dot1q tag native |
|
switchport mode dot1q-tunnel |
show dot1x
Use the show dot1x user EXEC command to display IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified port.
show dot1x [{ all [ summary ] | interface interface-id } [ details | statistics ]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
Usage Guidelines
If you do not specify a port, global parameters and a summary appear. If you specify a port, details for that port appear.
If the port control is configured as unidirectional or bidirectional control and this setting conflicts with the switch configuration, the show dot1x { all | interface interface-id } privileged EXEC command output has this information:
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output appear.
Examples
This is an example of output from the show dot1x user EXEC command:
This is an example of output from the show dot1x all user EXEC command:
This is an example of output from the show dot1x all summary user EXEC command:
This is an example of output from the show dot1x interface interface-id user EXEC command:
This is an example of output from the show dot1x interface interface-id details user EXEC command:
This is an example of output from the show dot1x interface interface-id details commmand when a port is assigned to a guest VLAN and the host mode changes to multiple-hosts mode:
This is an example of output from the show dot1x interface interface-id details commmand when a port is configured as both a host and an IP phone (a Cisco IP phone or phone from another manufacturer). The HostMode field shows MULTI-DOMAIN
.
Dot1x Info for GigabitEthernet2/0/3
-----------------------------------
PAE = AUTHENTICATOR
PortControl = AUTO
ControlDirection = Both
HostMode = MULTI_DOMAIN
ReAuthentication = Disabled
QuietPeriod = 60
ServerTimeout = 30
SuppTimeout = 30
ReAuthPeriod = 3600 (Locally configured)
ReAuthMax = 2
MaxReq = 2
TxPeriod = 1
RateLimitPeriod = 0
Mac-Auth-Bypass = Enabled
Critical-Auth = Enabled
Critical Recovery Action = Reinitialize
Critical-Auth VLAN = 10
Guest-Vlan = 15
Dot1x Authenticator Client List
-------------------------------
Domain = DATA
Supplicant = 0000.aaaa.bbbb
Auth SM State = AUTHENTICATED
Auth BEND SM Stat = IDLE
Port Status = AUTHORIZED
Authentication Method = MAB
Vlan Policy = 20
This is an example of output from the show dot1x interface interface-id statistics command. Table 0-10 describes the fields in the display.
Related Commands
|
|
---|---|
show dtp
Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information for the switch or for a specified interface.
show dtp [ interface interface-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show dtp command:
This is an example of output from the show dtp interface command:
Related Commands
|
|
---|---|
show interfaces trunk |
show eap
Use the show eap privileged EXEC command to display Extensible Authentication Protocol (EAP) registration and session information for the switch or for the specified port.
show eap {{ registrations [ method [ name ] | transport [ name ]]} | { sessions [ credentials name [ interface interface-id ] | interface interface-id | method name | transport name ]}} [ credentials name | interface interface-id | transport name ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When you use the show eap registrations privileged EXEC command with these keywords, the command output shows this information:
- None—All the lower levels used by EAP and the registered EAP methods.
- method name keyword—The specified method registrations.
- transport name keyword—The specific lower-level registrations.
When you use the show eap sessions privileged EXEC command with these keywords, the command output shows this information:
- None—All active EAP sessions.
- credentials name keyword—The specified credentials profile.
- interface interface-id keyword—The parameters for the specified interface.
- method name keyword—The specified EAP method.
- transport name keyword—The specified lower layer.
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output appear.
Examples
This is an example of output from the show eap registrations privileged EXEC command:
This is an example of output from the show eap registrations transport privileged user EXEC command:
This is an example of output from the show eap sessions privileged EXEC command:
This is an example of output from the show eap sessions interface interface-id privileged EXEC command:
Related Commands
|
|
---|---|
Clears EAP session information for the switch or for the specified port. |
show env
Use the show env user EXEC command to show fan, temperature, redundant power system (RPS) availability, and power information for the switch (standalone switch, stack master, or stack member). Use with the stack keyword to show all information for the stack or for a specified switch in the stack.
show env { all | fan | power | rps [ all | detail | switch [ switch-number ]] | stack [ switch-number ] | temperature [ status ]} [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The rps [ all | detail | switch [ switch-number ]] keywords were added. |
Usage Guidelines
Use the session privileged EXEC command to access information from a specific switch other than the master.
Use the show env stack [ switch-number ] command to display information about any switch in the stack from any member switch.
Though visible on all switches, the show env temperature status command is valid only for the Catalyst 3750G-48TS, 3750G-48PS, 3750G-24TS-1U, and 3750G-24PS switches. If you enter this command on these switches, the command output shows the switch temperature states and the threshold levels. If you enter the command on a switch other than these four switches, the output field shows Not Applicable
.
On a Catalyst 3750G-48PS or 3750G-24PS switch, you can also use the show env temperature command to display the switch temperature status. The command output shows the green and yellow states as OK and the red state as FAULTY. If you enter the show env all command on this switch, the command output is the same as the show env temperature status command output.
For more information about the threshold levels, see the software configuration guide for this release.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show env all command entered from the master switch or a standalone switch:
This is an example of output from the show env fan command:
This is an example of output from the show env rps command on a stack master:
This is an example of output from the show env rps all command on a stack master:
This is an example of output from the show env stack command:
This example shows how to display information about stack member 3 from the master switch:
This example shows how to display the temperature value, state, and the threshold values. Table 0-11 describes the temperature states in the command output.
show errdisable detect
Use the show errdisable detect user EXEC command to display error-disabled detection status.
show errdisable detect [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
A mode column was added to the show errdisable detect output. |
Usage Guidelines
A displayed gbic-invalid
error reason refers to an invalid small form-factor pluggable (SFP) module.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
The error-disable reasons in the command ouput are listed in alphabetical order. The mode column shows how error disable is configured for each feature.
Examples
This is an example of output from the show errdisable detect command:
Related Commands
|
|
---|---|
Enables error-disabled detection for a specific cause or all causes. |
|
show interfaces status |
Displays interface status or a list of interfaces in error-disabled state. |
show errdisable flap-values
Use the show errdisable flap-values user EXEC command to display conditions that cause an error to be recognized for a cause.
show errdisable flap-values [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The Flaps column in the display shows how many changes to the state within the specified time interval will cause an error to be detected and a port to be disabled. For example, the display shows that an error will be assumed and the port shut down if three Dynamic Trunking Protocol (DTP)-state (port mode access/trunk) or Port Aggregation Protocol (PAgP) flap changes occur during a 30-second interval, or if 5 link-state (link up/down) changes occur during a 10-second interval.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show errdisable flap-values command:
Related Commands
|
|
---|---|
Enables error-disabled detection for a specific cause or all causes. |
|
show interfaces status |
Displays interface status or a list of interfaces in error-disabled state. |
show errdisable recovery
Use the show errdisable recovery user EXEC command to display the error-disabled recovery timer information.
show errdisable recovery [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
A gbic-invalid error-disable reason refers to an invalid small form-factor pluggable (SFP) module interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show errdisable recovery command:
ErrDisable Reason Timer Status
----------------- --------------
udld Disabled
bpduguard Disabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
link-flap Enabled
l2ptguard Disabled
psecure-violation Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
storm-control Disabled
arp-inspection Disabled
loopback Disabled
Timer interval:300 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Gi
1/0/2 link-flap 279
Note Though visible in the output, the unicast-flood field is not valid.
Related Commands
|
|
---|---|
show interfaces status |
Displays interface status or a list of interfaces in error-disabled state. |
show etherchannel
Use the show etherchannel user EXEC command to display EtherChannel information for a channel.
show etherchannel [ channel-group-number { detail | port | port-channel | protocol | summary }] { detail | load-balance | port | port-channel | protocol | summary } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The channel -group-number range was changed from 1 to 12 to 1 to 48. |
Usage Guidelines
If you do not specify a channel-group , all channel groups are displayed.
In the output, the Passive port list field is displayed only for Layer 3 port channels. This field means that the physical port, which is still not up, is configured to be in the channel group (and indirectly is in the only port channel in the channel group).
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show etherchannel 1 detail command:
This is an example of output from the show etherchannel 1 summary command:
This is an example of output from the show etherchannel 1 port-channel command:
This is an example of output from the show etherchannel protocol command:
Related Commands
|
|
---|---|
show fallback profile
Use the show fallback profile privileged EXEC command to display the fallback profiles that are configured on a switch.
show fallback profile [ append | begin | exclude | include | { [redirect | tee] url } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show fallback profile privileged EXEC command to display profiles that are configured on the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show fallback profile command:
Related Commands
|
|
---|---|
Configure a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication. |
|
show dot1x [ interface interface-id ] |
show flowcontrol
Use the show flowcontrol user EXEC command to display the flow control status and statistics.
show flowcontrol [ interface interface-id | module number ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display the flow control status and statistics on the switch or for a specific interface.
Use the show flowcontrol command to display information about all the switch interfaces. For a standalone switch, the output from the show flowcontrol command is the same as the output from the show flowcontrol module number command.
Use the show flowcontrol interface interface-id command to display information about a specific interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show flowcontrol command.
This is an example of output from the show flowcontrol interface interface-id command:
Related Commands
|
|
---|---|
show idprom
Use the show idprom user EXEC command to display the IDPROM information for the specified interface.
show idprom { interface interface-id } [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
This command applies only to 10-Gigabit Ethernet interfaces.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show idprom interface tengigabitethernet1/0/1 command for the 10-Gigabit Ethernet interface. It shows the XENPAK module serial EEPROM contents.
For information about the EEPROM map and the field descriptions for the display, see the XENPAK multisource agreement (MSA) at these sites:
http://www.xenpak.org/MSA/XENPAK_MSA_R2.1.pdf
http://www.xenpak.org/MSA/XENPAK_MSA_R3.0.pdf
To determine which version of the XENPAK documentation to read, check the XENPAK MSA Version supported field in the display. Version 2.1 is 15 hexadecimal, and Version 3.0 is 1E hexadecimal (not shown in the example).
Related Commands
|
|
---|---|
Displays per-interface send and receive statistics read from the hardware, interface internal registers, or port ASIC information. |
show interfaces
Use the show interfaces privileged EXEC command to display the administrative and operational status of all interfaces or a specified interface.
show interfaces [ interface-id | vlan vlan-id ] [ accounting | capabilities [ module number ] | counters | description | etherchannel | flowcontrol | private-vlan mapping | pruning | stats | status [ err-disabled ] | switchport [ backup | module number ] | transceiver {tengigabitethernet interface-id } | properties | detail [ module number ] | trunk ] [ | { begin | exclude | include } expression ]
Syntax Description
(Optional) Valid interfaces include physical ports (including type, stack member, module, and port number) and port channels. The port-channel range is 1 to 48. |
|
(Optional) Display accounting information on the interface, including active protocols and input and output packets and octets. Note The display shows only packets processed in software; hardware-switched packets do not appear. |
|
(Optional) Display the capabilities of all interfaces or the specified interface, including the features and options that you can configure on the interface. Though visible in the command line help, this option is not available for VLAN IDs. |
|
Note (Optional) Display capabilities, switchport configuration, or transceiver characteristics (depending on preceding keyword) of all interfaces on the specified stack member. The range is 1 to 9. This option is not available if you enter a specific interface ID. |
|
(Optional) See the show interfaces counters command. |
|
(Optional) Display the administrative status and description set for an interface. |
|
(Optional) Display private-VLAN mapping information for the VLAN switch virtual interfaces (SVIs). This keyword is available only if your switch is running the IP services image, formerly known as the enhanced multilayer image (EMI). |
|
(Optional) Display the input and output packets by switching path for the interface. |
|
(Optional) Display the status of the interface. A status of unsupported in the Type field means that a non-Cisco small form-factor pluggable (SFP) module is inserted in the module slot. |
|
(Optional) Display the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. |
|
(Optional) Display Flex Link backup interface configuration and status for the specified interface or all interfaces on the stack. |
|
(Optional) Display the physical properties of a CWDM5 or DWDM6 small form-factor (SFP) module interface. The keywords have these meanings: |
|
Display interface trunk information. If you do not specify an interface, only information for active trunking ports appears. |
|
(Optional) Display begins with the line that matches the expression. |
|
(Optional) Display excludes lines that match the expression. |
|
(Optional) Display includes lines that match the specified expression. |
|
|
Note Though visible in the command-line help strings, the crb, fair-queue, irb, mac-accounting, precedence, random-detect, rate-limit, and shape keywords are not supported.
Command Modes
Command History
Usage Guidelines
The show interfaces capabilities command with different keywords has these results:
- Use the show interfaces capabilities module number command to display the capabilities of all interfaces on that switch in the stack. If there is no switch with that module number in the stack, there is no output .
- Use the show interfaces interface-id capabilities to display the capabilities of the specified interface.
- Use the show interfaces capabilities (with no module number or interface ID) to display the capabilities of all interfaces in the stack.
Use the show interfaces switchport module number command to display the switch port characteristics of all interfaces on that switch in the stack. If there is no switch with that module number in the stack, there is no output Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show interfaces command for an interface on stack member 3:
This is an example of output from the show interfaces accounting command.
This is an example of output from the show interfaces capabilities command for an interface.
This is an example of output from the show interfaces interface description command when the interface has been described as Connects to Marketing by using the description interface configuration command.
This is an example of output from the show interfaces etherchannel command when port channels are configured on the switch:
This is an example of output from the show interfaces private-vlan mapping command when the private-VLAN primary VLAN is VLAN 10 and the secondary VLANs are VLANs 501 and 502:
This is an example of output from the show interfaces interface-id pruning command when pruning is enabled in the VTP domain:
This is an example of output from the show interfaces stats command for a specified VLAN interface.
This is an example of partial output from the show interfaces status command. It displays the status of all interfaces.
These are examples of output from the show interfaces status command for a specific interface when private VLANs are configured. Port 2 is configured as a private-VLAN host port. It is associated with primary VLAN 20 and secondary VLAN 25.
In this example, port 3 is configured as a private-VLAN promiscuous port. The display shows only the primary VLAN 20.
This is an example of output from the show interfaces status err-disabled command. It displays the status of interfaces in the error-disabled state.
This is an example of output from the show interfaces switchport command for a port. Table 0-12 describes the fields in the display.
Note Private VLAN trunks are not supported in this release, so those fields are not applicable.
This is an example of output from the show interfaces switchport command for a port configured as a private VLAN promiscuous port. The primary VLAN 20 is mapped to secondary VLANs 25, 30, and 35:
This is an example of output from the show interfaces switchport backup command:
This is an example of output from the show interfaces switchport backup command. In this example, VLANs 1 to 50, 60, and 100 to 120 are configured on the switch:
When both interfaces are up, Gi2/0/8 forwards traffic for VLANs 60, 100 to 120, and Gi2/0/6 forwards traffic for VLANs 1 to 50.
When a Flex Link interface goes down (LINK_DOWN), VLANs preferred on this interface are moved to the peer interface of the Flex Link pair. In this example, if interface Gi2/0/6 goes down, Gi2/0/8 carries all VLANs of the Flex Link pair.
When a Flex Link interface comes up, VLANs preferred on this interface are blocked on the peer interface and moved to the forwarding state on the interface that has just come up. In this example, if interface Gi2/0/6 comes up, then VLANs preferred on this interface are blocked on the peer interface Gi2/0/8 and forwarded on Gi2/0/6.
This is an example of output from the show interfaces interface-id pruning command:
This is an example of output from the show interfaces interface-id trunk command. It displays trunking information for the port.
This is an example of output from the show interfaces interface-id transceiver properties command:
This is an example of output from the show interfaces interface-id transceiver detail command:
This is an example of output from the show interfaces tengigabitethernet interface-id transceiver detail command:
This is an example of output from the show interfaces tengigabitethernet interface-id transceiver properties command:
Related Commands
|
|
---|---|
Configures a port as a static-access or a dynamic-access port. |
|
Blocks unknown unicast or multicast traffic on an interface. |
|
Configures Flex Links, a pair of Layer 2 interfaces that provide mutual backup. |
|
switchport mode private-vlan |
Configures a port as a private-VLAN host or a promiscuous port. |
Defines private-VLAN association for a host port or private-VLAN mapping for a promiscuous port. |
|
Isolates unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch. |
|
switchport trunk pruning |
Configures the VLAN pruning-eligible list for ports in trunking mode. |
show interfaces counters
Use the show interfaces counters privileged EXEC command to display various counters for the switch or for a specific interface.
show interfaces [ interface-id | vlan vlan-id ] counters [ errors | etherchannel | module switch- number | protocol status | trunk ] [ | { begin | exclude | include } expression ]
Syntax Description
Note Though visible in the command-line help string, the vlan vlan-id keyword is not supported.
Command Modes
Command History
|
|
---|---|
The etherchannel and protocol status keywords were added. The broadcast, multicast, and unicast keywords were removed. |
Usage Guidelines
If you do not enter any keywords, all counters for all interfaces are included.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of partial output from the show interfaces counters command. It displays all counters for the switch.
This is an example of partial output from the show interfaces counters module command for stack member 2. It displays all counters for the specified switch in the stack.
This is an example of partial output from the show interfaces counters protocol status command for all interfaces.
This is an example of output from the show interfaces counters trunk command. It displays trunk counters for all interfaces.
Related Commands
|
|
---|---|
show inventory
Use the show inventory user EXEC command to display product identification (PID) information for the hardware.
show inventory [ entity-name | raw ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The command is case sensitive. With no arguments, the show inventory command produces a compact dump of all identifiable entities that have a product identifier. The compact dump displays the entity location (slot identity), entity description, and the unique device identifier (UDI) (PID, VID, and SN) of that entity.
Note If there is no PID, no output appears when you enter the show inventory command.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is example output from the show inventory command:
show ip arp inspection
Use the show ip arp inspection privileged EXEC command to display the configuration and the operating state of dynamic Address Resolution Protocol (ARP) inspection or the status of this feature for all VLANs or for the specified interface or VLAN.
show ip arp inspection [ interfaces [ interface-id ] | log | statistics [ vlan vlan-range ] | vlan vlan-range ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show ip arp inspection command
This is an example of output from the show ip arp inspection interfaces command:
This is an example of output from the show ip arp inspection interfaces interface-id command:
This is an example of output from the show ip arp inspection log command. It shows the contents of the log buffer before the buffers are cleared:
If the log buffer overflows, it means that a log event does not fit into the log buffer, and the display for the show ip arp inspection log privileged EXEC command is affected. A -- in the display appears in place of all data except the packet count and the time. No other statistics are provided for the entry. If you see this entry in the display, increase the number of entries in the log buffer, or increase the logging rate in the ip arp inspection log-buffer global configuration command.
This is an example of output from the show ip arp inspection statistics command. It shows the statistics for packets that have been processed by dynamic ARP inspection for all active VLANs.
For the show ip arp inspection statistics command, the switch increments the number of forwarded packets for each ARP request and response packet on a trusted dynamic ARP inspection port. The switch increments the number of ACL or DHCP permitted packets for each packet that is denied by source MAC, destination MAC, or IP validation checks, and the switch increments the appropriate failure count.
This is an example of output from the show ip arp inspection statistics vlan 5 command. It shows statistics for packets that have been processed by dynamic ARP for VLAN 5.
This is an example of output from the show ip arp inspection vlan 5 command. It shows the configuration and the operating state of dynamic ARP inspection for VLAN 5.
Related Commands
|
|
---|---|
show ip dhcp snooping
Use the show ip dhcp snooping user EXEC command to display the DHCP snooping configuration.
show ip dhcp snooping [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The command output was updated to show the global suboption configuration. |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This command displays only the results of global configuration. Therefore, in this example, the circuit ID suboption appears in its default format of vlan - mod - port, even if a string is configured for the circuit ID.
Examples
This is an example of output from the show ip dhcp snooping command:
Related Commands
|
|
---|---|
show ip dhcp snooping binding
Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding database and configuration information for all interfaces on a switch.
show ip dhcp snooping binding [ ip-address ] [ mac-address ] [ interface interface-id ] [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show ip dhcp snooping binding command output shows only the dynamically configured bindings. Use the show ip source binding privileged EXEC command to display the dynamically and statically configured bindings in the DHCP snooping binding database.
If DHCP snooping is enabled and an interface changes to the down state, the switch does not delete the statically configured bindings.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This example shows how to display the DHCP snooping binding entries for a switch:
This example shows how to display the DHCP snooping binding entries for a specific IP address:
This example shows how to display the DHCP snooping binding entries for a specific MAC address:
This example shows how to display the DHCP snooping binding entries on a port:
This example shows how to display the DHCP snooping binding entries on VLAN 20:
Table 0-13 describes the fields in the show ip dhcp snooping binding command output:
Related Commands
|
|
---|---|
show ip dhcp snooping database
Use the show ip dhcp snooping database user EXEC command to display the status of the DHCP snooping binding database agent.
show ip dhcp snooping database [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Examples
This is an example of output from the show ip dhcp snooping database command:
This is an example of output from the show ip dhcp snooping database detail command:
Related Commands
|
|
---|---|
Configures the DHCP snooping binding database agent or the binding file. |
|
show ip dhcp snooping statistics
Use the show ip dhcp snooping statistics user EXEC command to display DHCP snooping statistics in summary or detail form.
show ip dhcp snooping statistics [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
In a switch stack, all statistics are generated on the stack master. If a new stack master is elected, the statistics counters reset.
Examples
This is an example of output from the show ip dhcp snooping statistics command:
This is an example of output from the show ip dhcp snooping statistics detail command:
Table 0-14 shows the DHCP snooping statistics and their descriptions:
Related Commands
|
|
---|---|
clear ip dhcp snooping |
Clears the DHCP snooping binding database, the DHCP snooping binding database agent statistics, or the DHCP snooping statistics counters. |
show ip igmp profile
Use the show ip igmp profile privileged EXEC command to display all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile.
show ip igmp profile [ profile number ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
These are examples of output from the show ip igmp profile privileged EXEC command, with and without specifying a profile number. If no profile number is entered, the display includes all profiles configured on the switch.
Related Commands
|
|
---|---|
show ip igmp snooping
Use the show ip igmp snooping user EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN.
show ip igmp snooping [ groups | mrouter | querier ] [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
(Optional) See the show ip igmp snooping groups command. |
|
(Optional) See the show ip igmp snooping mrouter command. |
|
(Optional) See the show ip igmp snooping querier command. |
|
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094 (available only in privileged EXEC mode). |
|
(Optional) Display begins with the line that matches the expression. |
|
(Optional) Display excludes lines that match the expression. |
|
(Optional) Display includes lines that match the specified expression. |
|
Command Modes
Command History
|
|
---|---|
The groups keyword was added. The show ip igmp snooping groups command replaced the show ip igmp snooping multicast command. |
Usage Guidelines
Use this command to display snooping configuration for the switch or for a specific VLAN.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip igmp snooping vlan 1 command. It shows snooping characteristics for a specific VLAN.
This is an example of output from the show ip igmp snooping command. It displays snooping characteristics for all VLANs on the switch.
Related Commands
show ip igmp snooping groups
Use the show ip igmp snooping groups privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping multicast table for the switch or the multicast information. Use with the vlan keyword to display the multicast table for a specified multicast VLAN or specific multicast information.
show ip igmp snooping groups [count | dynamic [count] | user [count]] [ | { begin | exclude | include } expression ]
show ip igmp snooping groups vlan vlan-id [ip_address | count | dynamic [ count ] | user [ count ]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
This command was introduced. It replaced the show ip igmp snooping multicast command. |
Usage Guidelines
Use this command to display multicast information or the multicast table.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch.
This is an example of output from the show ip igmp snooping groups count command. It displays the total number of multicast groups on the switch.
This is an example of output from the show ip igmp snooping groups dynamic command. It shows only the entries learned by IGMP snooping.
This is an example of output from the show ip igmp snooping groups vlan vlan-id ip-address command. It shows the entries for the group with the specified IP address.
Related Commands
show ip igmp snooping mrouter
Use the show ip igmp snooping mrouter privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN.
show ip igmp snooping mrouter [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display multicast router ports on the switch or for a specific VLAN.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
When multicast VLAN registration (MVR) is enabled, the show ip igmp snooping mrouter command displays MVR multicast router information and IGMP snooping information.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip igmp snooping mrouter command. It shows how to display multicast router ports on the switch.
Related Commands
show ip igmp snooping querier
Use the show ip igmp snooping querier detail user EXEC command to display the configuration and operation information for the IGMP querier configured on a switch.
show ip igmp snooping querier [ detail | vlan vlan-id [ detail ]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show ip igmp snooping querier command to display the IGMP version and the IP address of a detected device, also called a querier , t hat sends IGMP query messages. A subnet can have multiple multicast routers but has only one IGMP querier. In a subnet running IGMPv2, one of the multicast routers is elected as the querier. The querier can be a Layer 3 switch.
The show ip igmp snooping querier command output also shows the VLAN and the interface on which the querier was detected. If the querier is the switch, the output shows the Port field as Router. If the querier is a router, the output shows the port number on which the querier is learned in the Port field.
The show ip igmp snooping querier detail user EXEC command is similar to the show ip igmp snooping querier command. However, the show ip igmp snooping querier command displays only the device IP address most recently detected by the switch querier.
The show ip igmp snooping querier detail command di splays the device IP address most recently detected by the switch querier and this additional information:
- The elected IGMP querier in the VLAN
- The configuration and operational information pertaining to the switch querier (if any) that is configured in the VLAN
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip igmp snooping querier command:
This is an example of output from the show ip igmp snooping querier detail command:
Related Commands
|
|
---|---|
Displays IGMP snooping multicast router ports for the switch or for the specified multicast VLAN. |
show ip source binding
Use the show ip source binding user EXEC command to display the IP source bindings on the switch.
show ip source binding [ ip-address ] [ mac-address ] [ dhcp-snooping | static ] [ interface interface-id ] [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show ip source binding command output shows the dynamically and statically configured bindings in the DHCP snooping binding database. Use the show ip dhcp snooping binding privileged EXEC command to display only the dynamically configured bindings.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip source binding command:
Related Commands
|
|
---|---|
show ip verify source
Use the show ip verify source user EXEC command to display the IP source guard configuration on the switch or on a specific interface.
show ip verify source [ interface interface-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ip verify source command:
In the previous example, this is the IP source guard configuration:
- On the Gigabit Ethernet 1 interface, DHCP snooping is enabled on VLANs 10 to 20. For VLAN 10, IP source guard with IP address filtering is configured on the interface, and a binding exists on the interface. For VLANs 11 to 20, the second entry shows that a default port access control lists (ACLs) is applied on the interface for the VLANs on which IP source guard is not configured.
- The Gigabit Ethernet 2 interface is configured as trusted for DHCP snooping.
- On the Gigabit Ethernet 3 interface, DHCP snooping is not enabled on the VLANs to which the interface belongs.
- On the Gigabit Ethernet 4 interface, IP source guard with source IP and MAC address filtering is enabled, and static IP source bindings are configured on VLANs 10 and 11. For VLANs 12 to 20, the default port ACL is applied on the interface for the VLANs on which IP source guard is not configured.
- On the Gigabit Ethernet 5 interface, IP source guard with source IP and MAC address filtering is enabled and configured with a static IP binding, but port security is disabled. The switch cannot filter source MAC addresses.
This is an example of output on an interface on which IP source guard is disabled:
Related Commands
|
|
---|---|
show ipc
Use the show ipc user EXEC command to display Interprocess Communications Protocol (IPC) configuration, status, and statistics on a switch stack or a standalone switch.
show ipc { mcast { appclass | groups | status } | nodes | ports [ open ] | queue | rpc | session { all | rx | tx } [ verbose ] | status [ cumlulative ] | zones } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The mcast { appclass | groups | status }, rpc, session { all | rx | tx } [ verbose ], and cumulative keywords were added. |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This example shows how to display the IPC routing status:
This example shows how to display the participating nodes:
This example shows how to display the local IPC ports:
This example shows how to display the contents of the IPC retransmission queue:
This example shows how to display all the IPC session statistics:
This example shows how to display the status of the local IPC server:
Related Commands
|
|
---|---|
show ipv6 access-list
Use the show ipv6 access-list user EXEC command to display the contents of all current IPv6 access lists.
show ipv6 access-list [ access-list-name ]
Note This command is available only if and you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show ipv6 access-list command provides output similar to the show ip access-list command, except that it is IPv6-specific.
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command and reload the switch.
Examples
The following output from the show ipv6 access-list command shows IPv6 access lists named inbound and outbound:
Table 0-15 describes the significant fields shown in the display.
Related Commands
show ipv6 dhcp conflict
Use the show ipv6 dhcp conflict privileged EXEC command to display address conflicts found by a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server when addresses are offered to the client.
Note This command is available only if and you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command, and reload the switch.
When you configure the DHCPv6 server to detect conflicts, it uses ping. The client uses neighbor discovery to detect clients and reports to the server through a DECLINE message. If an address conflict is detected, the address is removed from the pool, and the address is not assigned until the administrator removes the address from the conflict list.
Examples
This is an example of the output from the show ipv6 dhcp conflict command:
Related Commands
|
|
---|---|
Configures a DHCPv6 pool and enters DHCPv6 pool configuration mode. |
|
show ipv6 mld snooping
Use the show ipv6 mld snooping user EXEC command to display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping configuration of the switch or the VLAN.
show ipv6 mld snooping [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Note This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display MLD snooping configuration for the switch or for a specific VLAN.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command and reload the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ipv6 mld snooping vlan command. It shows snooping characteristics for a specific VLAN.
Global MLD Snooping configuration:
-------------------------------------------
MLD snooping : Enabled
MLDv2 snooping (minimal) : Enabled
Listener message suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
Vlan 100:
--------
MLD snooping : Disabled
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
This is an example of output from the show ipv6 mld snooping command. It displays snooping characteristics for all VLANs on the switch.
Switch
>
show ipv6 mld snooping
Global MLD Snooping configuration:
-------------------------------------------
MLD snooping : Enabled
MLDv2 snooping (minimal) : Enabled
Listener message suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
Vlan 1:
--------
MLD snooping : Disabled
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Robustness variable : 1
Last listener query count : 2
Last listener query interval : 1000
<output truncated>
Vlan 951:
--------
MLD snooping : Disabled
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Robustness variable : 3
Last listener query count : 2
Last listener query interval : 1000
Related Commands
|
|
---|---|
Enables and configures MLD snooping on the switch or on a VLAN. |
|
Configures an SDM template to optimize system resources based on how the switch is being used. |
show ipv6 mld snooping address
Use the show ipv6 mld snooping address user EXEC command to display all or specified IP version 6 (IPv6) multicast address information maintained by Multicast Listener Discovery (MLD) snooping.
show ipv6 mld snooping address [[ vlan vlan-id ] [ ipv6 address ]] [ vlan vlan-id ] [ count | dynamic | user ] [ | { begin | exclude | include } expression ]
Note This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display IPv6 multicast address information.
You can enter an IPv6 multicast address only after you enter a VLAN ID.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
Use the dynamic keyword to display information only about groups that are learned. Use the user keyword to display information only about groups that have been configured.
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command and reload the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show snooping address user EXEC command:
Switch> show ipv6 mld snooping address
This is an example of output from the show snooping address count user EXEC command:
This is an example of output from the show snooping address user user EXEC command:
Related Commands
|
|
---|---|
Configures an SDM template to optimize system resources based on how the switch is being used. |
show ipv6 mld snooping mrouter
Use the show ipv6 mld snooping mrouter user EXEC command to display dynamically learned and manually configured IP version 6 (IPv6) Multicast Listener Discovery (MLD) router ports for the switch or a VLAN.
show ipv6 mld snooping mrouter [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Note This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use this command to display MLD snooping router ports for the switch or for a specific VLAN.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command and reload the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ipv6 mld snooping mrouter command. It displays snooping characteristics for all VLANs on the switch that are participating in MLD snooping.
This is an example of output from the show ipv6 mld snooping mrouter vlan command. It shows multicast router ports for a specific VLAN.
Related Commands
|
|
---|---|
Enables and configures MLD snooping on the switch or on a VLAN. |
|
ipv6 mld snooping vlan mrouter interface interface-id | static ipv6-multicast-address interface interface-id ] |
|
Configures an SDM template to optimize system resources based on how the switch is being used. |
show ipv6 mld snooping querier
Use the show ipv6 mld snooping querier user EXEC command to display IP version 6 (IPv6) Multicast Listener Discovery (MLD) snooping querier-related information most recently received by the switch or the VLAN.
show ipv6 mld snooping querier [ vlan vlan-id ] [ detail ] [ | { begin | exclude | include } expression ]
Note This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show ipv6 mld snooping querier command to display the MLD version and IPv6 address of a detected device that sends MLD query messages, which is also called a querier. A subnet can have multiple multicast routers but has only one MLD querier. The querier can be a Layer 3 switch.
The show ipv6 mld snooping querier command output also shows the VLAN and interface on which the querier was detected. If the querier is the switch, the output shows the Port field as Router. If the querier is a router, the output shows the port number on which the querier is learned in the Port field.
The output of the show ipv6 mld snoop querier vlan command displays the information received in response to a query message from an external or internal querier. It does not display user-configured VLAN values, such as the snooping robustness variable on the particular VLAN. This querier information is used only on the MASQ message that is sent by the switch. It does not override the user-configured robustness variable that is used for aging out a member that does not respond to query messages.
VLAN numbers 1002 through 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in MLD snooping.
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command and reload the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ipv6 mld snooping querier command:
This is an example of output from the show ipv6 mld snooping querier detail command:
This is an example of output from the show ipv6 mld snooping querier vlan command:
Related Commands
show ipv6 route updated
Use the show ipv6 route updated command in user EXEC command to display the current contents of the IPv6 routing table.
show ipv6 route [ protocol ] updated [ boot-up ]{ hh:mm | day { month [ hh:mm ]} [{ hh:mm | day { month [ hh:mm ]}] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show ipv6 route privileged EXEC command to display the current contents of the IPv6 routing table.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show ipv6 route updated rip command.
Related Commands
|
|
---|---|
show l2protocol-tunnel
Use the show l2protocol-tunnel user EXEC command to display information about Layer 2 protocol tunnel ports. Displays information for interfaces with protocol tunneling enabled.
show l2protocol-tunnel [ interface interface-id ] [ summary ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
After enabling Layer 2 protocol tunneling on an access or IEEE 802.1Q tunnel port by using the l2protocol-tunnel interface configuration command, you can configure some or all of these parameters:
If you enter the show l2protocol-tunnel [ interface interface-id ] command, only information about the active ports on which all the parameters are configured appears.
If you enter the show l2protocol-tunnel summary command, only information about the active ports on which some or all of the parameters are configured appears.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show l2protocol-tunnel command:
This is an example of output from the show l2protocol-tunnel summary command:
Related Commands
|
|
---|---|
Enables Layer 2 protocol tunneling for CDP, STP, or VTP packets on an interface. |
|
Configures a class of service (CoS) value for tunneled Layer 2 protocol packets. |
show lacp
Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information.
show lacp [ channel-group-number ] { counters | internal | neighbor | sys-id } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The channel -group-number range was changed from 1 to 12 to 1 to 48. |
Usage Guidelines
You can enter any show lacp command to display the active channel-group information. To display specific channel information, enter the show lacp command with a channel-group number.
If you do not specify a channel group, information for all channel groups appears.
You can enter the channel-group-number option to specify a channel group for all keywords except sys-id.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show lacp counters user EXEC command. Table 0-16 describes the fields in the display.
This is an example of output from the show lacp internal command:
Table 0-17 describes the fields in the display:
This is an example of output from the show lacp neighbor command:
This is an example of output from the show lacp sys-id command:
The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address associated to the system.
Related Commands
|
|
---|---|
show lldp
The show lldp command is documented at http://www.cisco.com/en/US/docs/ios/cether/command/reference/ce_04.html#wp1095571 .
show location
Use the show location user EXEC command to display location information for an endpoint.
show location admin-tag | [ | { begin | exclude | include } expression ]
show location civic-location { identifier id number | interface interface-id | static } | { begin | exclude | include } expression ]
show location elin-location { identifier id number | interface interface-id | static } | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show location command to display location information for an endpoint.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show location civic-location command that displays location information for an interface:
This is an example of output from the show location civic-location command that displays all the civic location information:
Related Commands
|
|
---|---|
show link state group
Use the show link state group privileged EXEC command to display the link-state group information.
show link state group [ number ] [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show link state group command to display the link-state group information. Enter this command without keywords to display information about all link-state groups. Enter the group number to display information specific to the group.
Enter the detail keyword to display detailed information about the group. The output for the show link state group detail command displays only those link-state groups that have link-state tracking enabled or that have upstream or downstream interfaces (or both) configured. If there is no link-state group configuration for a group, it is not shown as enabled or disabled.
Expressions are case sensitive. For example, if you enter | exclude outpu t, the lines that contain output are not displayed, but the lines that contain Output are displayed.
Examples
This is an example of output from the show link state group 1 command:
This is an example of output from the show link state group detail command:
Upstream Interfaces : Gi1/0/15(Dwn) Gi1/0/16(Dwn)
Downstream Interfaces : Gi1/0/11(Dis) Gi1/0/12(Dis) Gi1/0/13(Dis) Gi1/0/14(Dis)
Upstream Interfaces : Gi1/0/15(Dwn) Gi1/0/16(Dwn) Gi1/0/17(Dwn)
Downstream Interfaces : Gi1/0/11(Dis) Gi1/0/12(Dis) Gi1/0/13(Dis) Gi1/0/14(Dis)
Related Commands
|
|
---|---|
show mac access-group
Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interface or a switch.
show mac access-group [ interface interface-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac-access group user EXEC command. Port 2 has the MAC access list macl_e1 applied; no MAC ACLs are applied to other interfaces.
This is an example of output from the show mac access-group interface command:
Related Commands
|
|
---|---|
show mac address-table
Use the show mac address-table user EXEC command to display a specific MAC address table static and dynamic entry or the MAC address table static and dynamic entries on a specific interface or VLAN.
show mac address-table [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table command (with the hyphen) was replaced by the show mac address-table command (without the hyphen). |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table command:
Related Commands
|
|
---|---|
clear mac address-table dynamic |
Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. |
Displays the number of addresses present in all VLANs or the specified VLAN. |
|
Displays the MAC address table information for the specified interface. |
|
Displays the MAC address notification settings for all interfaces or the specified interface. |
|
Displays the MAC address table information for the specified VLAN. |
show mac address-table address
Use the show mac address-table address user EXEC command to display MAC address table information for the specified MAC address.
show mac address-table address mac-address [ interface interface-id ] [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table address command (with the hyphen) was replaced by the show mac address-table address command (without the hyphen). |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table address command:
Related Commands
show mac address-table aging-time
Use the show mac address-table aging-time user EXEC command to display the aging time of a specific address table instance, all address table instances on a specified VLAN or, if a specific VLAN is not specified, on all VLANs.
show mac address-table aging-time [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table aging-time command (with the hyphen) was replaced by the show mac address-table aging-time command (without the hyphen). |
Usage Guidelines
If no VLAN number is specified, the aging time for all VLANs appears.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table aging-time command:
This is an example of output from the show mac address-table aging-time vlan 10 command:
Related Commands
show mac address-table count
Use the show mac address-table count user EXEC command to display the number of addresses present in all VLANs or the specified VLAN.
show mac address-table count [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table count command (with the hyphen) was replaced by the show mac address-table count command (without the hyphen). |
Usage Guidelines
If no VLAN number is specified, the address count for all VLANs appears.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table count command:
Related Commands
show mac address-table dynamic
Use the show mac address-table dynamic user EXEC command to display only dynamic MAC address table entries.
show mac address-table dynamic [ address mac-address ] [ interface interface-id ] [ vlan vlan-id ]
[ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table dynamic command (with the hyphen) was replaced by the show mac address-table dynamic command (without the hyphen). |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table dynamic command:
Related Commands
|
|
---|---|
clear mac address-table dynamic |
Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. |
Displays MAC address table information for the specified MAC address. |
|
Displays the number of addresses present in all VLANs or the specified VLAN. |
|
Displays the MAC address table information for the specified interface. |
|
Displays the MAC address table information for the specified VLAN. |
show mac address-table interface
Use the show mac address-table interface user command to display the MAC address table information for the specified interface in the specified VLAN.
show mac address-table interface interface-id [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table interface command (with the hyphen) was replaced by the show mac address-table interface command (without the hyphen). |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table interface command:
Related Commands
show mac address-table learning
Use the show mac address-table learning user EXEC command to display the status of MAC address learning for all VLANs or the specified VLAN.
show mac address-table learning [ vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show mac address-table learning command without any keywords to display configured VLANs and whether MAC address learning is enabled or disabled on them. The default is that MAC address learning is enabled on all VLANs. Use the command with a specific VLAN ID to display the learning status on an individual VLAN.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table learning user EXEC command showing that MAC address learning is disabled on VLAN 200:
Related Commands
|
|
---|---|
show mac address-table move update
Use the show mac address-table move update user EXEC command to display the MAC address-table move update information on the switch.
show mac address-table move update [ | {begin | exclude | include} expression]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table move update command:
Related Commands
|
|
---|---|
mac address-table move update { receive | transmit } |
show mac address-table notification
Use the show mac address-table notification user EXEC command to display the MAC address notification settings for all interfaces or the specified interface.
show mac address-table notification { change [ interface [ interface-id ] | mac-move | threshold } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table notification command (with the hyphen) was replaced by the show mac address-table notification command (without the hyphen). |
|
Usage Guidelines
Use the show mac address-table notification change command without keywords to see if the MAC address change notification feature is enabled or disabled, the MAC notification interval, the maximum number of entries allowed in the history table, and the history table contents.
Use the interface keyword to display the notifications for all interfaces. If the interface-id is included, only the flags for that interface appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table notification change command:
Related Commands
|
|
---|---|
clear mac address-table notification |
|
Enables the MAC address notification feature for MAC address changes, moves, or address-table thresholds. |
|
Displays MAC address table information for the specified MAC address. |
|
Displays the number of addresses present in all VLANs or the specified VLAN. |
|
Displays the MAC address table information for the specified interface. |
|
Displays the MAC address table information for the specified VLAN. |
show mac address-table static
Use the show mac address-table static user EXEC command to display only static MAC address table entries.
show mac address-table static [ address mac-address ] [ interface interface-id ] [ vlan vlan-id ]
[ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table static command (with the hyphen) was replaced by the show mac address-table static command (without the hyphen). |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table static command:
Related Commands
show mac address-table vlan
Use the show mac address-table vlan user EXEC command to display the MAC address table information for the specified VLAN.
show mac address-table vlan vlan-id [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The show mac-address-table vlan command (with the hyphen) was replaced by the show mac address-table vlan command (without the hyphen). |
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mac address-table vlan 1 command:
Related Commands
show mls qos
Use the show mls qos user EXEC command to display global quality of service (QoS) configuration information.
show mls qos [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos command when QoS is enabled and DSCP transparency is enabled:
Related Commands
|
|
---|---|
show mls qos aggregate-policer
Use the show mls qos aggregate-policer user EXEC command to display the quality of service (QoS) aggregate policer configuration. A policer defines a maximum permissible rate of transmission, a maximum burst size for transmissions, and an action to take if either maximum is exceeded.
show mls qos aggregate-policer [ aggregate-policer-name ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos aggregate-policer command:
Related Commands
|
|
---|---|
Defines policer parameters that can be shared by multiple classes within a policy map. |
show mls qos input-queue
Use the show mls qos input-queue user EXEC command to display quality of service (QoS) settings for the ingress queues.
show mls qos input-queue [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos input-queue command:
Related Commands
show mls qos interface
Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the port level.
show mls qos interface [ interface-id ] [ buffers | queueing | statistics ]
[ | { begin | exclude | include } expression ]
Syntax Description
Note Though visible in the command-line help string, the policer keyword is not supported.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos interface interface-id command when VLAN-based QoS is enabled:
This is an example of output from the show mls qos interface interface-id command when VLAN-based QoS is disabled:
This is an example of output from the show mls qos interface interface-id buffers command:
This is an example of output from the show mls qos interface interface-id queueing command. The egress expedite queue overrides the configured shaped round robin (SRR) weights.
This is an example of output from the show mls qos interface interface-id statistics command. Table 0-18 describes the fields in this display.
|
|
|
Related Commands
show mls qos maps
Use the show mls qos maps user EXEC command to display quality of service (QoS) mapping information. During classification, QoS uses the mapping tables to represent the priority of the traffic and to derive a corresponding class of service (CoS) or Differentiated Services Code Point (DSCP) value from the received CoS, DSCP, or IP precedence value.
show mls qos maps [ cos-dscp | cos-input-q | cos-output-q | dscp-cos | dscp-input-q | dscp-mutation dscp-mutation-name | dscp-output-q | ip-prec-dscp | policed-dscp ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
The policed-DSCP, DSCP-to-CoS, and the DSCP-to-DSCP-mutation maps appear as a matrix. The d1 column specifies the most-significant digit in the DSCP. The d2 row specifies the least-significant digit in the DSCP. The intersection of the d1 and d2 values provides the policed-DSCP, the CoS, or the mutated-DSCP value. For example, in the DSCP-to-CoS map, a DSCP value of 43 corresponds to a CoS value of 5.
The DSCP input queue threshold and the DSCP output queue threshold maps appear as a matrix. The d1 column specifies the most-significant digit of the DSCP number. The d2 row specifies the least-significant digit in the DSCP number. The intersection of the d1 and the d2 values provides the queue ID and threshold ID. For example, in the DSCP input queue threshold map, a DSCP value of 43 corresponds to queue 2 and threshold 1 (02-01).
The CoS input queue threshold and the CoS output queue threshold maps show the CoS value in the top row and the corresponding queue ID and threshold ID in the second row. For example, in the CoS input queue threshold map, a CoS value of 5 corresponds to queue 2 and threshold 1 (2-1).
Examples
This is an example of output from the show mls qos maps command:
Related Commands
show mls qos queue-set
Use the show mls qos queue-set user EXEC command to display quality of service (QoS) settings for the egress queues.
show mls qos queue-set [ qset-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.nway
Examples
This is an example of output from the show mls qos queue-set command:
Related Commands
|
|
---|---|
Configures the weighted tail-drop (WTD) thresholds, guarantees the availability of buffers, and configures the maximum memory allocation of the queue-set. |
show mls qos vlan
Use the show mls qos vlan user EXEC command to display the policy maps attached to a switch virtual interface (SVI).
show mls qos vlan vlan-id [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The output from the show mls qos vlan command is meaningful only when VLAN-based quality of service (QoS) is enabled and when hierarchical policy maps are configured.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mls qos vlan command:
Related Commands
|
|
---|---|
Creates or modifies a policy map that can be attached to multiple ports and enters policy-map configuration mode. |
show monitor
Use the show monitor user EXEC command to display information about all Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show a specific session, all sessions, all local sessions, or all remote sessions.
show monitor [ session { session_number | all | local | range list | remote } [ detail ]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
The output is the same for the show monitor command and the show monitor session all command.
Examples
This is an example of output for the show monitor user EXEC command:
This is an example of output for the show monitor user EXEC command for local SPAN source session 1:
This is an example of output for the show monitor session all user EXEC command when ingress traffic forwarding is enabled:
Related Commands
|
|
---|---|
show mvr
Use the show mvr privileged EXEC command without keywords to display the current Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
show mvr [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mvr command:
In the preceding display, the maximum number of multicast groups is fixed at 256. The MVR mode is either compatible (for interoperability with Catalyst 2900 XL and Catalyst 3500 XL switches) or dynamic (where operation is consistent with IGMP snooping operation and dynamic MVR membership on source ports is supported).
Related Commands
show mvr interface
Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
show mvr interface [ interface-id [ members [ vlan vlan-id ]]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If the entered port identification is a non-MVR port or a source port, the command returns an error message. For receiver ports, it displays the port type, per port status, and Immediate-Leave setting.
If you enter the members keyword, all MVR group members on the interface appear. If you enter a VLAN ID, all MVR group members in the VLAN appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mvr interface command:
In the preceding display, Status is defined as follows:
- Active means the port is part of a VLAN.
- Up/Down means that the port is forwarding/nonforwarding.
- Inactive means that the port is not yet part of any VLAN.
This is an example of output from the show mvr interface command for a specified port:
This is an example of output from the show mvr interface interface-id members command:
Related Commands
|
|
---|---|
Enables and configures multicast VLAN registration on the switch. |
|
Displays all receiver ports that are members of an MVR multicast group. |
show mvr members
Use the show mvr members privileged EXEC command to display all receiver and source ports that are currently members of an IP multicast group.
show mvr member s [ ip-address ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The show mvr members command applies to receiver and source ports. For MVR-compatible mode, all source ports are members of all multicast groups.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show mvr members command:
This is an example of output from the show mvr members ip-address command. It displays the members of the IP multicast group with that address:
Related Commands
show network-policy profile
Use the show network policy profile privileged EXEC command to display the network-policy profiles.
show network-policy profile [ profile number ] [ detail ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Examples
This is an example of output from the show network-policy profile command:
Related Commands
|
|
---|---|
show nmsp
Use the show nmsp privileged EXEC command to display the Network Mobility Services Protocol (NMSP) information for the switch. This command is available only when your switch is running the cryptographic (encrypted) software image.
show nmsp { attachment suppress interface | capability | notification interval | statistics { connection | summary } | status | subscription { detail | summary} } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Examples
This is an example of output from the show nmsp attachment suppress interface command:
This is an example of output from the show nmsp capability command:
This is an example of output from the show nmsp notification interval command:
This is an example of output from the show nmsp statistics connection and show nmsp statistics summary commands:
This is an example of output from the show nmsp status command:
This is an example of output from the show nmsp show subscription detail and the show nmsp show subscription summary commands:
Related Commands
|
|
---|---|
Enables Network Mobility Services Protocol (NMSP) on the switch. |
show pagp
Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information.
show pagp [ channel-group-number ] { counters | dual-active | internal | neighbor } [ | { begin | exclude | include } expression ]]
Syntax Description
Command Modes
Command History
|
|
---|---|
The channel -group-number range was changed from 1 to 12 to 1 to 48. |
|
Usage Guidelines
You can enter any show pagp command to display the active channel-group information. To display the nonactive information, enter the show pagp command with a channel-group number.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output are appear.
Examples
This is an example of output from the show pagp 1 counters command:
This is an example of output from the show pagp 1 internal command:
This is an example of output from the show pagp 1 neighbor command:
This is an example of output from the show pagp dual-active command:
Related Commands
|
|
---|---|
show policy-map
Use the show policy-map user EXEC command to display quality of service (QoS) policy maps, which define classification criteria for incoming traffic. Policy maps can include policers that specify the bandwidth limitations and the action to take if the limits are exceeded.
show policy-map [ policy-map-name [ class class-map-name ]] [ | { begin | exclude | include } expression ]
Syntax Description
Note Though visible in the command-line help string, the control-plane and interface keywords are not supported, and the statistics shown in the display should be ignored.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show policy-map command:
Related Commands
|
|
---|---|
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
show port-security
Use the show port-security privileged EXEC command to display port-security settings for an interface or for the switch.
show port-security [ interface interface-id ] [ address | vlan ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you enter the command without keywords, the output includes the administrative and operational status of all secure ports on the switch.
If you enter an interface-id, the command displays port security settings for the interface.
If you enter the address keyword, the command displays the secure MAC addresses for all interfaces and the aging information for each secure address.
If you enter an interface-id and the address keyword, the command displays all the MAC addresses for the interface with aging information for each secure address. You can also use this command to display all the MAC addresses for an interface even if you have not enabled port security on it.
If you enter the vlan keyword, the command displays the configured maximum and the current number of secure MAC addresses for all VLANs on the interface. This option is visible only on interfaces that have the switchport mode set to trunk.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of the output from the show port-security command:
This is an example of output from the show port-security interface interface-id command:
This is an example of output from the show port-security address command:
Switch# show port-security address
This is an example of output from the show port-security interface gigabitethernet 1/0 /2 address command:
This is an example of output from the show port-security interface interface-id vlan command:
Related Commands
show power inline
Use the show power inline user EXEC command to display the Power over Ethernet (PoE) status for the specified PoE port or for all PoE ports.
show power inline [[ interface-id | consumption ] | module switch-number ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show power inline command. In the display, port 2 is configured as static; power has been pre-allocated to this port, but no powered device is connected. Port 6 is a static port in the power-deny state because its maximum wattage is configured for 10 W. The connected powered device has a reported class maximum wattage for a Class 0 or Class 3 device. Table 0-19 describes the output fields.
This is an example of output from the show power inline command on a port:
This is an example of output from the show power inline consumption command on all PoE switch ports:
This is an example of output from the show power inline module switch-number command on stack member 1:
Related Commands
|
|
---|---|
Configures the power management mode for the specified PoE port or for all PoE ports. |
|
Displays the values in the registers of the specified PoE controller. |
show sdm prefer
Use the show sdm prefer privileged EXEC command to display information about the Switch Database Management (SDM) templates that can be used to maximize used for allocating system resources for a particular feature, or use the command without a keyword to display the template in use.
show sdm prefer [ access | default | dual-ipv4-and-ipv6 { default | routing | vlan } | routing | vlan [ desktop ]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The dual-ipv4-and-ipv6 { default | vlan ) keywords were added. |
|
The routing keyword was added for the dual IPv4 and IPv6 template. |
Usage Guidelines
When you change the SDM template by using the sdm prefer global configuration command, you must reload the switch for the configuration to take effect. If you enter the show sdm prefer command before you enter the reload privileged EXEC command, the show sdm prefer command shows the template currently in use and the template that will become active after a reload.
The numbers displayed for each template represent an approximate maximum number for each feature resource. The actual number might vary, depending on the actual number of other features configured.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show sdm prefer command, displaying the template in use:
This is a sample output from the show sdm prefer routing command entered on an aggregator switch:
This is an example of output from the show sdm prefer routing command entered on a desktop switch:
This is an example of output from the show sdm prefer dual-ipv4-and-ipv6 default command entered on a desktop switch:
This is an example of output from the show sdm prefer command when you have configured a new template but have not reloaded the switch:
Related Commands
show setup express
Use the show setup express privileged EXEC command to display if Express Setup mode is active on the switch.
show setup express [ | { begin | exclude | include } expression ]
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Examples
This is an example of output from the show setup express co mmand:
Related Commands
|
|
---|---|
show spanning-tree
Use the show spanning-tree user EXEC command to display spanning-tree state information.
show spanning-tree [ bridge-group | active [ detail ] | backbonefast | blockedports | bridge | detail [ active ] | inconsistentports | interface interface-id | mst | pathcost method | root | summary [ totals ] | uplinkfast | vlan vlan-id ] [ | { begin | exclude | include } expression ]
show spanning-tree bridge-group [ active [ detail ] | blockedports | bridge | detail [ active ] | inconsistentports | interface interface-id | root | summary ] [ | { begin | exclude | include } expression ]
show spanning-tree vlan vlan-id [ active [ detail ] | blockedports | bridge | detail [ active ] | inconsistentports | interface interface-id | root | summary ] [ | { begin | exclude | include } expression ]
show spanning-tree { vlan vlan-id | bridge-group } bridge [ address | detail | forward-time | hello-time | id | max-age | priority [ system-id ] | protocol ] [ | { begin | exclude | include } expression ]
show spanning-tree { vlan vlan-id | bridge-group } root [ address | cost | detail | forward-time | hello-time | id | max-age | port | priority [ system-id ] [ | { begin | exclude | include } expression ]
show spanning-tree interface interface-id [ active [ detail ] | cost | detail [ active ] | inconsistency | portfast | priority | rootcost | state ] [ | { begin | exclude | include } expression ]
show spanning-tree mst [ configuration [ digest]] | [ instance-id [ detail | interface interface-id [ detail ]] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show spanning-tree active command:
This is an example of output from the show spanning-tree detail command:
This is an example of output from the show spanning-tree interface interface-id command:
This is an example of output from the show spanning-tree mst configuration command:
This is an example of output from the show spanning-tree mst interface interface-id command:
This is an example of output from the show spanning-tree mst 0 command:
Related Commands
show storm-control
Use the show storm-control user EXEC command to display broadcast, multicast, or unicast storm control settings on the switch or on the specified interface or to display storm-control history.
show storm-control [ interface-id ] [ broadcast | multicast | unicast ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When you enter an interface-id, the storm control thresholds appear for the specified interface.
If you do not enter an interface-id, settings appear for one traffic type for all ports on the switch.
If you do not enter a traffic type, settings appear for broadcast storm control.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of a partial output from the show storm-control command when no keywords are entered. Because no traffic-type keyword was entered, the broadcast storm control settings appear.
This is an example of output from the show storm-control command for a specified interface. Because no traffic-type keyword was entered, the broadcast storm control settings appear.
Table 0-20 describes the fields in the show storm-control display.
Related Commands
|
|
---|---|
Sets the broadcast, multicast, or unicast storm control levels for the switch. |
show switch
Use the show switch user EXEC command to display information related to a stack member or the switch stack.
show switch [ stack-member-number | detail | neighbors | stack-ports [ summary ] | stack-ring activity [ detail ] | speed ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This command displays these states:
- Waiting—A switch is booting up and waiting for communication from other switches in the stack. The switch has not yet determined whether or not it is a stack master.
Stack members not participating in a stack master election remain in the waiting state until the stack master is elected and ready.
- Initializing—A switch has determined whether its stack master status. If it is not the stack master, it is receiving its system- and interface-level configuration from the stack master and loading it.
- Ready—The member has completed loading the system- and interface-level configurations and can forward traffic.
- Master Re-Init—The state immediately after a master re-election and a different member is elected master. The new master is re-initializing its configuration. This state applies only to the new master.
- Ver Mismatch—A switch in version mismatch mode. Version-mismatch mode is when a switch joining the stack has a different stack protocol minor version number than the master.
- SDM Mismatch—A switch in Switch Database Management (SDM) mismatch mode. SDM mismatch is when a member does not support the SDM template running on the master.
- Provisioned—The state of a preconfigured switch before it becomes an active member of a stack, or the state of a member after it has left the stack. The MAC address and the priority number in the display are always 0 for the provisioned switch.
A typical state transition for a member (including a master) booting up is Waiting -> Initializing -> Ready.
A typical state transition for a member becoming a master after a master election is Ready -> Master Re-Init -> Ready.
A typical state transition for a member in version mismatch mode is Waiting -> Ver Mismatch.
You can use the show switch command to identify whether the provisioned switch exists in the stack. The show running-config and the show startup-config privileged EXEC commands do not provide this information.
The display also includes stack MAC-persistency wait-time if persistent MAC address is enabled.
Examples
This example shows summary stack information:
This example shows detailed stack information:
This example shows the member 6 summary information:
This example shows the neighbor information for a stack:
This example shows stack-port information:
Table 0-21 shows the output for the show switch stack-ports summary command.
This example shows detailed stack-ring activity information:
Related Commands
|
|
---|---|
Reloads the member and puts a configuration change into effect. |
|
show system mtu
Use the show system mtu privileged EXEC command to display the global maximum transmission unit (MTU) or maximum packet size set for the switch.
show system mtu [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you have used the system mtu or system mtu jumbo global configuration command to change the MTU setting, the new setting does not take effect until you reset the switch.
The system MTU refers to ports operating at 10/100 Mb/s; the system jumbo MTU refers to Gigabit ports; the system routing MTU refers to routed ports.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show system mtu command:
Related Commands
|
|
---|---|
Sets the MTU size for the Fast Ethernet, Gigabit Ethernet, or routed ports. |
show udld
Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port.
show udld [ interface-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
If you do not enter an interface-id, administrative and operational UDLD status for all interfaces appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show udld interface-id command. For this display, UDLD is enabled on both ends of the link, and UDLD detects that the link is bidirectional. Table 0-22 describes the fields in this display.
Related Commands
show version
Use the show version user EXEC command to display version information for the hardware and firmware.
show version [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show version command:
Note Though visible in the show version output, the configuration register information is not supported on the switch.
show vlan
Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.
show vlan [ brief | dot1q tag native | id vlan-id | internal usage | mtu | name vlan-name | private-vlan [ type ] | remote-span | summary ] [ | { begin | exclude | include } expression ]
Syntax Description
Note Though visible in the command-line help string, the ifindex keyword is not supported.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
In the show vlan mtu command output, the MTU_Mismatch column shows whether all the ports in the VLAN have the same MTU. When yes appears in this column, it means that the VLAN has ports with different MTUs, and packets that are switched from a port with a larger MTU to a port with a smaller MTU might be dropped. If the VLAN does not have an SVI, the hyphen (-) symbol appears in the SVI_MTU column. If the MTU-Mismatch column displays yes, the names of the port with the MinMTU and the port with the MaxMTU appear.
If you try to associate a private VLAN secondary VLAN with a primary VLAN before you define the secondary VLAN, the secondary VLAN is not included in the show vlan private-vlan command output.
In the show vlan private-vlan type command output, a type displayed as normal means a VLAN that has a private VLAN association but is not part of the private VLAN. For example, if you define and associate two VLANs as primary and secondary VLANs and then delete the secondary VLAN configuration without removing the association from the primary VLAN, the VLAN that was the secondary VLAN is shown as normal in the display. In the show vlan private-vlan output, the primary and secondary VLAN pair is shown as non-operational.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show vlan command. Table 0-23 describes the fields in the display.
This is an example of output from the show vlan dot1q tag native command:
This is an example of output from the show vlan private-vlan command:
This is an example of output from the show vlan private-vlan type command:
This is an example of output from the show vlan summary command:
This is an example of output from the show vlan id command.
This is an example of output from the show vlan internal usage command. It shows that VLANs 1025 and 1026 are being used as internal VLANs for Fast Ethernet routed ports 23 and 24 on stack member 1. If you want to use one of these VLAN IDs, you must first shut down the routed port, which releases the internal VLAN, and then create the extended-range VLAN. When you start up the routed port, another internal VLAN number is assigned to it.
Related Commands
show vlan access-map
Use the show vlan access-map privileged EXEC command to display information about a particular VLAN access map or for all VLAN access maps.
show vlan access-map [ mapname ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show vlan access-map command:
Related Commands
|
|
---|---|
Displays information about all VLAN filters or about a particular VLAN or VLAN access map. |
|
show vlan filter
Use the show vlan filter privileged EXEC command to display information about all VLAN filters or about a particular VLAN or VLAN access map.
show vlan filter [ access-map name | vlan vlan-id ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show vlan filter command:
Related Commands
|
|
---|---|
Displays information about a particular VLAN access map or for all VLAN access maps. |
|
show vmps
Use the show vmps user EXEC command without keywords to display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, and the current and primary servers, or use the statistics keyword to display client-side statistics.
show vmps [ statistics ] [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show vmps command:
This is an example of output from the show vmps statistics command. Table 0-24 describes each field in the display.
Related Commands
|
|
---|---|
Sends VQP queries to reconfirm all dynamic VLAN assignments with the VMPS. |
|
Configures the primary VMPS and up to three secondary servers. |
show vtp
Use the show vtp user EXEC command to display general information about the VLAN Trunking Protocol (VTP) management domain, status, and counters.
show vtp { counters | devices [ conflicts ] | interface [ interface-id ] | password | status } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
The devices and interface keywords were added for VTP version 3. |
Usage Guidelines
When you enter the show vtp password command when the switch is running VTP version 3, the display follows these rules:
- If the password password global configuration command did not specify the hidden keyword and encryption is not enabled on the switch, the password appears in clear text.
- If the password password command did not specify the hidden keyword and encryption is enabled on the switch, the encrypted password appears.
- If the password password command included the hidden keyword, the hexadecimal secret key is displayed.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This is an example of output from the show vtp devices command. A Yes
in the Conflict
column means that the responding server is in conflict with the local server for the feature; that is, when two switches in the same domain do not have the same primary server for a database.
Retrieving information from the VTP domain. Waiting for 5 seconds.
VTP Database Conf switch ID Primary Server Revision System Name
lict
------------ ---- -------------- -------------- ---------- ----------------------
VLAN Yes 00b0.8e50.d000 000c.0412.6300 12354 main.cisco.com
MST No 00b0.8e50.d000 0004.AB45.6000 24 main.cisco.com
VLAN Yes 000c.0412.6300=000c.0412.6300 67 qwerty.cisco.com
This is an example of output from the show vtp counters command. Table 0-25 describes the fields in the display.
This is an example of output from the show vtp status command for a switch running VTP version 2. Table 0-26 describes the fields in the display.
This is an example of output from the show vtp status command for a switch running VTP version 3..
VTP Version capable : 1 to 3
VTP version running : 3
VTP Domain Name : Cisco
VTP Pruning Mode : Disabled
VTP Traps Generation : Disabled
Device ID : 0021.1bcd.c700
Feature VLAN:
--------------
VTP Operating Mode : Server
Number of existing VLANs : 7
Number of existing extended VLANs : 0
Configuration Revision : 0
Primary ID : 0000.0000.0000
Primary Description :
MD5 digest : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Feature MST:
--------------
VTP Operating Mode : Client
Configuration Revision : 0
Primary ID : 0000.0000.0000
Primary Description :
MD5 digest : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Feature UNKNOWN:
--------------
VTP Operating Mode : Transparent
Related Commands
|
|
---|---|
Configures the VTP filename, interface name, domain name, and mode. |