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
index |
Remote Network Monitoring (RMON) collection control index. The range is 1 to 65535. |
owner name |
(Optional) Owner of the RMON collection. |
Defaults
The RMON statistics collection is disabled.
Command Modes
Interface configuration
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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 :
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# rmon collection stats 2 owner root
You can verify your setting by entering the show rmon statistics privileged EXEC command.
Related Commands
|
|
show rmon statistics |
Displays RMON statistics. |
sdm prefer
Use the sdm prefer global configuration command to configure the template used in Switch Database Management (SDM) resource allocation. You can use a template to allocate system resources to best support the features being used in your application. Use a template to provide maximum system usage for unicast routing or for VLAN configuration, or to select the dual IPv4 and IPv6 template to support IPv6 forwarding. Use the no form of this command to return to the default template.
sdm prefer { access | default | dual-ipv4-and-ipv6 { default | routing | vlan } | routing | vlan }
no sdm prefer
Syntax Description
access |
Provide maximum system usage for access control lists (ACLs). Use this template if you have a large number of ACLs. |
default |
Give balance to all functions. |
dual-ipv4-and-ipv6 { default | routing | vlan } |
Select a template that supports both IPv4 and IPv6 routing.
- default —Provide balance to IPv4 and IPv6 Layer 2 and Layer 3 functionality.
- routing —Provide maximum system usage for IPv4 and IPv6 routing, including IPv4 policy-based routing.
- vlan —Provide maximum system usage for IPv4 and IPv6 VLANs.
|
routing |
Provide maximum system usage for unicast routing. You would typically use this template for a router or aggregator in the middle of a network. |
vlan |
Provide maximum system usage for VLANs. This template maximizes system resources for use as a Layer 2 switch with no routing. |
Defaults
The default template provides a balance to all features.
Command Modes
Global configuration
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SEA |
The dual-ipv4-and-ipv6 templates were added. |
12.2(25)SED |
The access templates were added. |
12.2(25)SEE |
The dual-ipv4-and-ipv6 routing template was added. |
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 desktop template.
The access template maximizes system resources for access control lists (ACLs) as required to accommodate a large number of ACLs.
The default templates balance the use of system resources.
Use the sdm prefer vlan global configuration command only on switches intended for Layer 2 switching with no routing. When you use the VLAN template, no system resources are reserved for routing entries, and any routing is done through software. This overloads the CPU and severely degrades routing performance.
Do not use the routing template if you do not have routing enabled on your switch. Entering the sdm prefer routing global configuration command prevents other features from using the memory allocated to unicast routing in the routing template.
Do not use the ipv4-and-ipv6 templates if you do not plan to enable IPv6 routing on the switch. Entering the sdm prefer ipv4-and-ipv6 { default | routing | vlan } global configuration command divides resources between IPv4 and IPv6, limiting those allocated to IPv4 forwarding.
Table 2-23 lists the approximate number of each resource supported in each of the IPv4-only templates for a switch. The values in the template are based on eight routed interfaces and approximately one thousand VLANs and represent the approximate hardware boundaries set when a template is selected. If a section of a hardware resource is full, all processing overflow is sent to the CPU, seriously impacting switch performance.
Table 2-23 Approximate Number of Feature Resources Allowed by Each Template
|
|
|
|
|
Unicast MAC addresses |
4 K |
6 K |
3 K |
12 K |
IGMP groups and multicast routes |
1 K |
1 K |
1 K |
1 K |
Unicast routes |
6 K |
8 K |
11 K |
0 |
|
4 K |
6 K |
3 K |
0 |
|
2 K |
2 K |
8 K |
0 |
Policy-based routing access control entries (ACEs) |
512 |
0 |
512 |
0 |
Quality of service (QoS) classification ACEs |
512 |
512 |
512 |
512 |
Security ACEs |
2 K |
1 K |
1 K |
1 K |
Layer 2 VLANs |
1 K |
1 K |
1 K |
1 K |
Table 2-24 lists the approximate number of each resource supported in each of the dual IPv4-and IPv6 templates for a switch.
Table 2-24 Approximate Feature Resources Allowed by Dual IPv4-IPv6 Templates
|
|
|
|
Unicast MAC addresses |
2 K |
1536 |
8 K |
IPv4 IGMP groups and multicast routes |
1 K |
1K |
1 K |
Total IPv4 unicast routes: |
3 K |
2816 |
0 |
- Directly connected IPv4 hosts
|
2 K |
1536 |
0 |
|
1 K |
1280 |
0 |
IPv6 multicast groups |
1 K |
1152 |
1 K |
Total IPv6 unicast routes: |
3 K |
2816 |
0 |
- Directly connected IPv6 addresses
|
2 K |
1536 |
0 |
- Indirect IPv6 unicast routes
|
1 K |
1280 |
0 |
IPv4 policy-based routing ACEs |
0 |
256 |
0 |
IPv4 or MAC QoS ACEs (total) |
512 |
512 |
512 |
IPv4 or MAC security ACEs (total) |
1 K |
512 |
1 K |
IPv6 policy-based routing ACEs |
0 |
255 |
0 |
IPv6 QoS ACEs |
510 |
510 |
510 |
IPv6 security ACEs |
510 |
510 |
510 |
Examples
This example shows how to configure the access template on a switch:
Switch(config)# sdm prefer access
This example shows how to configure the routing template on a switch:
Switch(config)# sdm prefer routing
This example shows how to configure the dual IPv4-and-IPv6 default template on a desktop switch:
Switch(config)# sdm prefer dual-ipv4-and-ipv6 default
This example shows how to change a switch template to the default template.
Switch(config)# no sdm prefer
You can verify your settings by entering the show sdm prefer privileged EXEC command.
Related Commands
|
|
show sdm prefer |
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.
service password-recovery
no service password-recovery
Syntax Description
This command has no arguments or keywords.
Defaults
The password-recovery mechanism is enabled.
Command Modes
Global configuration
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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:
The password-recovery mechanism has been triggered, but
is currently disabled. Access to the boot loader prompt
through the password-recovery mechanism is disallowed at
this point. However, if you agree to let the system be
reset back to the default system configuration, access
to the boot loader prompt can still be allowed.
Would you like to reset the system back to the default configuration (y/n)?
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.
Switch(config)# no service-password recovery
Related Commands
|
|
show version |
Displays version information for the hardware and firmware. |
service-policy
Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the input of a physical port or a switch virtual interface (SVI). Use the no form of this command to remove the policy map and port association.
service-policy input policy-map-name
no service-policy input policy-map-name
Syntax Description
input policy-map-name |
Apply the specified policy map to the input of a physical port or an SVI. |
Note
Though visible in the command-line help strings, the history keyword is not supported, and you should ignore the statistics that it gathers. The output keyword is also not supported.
Defaults
No policy maps are attached to the port.
Command Modes
Interface configuration
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SE |
A policy map can now be applied to a physical port or an SVI. |
12.2(25)SED |
Hierarchical policy-maps can now be applied to an SVI. |
Usage Guidelines
Only one policy map per ingress port is supported.
Policy maps can be configured on physical ports or on SVIs. When VLAN-based quality of service (QoS) is disabled by using the no mls qos vlan-based interface configuration command on a physical port, you can configure a port-based policy map on the port. If VLAN-based QoS is enabled by using the mls qos vlan-based interface configuration command on a physical port, the switch removes the previously configured port-based policy map. After a hierarchical policy map is configured and applied on an SVI, the interface-level policy map takes effect on the interface.
You can apply a policy map to incoming traffic on a physical port or on an SVI. You can configure different interface-level policy maps for each class defined in the VLAN-level policy map. For more information about hierarchical policy maps, see the “Configuring QoS” chapter in the software configuration guide for this release.
Classification using a port trust state (for example, mls qos trust [ cos | dscp | ip-precedence ] and a policy map (for example, service-policy input policy-map-name) are mutually exclusive. The last one configured overwrites the previous configuration.
Examples
This example shows how to apply plcmap1 to an physical ingress port:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy input plcmap1
This example shows how to remove plcmap2 from a physical port:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# no service-policy input plcmap2
This example shows how to apply plcmap1 to an ingress SVI when VLAN-based QoS is enabled:
Switch(config)# interface vlan 10
Switch(config-if)# service-policy input plcmap1
This example shows how to create a hierarchical policy map and attach it to an SVI:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# access-list 101 permit ip any any
Switch(config)# class-map cm-1
Switch(config-cmap)# match access 101
Switch(config-cmap)# exit
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# class-map cm-interface-1
Switch(config-cmap)# match input gigabitethernet0/1 - gigabitethernet0/2
Switch(config-cmap)# exit
Switch(config)# policy-map port-plcmap
Switch(config-pmap)# class-map cm-interface-1
Switch(config-pmap-c)# police 900000 9000 exc policed-dscp-transmit
Switch(config-pmap-c)# exit
Switch(config)# policy-map vlan-plcmap
Switch(config-pmap)# class-map cm-1
Switch(config-pmap-c)# set dscp 7
Switch(config-pmap-c)# service-policy port-plcmap-1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class-map cm-2
Switch(config-pmap-c)# match ip dscp 2
Switch(config-pmap-c)# service-policy port-plcmap-1
Switch(config-pmap)# exit
Switch(config-pmap)# class-map cm-3
Switch(config-pmap-c)# match ip dscp 3
Switch(config-pmap-c)# service-policy port-plcmap-2
Switch(config-pmap)# exit
Switch(config-pmap)# class-map cm-4
Switch(config-pmap-c)# trust dscp
Switch(config-pmap)# exit
Switch(config)# interface vlan 10
Switch(config-if)# ser input vlan-plcmap
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
|
|
policy-map |
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
show policy-map |
Displays QoS policy maps. |
show running-config |
Displays the running configuration on the switch. |
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
dscp new-dscp |
New DSCP value assigned to the classified traffic. The range is 0 to 63. You also can enter a mnemonic name for a commonly used value. |
[ip] precedence new-precedence |
New IP-precedence value assigned to the classified traffic. The range is 0 to 7. You also can enter a mnemonic name for a commonly used value. |
Defaults
No traffic classification is defined.
Command Modes
Policy-map class configuration
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SE |
The ip dscp new-dscp keyword was changed to dscp new-dscp. The set dscp new-dscp command replaces the set ip dscp new-dscp command. |
12.2(25)SEC |
The ip keyword is optional. |
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:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set dscp 10
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
|
|
class |
Defines a traffic classification match criteria (through the police, set, and trust policy-map class configuration commands) for the specified class-map name. |
police |
Defines a policer for classified traffic. |
policy-map |
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
show policy-map |
Displays QoS policy maps. |
trust |
Defines a trust state for traffic classified through the class policy-map configuration command or the class-map global configuration command. |
setup
Use the setup privileged EXEC command to configure the switch with its initial configuration.
setup
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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:
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: yes
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Basic management setup configures only enough connectivity
for management of the system, extended setup will ask you
to configure each interface on the system.
Would you like to enter basic management setup? [yes/no]: yes
Configuring global parameters:
Enter host name [Switch]:host-name
The enable secret is a password used to protect access to
privileged EXEC and configuration modes. This password, after
entered, becomes encrypted in the configuration.
Enter enable secret: enable-secret-password
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
Enter enable password: enable-password
The virtual terminal password is used to protect
access to the router over a network interface.
Enter virtual terminal password: terminal-password
Configure SNMP Network Management? [no]: yes
Community string [public]:
Current interface summary
Any interface listed with OK? value “NO” does not have a valid configuration
Interface IP-Address OK? Method Status Protocol
Vlan1 172.20.135.202 YES NVRAM up up
GigabitEthernet0/1 unassigned YES unset up up
GigabitEthernet0/2 unassigned YES unset up down
Port-channel1 unassigned YES unset up down
Enter interface name used to connect to the
management network from the above interface summary: vlan1
Configuring interface vlan1:
Configure IP on this interface? [yes]: yes
IP address for this interface: ip_address
Subnet mask for this interface [255.0.0.0]: subnet_mask
Would you like to enable as a cluster command switch? [yes/no]: yes
Enter cluster name: cluster-name
The following configuration command script was created:
enable secret 5 $1$LiBw$0Xc1wyT.PXPkuhFwqyhVi0
enable password enable-password
password terminal-password
snmp-server community public
interface GigabitEthernet0/1
interface GigabitEthernet0/2
cluster enable cluster-name
Use this configuration? [yes/no]: yes
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
Enter your selection [2]:
Related Commands
|
|
show running-config |
Displays the running configuration on the switch. |
show version |
Displays version information for the hardware and firmware. |
setup express
Use the setup express global configuration command to enable Express Setup mode. Use the no form of this command to disable Express Setup mode.
setup express
no setup express
Syntax Description
This command has no arguments or keywords.
Defaults
Express Setup is enabled.
Command Modes
Global configuration
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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:
Switch(config)# setup express
You can verify that Express Setup mode is enabled by pressing the Mode button:
- On an unconfigured switch, the LEDs above the Mode button turn solid green after 3 seconds.
- On a configured switch, the mode LEDs begin blinking after 2 seconds and turn solid green after 10 seconds.
Caution
If you
hold the Mode button down for a total of 10 seconds, the configuration is deleted, and the switch reboots.
This example shows how to disable Express Setup mode:
Switch(config)# no setup express
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.
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 ]
Syntax Description
name |
(Optional) Name of the ACL. |
number |
(Optional) ACL number. The range is 1 to 2699. |
hardware counters |
(Optional) Display global hardware ACL statistics for switched and routed packets. |
ipc |
(Optional) Display Interprocess Communication (IPC) protocol access-list configuration download information. |
expression |
Expression in the output to use as a reference point. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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.
Note
Though visible in the command-line help strings, the rate-limit keywords are not supported.
Examples
This is an example of output from the show access-lists command:
Switch# show access-lists
Standard IP access list 1
40 permit 0.255.255.255, wildcard bits 12.0.0.0
Standard IP access list videowizard_1-1-1-1
Standard IP access list videowizard_10-10-10-10
Extended IP access list 121
10 permit ahp host 10.10.10.10 host 20.20.10.10 precedence routine
Extended IP access list CMP-NAT-ACL
Dynamic Cluster-HSRP deny ip any any
10 deny ip any host 19.19.11.11
20 deny ip any host 10.11.12.13
Dynamic Cluster-NAT permit ip any any
10 permit ip host 10.99.100.128 any
20 permit ip host 10.46.22.128 any
30 permit ip host 10.45.101.64 any
40 permit ip host 10.45.20.64 any
50 permit ip host 10.213.43.128 any
60 permit ip host 10.91.28.64 any
70 permit ip host 10.99.75.128 any
80 permit ip host 10.38.49.0 any
This is an example of output from the show access-lists hardware counters command:
Switch# show access-lists hardware counters
Drop: All frame count: 855
Drop: All bytes count: 94143
Drop And Log: All frame count: 0
Drop And Log: All bytes count: 0
Bridge Only: All frame count: 0
Bridge Only: All bytes count: 0
Bridge Only And Log: All frame count: 0
Bridge Only And Log: All bytes count: 0
Forwarding To CPU: All frame count: 0
Forwarding To CPU: All bytes count: 0
Forwarded: All frame count: 2121
Forwarded: All bytes count: 180762
Forwarded And Log: All frame count: 0
Forwarded And Log: All bytes count: 0
Drop And Log: All frame count: 0
Drop And Log: All bytes count: 0
Bridge Only: All frame count: 0
Bridge Only: All bytes count: 0
Bridge Only And Log: All frame count: 0
Bridge Only And Log: All bytes count: 0
Forwarding To CPU: All frame count: 0
Forwarding To CPU: All bytes count: 0
Forwarded: All frame count: 13586
Forwarded: All bytes count: 1236182
Forwarded And Log: All frame count: 0
Forwarded And Log: All bytes count: 0
Drop And Log: All frame count: 0
Drop And Log: All bytes count: 0
Bridge Only: All frame count: 0
Bridge Only: All bytes count: 0
Bridge Only And Log: All frame count: 0
Bridge Only And Log: All bytes count: 0
Forwarding To CPU: All frame count: 0
Forwarding To CPU: All bytes count: 0
Forwarded: All frame count: 232983
Forwarded: All bytes count: 16825661
Forwarded And Log: All frame count: 0
Forwarded And Log: All bytes count: 0
Drop And Log: All frame count: 0
Drop And Log: All bytes count: 0
Bridge Only: All frame count: 0
Bridge Only: All bytes count: 0
Bridge Only And Log: All frame count: 0
Bridge Only And Log: All bytes count: 0
Forwarding To CPU: All frame count: 0
Forwarding To CPU: All bytes count: 0
Forwarded: All frame count: 514434
Forwarded: All bytes count: 39048748
Forwarded And Log: All frame count: 0
Forwarded And Log: All bytes count: 0
Related Commands
|
|
access-list |
Configures a standard or extended numbered access list on the switch. |
ip access list |
Configures a named IP access list on the switch. |
mac access-list extended |
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
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. |
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.
Examples
These are examples of output from the show archive status command:
Switch# show archive status
IDLE: No upgrade in progress
Switch# show archive status
LOADING: Upgrade in progress
Switch# show archive status
EXTRACT: Extracting the image
Switch# show archive status
VERIFY: Verifying software
Switch# show archive status
RELOAD: Upgrade completed. Reload pending
show arp access-list
Use the show arp access-list EXEC command to display detailed information about Address Resolution Protocol (ARP) access control (lists).
show arp access-list [ acl-name ]
Syntax Description
acl-name |
(Optional) Name of the ACL. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. |
Examples
This is an example of output from the show arp access-list command:
Switch# show arp access-list
permit ip 10.101.1.1 0.0.0.255 mac any
permit ip 20.3.1.0 0.0.0.255 mac any
show authentication
Use the show authentication EXEC command 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] | statistics [summary]}
Syntax Description
interface interface-id |
(Optional) Display all of the authentication manager details for the specified interface. |
method method |
(Optional) Displays all clients authorized by a specified authentication method (dot1x, mab, or webauth) |
registrations |
(Optional) Display authentication manager registrations |
sessions |
(Optional) Display detail of the current authentication manager sessions (for example, client devices). If you do not enter any optional specifiers, all current active sessions are displayed. You can enter the specifiers singly or in combination to display a specific session (or group of sessions). |
session-id session-id |
(Optional) Specify an authentication manager session. |
handle handle |
(Optional) Specify a range from 1 to 4294967295. |
mac mac |
(Optional) Display authentication manager information for a specified MAC address. |
statistics |
(Optional) Display authentication statistics in detail. |
summary |
(Optional) Display authentication statistics summary. |
Command Default
This command has no default settings.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(50)SE |
This command was introduced. |
Usage Guidelines
Table 2-25 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 2-25 show authentication Command Output
|
|
Idle |
The session has been initialized and no methods have run yet. |
Running |
A method is running for this session. |
No methods |
No method has provided a result for this session. |
Authc Success |
A method has resulted in authentication success for this session. |
Authc Failed |
A method has resulted in authentication fail for this session. |
Authz Success |
All features have been successfully applied for this session. |
Authz Failed |
A feature has failed to be applied for this session. |
Table 2-26 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.
Table 2-26 State Method Values
|
|
|
Not run |
Terminal |
The method has not run for this session. |
Running |
Intermediate |
The method is running for this session. |
Failed over |
Terminal |
The method has failed and the next method is expected to provide a result. |
Authc Success |
Terminal |
The method has provided a successful authentication result for the session. |
Authc Failed |
Terminal |
The method has provided a failed authentication result for the session. |
The output of the show authentications sessions interface command shows fields for Security Policy and Security Status. These fields apply only if Media Access Control Security (MACsec) is supported and enabled. This switch does not support MACsec.
Examples
This is an example the show authentication registrations command:
Switch# show authentication registrations
Auth Methods registered with the Auth Manager:
The is an example of the show authentication interface interface-id command:
Switch# show authentication interface gigabitethernet0/23
MAC Address Domain Status Handle Interface
000e.84af.59bd DATA Authz Success 0xE0000000 GigabitEthernet0/23
This is an example of the show authentication sessions command:
Switch# show authentication sessions
Interface MAC Address Method Domain Status Session ID
Gi3/45 (unknown) N/A DATA Authz Failed 0908140400000007003651EC
Gi3/46 (unknown) N/A DATA Authz Success 09081404000000080057C274
This is an example of the show authentication sessions command for a specified interface:
Switch# show authentication sessions int gigabitethernet 0/46
Interface: GigabitEthernet0/46
Oper host mode: multi-host
Authorized By: Guest Vlan
Common Session ID: 09081404000000080057C274
Acct Session ID: 0x0000000A
This is an example of the show authentication sessions command for a specified MAC address:
Switch# show authentication sessions mac 000e.84af.59bd
Interface: GigabitEthernet0/46
MAC Address: 000e.84af.59bd
Oper host mode: single-host
Authorized By: Authentication Server
This is an example of the show authentication session method command for a specified method:
Switch# show authentication sessions method mab
No Auth Manager contexts match supplied criteria
Switch# show authentication sessions method dot1x
MAC Address Domain Status Handle Interface
000e.84af.59bd DATA Authz Success 0xE0000000 GigabitEthernet1/23
show auto qos
To display the quality of service (QoS) commands entered on the interfaces on which automatic QoS (auto-QoS) is enabled, use the show auto qos command in EXEC mode.
show auto qos [ interface [ interface-id ]]
Syntax Description
interface [ interface-id ] |
(Optional) Display auto-QoS information for the specified port or for all ports. Valid interfaces include physical ports. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(20)SE |
The information in the command output changed, and the user guidelines were updated. |
12.2(40)SE |
The information in the command output changed. |
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:
- show mls qos
- show mls qos maps cos-dscp
- show mls qos interface [ interface-id ] [ buffers | queueing ]
- show mls qos maps [ cos-dscp | cos-input-q | cos-output-q | dscp-cos | dscp-input-q | dscp-output-q ]
- show mls qos input-queue
- show running-config
Examples
This is an example of output from the show auto qos command after the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered:
auto qos voip cisco-softphone
auto qos voip cisco-phone
auto qos voip cisco-phone
This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered:
Switch# show auto qos interface gigabitethernet 0/5
auto qos voip cisco-phone
This is an example of output from the show running-config privileged EXEC command when the auto qos voip cisco-phone and the auto qos voip cisco-softphone interface configuration commands are entered:
Switch# show running-config
Building configuration...
mls qos map policed-dscp 24 26 46 to 0
mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 100 100 100 100
mls qos queue-set output 1 threshold 2 75 75 75 250
mls qos queue-set output 1 threshold 3 75 150 100 300
mls qos queue-set output 1 threshold 4 50 100 75 400
mls qos queue-set output 2 threshold 1 100 100 100 100
mls qos queue-set output 2 threshold 2 35 35 35 35
mls qos queue-set output 2 threshold 3 55 82 100 182
mls qos queue-set output 2 threshold 4 90 250 100 400
mls qos queue-set output 1 buffers 15 20 20 45
mls qos queue-set output 2 buffers 24 20 26 30
class-map match-all AutoQoS-VoIP-RTP-Trust
class-map match-all AutoQoS-VoIP-Control-Trust
policy-map AutoQoS-Police-SoftPhone
class AutoQoS-VoIP-RTP-Trust
police 320000 8000 exceed-action policed-dscp-transmit
class AutoQoS-VoIP-Control-Trust
police 32000 8000 exceed-action policed-dscp-transmit
policy-map AutoQoS-Police-CiscoPhone
class AutoQoS-VoIP-RTP-Trust
police 320000 8000 exceed-action policed-dscp-transmit
class AutoQoS-VoIP-Control-Trust
police 32000 8000 exceed-action policed-dscp-transmit
interface GigabitEthernet0/4
switchport port-security maximum 400
service-policy input AutoQoS-Police-SoftPhone
srr-queue bandwidth share 10 10 60 20
auto qos voip cisco-softphone
interface GigabitEthernet0/5
switchport port-security maximum 1999
srr-queue bandwidth share 10 10 60 20
mls qos trust device cisco-phone
auto qos voip cisco-phone
interface GigabitEthernet0/6
switchport trunk encapsulation dot1q
switchport trunk native vlan 2
srr-queue bandwidth share 10 10 60 20
mls qos trust device cisco-phone
auto qos voip cisco-phone
interface GigabitEthernet0/1
srr-queue bandwidth share 10 10 60 20
mls qos trust device cisco-phone
mls qos trust device cisco-phone
service-policy input AutoQoS-Police-CiscoPhone
This is an example of output from the show auto qos interface interface-id command when the auto qos voip cisco-phone interface configuration command is entered:
Switch# show auto qos interface fastethernet0/2
auto qos voip cisco-softphone
This is an example of output from the show auto qos command when auto-QoS is disabled on the switch:
AutoQoS not enabled on any interface
This is an example of output from the show auto qos i nterface interface-id command when auto-QoS is disabled on an interface:
Switch# show auto qos interface gigabitethernet0/1
show boot
Use the show boot privileged EXEC command to display the settings of the boot environment variables.
show boot
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show boot command. Table 2-27 describes each field in the display.
BOOT path-list :flash:/image
Config file :flash:/config.text
Private Config file :flash:/private-config.text
Table 2-27 show boot Field Descriptions
|
|
BOOT path-list |
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. |
Config file |
Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. |
Private Config file |
Displays the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. |
Enable Break |
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. |
Manual Boot |
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. |
Helper path-list |
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. |
NVRAM/Config file buffer size |
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
|
|
boot config-file |
Specifies the filename that Cisco IOS uses to read and write a nonvolatile copy of the system configuration. |
boot enable-break |
Enables interrupting the automatic boot process. |
boot manual |
Enables manually booting up the switch during the next bootup cycle. |
boot private-config-file |
Specifies the filename that Cisco IOS uses to read and write a nonvolatile copy of the private configuration. |
boot system |
Specifies the Cisco IOS image to load during the next bootup cycle. |
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
Syntax Description
interface-id |
Specify the interface on which TDR was run. |
Command Modes
Privileged EXEC
Command History
|
|
12.2(20)SE3 |
This command was introduced. |
Usage Guidelines
TDR is supported only on 10/100/1000 copper Ethernet ports. It is not supported on 10/100 ports or on SFP module ports. For more information about TDR, see the software configuration guide for this release.
Examples
This is an example of output from the show cable-diagnostics tdr interface interface-id command on a switch other than a Catalyst 3560G-24PS or 3560G-48PS switch:
Switch# show cable-diagnostics tdr interface gigabitethernet0/2
TDR test last run on: March 01 20:15:40
Interface Speed Local pair Pair length Remote pair Pair status
--------- ----- ---------- ------------------ ----------- --------------------
Gi0/2 auto Pair A 0 +/- 2 meters N/A Open
Pair B 0 +/- 2 meters N/A Open
Pair C 0 +/- 2 meters N/A Open
Pair D 0 +/- 2 meters N/A Open
This is an example of output from the show cable-diagnostics tdr interface interface-id command on a Catalyst 3560G-24PS or 3560G-48PS switch:
Switch# show cable-diagnostics tdr interface gigabitethernet0/2
TDR test last run on: March 01 20:15:40
Interface Speed Local pair Pair length Remote pair Pair status
--------- ----- ---------- ------------------ ----------- --------------------
Gi0/2 auto Pair A 0 +/- 4 meters N/A Open
Pair B 0 +/- 4 meters N/A Open
Pair C 0 +/- 4 meters N/A Open
Pair D 0 +/- 4 meters N/A Open
Table 2-28 lists the descriptions of the fields in the show cable-diagnostics tdr command output.
Table 2-28 Fields Descriptions for the show cable-diagnostics tdr Command Output
|
|
Interface |
Interface on which TDR was run. |
Speed |
Speed of connection. |
Local pair |
Name of the pair of wires that TDR is testing on the local interface. |
Pair length |
Location on the cable where the problem is, with respect to your switch. TDR can only find the location in one of these cases:
- The cable is properly connected, the link is up, and the interface speed is 1000 Mb/s.
- The cable is open.
- The cable has a short.
|
Remote pair |
Name of the pair of wires to which the local pair is connected. TDR can learn about the remote pair only when the cable is properly connected and the link is up. |
Pair status |
The status of the pair of wires on which TDR is running:
- Normal—The pair of wires is properly connected.
- Not completed—The test is running and is not completed.
- Not supported—The interface does not support TDR.
- Open—The pair of wires is open.
- Shorted—The pair of wires is shorted.
- ImpedanceMis—The impedance is mismatched.
- Short/Impedance Mismatched—The impedance mismatched or the cable is short.
- InProgress—The diagnostic test is in progress
|
This is an example of output from the show interfaces interface-id command when TDR is running:
gigabitethernet0/2 is up, line protocol is up (connected: TDR in Progress)
This is an example of output from the show cable-diagnostics tdr interface interface-id command when TDR is not running:
Switch# show cable-diagnostics tdr interface gigabitethernet0/2
% TDR test was never issued on Gi0/2
If an interface does not support TDR, this message appears:
% TDR test is not supported on switch 1
show cdp forward
To display the CDP forwarding table, use the show cdp forward command in EXEC mode.
show cdp forward [ entry | forward | interface interface-id | neighbor | traffic ]
Syntax Description
entry |
(Optional) Displays information about a specific neighbor entry. |
forward |
(Optional) Displays the CDP forwarding information. |
interface interface-id |
(Optional) Displays the CDP interface status and configuration. |
neighbor |
(Optional) Displays the CDP neighbor entries. |
traffic |
(Optional) Displays the CDP statistics. |
Command Modes
Use EXEC
Privileted EXEC
Command History
|
|
12.2(53)SE |
This command was introduced. |
Usage Guidelines
The show cdp forward command output shows the number of CDP packets forwarded on each ingress-port- to-egress-port mapping and the statistics for forwarded and dropped packets.
Examples
Ingress Egress # packets # packets
Port Port forwarded dropped
-------------------------------------------------------------
Related Commands
|
|
cdp forward |
Configures the ingress and egress switch ports for CDP traffic. |
show cisp
Use the show cisp privileged EXEC command to display CISP information for a specified interface.
show cisp { [ interface interface-id ] | clients | summary}
Syntax Description
clients |
(Optional) Display CISP client details |
interface interface-id |
(Optional) Display CISP information about the specified interface. Valid interfaces include physical ports and port channels. |
summary |
(Optional) Display |
expression |
Expression in the output to use as a reference point. |
Command Modes
Global configuration
Command History
|
|
12.2(50)SE |
This command was introduced. |
Examples
This example shows output from the show cisp interface command:
WS-C3750E-48TD#show cisp interface fast 0
CISP not enabled on specified interface
This example shows output from the show cisp summary command:
CISP is not running on any interface
Related Commands
|
|
dot1x credentials profile |
Configure a profile on a supplicant switch |
cisp enable |
Enable Client Information Signalling Protocol (CISP) |
show class-map
Use the show class-map EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic.
show class-map [ class-map-name ]
Syntax Description
class-map-name |
(Optional) Display the contents of the specified class map. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show class-map command:
Class Map match-all videowizard_10-10-10-10 (id 2)
Match access-group name videowizard_10-10-10-10
Class Map match-any class-default (id 0)
Class Map match-all dscp5 (id 3)
show cluster
Use the show cluster 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
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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, 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.
Examples
This is an example of output when the show cluster command is entered on the cluster command switch:
Command switch for cluster “Ajang”
Total number of members: 7
Status: 1 members are unreachable
Time since last status change: 0 days, 0 hours, 2 minutes
Standby command switch: Member 1
Standby Group: Ajang_standby
Standby Group Number: 110
Extended discovery hop count: 3
This is an example of output when the show cluster command is entered on a cluster member switch:
Member switch for cluster “hapuna”
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
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:
Member switch for cluster “hapuna”
Member number: 3 (Standby command switch)
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
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:
Command switch for cluster “Ajang”
Total number of members: 7
Status: 1 members are unreachable
Time since last status change: 0 days, 0 hours, 5 minutes
Extended discovery hop count: 3
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:
Member switch for cluster “hapuna”
Management IP address: 192.192.192.192
Command switch mac address: 0000.0c07.ac14
show cluster candidates
Use the show cluster candidates EXEC command to display a list of candidate switches.
show cluster candidates [ detail | mac-address H.H.H. ]
Syntax Description
detail |
(Optional) Display detailed information for all candidates. |
mac-address H.H.H. |
(Optional) MAC address of the cluster candidate. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
This command is available only on the cluster command switch.
If the switch is not a cluster command switch, the command displays an empty line at the prompt.
The SN in the display means switch member number. If E appears in the SN column, it means that the switch is discovered through extended discovery. If E does not appear in the SN column, it means that the switch member number is the upstream neighbor of the candidate switch. The hop count is the number of devices the candidate is from the cluster command switch.
Examples
This is an example of output from the show cluster candidates command:
Switch# show cluster candidates
MAC Address Name Device Type PortIf FEC Hops SN PortIf FEC
00d0.7961.c4c0 StLouis-2 WS-C3560-12T Gi0/1 2 1 Fa0/11
00d0.bbf5.e900 ldf-dist-128 WS-C3524-XL Fa0/7 1 0 Fa0/24
00e0.1e7e.be80 1900_Switch 1900 3 0 1 0 Fa0/11
00e0.1e9f.7a00 Surfers-24 WS-C2924-XL Fa0/5 1 0 Fa0/3
00e0.1e9f.8c00 Surfers-12-2 WS-C2912-XL Fa0/4 1 0 Fa0/7
00e0.1e9f.8c40 Surfers-12-1 WS-C2912-XL Fa0/1 1 0 Fa0/9
This is an example of output from the show cluster candidates command that uses the MAC address of a cluster member switch directly connected to the cluster command switch:
Switch# show cluster candidates mac-address 00d0.7961.c4c0
Device 'Tahiti-12' with mac address number 00d0.7961.c4c0
Device type: cisco WS-C3560-12T
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 0)
Local port: Gi0/1 FEC number:
Upstream port: GI0/11 FEC Number:
Hops from cluster edge: 1
Hops from command device: 1
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:
Switch# show cluster candidates mac-address 0010.7bb6.1cc0
Device 'Ventura' with mac address number 0010.7bb6.1cc0
Device type: cisco WS-C2912MF-XL
Upstream MAC address: 0010.7bb6.1cd4
Local port: Fa2/1 FEC number:
Upstream port: Fa0/24 FEC Number:
Hops from cluster edge: 3
Hops from command device: -
This is an example of output from the show cluster candidates detail command:
Switch# show cluster candidates detail
Device 'Tahiti-12' with mac address number 00d0.7961.c4c0
Device type: cisco WS-C3512-XL
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 1)
Local port: Fa0/3 FEC number:
Upstream port: Fa0/13 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Device '1900_Switch' with mac address number 00e0.1e7e.be80
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 2)
Local port: 3 FEC number: 0
Upstream port: Fa0/11 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Device 'Surfers-24' with mac address number 00e0.1e9f.7a00
Device type: cisco WS-C2924-XL
Upstream MAC address: 00d0.796d.2f00 (Cluster Member 3)
Local port: Fa0/5 FEC number:
Upstream port: Fa0/3 FEC Number:
Hops from cluster edge: 1
Hops from command device: 2
Related Commands
|
|
show cluster |
Displays the cluster status and a summary of the cluster to which the switch belongs. |
show cluster members |
Displays information about the cluster members. |
show cluster members
Use the show cluster members privileged EXEC command to display information about the cluster members.
show cluster members [ n | detail ]
Syntax Description
n |
(Optional) Number that identifies a cluster member. The range is 0 to 15. |
detail |
(Optional) Display detailed information for all cluster members. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
This command is available only on the cluster command switch.
If the cluster has no members, this command displays an empty line at the prompt.
Examples
This is an example of output from the show cluster members command. The SN in the display means switch number.
Switch# show cluster members
SN MAC Address Name PortIf FEC Hops SN PortIf FEC State
0 0002.4b29.2e00 StLouis1 0 Up (Cmdr)
1 0030.946c.d740 tal-switch-1 Fa0/13 1 0 Gi0/1 Up
2 0002.b922.7180 nms-2820 10 0 2 1 Fa0/18 Up
3 0002.4b29.4400 SanJuan2 Gi0/1 2 1 Fa0/11 Up
4 0002.4b28.c480 GenieTest Gi0/2 2 1 Fa0/9 Up
This is an example of output from the show cluster members for cluster member 3:
Switch# show cluster members 3
Device 'SanJuan2' with member number 3
Device type: cisco WS-C3560
MAC address: 0002.4b29.4400
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/1 FEC number:
Upstream port: GI0/11 FEC Number:
Hops from command device: 2
This is an example of output from the show cluster members detail command:
Switch# show cluster members detail
Device 'StLouis1' with member number 0 (Command Switch)
Device type: cisco WS-C3560
MAC address: 0002.4b29.2e00
Upstream port: FEC Number:
Hops from command device: 0
Device 'tal-switch-14' with member number 1
Device type: cisco WS-C3548-XL
MAC address: 0030.946c.d740
Upstream MAC address: 0002.4b29.2e00 (Cluster member 0)
Local port: Fa0/13 FEC number:
Upstream port: Gi0/1 FEC Number:
Hops from command device: 1
Device 'nms-2820' with member number 2
MAC address: 0002.b922.7180
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: 10 FEC number: 0
Upstream port: Fa0/18 FEC Number:
Hops from command device: 2
Device 'SanJuan2' with member number 3
Device type: cisco WS-C3560
MAC address: 0002.4b29.4400
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/1 FEC number:
Upstream port: Fa0/11 FEC Number:
Hops from command device: 2
Device 'GenieTest' with member number 4
Device type: cisco SeaHorse
MAC address: 0002.4b28.c480
Upstream MAC address: 0030.946c.d740 (Cluster member 1)
Local port: Gi0/2 FEC number:
Upstream port: Fa0/9 FEC Number:
Hops from command device: 2
Device 'Palpatine' with member number 5
Device type: cisco WS-C2924M-XL
MAC address: 00b0.6404.f8c0
Upstream MAC address: 0002.4b29.2e00 (Cluster member 0)
Local port: Gi2/1 FEC number:
Upstream port: Gi0/7 FEC Number:
Hops from command device: 1
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
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Examples
This is a partial output example from the show controllers cpu-interface command:
Switch# show controllers cpu-interface
cpu-queue-frames retrieved dropped invalid hol-block
----------------- ---------- ---------- ---------- ----------
routing protocol 96145 0 0 0
igmp snooping 68411 0 0 0
cpu heartbeat 1710501 0 0 0
Supervisor ASIC receive-queue parameters
----------------------------------------
queue 0 maxrecevsize 5EE pakhead 1419A20 paktail 13EAED4
queue 1 maxrecevsize 5EE pakhead 15828E0 paktail 157FBFC
queue 2 maxrecevsize 5EE pakhead 1470D40 paktail 1470FE4
queue 3 maxrecevsize 5EE pakhead 19CDDD0 paktail 19D02C8
Supervisor ASIC Mic Registers
------------------------------
MicDirectPollInfo 80000800
MicIndicationsReceived 00000000
MicInterruptsReceived 00000000
MicPlbMasterConfiguration 00000000
MicRxFifosAvailable 00000000
MicTimeOutPeriod: FrameTOPeriod: 00000EA6 DirectTOPeriod: 00004000
Fifo0: StartPtrs: 038C2800 ReadPtr: 038C2C38
WritePtrs: 038C2C38 Fifo_Flag: 8A800800
Fifo1: StartPtr: 03A9BC00 ReadPtr: 03A9BC60
WritePtrs: 03A9BC60 Fifo_Flag: 89800400
Fifo2: StartPtr: 038C8800 ReadPtr: 038C88E0
WritePtrs: 038C88E0 Fifo_Flag: 88800200
Fifo3: StartPtr: 03C30400 ReadPtr: 03C30638
WritePtrs: 03C30638 Fifo_Flag: 89800400
Fifo4: StartPtr: 03AD5000 ReadPtr: 03AD50A0
WritePtrs: 03AD50A0 Fifo_Flag: 89800400
Fifo5: StartPtr: 03A7A600 ReadPtr: 03A7A600
WritePtrs: 03A7A600 Fifo_Flag: 88800200
Fifo6: StartPtr: 03BF8400 ReadPtr: 03BF87F0
WritePtrs: 03BF87F0 Fifo_Flag: 89800400
Related Commands
|
|
show controllers ethernet-controller |
Displays per-interface send and receive statistics read from the hardware or the interface internal registers. |
show interfaces |
Displays the administrative and operational status of all interfaces or a specified interface. |
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 ]
Syntax Description
interface-id |
The physical interface (including type, module, and port number). |
phy |
(Optional) Display the status of the internal registers on the switch physical layer device (PHY) for the device or the interface. This display includes the operational state of the automatic medium-dependent interface crossover (auto-MDIX) feature on an interface. |
detail |
(Optional) Display details about the PHY internal registers. |
port-asic |
(Optional) Display information about the port ASIC internal registers. |
configuration |
Display port ASIC internal register configuration. |
statistics |
Display port ASIC statistics, including the Rx/Sup Queue and miscellaneous statistics. |
Command Modes
Privileged EXEC (only supported with the interface-id keywords in user EXEC mode)
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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.
Examples
This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-29 lists the Transmit fields, and Table 2-30 lists the Receive fields.
Switch# show controllers ethernet-controller gigabitethernet0/1
Transmit GigabitEthernet0/1 Receive
0 Unicast frames 0 Unicast frames
0 Multicast frames 0 Multicast frames
0 Broadcast frames 0 Broadcast frames
0 Too old frames 0 Unicast bytes
0 Deferred frames 0 Multicast bytes
0 MTU exceeded frames 0 Broadcast bytes
0 1 collision frames 0 Alignment errors
0 2 collision frames 0 FCS errors
0 3 collision frames 0 Oversize frames
0 4 collision frames 0 Undersize frames
0 5 collision frames 0 Collision fragments
0 7 collision frames 0 Minimum size frames
0 8 collision frames 0 65 to 127 byte frames
0 9 collision frames 0 128 to 255 byte frames
0 10 collision frames 0 256 to 511 byte frames
0 11 collision frames 0 512 to 1023 byte frames
0 12 collision frames 0 1024 to 1518 byte frames
0 13 collision frames 0 Overrun frames
0 14 collision frames 0 Pause frames
0 15 collision frames 0 Symbol error frames
0 Late collisions 0 Invalid frames, too large
0 VLAN discard frames 0 Valid frames, too large
0 Excess defer frames 0 Invalid frames, too small
0 64 byte frames 0 Valid frames, too small
0 255 byte frames 0 Too old frames
0 511 byte frames 0 Valid oversize frames
0 1023 byte frames 0 System FCS error frames
0 1518 byte frames 0 RxPortFifoFull drop frame
Table 2-29 Transmit Field Descriptions
|
|
Bytes |
The total number of bytes sent on an interface. |
Unicast Frames |
The total number of frames sent to unicast addresses. |
Multicast frames |
The total number of frames sent to multicast addresses. |
Broadcast frames |
The total number of frames sent to broadcast addresses. |
Too old frames |
The number of frames dropped on the egress port because the packet aged out. |
Deferred frames |
The number of frames that are not sent after the time exceeds 2*maximum-packet time. |
MTU exceeded frames |
The number of frames that are larger than the maximum allowed frame size. |
1 collision frames |
The number of frames that are successfully sent on an interface after one collision occurs. |
2 collision frames |
The number of frames that are successfully sent on an interface after two collisions occur. |
3 collision frames |
The number of frames that are successfully sent on an interface after three collisions occur. |
4 collision frames |
The number of frames that are successfully sent on an interface after four collisions occur. |
5 collision frames |
The number of frames that are successfully sent on an interface after five collisions occur. |
6 collision frames |
The number of frames that are successfully sent on an interface after six collisions occur. |
7 collision frames |
The number of frames that are successfully sent on an interface after seven collisions occur. |
8 collision frames |
The number of frames that are successfully sent on an interface after eight collisions occur. |
9 collision frames |
The number of frames that are successfully sent on an interface after nine collisions occur. |
10 collision frames |
The number of frames that are successfully sent on an interface after ten collisions occur. |
11 collision frames |
The number of frames that are successfully sent on an interface after 11 collisions occur. |
12 collision frames |
The number of frames that are successfully sent on an interface after 12 collisions occur. |
13 collision frames |
The number of frames that are successfully sent on an interface after 13 collisions occur. |
14 collision frames |
The number of frames that are successfully sent on an interface after 14 collisions occur. |
15 collision frames |
The number of frames that are successfully sent on an interface after 15 collisions occur. |
Excessive collisions |
The number of frames that could not be sent on an interface after 16 collisions occur. |
Late collisions |
After a frame is sent, the number of frames dropped because late collisions were detected while the frame was sent. |
VLAN discard frames |
The number of frames dropped on an interface because the CFI bit is set. |
Excess defer frames |
The number of frames that are not sent after the time exceeds the maximum-packet time. |
64 byte frames |
The total number of frames sent on an interface that are 64 bytes. |
127 byte frames |
The total number of frames sent on an interface that are from 65 to 127 bytes. |
255 byte frames |
The total number of frames sent on an interface that are from 128 to 255 bytes. |
511 byte frames |
The total number of frames sent on an interface that are from 256 to 511 bytes. |
1023 byte frames |
The total number of frames sent on an interface that are from 512 to 1023 bytes. |
1518 byte frames |
The total number of frames sent on an interface that are from 1024 to 1518 bytes. |
Too large frames |
The number of frames sent on an interface that are larger than the maximum allowed frame size. |
Good (1 coll) frames |
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. |
Table 2-30 Receive Field Descriptions
|
|
Bytes |
The total amount of memory (in bytes) used by frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits. |
Unicast frames |
The total number of frames successfully received on the interface that are directed to unicast addresses. |
Multicast frames |
The total number of frames successfully received on the interface that are directed to multicast addresses. |
Broadcast frames |
The total number of frames successfully received on an interface that are directed to broadcast addresses. |
Unicast bytes |
The total amount of memory (in bytes) used by unicast frames received on an interface, including the FCS value and the incorrectly formed frames. This value excludes the frame header bits. |
Multicast bytes |
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. |
Broadcast bytes |
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. |
Alignment errors |
The total number of frames received on an interface that have alignment errors. |
FCS 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. |
Oversize frames |
The number of frames received on an interface that are larger than the maximum allowed frame size. |
Undersize frames |
The number of frames received on an interface that are smaller than 64 bytes. |
Collision fragments |
The number of collision fragments received on an interface. |
Minimum size frames |
The total number of frames that are the minimum frame size. |
65 to 127 byte frames |
The total number of frames that are from 65 to 127 bytes. |
128 to 255 byte frames |
The total number of frames that are from 128 to 255 bytes. |
256 to 511 byte frames |
The total number of frames that are from 256 to 511 bytes. |
512 to 1023 byte frames |
The total number of frames that are from 512 to 1023 bytes. |
1024 to 1518 byte frames |
The total number of frames that are from 1024 to 1518 bytes. |
Overrun frames |
The total number of overrun frames received on an interface. |
Pause frames |
The number of pause frames received on an interface. |
Symbol error frames |
The number of frames received on an interface that have symbol errors. |
Invalid frames, too large |
The number of frames received that were larger than maximum allowed MTU size (including the FCS bits and excluding the frame header) and that have either an FCS error or an alignment error. |
Valid frames, too large |
The number of frames received on an interface that are larger than the maximum allowed frame size. |
Invalid frames, too small |
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. |
Valid frames, too small |
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. |
Too old frames |
The number of frames dropped on the ingress port because the packet aged out. |
Valid oversize frames |
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. |
System FCS error frames |
The total number of frames received on an interface that have a valid length (in bytes) but that do not have the correct FCS values. |
RxPortFifoFull drop frames |
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:
Switch# show controllers ethernet-controller gigabitethernet0/2 phy
Control Register : 0001 0001 0100 0000
Control STATUS : 0111 1001 0100 1001
Phy ID 1 : 0000 0001 0100 0001
Phy ID 2 : 0000 1100 0010 0100
Auto-Negotiation Advertisement : 0000 0011 1110 0001
Auto-Negotiation Link Partner : 0000 0000 0000 0000
Auto-Negotiation Expansion Reg : 0000 0000 0000 0100
Next Page Transmit Register : 0010 0000 0000 0001
Link Partner Next page Registe : 0000 0000 0000 0000
1000BASE-T Control Register : 0000 1111 0000 0000
1000BASE-T Status Register : 0100 0000 0000 0000
Extended Status Register : 0011 0000 0000 0000
PHY Specific Control Register : 0000 0000 0111 1000
PHY Specific Status Register : 1000 0001 0100 0000
Interrupt Enable : 0000 0000 0000 0000
Interrupt Status : 0000 0000 0100 0000
Extended PHY Specific Control : 0000 1100 0110 1000
Receive Error Counter : 0000 0000 0000 0000
Reserved Register 1 : 0000 0000 0000 0000
Global Status : 0000 0000 0000 0000
LED Control : 0100 0001 0000 0000
Manual LED Override : 0000 1000 0010 1010
Extended PHY Specific Control : 0000 0000 0001 1010
Disable Receiver 1 : 0000 0000 0000 1011
Disable Receiver 2 : 1000 0000 0000 0100
Extended PHY Specific Status : 1000 0100 1000 0000
Auto-MDIX : On [AdminState=1 Flags=0x00052248]
This is an example of output from the show controllers ethernet-controller port-asic configuration command:
Switch# show controllers ethernet-controller port-asic configuration
========================================================================
Switch 1, PortASIC 0 Registers
------------------------------------------------------------------------
SupervisorReceiveFifoSramInfo : 000007D0 000007D0 40000000
SupervisorTransmitFifoSramInfo : 000001D0 000001D0 40000000
IndicationStatus : 00000000
IndicationStatusMask : FFFFFFFF
InterruptStatus : 00000000
InterruptStatusMask : 01FFE800
SupervisorDiag : 00000000
SupervisorFrameSizeLimit : 000007C8
SupervisorBroadcast : 000A0F01
GeneralIO : 000003F9 00000000 00000004
StackPcsInfo : FFFF1000 860329BD 5555FFFF FFFFFFFF
FF0FFF00 86020000 5555FFFF 00000000
StackRacInfo : 73001630 00000003 7F001644 00000003
24140003 FD632B00 18E418E0 FFFFFFFF
StackControlStatus : 18E418E0
stackControlStatusMask : FFFFFFFF
TransmitBufferFreeListInfo : 00000854 00000800 00000FF8 00000000
0000088A 0000085D 00000FF8 00000000
TransmitRingFifoInfo : 00000016 00000016 40000000 00000000
0000000C 0000000C 40000000 00000000
TransmitBufferInfo : 00012000 00000FFF 00000000 00000030
TransmitBufferCommonCount : 00000F7A
TransmitBufferCommonCountPeak : 0000001E
TransmitBufferCommonCommonEmpty : 000000FF
NetworkActivity : 00000000 00000000 00000000 02400000
DroppedStatistics : 00000000
FrameLengthDeltaSelect : 00000001
SneakPortFifoInfo : 00000000
MacInfo : 0EC0801C 00000001 0EC0801B 00000001
00C0001D 00000001 00C0001E 00000001
This is an example of output from the show controllers ethernet-controller port-asic statistics command:
Switch# show controllers ethernet-controller port-asic statistics
===========================================================================
Switch 1, PortASIC 0 Statistics
---------------------------------------------------------------------------
0 RxQ-0, wt-0 enqueue frames 0 RxQ-0, wt-0 drop frames
4118966 RxQ-0, wt-1 enqueue frames 0 RxQ-0, wt-1 drop frames
0 RxQ-0, wt-2 enqueue frames 0 RxQ-0, wt-2 drop frames
0 RxQ-1, wt-0 enqueue frames 0 RxQ-1, wt-0 drop frames
296 RxQ-1, wt-1 enqueue frames 0 RxQ-1, wt-1 drop frames
2836036 RxQ-1, wt-2 enqueue frames 0 RxQ-1, wt-2 drop frames
0 RxQ-2, wt-0 enqueue frames 0 RxQ-2, wt-0 drop frames
0 RxQ-2, wt-1 enqueue frames 0 RxQ-2, wt-1 drop frames
158377 RxQ-2, wt-2 enqueue frames 0 RxQ-2, wt-2 drop frames
0 RxQ-3, wt-0 enqueue frames 0 RxQ-3, wt-0 drop frames
0 RxQ-3, wt-1 enqueue frames 0 RxQ-3, wt-1 drop frames
0 RxQ-3, wt-2 enqueue frames 0 RxQ-3, wt-2 drop frames
15 TxBufferFull Drop Count 0 Rx Fcs Error Frames
0 TxBufferFrameDesc BadCrc16 0 Rx Invalid Oversize Frames
0 TxBuffer Bandwidth Drop Cou 0 Rx Invalid Too Large Frames
0 TxQueue Bandwidth Drop Coun 0 Rx Invalid Too Large Frames
0 TxQueue Missed Drop Statist 0 Rx Invalid Too Small Frames
74 RxBuffer Drop DestIndex Cou 0 Rx Too Old Frames
0 SneakQueue Drop Count 0 Tx Too Old Frames
0 Learning Queue Overflow Fra 0 System Fcs Error Frames
0 Learning Cam Skip Count
15 Sup Queue 0 Drop Frames 0 Sup Queue 8 Drop Frames
0 Sup Queue 1 Drop Frames 0 Sup Queue 9 Drop Frames
0 Sup Queue 2 Drop Frames 0 Sup Queue 10 Drop Frames
0 Sup Queue 3 Drop Frames 0 Sup Queue 11 Drop Frames
0 Sup Queue 4 Drop Frames 0 Sup Queue 12 Drop Frames
0 Sup Queue 5 Drop Frames 0 Sup Queue 13 Drop Frames
0 Sup Queue 6 Drop Frames 0 Sup Queue 14 Drop Frames
0 Sup Queue 7 Drop Frames 0 Sup Queue 15 Drop Frames
===========================================================================
Switch 1, PortASIC 1 Statistics
---------------------------------------------------------------------------
0 RxQ-0, wt-0 enqueue frames 0 RxQ-0, wt-0 drop frames
52 RxQ-0, wt-1 enqueue frames 0 RxQ-0, wt-1 drop frames
0 RxQ-0, wt-2 enqueue frames 0 RxQ-0, wt-2 drop frames
Related Commands
|
|
show controllers cpu-interface |
Displays the state of the CPU network ASIC and send and receive statistics for packets reaching the CPU. |
show controllers tcam |
Displays the state of registers for all ternary content addressable memory (TCAM) in the system and for TCAM interface ASICs that are CAM controllers. |
show controllers power inline
Use the show controllers power inline command in EXEC mode to display the values in the registers of the specified Power over Ethernet (PoE) controller.
show controllers power inline [ instance ] [ module
Syntax Description
instance |
(Optional) Power controller instance, where each instance corresponds to four ports. See the “Usage Guidelines” section for more information. If no instance is specified, information for all instances appear. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
For the Catalyst 3560-48PS switches, the instance range is 0 to 11.
For the Catalyst 3560-24PS switches, the instance range is 0 to 5.
For the Catalyst 3560G-48PS switches, the instance range is 0 to 2. For instances other than 0 to 2, the switches provides no output.
For the Catalyst 3560G-24PS switches, the instance range is 0 to 1. For instances other than 0 to 1, the switches provides no output.
Though visible on all switches, this command is valid only for PoE switches. It provides no information for switches that do not support PoE.
The output provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Examples
This is an example of output from the show controllers power inline command on a switch other than a Catalyst 3560G-48PS or 3560G-24PS switch:
Switch# show controllers power inline
Controller Instance 0, Address 0x40
Power Event Reg 0x2 = 0x0
Detect Event Reg 0x4 = 0x0
Fault Event Reg 0x6 = 0x0
T-Start Event Reg 0x8 = 0x0
Supply Event Reg 0xA = 0x0
Port 1 Status Reg 0xC = 0x64
Port 2 Status Reg 0xD = 0x3
Port 3 Status Reg 0xE = 0x3
Port 4 Status Reg 0xF = 0x3
Power Status Reg 0x10 = 0xFF
Pin Status Reg 0x11 = 0x0
Operating Mode Reg 0x12 = 0xAA
Disconnect Enable Reg 0x13 = 0xF0
Detect/Class Enable Reg 0x14 = 0xFF
Timing Config Reg 0x16 = 0x0
Misc Config Reg 0x17 = 0xA0
ID Revision Reg 0x1A = 0x64
Controller Instance 1, Address 0x42
This is an example of output from the show controllers power inline command on a Catalyst 3560G-24PS switch:
Switch# show controllers power inline
Alchemy instance 0, address 0
Pending event flag :N N N N N N N N N N N N
Current State :00 05 10 51 61 11
Current Event :00 01 00 10 40 00
Timers :00 C5 57 03 12 20 04 B2 05 06 07 07
Error State :00 00 00 00 10 00
Error Code :00 00 00 00 00 00 00 00 00 00 00 00
Power Status :N Y N N Y N N N N N N N
Auto Config :N Y Y N Y Y Y Y Y Y Y Y
Disconnect :N N N N N N N N N N N N
Detection Status :00 00 00 30 00 00
Current Class :00 00 00 30 00 00
Tweetie debug :00 00 00 00
POE Commands pending at sub:
Command 0 on each port :00 00 00 00 00 00
Command 1 on each port :00 00 00 00 00 00
Command 2 on each port :00 00 00 00 00 00
Command 3 on each port :00 00 00 00 00 00
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 ]
Syntax Description
asic |
(Optional) Display port ASIC TCAM information. |
number |
(Optional) Display information for the specified port ASIC number. The range is from 0 to 15. |
detail |
(Optional) Display detailed TCAM register information. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Examples
This is an example of output from the show controllers tcam command:
Switch# show controllers tcam
------------------------------------------------------------------------
------------------------------------------------------------------------
GMR31: FF_FFFFFFFF_FFFFFFFF
GMR32: FF_FFFFFFFF_FFFFFFFF
GMR33: FF_FFFFFFFF_FFFFFFFF
=============================================================================
TCAM related PortASIC 1 registers
=============================================================================
LookupType: 89A1C67D_24E35F00
ForwardingRamBaseAddress:
00022A00 0002FE00 00040600 0002FE00 0000D400
00000000 003FBA00 00009000 00009000 00040600
00000000 00012800 00012900
show controllers utilization
Use the show controllers utilization command in EXEC mode to display bandwidth utilization on the switch or specific ports.
show controllers [ interface-id ] utilization
Syntax Description
interface-id |
(Optional) ID of the switch interface. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SE |
This command was introduced. |
Examples
This is an example of output from the show controllers utilization command.
Switch# show controllers utilization
Port Receive Utilization Transmit Utilization
Switch Receive Bandwidth Percentage Utilization : 0
Switch Transmit Bandwidth Percentage Utilization : 0
Switch Fabric Percentage Utilization : 0
This is an example of output from the show controllers utilization command on a specific port:
Switch# show controllers gigabitethernet0/1 utilization
Receive Bandwidth Percentage Utilization : 0
Transmit Bandwidth Percentage Utilization : 0
Table 2-31 show controllers utilization Field Descriptions
|
|
Receive Bandwidth Percentage Utilization |
Displays the received bandwidth usage of the switch, which is the sum of the received traffic on all the ports divided by the switch receive capacity. |
Transmit Bandwidth Percentage Utilization |
Displays the transmitted bandwidth usage of the switch, which is the sum of the transmitted traffic on all the ports divided it by the switch transmit capacity. |
Fabric Percentage Utilization |
Displays the average of the transmitted and received bandwidth usage of the switch. |
show diagnostic
Use the show diagnostic command in EXEC mode to view the test results of the online diagnostics and to list the supported test suites.
show diagnostic content
show diagnostic post
show diagnostic result [ detail | test { test-id | test-id-range | all } [ detail ]]
show diagnostic schedule
show diagnostic status
show diagnostic [ detail ]
Syntax Description
content |
Display test information including test ID, test attributes, and supported coverage test levels for each test and for all modules. |
post |
Display the power-on self-test (POST) results; the command output is the same as the show post command. |
result |
Displays the test results. |
detail |
(Optional) Displays the all test statistics. |
test |
Specify a test. |
test-id |
Identification number for the test; see the “Usage Guidelines” section for additional information. |
test-id-range |
Range of identification numbers for tests; see the “Usage Guidelines” section for additional information. |
all |
All the tests. |
schedule |
Displays the current scheduled diagnostic tasks. |
status |
Displays the test status. |
Defaults
This command has no default settings.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(35)SE |
This command was introduced. |
Usage Guidelines
If you do not enter a switch num, information for all switches is displayed.
In the command output, the possible testing results are as follows:
- Passed (.)
- Failed (F)
- Unknown (U)
Examples
This example shows how to display the online diagnostics that are configured on a switch:
Switch# show diagnostic content switch 3
Diagnostics test suite attributes:
B/* - Basic ondemand test / NA
P/V/* - Per port test / Per device test / NA
D/N/* - Disruptive test / Non-disruptive test / NA
S/* - Only applicable to standby unit / NA
X/* - Not a health monitoring test / NA
F/* - Fixed monitoring interval test / NA
E/* - Always enabled monitoring test / NA
A/I - Monitoring is active / Monitoring is inactive
R/* - Switch will reload after test list completion / NA
P/* - will partition stack / NA
ID Test Name attributes day hh:mm:ss.ms shold
==== ================================== ============ =============== =====
1) TestPortAsicStackPortLoopback B*N****A** 000 00:01:00.00 n/a
2) TestPortAsicLoopback B*D*X**IR* not configured n/a
3) TestPortAsicCam B*D*X**IR* not configured n/a
4) TestPortAsicRingLoopback B*D*X**IR* not configured n/a
5) TestMicRingLoopback B*D*X**IR* not configured n/a
6) TestPortAsicMem B*D*X**IR* not configured n/a
This example shows how to display the online diagnostic results for a switch:
Switch# show diagnostic result switch 1
Overall diagnostic result: PASS
Test results: (. = Pass, F = Fail, U = Untested)
1) TestPortAsicStackPortLoopback --->.
2) TestPortAsicLoopback ------------>.
3) TestPortAsicCam ----------------->.
4) TestPortAsicRingLoopback -------->.
5) TestMicRingLoopback ------------->.
6) TestPortAsicMem ----------------->.
This example shows how to display the online diagnostic test status:
Switch# show diagnostic status
<BU> - Bootup Diagnostics, <HM> - Health Monitoring Diagnostics,
<OD> - OnDemand Diagnostics, <SCH> - Scheduled Diagnostics
====== ================================= =============================== ======
Card Description Current Running Test Run by
------ --------------------------------- --------------------- ------
2 TestPortAsicStackPortLoopback <OD>
TestPortAsicLoopback <OD>
TestPortAsicRingLoopback <OD>
====== ================================= =============================== ======
This example shows how to display the online diagnostic test schedule for a switch:
Switch# show diagnostic schedule switch 1
Current Time = 14:39:49 PST Tue Jul 5 2005
Test ID(s) to be executed: 1.
show dot1q-tunnel
Use the show dot1q-tunnel command in EXEC mode to display information about IEEE 802.1Q tunnel ports.
show dot1q-tunnel [ interface interface-id ]
Syntax Description
interface interface-id |
(Optional) Specify the interface for which to display IEEE 802.1Q tunneling information. Valid interfaces include physical ports and port channels. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)EA1 |
This command was introduced. |
Examples
These are examples of output from the show dot1q-tunnel command:
Switch# show dot1q-tunnel
dot1q-tunnel mode LAN Port(s)
-----------------------------
Switch# show dot1q-tunnel interface gigabitethernet0/1
dot1q-tunnel mode LAN Port(s)
-----------------------------
Related Commands
|
|
show vlan dot1q tag native |
Displays IEEE 802.1Q native VLAN tagging status. |
switchport mode dot1q-tunnel |
Configures an interface as an IEEE 802.1Q tunnel port. |
show dot1x
Use the show dot1x command in EXEC mode 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 ]]
Syntax Description
all [ summary ] |
(Optional) Display the IEEE 802.1x status for all ports. |
interface interface-id |
Note (Optional) Display the IEEE 802.1x status for the specified port (including type, module, and port number) |
details |
(Optional) Display the IEEE 802.1x interface details. |
statistics |
(Optional) Display IEEE 802.1x statistics for the specified port. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SED |
The display was expanded to include auth-fail-vlan in the authorization state machine state and port status fields. |
12.2(25)SEE |
The command syntax was changed, and the command output was modified. |
12.2(35)SE |
The display was expanded to include the status of a port that is configured as both a host and an IP phone (a Cisco IP phone or phone from another manufacturer). |
Usage Guidelines
If you do not specify a port, global parameters and a summary appear. 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:
ControlDirection = In (Inactive)
Examples
This is an example of output from the show dot1x command:
Critical Recovery Delay 100
This is an example of output from the show dot1x all command:
Critical Recovery Delay 100
Dot1x Info for GigabitEthernet0/1
-----------------------------------
ReAuthentication = Disabled
ReAuthPeriod = 3600 (Locally configured)
This is an example of output from the show dot1x all summary command:
Interface PAE Client Status
--------------------------------------------------------
Gi0/1 AUTH none UNAUTHORIZED
Gi0/2 AUTH 00a0.c9b8.0072 AUTHORIZED
Gi0/3 AUTH none UNAUTHORIZED
This is an example of output from the show dot1x interface interface-id command:
Switch# show dot1x interface gigabitethernet0/2
Dot1x Info for GigabitEthernet0/2
-----------------------------------
ReAuthentication = Disabled
ReAuthPeriod = 3600 (Locally configured)
This is an example of output from the show dot1x interface interface-id details command:
Switch# show dot1x interface gigabitethernet0/2 details
Dot1x Info for GigabitEthernet0/2
-----------------------------------
ReAuthentication = Disabled
ReAuthPeriod = 3600 (Locally configured)
Dot1x Authenticator Client List Empty
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:
Switch# show dot1x interface gigabitethernet0/1 details
Dot1x Info for GigabitEthernet0/1
-----------------------------------
ReAuthentication = Enabled
ReAuthPeriod = 3600 (Locally configured)
Dot1x Authenticator Client List Empty
Authorized By = Guest-Vlan
Operational HostMode = MULTI_HOST
This is an example of output from the show dot1x interface interface-id details commmand when a port is configured as both a host and an IP phone (a Cisco IP phone or phone from another manufacturer). The HostMode field shows MULTI-DOMAIN
.
Switch# show dot1x interface gigabitEthernet 0/3 details
Dot1x Info for GigabitEthernet2/0/3
-----------------------------------
PAE = AUTHENTICATOR
PortControl = AUTO
ControlDirection = Both
HostMode = MULTI_DOMAIN
ReAuthentication = Disabled
QuietPeriod = 60
ServerTimeout = 30
SuppTimeout = 30
ReAuthPeriod = 3600 (Locally configured)
ReAuthMax = 2
MaxReq = 2
TxPeriod = 1
RateLimitPeriod = 0
Mac-Auth-Bypass = Enabled
Critical-Auth = Enabled
Critical Recovery Action = Reinitialize
Critical-Auth VLAN = 10
Guest-Vlan = 15
Dot1x Authenticator Client List
-------------------------------
Domain = DATA
Supplicant = 0000.aaaa.bbbb
Auth SM State = AUTHENTICATED
Auth BEND SM Stat = IDLE
Port Status = AUTHORIZED
Authentication Method = MAB
Vlan Policy = 20
This is an example of output from the show dot1x interface interface-id statistics command. Table 2-32 describes the fields in the display.
Switch# show dot1x interface gigabitethernet0/2 statistics
Dot1x Authenticator Port Statistics for GigabitEthernet0/2
--------------------------------------------
RxStart = 0 RxLogoff = 0 RxResp = 1 RxRespID = 1
RxInvalid = 0 RxLenErr = 0 RxTotal = 2
TxReq = 2 TxReqID = 132 TxTotal = 134
RxVersion = 2 LastRxSrcMAC = 00a0.c9b8.0072
Table 2-32 show dot1x statistics Field Descriptions
|
|
RxStart |
Number of valid EAPOL-start frames that have been received. |
RxLogoff |
Number of EAPOL-logoff frames that have been received. |
RxResp |
Number of valid EAP-response frames (other than response/identity frames) that have been received. |
RxRespID |
Number of EAP-response/identity frames that have been received. |
RxInvalid |
Number of EAPOL frames that have been received and have an unrecognized frame type. |
RxLenError |
Number of EAPOL frames that have been received in which the packet body length field is invalid. |
RxTotal |
Number of valid EAPOL frames of any type that have been received. |
TxReq |
Number of EAP-request frames (other than request/identity frames) that have been sent. |
TxReqId |
Number of Extensible Authentication Protocol (EAP)-request/identity frames that have been sent. |
TxTotal |
Number of Extensible Authentication Protocol over LAN (EAPOL) frames of any type that have been sent. |
RxVersion |
Number of received packets in the IEEE 802.1x Version 1 format. |
LastRxSrcMac |
Source MAC address carried in the most recently received EAPOL frame. |
Related Commands
|
|
dot1x default |
Resets the IEEE 802.1x parameters to their default values. |
show dtp
Use the show dtp privileged EXEC command to display Dynamic Trunking Protocol (DTP) information for the switch or for a specified interface.
show dtp [ interface interface-id ]
Syntax Description
interface interface-id |
(Optional) Display port security settings for the specified interface. Valid interfaces include physical ports (including type, module, and port number). |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show dtp command:
Sending DTP Hello packets every 30 seconds
Dynamic Trunk timeout is 300 seconds
This is an example of output from the show dtp interface command:
Switch# show dtp interface gigabitethernet0/1
DTP information for GigabitEthernet0/1:
TOS/TAS/TNS: ACCESS/AUTO/ACCESS
TOT/TAT/TNT: NATIVE/NEGOTIATE/NATIVE
Neighbor address 1: 000943A7D081
Neighbor address 2: 000000000000
Hello timer expiration (sec/state): 1/RUNNING
Access timer expiration (sec/state): never/STOPPED
Negotiation timer expiration (sec/state): never/STOPPED
Multidrop timer expiration (sec/state): never/STOPPED
3160 packets received (3160 good)
0 nonegotiate, 0 bad version, 0 domain mismatches, 0 bad TLVs, 0 other
6320 packets output (6320 good)
3160 native, 3160 software encap isl, 0 isl hardware native
1 link ups, last link up on Mon Mar 01 1993, 01:02:29
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 ]
Syntax Description
registrations |
Display EAP registration information. |
method name |
(Optional) Display EAP method registration information. |
transport name |
(Optional) Display EAP transport registration information. |
sessions |
Display EAP session information. |
credentials name |
(Optional) Display EAP method registration information. |
interface interface-id |
Note (Optional) Display the EAP information for the specified port (including type, module, and port number). |
Command Modes
Privileged EXEC
Command History
|
|
12.2(25)SEE |
This command was introduced. |
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.
Examples
This is an example of output from the show eap registrations command:
Switch# show eap registrations
Registered EAP Lower Layers:
2 Authenticator Dot1x-Authenticator
This is an example of output from the show eap registrations transport command:
Switch# show eap registrations transport all
Registered EAP Lower Layers:
2 Authenticator Dot1x-Authenticator
This is an example of output from the show eap sessions command:
Switch# show eap sessions
Role: Authenticator Decision: Fail
Lower layer: Dot1x-AuthenticaInterface: Gi0/1
Current method: None Method state: Uninitialised
Retransmission count: 0 (max: 2) Timer: Authenticator
ReqId Retransmit (timeout: 30s, remaining: 2s)
EAP handle: 0x5200000A Credentials profile: None
Lower layer context ID: 0x93000004 Eap profile name: None
Method context ID: 0x00000000 Peer Identity: None
Start timeout (s): 1 Retransmit timeout (s): 30 (30)
Current ID: 2 Available local methods: None
Role: Authenticator Decision: Fail
Lower layer: Dot1x-AuthenticaInterface: Gi0/2
Current method: None Method state: Uninitialised
Retransmission count: 0 (max: 2) Timer: Authenticator
ReqId Retransmit (timeout: 30s, remaining: 2s)
EAP handle: 0xA800000B Credentials profile: None
Lower layer context ID: 0x0D000005 Eap profile name: None
Method context ID: 0x00000000 Peer Identity: None
Start timeout (s): 1 Retransmit timeout (s): 30 (30)
Current ID: 2 Available local methods: None
This is an example of output from the show eap sessions interface interface-id privileged EXEC command:
Switch# show eap sessions gigabitethernet0/1
Role: Authenticator Decision: Fail
Lower layer: Dot1x-AuthenticaInterface: Gi0/1
Current method: None Method state: Uninitialised
Retransmission count: 1 (max: 2) Timer: Authenticator
ReqId Retransmit (timeout: 30s, remaining: 13s)
EAP handle: 0x5200000A Credentials profile: None
Lower layer context ID: 0x93000004 Eap profile name: None
Method context ID: 0x00000000 Peer Identity: None
Start timeout (s): 1 Retransmit timeout (s): 30 (30)
Current ID: 2 Available local methods: None
Related Commands
|
|
clear eap sessions |
Clears EAP session information for the switch or for the specified port. |
show env
Use the show env command in EXEC mode to show fan, temperature, redundant power system (RPS) availability, and power information for the switch.
command in EXEC mode show env { all | fan | power | rps [ all | detail ] | temperature [ status ]}
Syntax Description
all |
Display both fan and temperature environmental status. |
fan |
Display the switch fan status. |
power |
Display the switch power status. |
rps |
Display whether an RPS 300 Redundant Power System (RPS 300), Cisco RPS675 Redundant Power System (RPS 675), or the Cisco Redundant Power System 2300 (RPS 2300) is connected to the switch. |
rps all |
(Optional) Display all the redundant power systems that are connected to the standalone switch or the switch stack. These keywords are available only on Catalyst 3560v2 switches. |
rps detail |
(Optional) Display the details about the redundant power systems that are connected to the switch or the switch stack. These keywords are available only on Catalyst 3560v2 switches. |
temperature |
Display the switch temperature status. |
status |
(Optional) Display the switch internal temperature (not the external temperature) and the threshold values. This keyword is available only on the Catalyst 3560G-48TS, 3560G-48PS, 3560G-24TS, and 3560G-24PS switches. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(20)SE3 |
The temperature status keyword was added. |
12.2(50)SE1 |
The rps [ all | detail ] keywords were added. |
Usage Guidelines
Though visible on all switches, the show env temperature status command is valid only for the Catalyst 3560G-48TS, 3560G-48PS, 3560G-24TS, and 3560G-24PS switches. If you enter this command on these switches, the command output shows the switch temperature states and the threshold levels. If you enter the command on a switch other than these four switches, the output field shows Not Applicable
.
On a Catalyst 3560G-48PS or 3560G-24PS switch, you can also use the show env temperature command to display the switch temperature status. The command output shows the green and yellow states as OK and the red state as FAULTY. If you enter the show env all command on this switch, the command output is the same as the show env temperature status command output.
For more information about the threshold levels, see the software configuration guide for this release.
Examples
This is an example of output from the show env all command:
Temperature Value: 33 Degree Celsius
Yellow Threshold : 56 Degree Celsius
Red Threshold : 66 Degree Celsius
SW PID Serial# Status Sys Pwr PoE Pwr Watts
-- ------------------ ---------- --------------- ------- ------- -----
SW Status RPS Name RPS Serial# RPS Port#
-- ------------- ---------------- ----------- ---------
This is an example of output from the show env fan command:
This example shows how to display the temperature value, state, and the threshold values. Table 2-33 describes the temperature states in the command output.
Switch# show env temperature status
Temperature Value:28 Degree Celsius
Yellow Threshold :70 Degree Celsius
Red Threshold :75 Degree Celsius
Table 2-33 States in the show env temperature status Command Output
|
|
Green |
The switch temperature is in the normal operating range. |
Yellow |
The temperature is in the warning range. You should check the external temperature around the switch. |
Red |
The temperature is in the critical range. The switch might not run properly if the temperature is in this range. |
show errdisable detect
Use the show errdisable detect command in EXEC mode to display error-disabled detection status.
show errdisable detect
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
A displayed gbic-invalid
error reason refers to an invalid small form-factor pluggable (SFP) module.
Examples
This is an example of output from the show errdisable detect command:
Switch# show errdisable detect
ErrDisable Reason Detection Mode
----------------- --------- ----
arp-inspection Enabled port
channel-misconfig Enabled port
community-limit Enabled port
dhcp-rate-limit Enabled port
gbic-invalid Enabled port
inline-power Enabled port
invalid-policy Enabled port
psecure-violation Enabled port/vlan
security-violatio Enabled port
sfp-config-mismat Enabled port
storm-control Enabled port
show errdisable flap-values
Use the show errdisable flap-values command in EXEC mode to display conditions that cause an error to be recognized for a cause.
show errdisable flap-values
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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.
ErrDisable Reason Flaps Time (sec)
----------------- ------ ----------
Examples
This is an example of output from the show errdisable flap-values command:
Switch# show errdisable flap-values
ErrDisable Reason Flaps Time (sec)
----------------- ------ ----------
show errdisable recovery
Use the show errdisable recovery command in EXEC mode to display the error-disabled recovery timer information.
show errdisable recovery
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
A gbic-invalid error-disable reason refers to an invalid small form-factor pluggable (SFP) module interface.
Examples
This is an example of output from the show errdisable recovery command:
Switch# show errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
security-violatio Disabled
channel-misconfig Disabled
psecure-violation Disabled
Timer interval:300 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Note
Though visible in the output, the unicast-flood field is not valid.
show etherchannel
Use the show etherchannel command in EXEC mode 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 }
Syntax Description
channel-group - number |
(Optional) Number of the channel group. The range is 1 to 48. |
detail |
Display detailed EtherChannel information. |
load-balance |
Display the load-balance or frame-distribution scheme among ports in the port channel. |
port |
Display EtherChannel port information. |
port-channel |
Display port-channel information. |
protocol |
Display the protocol that is being used in the EtherChannel. |
summary |
Display a one-line summary per channel-group. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SE |
The channel -group-number range was changed from 1 to 12 to 1 to 48. |
Usage Guidelines
If you do not specify a channel-group , all channel groups are displayed.
In the output, the Passive port list field is displayed only for Layer 3 port channels. This field means that the physical port, which is still not up, is configured to be in the channel group (and indirectly is in the only port channel in the channel group).
Examples
This is an example of output from the show etherchannel 1 detail command:
Switch# show etherchannel 1 detail
Port-channels: 1 Max Port-channels = 16
Port state = Up Mstr In-Bndl
Channel group = 1 Mode = Active Gcchange = -
Port-channel = Po1 GC = - Pseudo port-channel = Po1
Port index = 0 Load = 0x00 Protocol = LACP
Flags: S - Device is sending Slow LACPDUs F - Device is sending fast LACPDU
A - Device is in active mode. P - Device is in passive mode.
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi0/1 SA bndl 32768 0x0 0x1 0x0 0x3D
Age of the port in the current state: 01d:20h:06m:04s
Port-channels in the group:
Port-channel: Po1 (Primary Aggregator)
Age of the Port-channel = 01d:20h:20m:26s
Logical slot/port = 10/1 Number of ports = 2
Port state = Port-channel Ag-Inuse
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
Time since last port bundled: 01d:20h:20m:20s Gi0/2
This is an example of output from the show etherchannel 1 summary command:
Switch# show etherchannel 1 summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
u - unsuitable for bundling
U - in use f - failed to allocate aggregator
Number of channel-groups in use: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------
1 Po1(SU) LACP Gi0/1(P) Gi0/2(P)
This is an example of output from the show etherchannel 1 port-channel command:
Switch# show etherchannel 1 port-channel
Port-channels in the group:
Port-channel: Po1 (Primary Aggregator)
Age of the Port-channel = 01d:20h:24m:50s
Logical slot/port = 10/1 Number of ports = 2
Port state = Port-channel Ag-Inuse
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
Time since last port bundled: 01d:20h:24m:44s Gi0/2
This is an example of output from the show etherchannel protocol command:
Switch# show etherchannel protocol
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
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
|
|
12.2(35)SE |
This command was introduced. |
Usage Guidelines
Use the show fallback profile privileged EXEC command to display profiles that are configured on the switch.
Examples
This is an example of output from the show fallback profile command:
switch# show fallback profile
------------------------------------
IP Admission Rule : webauth-fallback
IP Access-Group IN: default-policy
Profile Name: dot1x-www-lpip
------------------------------------
IP Admission Rule : web-lpip
IP Access-Group IN: default-policy
------------------------------------
show flowcontrol
Use the show flowcontrol command in EXEC mode to display the flow control status and statistics.
show flowcontrol [ interface interface-id | module number ]
Syntax Description
interface interface-id |
(Optional) Display the flow control status and statistics for a specific interface. |
module number |
(Optional) Display the flow control status and statistics for all interfaces on the. The only valid module number is 1. This option is not available if you have entered a specific interface ID. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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. 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.
Examples
This is an example of output from the show flowcontrol command.
Port Send FlowControl Receive FlowControl RxPause TxPause
--------- -------- -------- -------- -------- ------- -------
Gi0/1 Unsupp. Unsupp. off off 0 0
Gi0/2 desired off off off 0 0
Gi0/3 desired off off off 0 0
This is an example of output from the show flowcontrol interface interface-id command:
Switch# show flowcontrol gigabitethernet0/2
Port Send FlowControl Receive FlowControl RxPause TxPause
--------- -------- -------- -------- -------- ------- -------
Gi0/2 desired off off off 0 0
Related Commands
|
|
flowcontrol |
Sets the receive flow-control state for an interface. |
show interfaces
Use the show interfaces privileged EXEC command to display the administrative and operational status of all interfaces or a specified interface.
show interfaces [ interface-id | vlan vlan-id ] [ accounting | capabilities [ module number ] | counters | description | etherchannel | flowcontrol | private-vlan mapping | pruning | stats | status [ err-disabled ] | switchport [ backup | module number ] | transceiver {tengigabitethernet interface-id } | properties | detail [ module number ] | trunk ]
Syntax Description
interface-id |
(Optional) Valid interfaces include physical ports (including type, module, and port number) and port channels. The port-channel range is 1 to 48. |
vlan vlan-id |
(Optional) VLAN identification. The range is 1 to 4094. |
accounting |
(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. |
capabilities |
(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. |
module number |
Note (Optional) Display capabilities, switchport configuration, or transceiver characteristics (depending on preceding keyword) of all interfaces on the or switch. The only valid module number is 1. This option is not available if you enter a specific interface ID. |
counters |
(Optional) See the show interfaces counters command. |
description |
(Optional) Display the administrative status and description set for an interface. |
etherchannel |
(Optional) Display interface EtherChannel information. |
flowcontrol |
(Optional) Display interface flowcontrol information |
private-vlan mapping |
(Optional) Display private-VLAN mapping information for the VLAN switch virtual interfaces (SVIs). This keyword is available only if your switch is running the IP services image, formerly known as the enhanced multilayer image (EMI). |
pruning |
(Optional) Display interface trunk VTP pruning information. |
stats |
(Optional) Display the input and output packets by switching path for the interface. |
status |
(Optional) Display the status of the interface. A status of unsupported in the Type field means that a non-Cisco small form-factor pluggable (SFP) module is inserted in the module slot. |
err-disabled |
(Optional) Display interfaces in error-disabled state. |
switchport |
(Optional) Display the administrative and operational status of a switching (nonrouting) port, including port blocking and port protection settings. |
backup |
(Optional) Display Flex Link backup interface configuration and status for the specified interface or all interfaces on the switch. |
tengigabitethernet |
Display the status of a connected ten-gigabit module. |
transceiver [ detail | properties ] |
(Optional) Display the physical properties of a CWDM or DWDM small form-factor (SFP) module interface. The keywords have these meanings:
- detail — (Optional) Display calibration properties, including high and low numbers and any alarm information.
- properties —( Optional) Display speed, duplex, and inline power settings on an interface.
|
trunk |
Display interface trunk information. If you do not specify an interface, only information for active trunking ports appears. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(20)SE |
The private-vlan mapping, backup, transceiver calibration, detail, and properties, keywords were added. |
12.2(25)SEA |
The calibration keyword was removed. |
12.2(25)SEE |
The backup, counters, detail, and trunk keywords were added. |
12.2(44)SE |
Added the tengigabitethernet interface-id transceiver detail keywords. |
Usage Guidelines
The show interfaces capabilities command with different keywords has these results:
- Use the show interfaces capabilities module 1 to display the capabilities of all interfaces on the switch. Entering any other number is invalid.
- 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.
.
Usethe show interfaces switchport module 1 to display the switch port characteristics of all interfaces on the switch. Entering any other number is invalid.
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.
Examples
This is an example of output from the show interfaces command for an interface:
Switch# show interfaces gigabitethernet0/2
GigabitEthernet0/2is down, line protocol is down
Hardware is Gigabit Ethernet, address is 0009.43a7.d085 (bia 0009.43a7.d085)
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
input flow-control is off, output flow-control is off
ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output never, output hang never
Last clearing of "show interfaces" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
2 packets input, 1040 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
4 packets output, 1040 bytes, 0 underruns
0 output errors, 0 collisions, 3 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
This is an example of output from the show interfaces accounting command.
Switch# show interfaces accounting
Protocol Pkts In Chars In Pkts Out Chars Out
IP 1094395 131900022 559555 84077157
Spanning Tree 283896 17033760 42 2520
ARP 63738 3825680 231 13860
Interface Vlan2 is disabled
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
This is an example of output from the show interfaces capabilities command for an interface.
Switch# show interfaces gigabitethernet0/2 capabilities
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression: percentage(0-100)
Flowcontrol: rx-(off,on,desired),tx-(none)
QoS scheduling: rx-(not configurable on per port basis),tx-(4q2t)
Multiple Media Types: rj45, sfp, auto-select
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.
Switch# show interfaces gigabitethernet0/2 description
Interface Status Protocol Description
Gi0/2 up down Connects to Marketing
This is an example of output from the show interfaces etherchannel command when port channels are configured on the switch:
Switch# show interfaces etherchannel
Age of the Port-channel = 03d:20h:17m:29s
Logical slot/port = 10/1 Number of ports = 0
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
Age of the Port-channel = 03d:20h:17m:29s
Logical slot/port = 10/2 Number of ports = 0
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
Age of the Port-channel = 03d:20h:17m:29s
Logical slot/port = 10/3 Number of ports = 0
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel Ag-Not-Inuse
This is an example of output from the show interfaces private-vlan mapping command when the private-VLAN primary VLAN is VLAN 10 and the secondary VLANs are VLANs 501 and 502:
Switch# show interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
This is an example of output from the show interfaces interface-id pruning command when pruning is enabled in the VTP domain:
Switch# show interfaces gigibitethernet0/2 pruning
Port Vlans pruned for lack of request by neighbor
Port Vlans traffic requested of neighbor
This is an example of output from the show interfaces stats command for a specified VLAN interface.
Switch# show interfaces vlan 1 stats
Switching path Pkts In Chars In Pkts Out Chars Out
Processor 1165354 136205310 570800 91731594
Total 1165354 136205310 570800 91731594
This is an example of partial output from the show interfaces status command. It displays the status of all interfaces.
Switch# show interfaces status
Port Name Status Vlan Duplex Speed Type
Fa0/1 connected routed a-half a-100 10/100BaseTX
Fa0/2 notconnect 121,40 auto auto 10/100BaseTX
Fa0/3 notconnect 1 auto auto 10/100BaseTX
Fa0/4 notconnect 18 auto auto Not Present
Fa0/5 connected 121 a-full a-1000 10/100BaseTX
Fa0/6 connected 122,11 a-full a-1000 10/100BaseTX
Gi0/1 notconnect 1 auto auto 10/100/1000BaseTX
Gi0/2 notconnect 1 auto auto unsupported
These are examples of output from the show interfaces status command for a specific interface when private VLANs are configured. Port 2 is configured as a private-VLAN host port. It is associated with primary VLAN 20 and secondary VLAN 25.
Switch# show interfaces fastethernet0/2 status
Port Name Status Vlan Duplex Speed Type
Fa0/2 connected 20,25 a-full a-100 10/100BaseTX
In this example, port 3 is configured as a private-VLAN promiscuous port. The display shows only the primary VLAN 20.
Switch# show interfaces fastethernet0/3 status
Port Name Status Vlan Duplex Speed Type
Fa0/3 connected 20 a-full a-100 10/100BaseTX
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.
Switch# show interfaces status err-disabled
Gi0/2 err-disabled dtp-flap
This is an example of output from the show interfaces switchport command for a port. Table 2-34 describes the fields in the display.
Note
Private VLAN trunks are not supported in this release, so those fields are not applicable.
Switch# show interfaces gigabitethernet0/1 switchport
Administrative Mode: dynamic auto
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative private-vlan host-association:10 (VLAN0010) 502 (VLAN0502)
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture VLANs Allowed: ALL
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Voice VLAN: none (Inactive)
Table 2-34 show interfaces switchport Field Descriptions
|
|
Name |
Displays the port name. |
Switchport |
Displays the administrative and operational status of the port. In this display, the port is in switchport mode. |
Administrative Mode Operational Mode |
Displays the administrative and operational modes. |
Administrative Trunking Encapsulation Operational Trunking Encapsulation Negotiation of Trunking |
Displays the administrative and operational encapsulation method and whether trunking negotiation is enabled. |
Access Mode VLAN |
Displays the VLAN ID to which the port is configured. |
Trunking Native Mode VLAN Trunking VLANs Enabled Trunking VLANs Active |
Lists the VLAN ID of the trunk that is in native mode. Lists the allowed VLANs on the trunk. Lists the active VLANs on the trunk. |
Pruning VLANs Enabled |
Lists the VLANs that are pruning-eligible. |
Protected |
Displays whether or not protected port is enabled (True) or disabled (False) on the interface. |
Unknown unicast blocked Unknown multicast blocked |
Displays whether or not unknown multicast and unknown unicast traffic is blocked on the interface. |
Voice VLAN |
Displays the VLAN ID on which voice VLAN is enabled. |
Administrative private-vlan host-association |
Displays the administrative VLAN association for private-VLAN host ports. |
Administrative private-vlan mapping |
Displays the administrative VLAN mapping for private-VLAN promiscuous ports. |
Operational private-vlan |
Displays the operational private-VLAN status. |
Appliance trust |
Displays the class of service (CoS) setting of the data packets of the IP phone. |
This is an example of output from the show interfaces switchport command for a port configured as a private VLAN promiscuous port. The primary VLAN 20 is mapped to secondary VLANs 25, 30, and 35:
Switch# show interfaces gigabitethernet0/2 switchport
Administrative Mode: private-vlan promiscuous
Operational Mode: private-vlan promiscuous
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Administrative private-vlan host-association: none
Administrative private-vlan mapping: 20 (VLAN0020) 25 (VLAN0025) 30 (VLAN0030) 35 (VLAN0035)
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan:
20 (VLAN0020) 25 (VLAN0025)
This is an example of output from the show interfaces switchport backup command:
Switch# show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
--------------------------------------------------------------
Fa0/1 Fa0/2 Active Up/Backup Standby
Fa0/3 Fa0/5 Active Down/Backup Up
Po1 Po2 Active Standby/Backup Up
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:
Switch(config)#interface gigabitEthernet 0/6
Switch(config-if)#switchport backup interface gigabitEthernet 0/8 prefer vlan 60,100-120
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.
Switch#show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
GigabitEthernet0/6 GigabitEthernet0/8 Active Down/Backup Up
Vlans on Interface Gi 0/6: 1-50
Vlans on Interface Gi 0/8: 60, 100-120
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 Gi0/6 goes down, Gi0/8 carries all VLANs of the Flex Link pair.
Switch#show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
GigabitEthernet0/6 GigabitEthernet0/8 Active Down/Backup Up
Vlans on Interface Gi 0/6:
Vlans on Interface Gi 0/8: 1-50, 60, 100-120
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 Gi0/6 comes up, then VLANs preferred on this interface are blocked on the peer interface Gi0/8 and forwarded on Gi0/6.
Switch#show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
GigabitEthernet0/6 GigabitEthernet0/8 Active Down/Backup Up
Vlans on Interface Gi 0/6: 1-50
Vlans on Interface Gi 0/8: 60, 100-120
This is an example of output from the show interfaces interface-id pruning command:
Switch# show interfaces gigibitethernet0/2 pruning
Port Vlans pruned for lack of request by neighbor
This is an example of output from the show interfaces interface-id trunk command. It displays trunking information for the port.
Switch# show interfaces gigabitethernet0/2 trunk
Port Mode Encapsulation Status Native vlan
Gi0/1 auto negotiate trunking 1
Port Vlans allowed on trunk
Port Vlans allowed and active in management domain
Port Vlans in spanning tree forwarding state and not pruned
This is an example of output from the show interfaces interface-id transceiver properties command:
Switch# show interfaces gigabitethernet0/2 transceiver properties
Administrative Speed: auto
Administrative Duplex: auto
Administrative Power Inline: enable
Administrative Auto-MDIX: off
Operational Auto-MDIX: off
This is an example of output from the show interfaces interface-id transceiver detail command:
Switch# show interfaces gigabitethernet0/3 transceiver detail
ITU Channel not available (Wavelength not available),
Transceiver is externally calibrated.
mA:milliamperes, dBm:decibels (milliwatts), N/A:not applicable.
++:high alarm, +:high warning, -:low warning, -- :low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are uncalibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
------- ------------------ ---------- --------- --------- ---------
Gi0/3 41.5 110.0 103.0 -8.0 -12.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
------- --------------- ---------- --------- --------- ---------
Gi0/3 3.20 4.00 3.70 3.00 2.95
High Alarm High Warn Low Warn Low Alarm
Current Threshold Threshold Threshold Threshold
Port (milliamperes) (mA) (mA) (mA) (mA)
------- ----------------- ---------- --------- --------- ---------
Gi0/3 31.0 84.0 70.0 4.0 2.0
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi0/3 -0.0 ( -0.0) -0.0 -0.0 -0.0 -0.0
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi0/3 N/A ( -0.0) -- -0.0 -0.0 -0.0 -0.0
This is an example of output from the show interfaces tengigabitethernet interface-id transceiver detail command:
Switch# show interfaces tengigabitethernet1/0/1 transceiver detail
Transceiver monitoring is disabled for all interfaces.
ITU Channel not available (Wavelength not available),
Transceiver is internally calibrated.
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
--------- ------------------ ---------- --------- --------- ---------
Te1/0/1 26.8 70.0 60.0 5.0 0.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
--------- --------------- ---------- --------- --------- ---------
Te1/0/1 3.15 3.63 3.63 2.97 2.97
High Alarm High Warn Low Warn Low Alarm
Current Threshold Threshold Threshold Threshold
Port (milliamperes) (mA) (mA) (mA) (mA)
--------- ----------------- ---------- --------- --------- ---------
Te1/0/1 5.0 16.3 15.3 3.9 3.2
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
--------- ----------------- ---------- --------- --------- ---------
Te1/0/1 -1.9 1.0 0.5 -8.2 -8.5
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Te1/0/1 -1.4 1.0 0.5 -14.1 -15.0
This is an example of output from the show interfaces tengigabitethernet interface-id transceiver properties command:
Switch# show interfaces tengigabitethernet1/0/1 transceiver properties
Transceiver monitoring is disabled for all interfaces.
ITU Channel not available (Wavelength not available),
Transceiver is internally calibrated.
Administrative Speed: 10000
Administrative Duplex: full
Administrative Auto-MDIX: on
Administrative Power Inline: N/A
Operational Auto-MDIX: off
Related Commands
|
|
switchport access |
Configures a port as a static-access or a dynamic-access port. |
switchport block |
Blocks unknown unicast or multicast traffic on an interface. |
switchport backup interface |
Configures Flex Links, a pair of Layer 2 interfaces that provide mutual backup. |
switchport mode |
Configures the VLAN membership mode of a port. |
switchport mode private-vlan |
Configures a port as a private-VLAN host or a promiscuous port. |
switchport private-vlan |
Defines private-VLAN association for a host port or private-VLAN mapping for a promiscuous port. |
switchport protected |
Isolates unicast, multicast, and broadcast traffic at Layer 2 from other protected ports on the same switch. |
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 | protocol status | trunk ]
Syntax Description
interface-id |
(Optional) ID of the physical interface |
errors |
(Optional) Display error counters. |
etherchannel |
(Optional) Display EtherChannel counters, including octets, broadcast packets, multicast packets, and unicast packets received and sent. |
protocol status |
(Optional) Display status of protocols enabled on interfaces. |
trunk |
(Optional) Display trunk counters. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SE |
The etherchannel and protocol status keywords were added. The broadcast, multicast, and unicast keywords were removed. |
Usage Guidelines
If you do not enter any keywords, all counters for all interfaces are included.
Note
Though visible in the command-line help string, the vlan vlan-id keyword is not supported.
Examples
This is an example of partial output from the show interfaces counters command. It displays all counters for the switch.
Switch# show interfaces counters
Port InOctets InUcastPkts InMcastPkts InBcastPkts
This is an example of partial output from the show interfaces counters protocol status command for all interfaces.
Switch# show interfaces counters protocol status
FastEthernet0/1: Other, IP, ARP, CDP
FastEthernet0/2: Other, IP
FastEthernet0/3: Other, IP
FastEthernet0/4: Other, IP
FastEthernet0/5: Other, IP
FastEthernet0/6: Other, IP
FastEthernet0/7: Other, IP
FastEthernet0/8: Other, IP
FastEthernet0/9: Other, IP
FastEthernet0/10: Other, IP, CDP
This is an example of output from the show interfaces counters trunk command. It displays trunk counters for all interfaces.
Switch# show interfaces counters trunk
Port TrunkFramesTx TrunkFramesRx WrongEncap
show inventory
Use the show inventory command in EXEC mode to display product identification (PID) information for the hardware.
show inventory [ entity-name | raw ]
Syntax Description
entity-name |
(Optional) Display the specified entity. For example, enter the interface (such as gigabitethernet0/1) into which a small form-factor pluggable (SFP) module is installed. |
raw |
(Optional) Display every entity in the device. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SEC |
This command was introduced. |
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.
Examples
This is example output from the show inventory command:
NAME: "1", DESCR: "WS-C3560G-48PS"
PID: WS-C3560G-48PS-S, VID: 01, SN: FOC0916U0BT
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 ]
Syntax Description
interfaces [ interface-id ] |
(Optional) Display the trust state and the rate limit of ARP packets for the specified interface or all interfaces. Valid interfaces include physical ports and port channels. |
log |
(Optional) Display the configuration and contents of the dynamic ARP inspection log buffer. |
statistics [ vlan vlan-range ] |
(Optional) Display statistics for forwarded, dropped, MAC validation failure, IP validation failure, access control list (ACL) permitted and denied, and DHCP permitted and denied packets for the specified VLAN. If no VLANs are specified or if a range is specified, display information only for VLANs with dynamic ARP inspection enabled (active). You can specify a single VLAN identified by VLAN ID number, a range of VLANs separated by a hyphen, or a series of VLANs separated by a comma. The range is 1 to 4094. |
vlan vlan-range |
(Optional) Display the configuration and the operating state of dynamic ARP inspection for the specified VLAN. If no VLANs are specified or if a range is specified, display information only for VLANs with dynamic ARP inspection enabled (active). You can specify a single VLAN identified by VLAN ID number, a range of VLANs separated by a hyphen, or a series of VLANs separated by a comma. The range is 1 to 4094. |
Command Modes
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. |
12.2(37)SE |
The output changed to include Probe Logging information. |
Examples
This is an example of output from the show ip arp inspection command
Switch# show ip arp inspection
Source Mac Validation : Disabled
Destination Mac Validation : Disabled
IP Address Validation : Enabled
Vlan Configuration Operation ACL Match Static ACL
---- ------------- --------- --------- ----------
1 Enabled Active deny-all No
Vlan ACL Logging DHCP Logging Probe Logging
---- ----------- ------------ -------------
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ---------
Vlan DHCP Permits ACL Permits Probe Permits Source MAC Failures
---- ------------ ----------- ------------- -------------------
Vlan Dest MAC Failures IP Validation Failures Invalid Protocol Data
---- ----------------- ---------------------- ---------------------
This is an example of output from the show ip arp inspection interfaces command:
Switch# show ip arp inspection interfaces
Interface Trust State Rate (pps) Burst Interval
--------------- ----------- ---------- --------------
This is an example of output from the show ip arp inspection interfaces interface-id command:
Switch# show ip arp inspection interfaces gigabitethernet0/1
Interface Trust State Rate (pps) Burst Interval
--------------- ----------- ---------- --------------
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:
Switch# show ip arp inspection log
Total Log Buffer Size : 32
Syslog rate : 10 entries per 300 seconds.
Interface Vlan Sender MAC Sender IP Num Pkts Reason Time
---------- ---- -------------- --------------- --------- ----------- ----
Gi0/1 5 0003.0000.d673 192.2.10.4 5 DHCP Deny 19:39:01 UTC Mon Mar 1 1993
Gi0/1 5 0001.0000.d774 128.1.9.25 6 DHCP Deny 19:39:02 UTC Mon Mar 1 1993
Gi0/1 5 0001.c940.1111 10.10.10.1 7 DHCP Deny 19:39:03 UTC Mon Mar 1 1993
Gi0/1 5 0001.c940.1112 10.10.10.2 8 DHCP Deny 19:39:04 UTC Mon Mar 1 1993
Gi0/1 5 0001.c940.1114 173.1.1.1 10 DHCP Deny 19:39:06 UTC Mon Mar 1 1993
Gi0/1 5 0001.c940.1115 173.1.1.2 11 DHCP Deny 19:39:07 UTC Mon Mar 1 1993
Gi0/1 5 0001.c940.1116 173.1.1.3 12 DHCP Deny 19:39:08 UTC Mon Mar 1 1993
If the log buffer overflows, it means that a log event does not fit into the log buffer, and the display for the show ip arp inspection log privileged EXEC command is affected. 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.
Switch# show ip arp inspection statistics
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ---------
Vlan DHCP Permits ACL Permits Source MAC Failures
---- ------------ ----------- -------------------
Vlan Dest MAC Failures IP Validation Failures
---- ----------------- ----------------------
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.
Switch# show ip arp inspection statistics vlan 5
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ---------
Vlan DHCP Permits ACL Permits Source MAC Failures
---- ------------ ----------- -------------------
Vlan Dest MAC Failures IP Validation Failures Invalid Protocol Data
---- ----------------- ---------------------- ---------------------
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.
Switch# show ip arp inspection vlan 5
Source Mac Validation :Enabled
Destination Mac Validation :Enabled
IP Address Validation :Enabled
Vlan Configuration Operation ACL Match Static ACL
---- ------------- --------- --------- ----------
5 Enabled Active second No
Vlan ACL Logging DHCP Logging
---- ----------- ------------
show ip dhcp snooping
Use the show ip dhcp snooping command in EXEC mode to display the DHCP snooping configuration.
show ip dhcp snooping
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SEE |
The command output was updated to show the global suboption configuration. |
Usage Guidelines
This command displays only the results of global configuration. Therefore, in this example, the circuit ID suboption appears in its default format of vlan - mod - port, even if a string is configured for the circuit ID.
Examples
This is an example of output from the show ip dhcp snooping command:
Switch# show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on following VLANs:
Insertion of option 82 is enabled
circuit-id format: vlan-mod-port
Option 82 on untrusted port is allowed
Verification of hwaddr field is enabled
Interface Trusted Rate limit (pps)
------------------------ ------- ----------------
GigabitEthernet0/1 yes unlimited
GigabitEthernet0/2 yes unlimited
show ip dhcp snooping binding
Use the show ip dhcp snooping binding command in EXEC mode 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 ]
Syntax Description
ip-address |
(Optional) Specify the binding entry IP address. |
mac-address |
(Optional) Specify the binding entry MAC address. |
interface interface-id |
(Optional) Specify the binding input interface. |
vlan vlan-id |
(Optional) Specify the binding entry VLAN. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(20)SE |
The dynamic and static keywords were removed. |
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.
Examples
This example shows how to display the DHCP snooping binding entries for a switch:
Switch# show ip dhcp snooping binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9837 dhcp-snooping 20 GigabitEthernet0/1
00:D0:B7:1B:35:DE 10.1.2.151 237 dhcp-snooping 20 GigabitEthernet0/2
Total number of bindings: 2
This example shows how to display the DHCP snooping binding entries for a specific IP address:
Switch# show ip dhcp snooping binding 10.1.2.150
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9810 dhcp-snooping 20 GigabitEthernet0/1
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries for a specific MAC address:
Switch# show ip dhcp snooping binding 0102.0304.0506
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9788 dhcp-snooping 20 GigabitEthernet0/2
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries on a port:
Switch# show ip dhcp snooping binding interface gigabitethernet0/2
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
00:30:94:C2:EF:35 10.1.2.151 290 dhcp-snooping 20 GigabitEthernet0/2
Total number of bindings: 1
This example shows how to display the DHCP snooping binding entries on VLAN 20:
Switch# show ip dhcp snooping binding vlan 20
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
01:02:03:04:05:06 10.1.2.150 9747 dhcp-snooping 20 GigabitEthernet0/1
00:00:00:00:00:02 10.1.2.151 65 dhcp-snooping 20 GigabitEthernet0/2
Total number of bindings: 2
Table 2-35 describes the fields in the show ip dhcp snooping binding command output:
Table 2-35 show ip dhcp snooping binding Command Output
|
|
MacAddress |
Client hardware MAC address |
IpAddress |
Client IP address assigned from the DHCP server |
Lease(sec) |
Remaining lease time for the IP address |
Type |
Binding type |
VLAN |
VLAN number of the client interface |
Interface |
Interface that connects to the DHCP client host |
Total number of bindings |
Total number of bindings configured on the switch Note The command output might not show the total number of bindings. For example, if 200 bindings are configured on the switch and you stop the display before all the bindings appear, the total number does not change. |
show ip dhcp snooping database
Use the show ip dhcp snooping database command in EXEC mode to display the status of the DHCP snooping binding database agent.
show ip dhcp snooping database [ detail ]
Syntax Description
detail |
(Optional) Display detailed status and statistics information. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. |
Examples
This is an example of output from the show ip dhcp snooping database command:
Switch# show ip dhcp snooping database
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Delay Timer Expiry : Not Running
Abort Timer Expiry : Not Running
Last Succeded Time : None
Last Failed Reason : No failure recorded.
Total Attempts : 0 Startup Failures : 0
Successful Transfers : 0 Failed Transfers : 0
Successful Reads : 0 Failed Reads : 0
Successful Writes : 0 Failed Writes : 0
This is an example of output from the show ip dhcp snooping database detail command:
Switch# show ip dhcp snooping database detail
Agent URL : tftp://10.1.1.1/directory/file
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Delay Timer Expiry : 7 (00:00:07)
Abort Timer Expiry : Not Running
Last Succeded Time : None
Last Failed Time : 17:14:25 UTC Sat Jul 7 2001
Last Failed Reason : Unable to access URL.
Total Attempts : 21 Startup Failures : 0
Successful Transfers : 0 Failed Transfers : 21
Successful Reads : 0 Failed Reads : 0
Successful Writes : 0 Failed Writes : 21
First successful access: Read
Last ignored bindings counters :
Binding Collisions : 0 Expired leases : 0
Invalid interfaces : 0 Unsupported vlans : 0
Total ignored bindings counters:
Binding Collisions : 0 Expired leases : 0
Invalid interfaces : 0 Unsupported vlans : 0
show ip dhcp snooping statistics
Use the show ip dhcp snooping statistics command in EXEC mode to display DHCP snooping statistics in summary or detail form.
show ip dhcp snooping statistics [ detail ]
Syntax Description
detail |
(Optional) Display detailed statistics information. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(37)SE |
This command was introduced. |
Examples
This is an example of output from the show ip dhcp snooping statistics command:
Switch# show ip dhcp snooping statistics
Packets Dropped From untrusted ports = 0
This is an example of output from the show ip dhcp snooping statistics detail command:
Switch# show ip dhcp snooping statistics detail
Packets Processed by DHCP Snooping = 0
Interface is in errdisabled = 0
Received on untrusted ports = 0
Source mac not equal to chaddr = 0
Insertion of opt82 fail = 0
Unknown output interface = 0
Reply output port equal to input port = 0
Packet denied by platform = 0
Table 2-36 shows the DHCP snooping statistics and their descriptions:
Table 2-36 DHCP Snooping Statistics
|
|
Packets Processed by DHCP Snooping |
Total number of packets handled by DHCP snooping, including forwarded and dropped packets. |
Packets Dropped Because IDB not known |
Number of errors when the input interface of the packet cannot be determined. |
Queue full |
Number of errors when an internal queue used to process the packets is full. This might happen if DHCP packets are received at an excessively high rate and rate limiting is not enabled on the ingress ports. |
Interface is in errdisabled |
Number of times a packet was received on a port that has been marked as error disabled. This might happen if packets are in the processing queue when a port is put into the error-disabled state and those packets are subsequently processed. |
Rate limit exceeded |
Number of times the rate limit configured on the port was exceeded and the interface was put into the error-disabled state. |
Received on untrusted ports |
Number of times a DHCP server packet (OFFER, ACK, NAK, or LEASEQUERY) was received on an untrusted port and was dropped. |
Nonzero giaddr |
Number of times the relay agent address field (giaddr) in the DHCP packet received on an untrusted port was not zero, or the no ip dhcp snooping information option allow-untrusted global configuration command is not configured and a packet received on an untrusted port contained option-82 data. |
Source mac not equal to chaddr |
Number of times the client MAC address field of the DHCP packet (chaddr) does not match the packet source MAC address and the ip dhcp snooping verify mac-address global configuration command is configured. |
Binding mismatch |
Number of times a RELEASE or DECLINE packet was received on a port that is different than the port in the binding for that MAC address-VLAN pair. This indicates someone might be trying to spoof the real client, or it could mean that the client has moved to another port on the switch and issued a RELEASE or DECLINE. The MAC address is taken from the chaddr field of the DHCP packet, not the source MAC address in the Ethernet header. |
Insertion of opt82 fail |
Number of times the option-82 insertion into a packet failed. The insertion might fail if the packet with the option-82 data exceeds the size of a single physical packet on the internet. |
Interface Down |
Number of times the packet is a reply to the DHCP relay agent, but the SVI interface for the relay agent is down. This is an unlikely error that occurs if the SVI goes down between sending the client request to the DHCP server and receiving the response. |
Unknown output interface |
Number of times the output interface for a DHCP reply packet cannot be determined by either option-82 data or a lookup in the MAC address table. The packet is dropped. This can happen if option 82 is not used and the client MAC address has aged out. If IPSG is enabled with the port-security option and option 82 is not enabled, the MAC address of the client is not learned, and the reply packets will be dropped. |
Reply output port equal to input port |
Number of times the output port for a DHCP reply packet is the same as the input port, causing a possible loop. Indicates a possible network misconfiguration or misuse of trust settings on ports. |
Packet denied by platform |
Number of times the packet has been denied by a platform-specific registry. |
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 ]
Syntax Description
profile number |
(Optional) The IGMP profile number to be displayed. The range is 1 to 4294967295. If no profile number is entered, all IGMP profiles are displayed. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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.
Switch# show ip igmp profile 40
range 233.1.1.1 233.255.255.255
Switch# show ip igmp profile
range 230.9.9.0 230.9.9.0
range 229.9.9.0 229.255.255.255
show ip igmp snooping
Use the show ip igmp snooping command in EXEC mode 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 ]
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(20)SE |
The groups keyword was added. The show ip igmp snooping groups command replaced the show ip igmp snooping multicast command. |
Usage Guidelines
Use this command to display snooping configuration for the switch or for a specific VLAN.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
Examples
This is an example of output from the show ip igmp snooping vlan 1 command. It shows snooping characteristics for a specific VLAN.
Switch# show ip igmp snooping vlan 1
Global IGMP Snooping configuration:
-----------------------------------
IGMPv3 snooping (minimal) :Enabled
Report suppression :Enabled
TCN solicit query :Disabled
Last member query interval : 100
Immediate leave :Disabled
Multicast router learning mode :pim-dvmrp
Source only learning age timer :10
CGMP interoperability mode :IGMP_ONLY
Last member query interval : 100
This is an example of output from the show ip igmp snooping command. It displays snooping characteristics for all VLANs on the switch.
Switch# show ip igmp snooping
Global IGMP Snooping configuration:
-----------------------------------
IGMPv3 snooping (minimal) : Enabled
Report suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Last member query interval : 100
Immediate leave :Disabled
Multicast router learning mode :pim-dvmrp
Source only learning age timer :10
CGMP interoperability mode :IGMP_ONLY
Last member query interval : 100
Immediate leave :Disabled
Multicast router learning mode :pim-dvmrp
Source only learning age timer :10
CGMP interoperability mode :IGMP_ONLY
Last member query interval : 333
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 ] [ user ] [ vlan vlan-id [ ip_address ]]
Syntax Description
count |
(Optional) Display the total number of entries for the specified command options instead of the actual entries. |
dynamic |
(Optional) Display entries learned by IGMP snooping. |
user |
Optional) Display only the user-configured multicast entries. |
vlan vlan-id |
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094. |
ip_address |
(Optional) Display characteristics of the multicast group with the specified group IP address. |
Command Modes
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. It replaced the show ip igmp snooping multicast command. |
Usage Guidelines
Use this command to display multicast information or the multicast table.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
Examples
This is an example of output from the show ip igmp snooping groups command without any keywords. It displays the multicast table for the switch.
Switch# show ip igmp snooping groups
Vlan Group Type Version Port List
-------------------------------------------------------------
104 224.1.4.2 igmp v2 Gi0/1, Gi0/2
104 224.1.4.3 igmp v2 Gi0/1, Gi0/2
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.
Switch# show ip igmp snooping groups count
Total number of multicast groups: 2
This is an example of output from the show ip igmp snooping groups dynamic command. It shows only the entries learned by IGMP snooping.
Switch# show ip igmp snooping groups vlan 1 dynamic
Vlan Group Type Version Port List
-------------------------------------------------------------
104 224.1.4.2 igmp v2 Gi0/1, 0/15
104 224.1.4.3 igmp v2 Gi0/1, 0/15
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.
Switch# show ip igmp snooping groups vlan 104 224.1.4.2
Vlan Group Type Version Port List
-------------------------------------------------------------
104 224.1.4.2 igmp v2 Gi0/1, 0/15
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 ]
Syntax Description
vlan vlan-id |
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094. |
Command Modes
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
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.
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.
Switch# show ip igmp snooping mrouter
show ip igmp snooping querier
Use the show ip igmp snooping querier detail command in EXEC mode 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 ]]
Syntax Description
detail |
Optional) Display detailed IGMP querier information. |
vlan vlan-id [ detail ] |
Optional) Display IGMP querier information for the specified VLAN. The range is 1 to 1001 and 1006 to 4094. Use the detail keyword to display detailed information. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SEA |
This command was introduced. |
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 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
Examples
This is an example of output from the show ip igmp snooping querier command:
Switch# show ip igmp snooping querier
Vlan IP Address IGMP Version Port
---------------------------------------------------
This is an example of output from the show ip igmp snooping querier detail command:
Switch# show ip igmp snooping querier detail
Vlan IP Address IGMP Version Port
-------------------------------------------------------------
Global IGMP switch querier status
--------------------------------------------------------
source IP address : 0.0.0.0
query-interval (sec) : 60
max-response-time (sec) : 10
querier-timeout (sec) : 120
tcn query interval (sec) : 10
Vlan 1: IGMP switch querier status
--------------------------------------------------------
elected querier is 1.1.1.1 on port Fa0/1
--------------------------------------------------------
source IP address : 10.1.1.65
query-interval (sec) : 60
max-response-time (sec) : 10
querier-timeout (sec) : 120
tcn query interval (sec) : 10
operational state : Non-Querier
tcn query pending count : 0
show ip source binding
Use the show ip source binding command in EXEC mode 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 ]
Syntax Description
ip-address |
(Optional) Display IP source bindings for a specific IP address. |
mac-address |
(Optional) Display IP source bindings for a specific MAC address. |
dhcp-snooping |
(Optional) Display IP source bindings that were learned by DHCP snooping. |
static |
(Optional) Display static IP source bindings. |
interface interface-id |
(Optional) Display IP source bindings on a specific interface. |
vlan vlan-id |
(Optional) Display IP source bindings on a specific VLAN. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. |
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.
Examples
This is an example of output from the show ip source binding command:
Switch# show ip source binding
MacAddress IpAddress Lease(sec) Type VLAN Interface
-------------- --------------- ---------- ------------- ---- --------------------
00:00:00:0A:00:0B 11.0.0.1 infinite static 10 GigabitEthernet0/1
00:00:00:0A:00:0A 11.0.0.2 10000 dhcp-snooping 10 GigabitEthernet0/1
show ip verify source
Use the show ip verify source command in EXEC mode to display the IP source guard configuration on the switch or on a specific interface.
show ip verify source [ interface interface-id ]
Syntax Description
interface interface-id |
(Optional) Display IP source guard configuration on a specific interface. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(20)SE |
This command was introduced. |
Examples
This is an example of output from the show ip verify source command:
Switch# show ip verify source
Interface Filter-type Filter-mode IP-address Mac-address Vlan
--------- ----------- ----------- --------------- -------------- ---------
gi0/1 ip active 10.0.0.1 10
gi0/1 ip active deny-all 11-20
gi0/2 ip inactive-trust-port
gi0/3 ip inactive-no-snooping-vlan
gi0/4 ip-mac active 10.0.0.2 aaaa.bbbb.cccc 10
gi0/4 ip-mac active deny-all deny-all 12-20
gi0/4 ip-mac active 11.0.0.1 aaaa.bbbb.cccd 11
gi0/4 ip-mac active deny-all deny-all 12-20
gi0/5 ip-mac active 10.0.0.3 permit-all 10
gi0/5 ip-mac active deny-all permit-all 11-20
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:
Switch# show ip verify source gigabitethernet 0/6
IP source guard is not configured on the interface gi0/6.
show ipc
Use the show ipc command in EXEC mode to display Interprocess Communications Protocol (IPC) configuration, status, and statistics.
show ipc { mcast { appclass | groups | status } | nodes | ports [ open ] | queue | rpc | session { all | rx | tx } [ verbose ] | status [ cumlulative ] | zones }
Syntax Description
mcast { appclass | groups | status } |
Display the IPC multicast routing information. The keywords have these meanings:
- appclass —Display the IPC multicast application classes.
- groups —Display the IPC multicast groups.
- status —Display the IPC multicast routing status.
|
nodes |
Display participating nodes. |
ports [ open ] |
Display local IPC ports. The keyword has this meaning:
- open —(Optional) Display only the open ports.
|
queue |
Display the contents of the IPC transmission queue. |
rpc |
Display the IPC remote-procedure statistics. |
session { all | rx | tx } |
Display the IPC session statistics (available only in privileged EXEC mode). The keywords have these meanings:
- all —Display all the session statistics.
- rx —Display the sessions statistics for traffic that the switch receives
- tx —Display the sessions statistics for traffic that the switch forwards.
|
verbose |
(Optional) Display detailed statistics (available only in privileged EXEC mode). |
status [ cumlulative ] |
Display the status of the local IPC server. The keyword has this meaning:
- cumlulative — ( Optional) Display the status of the local IPC server since the switch was started or restarted.
|
zones |
Display the participating IPC zones. The switch supports a single IPC zone. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SE |
The mcast, rpc, and session keywords were added. |
Examples
This example shows how to display the IPC routing status:
Switch# show ipc mcast status
Total control Frames dropped 0 0
Total Reliable messages 0 0
Total Reliable messages acknowledged 0 0
Total Out of Band Messages 0 0
Total Out of Band messages acknowledged 0 0
Total No Mcast groups 0 0
Total Retries 0 Total Timeouts 0
Total OOB Retries 0 Total OOB Timeouts 0
Total flushes 0 Total No ports 0
This example shows how to display the participating nodes:
There is 1 node in this IPC realm.
10000 Local IPC Master 0 0
This example shows how to display the local IPC ports:
There are 8 ports defined.
Port ID Type Name (current/peak/total)
There are 8 ports defined.
10000.1 unicast IPC Master:Zone
10000.2 unicast IPC Master:Echo
10000.3 unicast IPC Master:Control
10000.4 unicast IPC Master:Init
10000.5 unicast FIB Master:DFS.process_level.msgs
10000.6 unicast FIB Master:DFS.interrupt.msgs
10000.7 unicast MDFS RP:Statistics
port_index = 0 seat_id = 0x10000 last sent = 0 last heard = 0
10000.8 unicast Slot 1 :MDFS.control.RIL
port_index = 0 seat_id = 0x10000 last sent = 0 last heard = 0
RPC packets:current/peak/total
This example shows how to display the contents of the IPC retransmission queue:
There are 0 IPC messages waiting for acknowledgement in the transmit queue.
There are 0 IPC messages waiting for a response.
There are 0 IPC messages waiting for additional fragments.
There are 0 IPC messages currently on the IPC inboundQ.
Messages currently in use : 3
Message cache size : 1000
Maximum message cache usage : 1000
0 times message cache crossed 5000 [max]
Emergency messages currently in use : 0
There are 2 messages currently reserved for reply msg.
Inbound message queue depth 0
Zone inbound message queue depth 0
This example shows how to display all the IPC session statistics:
Switch# show ipc session all
10000.7 Unicast MDFS RP:Statistics
port_index = 0 type = Unreliable last sent = 0 last heard = 0
Msgs requested = 180 Msgs returned = 180
10000.8 Unicast Slot 1 :MDFS.control.RIL
port_index = 0 type = Reliable last sent = 0 last heard = 0
Msgs requested = 0 Msgs returned = 0
10000.7 Unicast MDFS RP:Statistics
port_index = 0 seat_id = 0x10000 last sent = 0 last heard = 0
No of msgs requested = 180 Msgs returned = 180
10000.8 Unicast Slot 1 :MDFS.control.RIL
port_index = 0 seat_id = 0x10000 last sent = 0 last heard = 0
No of msgs requested = 0 Msgs returned = 0
This example shows how to display the status of the local IPC server:
Switch# show ipc status cumulative
Time last IPC stat cleared :never
This processor is the IPC master server.
Do not drop output of IPC frames for test purposes.
1000 IPC Message Headers Cached.
Total from Local Ports 13080 574
Total Protocol Control Frames 116 17
Total via Unreliable Connection-Less Service 12783 171
Total via Unreliable Sequenced Connection-Less Svc 0 0
Total via Reliable Connection-Oriented Service 17 116
Related Commands
|
|
clear ipc |
Clears the IPC multicast routing statistics. |
show ipv6 access-list
Use the show ipv6 access-list command in EXEC mode to display the contents of all current IPv6 access lists.
show ipv6 access-list [ access-list-name ]
Syntax Description
access-list-name |
(Optional) Name of access list. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SED |
This command was introduced. |
Usage Guidelines
The show ipv6 access-list command provides output similar to the show ip access-list command, except that it is IPv6-specific.
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command and reload the switch.
Note
This command is available only if and you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Examples
The following output from the show ipv6 access-list command shows IPv6 access lists named inbound and outbound:
Switch# show ipv6 access-list
permit tcp any any eq bgp (8 matches) sequence 10
permit tcp any any eq telnet (15 matches) sequence 20
permit udp any any sequence 30
Table 2-37 describes the significant fields shown in the display.
Table 2-37 show ipv6 access-list Field Descriptions
|
|
IPv6 access list inbound |
Name of the IPv6 access list, for example, inbound. |
permit |
Permits any packet that matches the specified protocol type. |
tcp |
Transmission Control Protocol. The higher-level (Layer 4) protocol type that the packet must match. |
any |
Equal to ::/0. |
eq |
An equal operand that compares the source or destination ports of TCP or UDP packets. |
bgp (matches) |
Border Gateway Protocol. The protocol type that the packet is equal to and the number of matches. |
sequence 10 |
Sequence in which an incoming packet is compared to lines in an access list. Access list lines are ordered from first priority (lowest number, for example, 10) to last priority (highest number, for example, 80). |
Related Commands
|
|
clear ipv6 access-list |
Resets the IPv6 access list match counters. |
ipv6 access-list |
Defines an IPv6 access list and puts the switch into IPv6 access-list configuration mode. |
sdm prefer |
Configures an SDM template to optimize system resources based on how the switch is being used. |
show ipv6 dhcp conflict
Use the show ipv6 dhcp conflict privileged EXEC command to display address conflicts found by a Dynamic Host Configuration Protocol for IPv6 (DHCPv6) server when addresses are offered to the client.
show ipv6 dhcp conflict
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
|
|
12.2(46)SE |
This command was introduced. |
Usage Guidelines
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 global configuration command, and reload the switch.
When you configure the DHCPv6 server to detect conflicts, it uses ping. The client uses neighbor discovery to detect clients and reports to the server through a DECLINE message. If an address conflict is detected, the address is removed from the pool, and the address is not assigned until the administrator removes the address from the conflict list.
Note
This command is available only if and you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Examples
This is an example of the output from the show ipv6 dhcp conflict command:
Switch# show ipv6 dhcp conflict
Pool 350, prefix 2001:1005::/48
show ipv6 mld snooping
Use the show ipv6 mld snooping command in EXEC mode 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 ]
Syntax Description
vlan vlan-id |
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SED |
This command was introduced. |
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.
Note
This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Examples
This is an example of output from the show ipv6 mld snooping vlan command. It shows snooping characteristics for a specific VLAN.
Switch# show ipv6 mld snooping vlan 100
Global MLD Snooping configuration:
-------------------------------------------
MLDv2 snooping (minimal) : Enabled
Listener message suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Last listener query count : 2
Last listener query interval : 1000
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
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:
-------------------------------------------
MLDv2 snooping (minimal) : Enabled
Listener message suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Last listener query count : 2
Last listener query interval : 1000
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Last listener query count : 2
Last listener query interval : 1000
MLDv1 immediate leave : Disabled
Explicit host tracking : Enabled
Multicast router learning mode : pim-dvmrp
Last listener query count : 2
Last listener query interval : 1000
Related Commands
|
|
ipv6 mld snooping |
Enables and configures MLD snooping on the switch or on a VLAN. |
sdm prefer |
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 command in EXEC mode 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 ]
Syntax Description
vlan vlan-id |
(Optional) Specify a VLAN about which to show MLD snooping multicast address information. The VLAN ID range is 1 to 1001 and 1006 to 4094. |
ipv6-multicast-address |
(Optional) Display information about the specified IPv6 multicast address. This keyword is only available when a VLAN ID is entered. |
count |
(Optional) Display the number of multicast groups on the switch or in the specified VLAN. |
dynamic |
(Optional) Display MLD snooping learned group information. |
user |
(Optional) Display MLD snooping user-configured group information. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SED |
This command was introduced. |
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.
Note
This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Examples
This is an example of output from the show snooping address command:
Switch# show ipv6 mld snooping address
Vlan Group Type Version Port List
-------------------------------------------------------------
2 FF12::3 user Fa0/2, Gi0/2, Gi0/1,Gi0/3
This is an example of output from the show snooping address count command:
Switch# show ipv6 mld snooping address count
Total number of multicast groups: 2
This is an example of output from the show snooping address user command:
Switch# show ipv6 mld snooping address user
Vlan Group Type Version Port List
-------------------------------------------------------------
2 FF12::3 user v2 Fa0/2, Gi0/2, Gi0/1,Gi0/3
Related Commands
|
|
ipv6 mld snooping vlan |
Configures IPv6 MLD snooping on a VLAN. |
sdm prefer |
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 command in EXEC mode 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 ]
Syntax Description
vlan vlan-id |
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SED |
This command was introduced. |
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.
Note
This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
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.
Switch# show ipv6 mld snooping mrouter
This is an example of output from the show ipv6 mld snooping mrouter vlan command. It shows multicast router ports for a specific VLAN.
Switch# show ipv6 mld snooping mrouter vlan 100
Related Commands
|
|
ipv6 mld snooping |
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 multicast router ports for a VLAN. |
sdm prefer |
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 command in EXEC mode 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 ]
Syntax Description
vlan vlan-id |
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094. |
detail |
(Optional) Display MLD snooping detailed querier information for the switch or for the VLAN. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SED |
This command was introduced. |
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.
Note
This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
Examples
This is an example of output from the show ipv6 mld snooping querier command:
Switch# show ipv6 mld snooping querier
Vlan IP Address MLD Version Port
-------------------------------------------------------------
2 FE80::201:C9FF:FE40:6000 v1 Gi0/1
This is an example of output from the show ipv6 mld snooping querier detail command:
Switch# show ipv6 mld snooping querier detail
Vlan IP Address MLD Version Port
-------------------------------------------------------------
2 FE80::201:C9FF:FE40:6000 v1 Gi0/1
This is an example of output from the show ipv6 mld snooping querier vlan command:
Switch# show ipv6 mld snooping querier vlan 2
IP address : FE80::201:C9FF:FE40:6000
Max response time : 1000s
show ipv6 route updated
Use the show ipv6 route updated command in EXEC mode 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 ]}]
Syntax Description
protocol |
(Optional) Displays routes for the specified routing protocol using any of these keywords:
or displays routes for the specified type of route using any of these keywords:
- connected
- local
- static
- interface interface id
|
boot-up |
Display the current contents of the IPv6 routing table. |
hh:mm |
Enter the time as a 2-digit number for a 24-hour clock. Make sure to use the colons (:). For example, enter 13:32 |
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. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(37)SE |
This command was introduced. |
Usage Guidelines
Use the show ipv6 route privileged EXEC command to display the current contents of the IPv6 routing table.
Examples
This is an example of output from the show ipv6 route updated rip command.
Switch# show ipv6 route rip updated
IPv6 Routing Table - 12 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
B - BGP, R - RIP, I1 - ISIS L1, I2 - ISIS L2
IA - ISIS interarea, IS - ISIS summary
O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
via FE80::A8BB:CCFF:FE00:8D01, GigabitEthernet0/1
Last updated 10:31:10 27 February 2007
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/2
Last updated 17:23:05 22 February 2007
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/3
Last updated 17:23:05 22 February 2007
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/4
Last updated 17:23:05 22 February 2007
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/5
Last updated 17:23:05 22 February 2007
Related Commands
|
|
show ipv6 route |
Displays the current contents of the IPv6 routing table. |
show l2protocol-tunnel
Use the show l2protocol-tunnel command in EXEC mode to display information about Layer 2 protocol tunnel ports. Displays information for interfaces with protocol tunneling enabled.
show l2protocol-tunnel [ interface interface-id ] [ summary ]
Syntax Description
interface interface-id |
(Optional) Specify the interface for which protocol tunneling information appears. Valid interfaces are physical ports and port channels; the port channel range is 1 to 48. |
summary |
(Optional) Display only Layer 2 protocol summary information. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SE |
This command was introduced. |
Usage Guidelines
After enabling Layer 2 protocol tunneling on an access or IEEE 802.1Q tunnel port by using the l2protocol-tunnel interface configuration command, you can configure some or all of these parameters:
- Protocol type to be tunneled
- Shutdown threshold
- Drop threshold
If you enter the show l2protocol-tunnel [ interface interface-id ] command, only information about the active ports on which all the parameters are configured appears.
If you enter the show l2protocol-tunnel summary command, only information about the active ports on which some or all of the parameters are configured appears.
Examples
This is an example of output from the show l2protocol-tunnel command:
Switch# show l2protocol-tunnel
COS for Encapsulated Packets: 5
Drop Threshold for Encapsulated Packets: 0
Port Protocol Shutdown Drop Encapsulation Decapsulation Drop
Threshold Threshold Counter Counter Counter
---------- -------- --------- --------- ------------- ------------- -------------
Fa0/3 --- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
lacp ---- ---- 24268 242640
Fa0/4 --- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
pagp 1000 ---- 24249 242700
lacp ---- ---- 24256 242660
Gi0/3 cdp ---- ---- 134482 1344820
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
udld 300 ---- 44899 448980
Gi0/4 cdp ---- ---- 134482 1344820
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
udld 300 ---- 44899 448980
This is an example of output from the show l2protocol-tunnel summary command:
Switch# show l2protocol-tunnel summary
COS for Encapsulated Packets: 5
Drop Threshold for Encapsulated Packets: 0
Port Protocol Shutdown Drop Status
(cdp/stp/vtp) (cdp/stp/vtp)
(pagp/lacp/udld) (pagp/lacp/udld)
------- ----------- ---------------- ---------------- ----------
Fa0/2 --- --- --- ----/----/---- ----/----/---- up
pagp lacp udld ----/----/---- ----/----/----
Fa0/3 --- --- --- ----/----/---- ----/----/---- up
pagp lacp udld 1000/----/---- ----/----/----
Fa0/4 --- --- --- ----/----/---- ----/----/---- up
pagp lacp udld 1000/ 500/---- ----/----/----
Fa0/5 cdp stp vtp ----/----/---- ----/----/---- down
---- ---- ---- ----/----/---- ----/----/----
Gi0/1 --- --- --- ----/----/---- ----/----/---- down
pagp ---- ---- ----/----/---- 1000/----/----
Gi0/2 --- --- --- ----/----/---- ----/----/---- down
pagp ---- ---- ----/----/---- 1000/----/----
show lacp
Use the show lacp command in EXEC mode to display Link Aggregation Control Protocol (LACP) channel-group information.
show lacp [ channel-group-number ] { counters | internal | neighbor | sys-id }
Syntax Description
channel-group-number |
(Optional) Number of the channel group. The range is 1 to 48. |
counters |
Display traffic information. |
internal |
Display internal information. |
neighbor |
Display neighbor information. |
sys-id |
Display the system identifier that is being used by LACP. The system identifier is made up of the LACP system priority and the switch MAC address. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(25)SE |
The channel -group-number range was changed from 1 to 12 to 1 to 48. |
Usage Guidelines
You can enter any show lacp command to display the active channel-group information. To display specific channel information, enter the show lacp command with a channel-group number.
If you do not specify a channel group, information for all channel groups appears.
You can enter the channel-group-number option to specify a channel group for all keywords except sys-id.
Examples
This is an example of output from the show lacp counters command. Table 2-38 describes the fields in the display.
Switch# show lacp counters
LACPDUs Marker Marker Response LACPDUs
Port Sent Recv Sent Recv Sent Recv Pkts Err
---------------------------------------------------------------------
Table 2-38 show lacp counters Field Descriptions
|
|
LACPDUs Sent and Recv |
The number of LACP packets sent and received by a port. |
Marker Sent and Recv |
The number of LACP marker packets sent and received by a port. |
Marker Response Sent and Recv |
The number of LACP marker response packets sent and received by a port. |
LACPDUs Pkts and Err |
The number of unknown and illegal packets received by LACP for a port. |
This is an example of output from the show lacp internal command:
Switch# show lacp 1 internal
Flags: S - Device is requesting Slow LACPDUs
F - Device is requesting Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
LACP port Admin Oper Port Port
Port Flags State Priority Key Key Number State
Gi0/1 SA bndl 32768 0x3 0x3 0x4 0x3D
Gi0/2 SA bndl 32768 0x3 0x3 0x5 0x3D
Table 2-39 describes the fields in the display:
Table 2-39 show lacp internal Field Descriptions
|
|
State |
State of the specific port. These are the allowed values:
- – —Port is in an unknown state.
- bndl —Port is attached to an aggregator and bundled with other ports.
- susp —Port is in a suspended state; it is not attached to any aggregator.
- hot-sby —Port is in a hot-standby state.
- indiv —Port is incapable of bundling with any other port.
- indep —Port is in an independent state (not bundled but able to switch data traffic. In this case, LACP is not running on the partner port).
- down —Port is down.
|
LACP Port Priority |
Port priority setting. LACP uses the port priority to put ports s in standby mode when there is a hardware limitation that prevents all compatible ports from aggregating. |
Admin Key |
Administrative key assigned to this port. LACP automatically generates an administrative key value as a hexadecimal number. The administrative key defines the ability of a port to aggregate with other ports. A port’s ability to aggregate with other ports is determined by the port physical characteristics (for example, data rate and duplex capability) and configuration restrictions that you establish. |
Oper Key |
Runtime operational key that is being used by this port. LACP automatically generates this value as a hexadecimal number. |
Port Number |
Port number. |
Port State |
State variables for the port, encoded as individual bits within a single octet with these meanings:
- bit0: LACP_Activity
- bit1: LACP_Timeout
- bit2: Aggregation
- bit3: Synchronization
- bit4: Collecting
- bit5: Distributing
- bit6: Defaulted
- bit7: Expired
Note In the list above, bit7 is the MSB and bit0 is the LSB. |
This is an example of output from the show lacp neighbor command:
Switch# show lacp neighbor
Flags: S - Device is sending Slow LACPDUs F - Device is sending Fast LACPDUs
A - Device is in Active mode P - Device is in Passive mode
Channel group 3 neighbors
Port System ID Port Number Age Flags
Gi0/1 32768,0007.eb49.5e80 0xC 19s SP
LACP Partner Partner Partner
Port Priority Oper Key Port State
Port System ID Port Number Age Flags
Gi0/2 32768,0007.eb49.5e80 0xD 15s SP
LACP Partner Partner Partner
Port Priority Oper Key Port State
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.
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 ]
Syntax Description
number |
(Optional) Number of the link-state group. |
detail |
(Optional) Specify that detailed information appears. |
Defaults
There is no default.
Command Modes
Privileged EXEC
Command History
|
|
12.2(25)SEE |
This command was introduced. |
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.
Examples
This is an example of output from the show link state group 1 command:
Switch# show link state group 1
Link State Group: 1 Status: Enabled, Down
This is an example of output from the show link state group detail command:
Switch# show link state group detail
(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled
Link State Group: 1 Status: Enabled, Down
Upstream Interfaces : Gi0/15(Dwn) Gi0/16(Dwn)
Downstream Interfaces : Gi0/11(Dis) Gi0/12(Dis) Gi0/13(Dis) Gi0/14(Dis)
Link State Group: 2 Status: Enabled, Down
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)
(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled
Related Commands
|
|
link state group |
Configures an interface as a member of a link-state group. |
link state track |
Enables a link-state group. |
show running-config |
Displays the current operating configuration. |
show location
Use the show location command in EXEC mode to display location information for an endpoint.
show location admin-tag
show location civic-location { identifier id number | interface interface-id | static }
show location elin-location { identifier id number | interface interface-id | static }
Syntax Description
admin-tag |
Display administrative tag or site information. |
civic-location |
Display civic location information. |
elin-location |
Display emergency location information (ELIN). |
identifier id |
Specify the ID for the civic location or the elin location. The id range is 1 to 4095. |
interface interface-id |
(Optional) Display location information for the specified interface or all interfaces. Valid interfaces include physical ports. |
static |
Display static configuration information. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
Use the show location command to display location information for an endpoint.
Examples
This is an example of output from the show location civic-location command that displays location information for an interface:
Switch# show location civic interface gigibitethernet0/1
Civic location information
--------------------------
Primary road name : Cisco Way
This is an example of output from the show location civic-location command that displays all the civic location information:
Switch# show location civic-location static
Civic location information
--------------------------
Primary road name : Cisco Way
--------------------------
Street number suffix : West
Landmark : Golden Gate Bridge
Primary road name : 19th Ave
--------------------------
This is an example of output from the show location elin-location command that displays the emergency location information:
Switch# show location elin-location identifier 1
Elin location information
--------------------------
This is an example of output from the show location elin static command that displays all emergency location information:
Switch# show location elin static
Elin location information
--------------------------
--------------------------
--------------------------
show logging smartlog
To display smart logging information, use the show logging smartlog command in privileged EXEC mode.
show logging smartlog [ event-ids | events | statistics { interface interface-id | summary }]
Syntax Description
event-ids |
(Optional) Displays the IDs and names of smart log events. The NetFlow collector uses the event IDs to identify each event. |
events |
(Optional) Displays descriptions of smart log events. The display shows the last 10 smart logging events. |
statistics |
(Optional) Displays smart log statistics. |
interface interface-id |
Displays smart log statistics for the specified interface. |
summary |
Displays a summary of the smart log event statistics. |
Command Default
There is no default.
Command Modes
Privileged EXEC
Command History
|
|
12.2(58)SE |
This command was introduced. |
Usage Guidelines
You can configure smart logging of packets dropped because of DHCP snooping violations, Dynamic ARP inspection violations, IP source guard denied traffic, or ACL permitted or denied traffic. The packet contents are sent to the identified Cisco IOS NetFlow collector.
The statistics counters reflect the number of packets that have been sent to the collector by smart logging.
Examples
This is an example of output from the show logging smartlog events command. The output shows the last 10 smart logging events.
Switch #show logging smartlog events
Event: DAI Extended Event:DAI_DENY_INVALID_PKT Interface: Gi1/0/5
Input Vlan: 2 Timestamp: 05:05:51 UTC Mar 2 1993
pkt-section: FFFFFFFFFFFF00000700010E0806000108000604000000000E000006000000000012DADA1CC1FFFFFFFF000102030405060708090A0B0C0D0E0F101112131415
Event: DHCPSNP Extended Event:DHCPSNP_DENY_INVALID_MSGTYPE Interface: Gi1/0/3 Input Vlan: 2 Timestamp: 05:05:51 UTC Mar 2 1993pkt-section: FFFFFFFFFFFF00000700010008004500016E000100008011BDB70A0571C2FFFFFFFF00440043015A06B3020106000000007A0000800000000000000000000000
Event: ACL Extended Event:PACL_PERMIT Interface: Gi1/0/2 Input Vlan: 3 Timestamp: 05:05:56 UTC Mar 2 1993
pkt-section: 9CAFCA7F3E4300000700011108004500002E0000000040060CBFAC140B70AC140A731875005000000000000000005000000023050000000102030405
Event: IPSG Extended Event:IPSG_DENY
Interface: Gi1/0/2 Input Vlan: 3 Timestamp: 05:06:37 UTC Mar 2 1993
pkt-section: FFFFFFFFFFFF00000700011108004500002E0000000040FFC257AC140B66FFFFFFFF000102030405060708090A0B0C0D0E0F10111213141516171819
This is an example of output from the show logging smartlog event-ids command:
Switch #show logging smartlog event-ids
EventID: 1 Description: DHCPSNP
-----------------------------------------
-----------------------------------------
1 | DHCPSNP_DENY_INVALID_MSGTYPE
2 | DHCPSNP_DENY_INVALID_PKTLEN
3 | DHCPSNP_DENY_INVALID_BIND
4 | DHCPSNP_DENY_INVALID_OPT
5 | DHCPSNP_DENY_OPT82_DISALLOW
6 | DHCPSNP_DENY_SRCMAC_MSMTCH
EventID: 2 Description: DAI
-----------------------------------------
-----------------------------------------
1 | DAI_DENY_INVALID_BIND
2 | DAI_DENY_INVALID_SRCMAC
6 | DAI_DENY_INVALID_DSTMAC
EventID: 3 Description: IPSG
-----------------------------------------
-----------------------------------------
EventID: 4 Description: ACL
-----------------------------------------
-----------------------------------------
This is an example of output from the show logging smartlog summary command:
Switch# show logging smartlog statistics summary
Total number of logged packets: 0
Total number of DHCP Snooping logged packets: 0
DHCPSNP_DENY_INVALID_MSGTYPE: 0
DHCPSNP_DENY_INVALID_PKTLEN: 0
DHCPSNP_DENY_INVALID_BINDING: 0
Total number of Dynamic ARP Inspection logged packets: 0
DAI_DENY_INVALID_SRCMAC: 0
Total number of IP Source Guard logged packets: 0
Total number of ACL logged packets: 0
This is an example of output from the show logging smartlog statistics interface command:
Switch# show logging smartlog statistics interface gigabitethernet 0/1
Total number of DHCP Snooping logged packets: 0
DHCPSNP_DENY_INVALID_MSGTYPE: 0
DHCPSNP_DENY_INVALID_PKTLEN: 0
DHCPSNP_DENY_INVALID_BIND: 0
DHCPSNP_DENY_INVALID_OPT: 0
DHCPSNP_DENY_OPT82_DISALLOW: 0
DHCPSNP_DENY_SRCMAC_MSMTCH: 0
Total number of Dynamic ARP Inspection logged packets: 0
DAI_DENY_INVALID_SRCMAC: 0
DAI_DENY_INVALID_DSTMAC: 0
Total number of IP Source Guard logged packets: 793
Total number of ACL logged packets: 10135
Related Commands
|
|
ip arp inspection smartlog |
Enables smart logging of dynamic ARP inspection dropped packets. |
ip dhcp snooping |
Enables smart logging of IP DHCP snooping dropped packets. |
ip verify source smartlog |
Enables smart logging of IP source guard dropped packets. |
logging smartlog |
Globally enables smart logging. |
show mac access-group
Use the show mac access-group command in EXEC mode to display the MAC access control lists (ACLs) configured for an interface or a switch.
show mac access-group [ interface interface-id ]
Syntax Description
interface interface-id |
(Optional) Display the MAC ACLs configured on a specific interface. Valid interfaces are physical ports and port channels; the port-channel range is 1 to 48 (available only in privileged EXEC mode). |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac-access group command. Port 2 has the MAC access list macl_e1 applied; no MAC ACLs are applied to other interfaces.
Switch# show mac access-group
Interface GigabitEthernet0/1:
Inbound access-list is not set
Interface GigabitEthernet0/2:
Inbound access-list is macl_e1
Interface GigabitEthernet0/3:
Inbound access-list is not set
Interface GigabitEthernet0/4:
Inbound access-list is not set
This is an example of output from the show mac access-group interface command:
Switch# show mac access-group interface gigabitethernet0/1
Interface GigabitEthernet0/1:
Inbound access-list is macl_e1
show mac address-table
Use the show mac address-table command in EXEC mode 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
Syntax Description
This command has no arguments or keywords
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac address-table command:
Switch# show mac address-table
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
All 0000.0000.0001 STATIC CPU
All 0000.0000.0002 STATIC CPU
All 0000.0000.0003 STATIC CPU
All 0000.0000.0009 STATIC CPU
All 0000.0000.0012 STATIC CPU
All 0180.c200.000b STATIC CPU
All 0180.c200.000c STATIC CPU
All 0180.c200.000d STATIC CPU
All 0180.c200.000e STATIC CPU
All 0180.c200.000f STATIC CPU
All 0180.c200.0010 STATIC CPU
1 0030.9441.6327 DYNAMIC Gi0/4
Total Mac Addresses for this criterion: 12
show mac address-table address
Use the show mac address-table address command in EXEC mode to display MAC address table information for the specified MAC address.
show mac address-table address mac-address [ interface interface-id ] [ vlan vlan-id ]
Syntax Description
mac-address |
Specify the 48-bit MAC address; the valid format is H.H.H. |
interface interface-id |
(Optional) Display information for a specific interface. Valid interfaces include physical ports and port channels. |
vlan vlan-id |
(Optional) Display entries for the specific VLAN only. The range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac address-table address command:
Switch# show mac address-table address 0002.4b28.c482
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
All 0002.4b28.c482 STATIC CPU
Total Mac Addresses for this criterion: 1
show mac address-table aging-time
Use the show mac address-table aging-time command in EXEC mode 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 ]
Syntax Description
vlan vlan-id |
(Optional) Display aging time information for a specific VLAN. The range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
If no VLAN number is specified, the aging time for all VLANs appears.
Examples
This is an example of output from the show mac address-table aging-time command:
Switch# show mac address-table aging-time
This is an example of output from the show mac address-table aging-time vlan 10 command:
Switch# show mac address-table aging-time vlan 10
show mac address-table count
Use the show mac address-table count command in EXEC mode to display the number of addresses present in all VLANs or the specified VLAN.
show mac address-table count [ vlan vlan-id ]
Syntax Description
vlan vlan-id |
(Optional) Display the number of addresses for a specific VLAN. The range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
If no VLAN number is specified, the address count for all VLANs appears.
Examples
This is an example of output from the show mac address-table count command:
Switch# show mac address-table count
---------------------------
Dynamic Address Count : 2
show mac address-table dynamic
Use the show mac address-table dynamic command in EXEC mode to display only dynamic MAC address table entries.
show mac address-table dynamic [ address mac-address ] [ interface interface-id ] [ vlan vlan-id ]
Syntax Description
address mac-address |
(Optional) Specify a 48-bit MAC address; the valid format is H.H.H (available in privileged EXEC mode only). |
interface interface-id |
(Optional) Specify an interface to match; valid interfaces include physical ports and port channels. |
vlan vlan-id |
(Optional) Display entries for a specific VLAN; the range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac address-table dynamic command:
Switch# show mac address-table dynamic
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0030.b635.7862 DYNAMIC Gi0/2
1 00b0.6496.2741 DYNAMIC Gi0/2
Total Mac Addresses for this criterion: 2
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 ]
Syntax Description
interface-id |
Specify an interface type; valid interfaces include physical ports and port channels. |
vlan vlan-id |
(Optional) Display entries for a specific VLAN; the range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac address-table interface command:
Switch# show mac address-table interface gigabitethernet0/2
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0030.b635.7862 DYNAMIC Gi0/2
1 00b0.6496.2741 DYNAMIC Gi0/2
Total Mac Addresses for this criterion: 2
show mac address-table learning
Use the show mac address-table learning command in EXEC mode to display the status of MAC address learning for all VLANs or the specified VLAN.
show mac address-table learning [ vlan vlan-id ]
Syntax Description
vlan vlan-id |
(Optional) Display information for a specific VLAN. The range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(46)SE1 |
This command was introduced. |
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.
Note
Examples
This is an example of output from the show mac address-table learning command showing that MAC address learning is disabled on VLAN 200:
Switch# show mac address-table learning
show mac address-table move update
Use the show mac address-table move update command in EXEC mode to display the MAC address-table move update information on the switch.
show mac address-table move update
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.2(25)SED |
This command was introduced. |
Examples
This is an example of output from the show mac address-table move update command:
Switch# show mac address-table move update
Switch-ID : 010b.4630.1780
Dst mac-address : 0180.c200.0010
Vlans/Macs supported : 1023/8320
Default/Current settings: Rcv Off/On, Xmt Off/On
Max packets per min : Rcv 40, Xmt 60
Rcv conforming packet count : 5
Rcv invalid packet count : 0
Rcv packet count this min : 0
Rcv threshold exceed count : 0
Rcv last sequence# this min : 0
Rcv last src-mac-address : 0003.fd6a.8701
Rcv last switch-ID : 0303.fd63.7600
Xmt packet count this min : 0
Xmt threshold exceed count : 0
Xmt pak buf unavail cnt : 0
Xmt last interface : None
show mac address-table notification
Use the show mac address-table notification command in EXEC mode 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 }
Syntax Description
change |
Display the MAC change notification feature parameters and the history table. |
interface |
(Optional) Display information for all interfaces. Valid interfaces include physical ports and port channels. |
interface-id |
(Optional) Display information for the specified interface. Valid interfaces include physical ports and port channels. |
mac-move |
Display status for MAC address move notifications. |
threshold |
Display status for MAC-address table threshold monitoring. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
12.2(40)SE |
The change, mac-move, and threshold keywords were added. |
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.
Examples
This is an example of output from the show mac address-table notification change command:
Switch# show mac address-table notification change
MAC Notification Feature is Enabled on the switch
Interval between Notification Traps : 60 secs
Number of MAC Addresses Added : 4
Number of MAC Addresses Removed : 4
Number of Notifications sent to NMS : 3
Maximum Number of entries configured in History Table : 100
Current History Table Length : 3
MAC Notification Traps are Enabled
History Index 0, Entry Timestamp 1032254, Despatch Timestamp 1032254
Operation: Added Vlan: 2 MAC Addr: 0000.0000.0001 Module: 0 Port: 1
History Index 1, Entry Timestamp 1038254, Despatch Timestamp 1038254
Operation: Added Vlan: 2 MAC Addr: 0000.0000.0000 Module: 0 Port: 1
Operation: Added Vlan: 2 MAC Addr: 0000.0000.0002 Module: 0 Port: 1
Operation: Added Vlan: 2 MAC Addr: 0000.0000.0003 Module: 0 Port: 1
History Index 2, Entry Timestamp 1074254, Despatch Timestamp 1074254
Operation: Deleted Vlan: 2 MAC Addr: 0000.0000.0000 Module: 0 Port: 1
Operation: Deleted Vlan: 2 MAC Addr: 0000.0000.0001 Module: 0 Port: 1
Operation: Deleted Vlan: 2 MAC Addr: 0000.0000.0002 Module: 0 Port: 1
Operation: Deleted Vlan: 2 MAC Addr: 0000.0000.0003 Module: 0 Port: 1
show mac address-table static
Use the show mac address-table static command in EXEC mode to display only static MAC address table entries.
show mac address-table static [ address mac-address ] [ interface interface-id ] [ vlan vlan-id ]
Syntax Description
address mac-address |
(Optional) Specify a 48-bit MAC address; the valid format is H.H.H (available in privileged EXEC mode only). |
interface interface-id |
(Optional) Specify an interface to match; valid interfaces include physical ports and port channels. |
vlan vlan-id |
(Optional) Display addresses for a specific VLAN. The range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac address-table static command:
Switch# show mac address-table static
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
All 0100.0ccc.cccc STATIC CPU
All 0180.c200.0000 STATIC CPU
All 0100.0ccc.cccd STATIC CPU
All 0180.c200.0001 STATIC CPU
All 0180.c200.0004 STATIC CPU
All 0180.c200.0005 STATIC CPU
4 0001.0002.0004 STATIC Drop
6 0001.0002.0007 STATIC Drop
Total Mac Addresses for this criterion: 8
show mac address-table vlan
Use the show mac address-table vlan command in EXEC mode to display the MAC address table information for the specified VLAN.
show mac address-table vlan vlan-id
Syntax Description
vlan-id |
(Optional) Display addresses for a specific VLAN. The range is 1 to 4094. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mac address-table vlan 1 command:
Switch# show mac address-table vlan 1
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
1 0100.0ccc.cccc STATIC CPU
1 0180.c200.0000 STATIC CPU
1 0100.0ccc.cccd STATIC CPU
1 0180.c200.0001 STATIC CPU
1 0180.c200.0002 STATIC CPU
1 0180.c200.0003 STATIC CPU
1 0180.c200.0005 STATIC CPU
1 0180.c200.0006 STATIC CPU
1 0180.c200.0007 STATIC CPU
Total Mac Addresses for this criterion: 9
show mls qos
Use the show mls qos command in EXEC mode to display global quality of service (QoS) configuration information.
show mls qos
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Examples
This is an example of output from the show mls qos command when QoS is enabled and DSCP transparency is enabled:
QoS ip packet dscp rewrite is enabled
Related Commands
|
|
mls qos |
Enables QoS for the entire switch. |
show mls qos aggregate-policer
Use the show mls qos aggregate-policer command in EXEC mode to display the quality of service (QoS) aggregate policer configuration.
show mls qos aggregate-policer [ aggregate-policer-name ]
Syntax Description
aggregate-policer-name |
(Optional) Display the policer configuration for the specified name. |
Command Modes
User EXEC
Privileged EXEC
Command History
|
|
12.1(19)EA1 |
This command was introduced. |
Usage Guidelines
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.
Examples
This is an example of output from the show mls qos aggregate-policer command:
Switch# show mls qos aggregate-policer policer1
aggregate-policer policer1 1000000 2000000 exceed-action drop
Not used by any policy map
show mls qos input-queue
Use the show mls qos input-queue command in EXEC mode to display quality of service (QoS) settings for the ingress queues.
show mls qos input-queue
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Privileged EXEC