- Preface
- Using the Command Line Interface
- Catalyst 2960 Switch Cisco IOS Commands - aaa accounting through reserved-only
- Catalyst 2960 Switch Cisco IOS Commands - rmon collection through show vtp
- Catalyst 2960 Switch Cisco IOS Commands - shutdown through vtp
- Catalyst 2960 Switch Bootloader Commands
- Catalyst 2960 Switch Debug Commands
- Catalyst 2960 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 cisp
- show class-map
- show cluster
- show cluster candidates
- show cluster members
- show controllers cpu-interface
- show controllers ethernet-controller
- show controllers ethernet-controller stack port
- show controllers power inline
- show controllers tcam
- show controllers utilization
- show diagnostic
- 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 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 ipv6 mld snooping
- show ipv6 mld snooping address
- show ipv6 mld snooping mrouter
- show ipv6 mld snooping querier
- show ipv6 route updated
- show lacp
- show lldp
- show location
- show logging onboard
- show link state group
- show logging onboard
- 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 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 or select the dual IPv4 and IPv6 template to support IPv6 forwarding (supported only when the switch is running the LAN base image). Use the no form of this command to return to the default template.
sdm prefer { default | dual-ipv4-and-ipv6 default | lanbase-routing | qos }
Note A Catalyst 2960-S switch running the LAN base image uses a default template that includes maximum resources for all supported features; it does not require the dual or qos templates. However, to enable static routing on the Catalyst 2960-S, you must configure the lanbase-routing template.
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
The lanbase-routing keyword was added to switches running the LAN base image. |
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.
Use the no sdm prefer command to set the switch to the default template.
Do not use the routing template if you are not using static routing on your switch. Entering the sdm prefer lanbase- outing 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 template if you do not plan to enable IPv6 functionality on the switch. Entering the sdm prefer ipv4-and-ipv6 global configuration command divides resources between IPv4 and IPv6, limiting those allocated to IPv4 forwarding.
|
|
|
|
|
|
---|---|---|---|---|---|
Examples
This example shows how to use the QoS template:
This example shows how to configure the dual IPv4-and-IPv6 default template on a 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.
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 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. 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
Note To use this command, the switch must be running the LAN Base image.
Syntax Description
Apply the specified policy map to the input of a physical port. |
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
|
|
---|---|
Usage Guidelines
Policy maps can be configured on physical ports.
You can apply a policy map to incoming traffic on a physical port.
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.
Examples
This example shows how to apply plcmap1 to an physical ingress port:
This example shows how to remove plcmap2 from a physical port:
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.
Note This command is supported only on Catalyst 2960-S switches running the LAN base image.
Syntax Description
Note Although visible in the command-line help string, the processor keyword is not supported.
Defaults
Command Modes
Command History
|
|
---|---|
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.
Examples
This example shows how to access member 6:
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
|
|
---|---|
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 1-2 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 1-3 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 ]]
Note To use this command, the switch must be running the LAN Base image.
Syntax Description
(Optional) Display auto-QoS information for the specified port or for all ports. Valid interfaces include physical ports. |
Command Modes
Command History
|
|
---|---|
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 1-4 describes each field in the display.
For switch stacks, information is shown for each switch in the stack.
Only Catalyst 2960-S switches running the LAN base image support switch stacks.
|
|
---|---|
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. |
|
Displays the buffer size that Cisco IOS uses to hold a copy of the configuration file in memory. The configuration file cannot be larger than the buffer size allocation. |
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 and 10/100/1000 copper Ethernet ports. It is not supported 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:
Table 1-5 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 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 ]
Note To use this command, the switch must be running the LAN Base image.
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.
Note Stacking is supported only on Catalyst 2960-S switches.
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.
Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
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.
Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
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
|
|
---|---|
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 1-6 lists the Transmit fields, and Table 1-7 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 CFI1 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 FCS2 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 MTU3 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 port-asic configuration command:
This is an example of output from the show controllers ethernet-controller port-asic statistics command:
Related Commands
show controllers ethernet-controller stack port
To display stack port counters (or per-interface and per-stack port send and receive statistics from the hardware, use the show controllers ethernet-controller stack port privileged EXEC command.
show controllers ethernet-controller stackport [ stack-port-number ] [ | { begin | exclude | include } expression ]
Note This command is supported only on the Catalyst 2960-S switches running the LAN base image.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
To display stack port information for both stack ports on the specified interface, enter the show controllers ethernet-controller stackport privileged EXEC command without specifying a stack port number. Use this command to display the counters on various packet types sent on the stack port. To clear stack port and Ethernet counters, enter the clear controllers ethernet-controllers privileged EXEC 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 an example of output from the show controllers ethernet-controller stackport command for stack port 1. Table 1-6 lists the Transmit FastEthernet0 fields, and Table 1-7 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 CFI4 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 number of frames that are successfully sent on an interface after more than 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 FCS5 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 MTU6 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. |
|
Related Commands
|
|
---|---|
Displays per-interface send and receive statistics read from the hardware. |
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 ]
Note To use this command, the switch must be running the LAN Base image.
Syntax Description
Command Modes
Command History
|
|
---|---|
Usage Guidelines
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 Catalyst 2960 or 2960-S 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 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 ]
Note This command is supported only on Catalyst 2960-S switches running the LAN base image.
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 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 statistics command. Table 1-11 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.
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 | stack [ switch-number ] | temperature } [ | { begin | exclude | include } expression ]
Syntax Description
Command Modes
Command History
|
|
---|---|
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.
Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
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 stack command on a Catalyst 2960-S switch:
This example shows how to display information about stack member 3 from the master switch:
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
|
|
---|---|
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.
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
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
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
|
|
---|---|
Usage Guidelines
If you do not specify a channel-group , all channel groups are displayed.
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 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 | pruning | stats | status [ err-disabled ] | switchport [ backup | module number ] | transceiver | 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 6. |
|
(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. |
|
(Optional) Display capabilities, switchport configuration, or transceiver characteristics (depending on preceding keyword) of all interfaces on the specified stack member or switch.The range is 1 to 4. This option is not available if you enter a specific interface ID. Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image. On all other Catalyst 2960 switches, the only valid module number is 1. |
|
(Optional) See the show interfaces counters command. |
|
(Optional) Display the administrative status and description set for an interface. |
|
(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 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 switchstack. |
|
(Optional) Display the physical properties of a CWDM7 or DWDM8 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 1 to display the capabilities of all interfaces on the switch. Entering any other number is invalid.
Note Stacking is supported only on Catalyst 2960-S switches.
- 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 on the switch or in the stack.
On Catalyst 2960-S switches running the LAN base image, 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.
On all other Catalyst 2960 switches, use the show interfaces switchport module 1 to display the switch port characteristics of all interfaces on the switch. Entering any other number is invalid.
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 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.
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 1-12 describes the fields in the display.
Note Private VLANs are not supported in this release, so those fields are not applicable.
1This 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, Gi0/8 forwards traffic for VLANs 60, 100 to 120, and Gi0/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:
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. |
|
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
|
|
---|---|
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.
Note This example applies only to Catalyst 2960-S switches running the LAN base image.
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
|
|
---|---|
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 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 1-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.
Note Stacking is supported only on Catalyst 2960-S switches running the LAN base image.
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 1-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
|
|
---|---|
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
|
|
---|---|
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 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 To use this command, the switch must be running the LAN Base image. A Catalyst 2960 switch must also have the dual IPv4 and IPv6 Switch Database Management (SDM) template configured (not required on Catalyst 2960-S switches).
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 (Catalyst 2960 switches only).
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 To use this command, the switch must be running the LAN Base image. A Catalyst 2960 switch must also have the dual IPv4 and IPv6 Switch Database Management (SDM) template configured (not required on Catalyst 2960-S switches).
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 (Catalyst 2960 switches only).
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 To use this command, the switch must be running the LAN Base image. A Catalyst 2960 switch must also have the dual IPv4 and IPv6 Switch Database Management (SDM) template configured (not required on Catalyst 2960-S switches).
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 (Catalyst 2960 switches only).
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 To use this command, the switch must be running the LAN Base image. A Catalyst 2960 switch must also have the dual IPv4 and IPv6 Switch Database Management (SDM) template configured (not required on Catalyst 2960-S switches).
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 (Catalyst 2960 switches only).
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 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
|
|
---|---|
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 1-15 describes the fields in the display.
This is an example of output from the show lacp internal command:
Table 1-16 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 logging onboard
To display the on-board failure logging (OBFL) information, use the show logging onboard privileged EXEC command.
show logging onboard [ module [ switch-number ]] {{ clilog | environment | message | poe | temperature | uptime | voltage } [ continuous | detail | summary ] [ start hh:mm:ss day month year ] [ end hh:mm:ss day month year ]} [ | { begin | exclude | include } expression ]
Note This command is supported only on Catalyst 2960-S switches running the LAN base image.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When OBFL is enabled, the switch records OBFL data in a continuous file that contains all of the data. The continuous file is circular. When the continuous file is full, the switch combines the data into a summary file, which is also known as a historical file. Creating the summary file frees up space in the continuous file so that the switch can write newer data to it.
If you enter the module keyword but do not enter the switch number, the switch displays OBFL information about the stack members that support OBFL.
Use the start and end keywords to display data collected only during a particular time period. When specifying the start and end times, follow these guidelines:
- hh:mm:ss —Enter the time as a 2-digit number for a 24-hour clock. Make sure to use the colons (:). For example, enter 13:32:45.
- day —Enter the day of the month. The range is from 1 to 31.
- month —Enter the month in upper case or lower case letters. You can enter the full name of the month, such as January or august, or the first three letters of the month, such as jan or Aug.
- year —Enter the year as a 4-digit number, such as 2008. The range is from 1993 to 2035.
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 logging onboard clilog continuous command:
This is an example of output from the show logging onboard message command:
This is an example of output from the show logging onboard poe continuous end 01:01:00 jan 2000 command on a switch:
Switch# show logging onboard poe continuous end 01:01:00 1 jan 2000
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
MM/DD/YYYY HH:MM:SS | Gi1/0/1 Gi1/0/2 Gi1/0/3 Gi1/0/4 Gi1/0/5 Gi1/0/6 Gi1/0/7 Gi1/0/8 Gi1/0/9 Gi1/0/10 Gi1/0/11 Gi1/0/12 Gi1/0/13 Gi1/0/14 Gi1/0/15 Gi1/0/16 Gi1/0/17 Gi1/0/18 Gi1/0/19 Gi1/0/20 Gi1/0/21 Gi1/0/22 Gi1/0/23 Gi1/0/24
--------------------------------------------------------------------------------
03/01/1993 00:04:03 0.000 0.000 0.000 0.000 0.000 0.000 0.0 00 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0. 000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
03/01/1993 00:05:03 0.000 1.862 0.000 1.862 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
--------------------------------------------------------------------------------
This is an example of output from the show logging onboard status command:
This is an example of output from the show logging onboard temperature continuous command:
This is an example of output from the show logging onboard uptime summary command:
This is an example of output from the show logging onboard voltage summary command:
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 : Gi0/15(Dwn) Gi0/16(Dwn)
Downstream Interfaces : Gi0/11(Dis) Gi0/12(Dis) Gi0/13(Dis) Gi0/14(Dis)
Upstream Interfaces : Gi0/15(Dwn) Gi0/16(Dwn) Gi0/17(Dwn)
Downstream Interfaces : Gi0/11(Dis) Gi0/12(Dis) Gi0/13(Dis) Gi0/14(Dis)
Related Commands
|
|
---|---|
show logging onboard
Use the show logging onboard privileged EXEC command to display the on-board failure logging (OBFL) information.
show logging onboard [ module [ switch-number ]] {{ clilog | environment | message | poe | temperature | uptime | voltage } [ continuous | detail | summary ] [ start hh:mm:ss day month year ] [ end hh:mm:ss day month year ]} [ | { begin | exclude | include } expression ]
Note This command is supported only on Catalyst 2960-S switches running the LAN Base image.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
When OBFL is enabled, the switch records OBFL data in a continuous file that contains all of the data. The continuous file is circular. When the continuous file is full, the switch combines the data into a summary file, which is also known as a historical file. Creating the summary file frees up space in the continuous file so that the switch can write newer data to it.
If you enter the module keyword but do not enter the switch number, the switch displays OBFL information about the stack members that support OBFL.
Use the start and end keywords to display data collected only during a particular time period. When specifying the start and end times, follow these guidelines:
- hh:mm:ss —Enter the time as a 2-digit number for a 24-hour clock. Make sure to use the colons (:). For example, enter 13:32:45.
- day —Enter the day of the month. The range is from 1 to 31.
- month —Enter the month in upper case or lower case letters. You can enter the full name of the month, such as January or august, or the first three letters of the month, such as jan or Aug.
- year —Enter the year as a 4-digit number, such as 2008. The range is from 1993 to 2035.
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 logging onboard clilog continuous command:
This is an example of output from the show logging onboard message command:
This is an example of output from the show logging onboard poe continuous end 01:01:00 jan 2000 command on a switch:
This is an example of output from the show logging onboard status command:
This is an example of output from the show logging onboard temperature continuous command:
This is an example of output from the show logging onboard uptime summary command:
This is an example of output from the show logging onboard voltage summary command:
Related Commands
|
|
---|---|
hw-module module [ switch-number ] logging onboard |
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 ]
Note To use this command, the switch must be running the LAN Base image.
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
|
|
---|---|
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
|
|
---|---|
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
|
|
---|---|
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
|
|
---|---|
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
|
|
---|---|
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
|
|
---|---|
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 ]
Note To use this command, the switch must be running the LAN Base image.
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]
Note To use this command, the switch must be running the LAN Base image.
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
|
|
---|---|
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
|
|
---|---|
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
|
|
---|---|
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 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 1-17 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 ]
Note To use this command, the switch must be running the LAN Base image.
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 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 ]
Note To use this command, the switch must be running the LAN Base image.
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 ]]
Note To use this command, the switch must be running the LAN Base image.
Syntax Description
Command Modes
Command History
|
|
---|---|
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 ]
Note To use this command, the switch must be running the LAN Base image.
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 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 [ police ] [ interface-id | consumption ] | module switch-number ] [ | { begin | exclude | include } expression ]
Note To use this command, the Catalyst 2960-S switch must be running the LAN Base image.
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 1-18 describes the output fields.
Note The frist example shows output from a Catalyst 2960 switch. The second example shows output from a Catalyst 2960-S switch stack. The Catalyst 2960-S supports PoE+ with maximum wattage of 30 W. Other examples show only the Catalyst 2960 output.
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 police command on a switch. Table 1-19 describes the output fields.
- The Gi0/1 port is shut down, and policing is not configured.
- The Gi0/2 port is shut down, but policing is enabled with a policing action to generate a syslog message.
- The Gi0/3 port is shut down, but policing is enabled with a policing action is to shut down the port.
- Device detection is disabled on the Gi0/4 port, power is not applied to the port, and policing is disabled.
- Device detection is disabled on the Gi0/5 port, and power is not applied to the port, but policing is enabled with a policing action to generate a syslog message.
- Device detection is disabled on the Gi0/6 port, and power is not applied to the port, but policing is enabled with a policing action to shut down the port.
- The Gi0/7 port is up, and policing is disabled, but the switch does not apply power to the connected device.
- The Gi0/8 port is up, and policing is enabled with a policing action to generate a syslog message, but the switch does not apply power to the powered device.
- The Gi0/9 port is up and connected to a powered device, and policing is disabled.
- The Gi0/10 port is up and connected to a powered device, and policing is enabled with a policing action to generate a syslog message. The policing action does not take effect because the real-time power consumption is less than the cutoff value.
- The Gi0/11 port is up and connected to a powered device, and policing is enabled with a policing action to generate a syslog message.
- The Gi0/12 port is up and connected to a powered device, and policing is enabled with a policing action to shut down the port. The policing action does not take effect because the real-time power consumption is less than the cutoff value.
- The Gi0/13 port is up and connected to a powered device, and policing is enabled with a policing action to shut down the port.
This is an example of output from the show power inline police interface-id command on a switch. Table 1-19 describes the output fields.
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.
show sdm prefer [ default | dual-ipv4-and-ipv6 default | lanbase-routing | qos ] [ | { begin | exclude | include } expression ]
Note A Catalyst 2960-S switch running the LAN base image uses only a default template that includes maximum resources for all supported features or the lanbase-routing template to enable static routing.
Syntax Description
Command Modes
Command History
|
|
---|---|
The default template for the Catalyst 2960-S switch was added. |
|
The lanbase-routing template was added for static routing on SVIs. |
Usage Guidelines
On a Catalyst 2960 switch, 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 Catalyst 2960-S switch uses only a default template for maximum resource support or the lanbase-routing tempalte.
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 default command on a Catalyst 2960 switch:
This is an example of output from the show sdm prefer command showing the existing template:
This is an example of output from the show sdm prefer default command on a Catalyst 2960-S switch:
This is an example of output from the show sdm prefer qos command on a Catalyst 2960 switch:
Related Commands
|
|
---|---|
Sets the SDM template to maximize resources (not required on Catalyst 2960-S switches unless you are enabling static routing). |
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
|
|
---|---|
The digest keyword was added, and new digest and transmit hold count fields appear. |
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 1-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 | stack-ring activity [ detail ] | speed ] [ | { begin | exclude | include } expression ]
Note This command is supported only on Catalyst 2960-S switches running the LAN base image.
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:
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 1-21 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 | id vlan-id | mtu | name vlan-name | remote-span | summary ] [ | { begin | exclude | include } expression ]
Syntax Description
Note Though visible in the command-line help string, the ifindex, internal usage, and private-vlan keywords are 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.
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 1-22 describes the fields in the display.
|
|
---|---|
Bridging mode for this VLAN—possible values are source-route bridging (SRB) and source-route transparent (SRT); the default is SRB. |
|
This is an example of output from the show vlan summary command:
This is an example of output from the show vlan id command.
Related Commands
|
|
---|---|
Enables VLAN configuration mode where you can configure VLANs 1 to 4094. |
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 1-23 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 1-24 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 1-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 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. |