The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
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]
index |
Remote Network Monitoring (RMON) collection control index. The range is 1 to 65535. |
owner name |
(Optional) Owner of the RMON collection. |
The RMON statistics collection is disabled.
Interface configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The RMON statistics collection command is based on hardware counters. If the port is a user network interface (UNI) or enhanced network interface (ENI), you must use the no shutdown interface configuration command to enable it before using the rmon collection stats command. UNIs and ENIs are disabled by default. Network node interfaces (NNIs) are enabled by default.
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.
To enable MODBUS TCP on the switch and use it as a MODBUS TCP server, use the scada modbus tcp server global configuration command. To disable MODBUS and return to the default settings, use the no form of this command.
scada modbus tcp server [connection connection-requests | port tcp-port-number]
no scada modbus tcp server [connection connection-requests | port tcp-port-number]
The switch is not configured as a MODBUS TCP server.
The TCP switch port number is 502.
The number of simultaneous connection requests is 1.
Global configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
When you use the no scada modbus tcp server command, the MODBUS server stops and all MODBUS connection and port configurations are removed.
This example shows how to enable MODBUS TCP on the switch, set the number of simultaneous connection requests that can be sent to the switch to 4, and set the TCP port to 801:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# scada modbus tcp server
WARNING: Starting Modbus TCP server is a security risk.
Please understand the security issues involved before
proceeding further. Do you still want to start the
server? [yes/no]: y
Switch(config)# scada modbus tcp server connection 4
Switch(config)# scada modbus tcp server port 801
Switch(config)# end
This example shows output from the show scada modbus tcp server command:
Switch# show scada modbus tcp server
Summary: enabled, running, process id 142
Conn Stats: listening on port 801, 4 max simultaneous connections
0 current client connections
0 total accepted connections, 0 accept connection errors
0 closed connections, 0 close connection errors
Send Stats: 0 tcp msgs sent, 0 tcp bytes sent, 0 tcp errors
0 responses sent, 0 exceptions sent, 0 send errors
Recv Stats: 0 tcp msgs received, 0 tcp bytes received, 0 tcp errors
0 requests received, 0 receive errors
|
|
---|---|
Clears the MODBUS TCP server and client statistics. |
|
show scada modbus tcp server [connections] |
Displays the server information and statistics. Use the connection keyword to display client information and statistics. |
Use the sdm prefer global configuration command to configure the template used in Switch Database Management (SDM) resource allocation. If the switch is running the metro IP access image, you can use a template to balance resources between Layer 2 and Layer 3 functionality, or you can maximize system usage to support only Layer 2 features in hardware. You can also 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 {default | dual-ipv4-and-ipv6 {default | routing | vlan} | layer-2}
no sdm prefer
Note The default and dual-ipv4-and-ipv6 keywords are visible only when the metro IP access image is installed on the switch.
The default template provides a balance to all features.
On switches that are running the metro access image, only the layer-2 template is supported.
Global configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You must reload the switch for the configuration to take effect. If you enter the show sdm prefer command before you enter the reload privileged EXEC command, the show sdm prefer command shows the template currently in use and the template that will become active after a reload.
The default templates balances the use of system resources. Do not use the default template if you do not have routing enabled on your switch. Using the balanced template prevents Layer 2 features from using the memory allocated to unicast routing in the default template.
Do not use the layer-2 template if the switch is routing packets. The layer-2 template does not support routing and forces any routing to be done through software. This overloads the CPU and severely degrades routing performance.
If you try to configure IPv6 features without first selecting a dual IPv4 and IPv6 template, a warning message appears.
The dual-stack templates provide in less allowable TCAM capacity for each resource. Do not use them if you plan to forward only IPv4 traffic.
Table 2-5 lists the approximate number of each resource supported in each of the two IPv4 templates for a switch running the metro IP access image. The values in the template are based on eight routed interfaces and approximately 1024 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-5 defines the approximate feature resources allocated by each dual template. Template estimations are based on a switch with 8 routed interfaces and approximately 1000 VLANs.
|
|
|
|
---|---|---|---|
Unicast MAC addresses |
2 K |
1.5 K |
8 K |
IPv4 IGMP groups and multicast routes |
1 K |
1 K |
1 K |
Total IPv4 unicast routes: |
3 K |
2.75 K |
0 |
• |
2 K |
1.5 K |
0 |
• |
1 K |
1.25 K |
0 |
IPv6 multicast groups |
1 K |
1 K |
1 K |
Total IPv6 unicast routes: |
3 K |
2.75 K |
0 |
• |
2 K |
1.5 K |
0 |
• |
1 K |
1.25 K |
0 |
IPv4 policy-based routing ACEs |
0 |
0.25 K |
0 |
IPv4 or MAC QoS ACEs (total) |
0.75 K |
0.75 K |
0.75 K |
IPv4 or MAC security ACEs (total) |
1 K |
0.5 K |
1K |
IPv6 policy-based routing ACEs1 |
0 |
0.25 K |
0 |
IPv6 QoS ACEs |
0.5 K |
0.5 K |
0.5 K |
IPv6 security ACEs |
0.5 K |
0.5 K |
0.5 K |
1 IPv6 policy-based routing is not supported. |
This example shows how to configure the layer-2 template on a switch:
Switch(config)# sdm prefer layer-2
Switch(config)# exit
Switch# reload
This is an example of an output display when you have changed the template to the layer-2 template and have not reloaded the switch:
Switch# show sdm prefer
The current template is "default" template.
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 5K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 9K
number of directly-connected IPv4 hosts: 5K
number of indirect IPv4 routes: 4K
number of IPv4 policy based routing aces: 0.5K
number of IPv4/MAC qos aces: 0.5K
number of IPv4/MAC security aces: 1K
On next reload, template will be "layer-2" template.
You can verify your settings by entering the show sdm prefer privileged EXEC command.
|
|
---|---|
Displays the current SDM template in use or displays the templates that can be used, with the approximate resource allocation per feature. |
Use the service instance interface configuration command to configure an Ethernet service instance on the interface and to enter Ethernet service configuration mode. Use the no form of this command to delete the service instance.
service instance id ethernet [evc-id]
no service instance id
This command is available only if your switch is running the metro IP access or metro access image.
No Ethernet service instances are defined.
Interface configuration
|
|
12.2(53)EX |
This command was introduced. |
After you enter the service instance id ethernet command, the switch enters Ethernet service configuration mode, and these configuration commands are available:
•default: sets the service instance to its default state.
•ethernet lmi ce-vlan map: configures Ethernet Local Management Interface (LMI) parameters. See the ethernet lmi ce-vlan map command.
•exit: exits EVC configuration mode and returns to global configuration mode.
•no: negates a command or returns a command to its default setting.
This example shows how to define an Ethernet service instance and to enter Ethernet service configuration mode for EVC test:
Switch(config-if)# service instance 333 ethernet test
Switch(config-if-srv)#
|
|
Displays information about configured Ethernet service instances. |
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 press the break key on the console terminal to interrupt the boot 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 boot process is allowed only if the user agrees to set the system back to the default configuration.
service password-recovery
no service password-recovery
This command has no arguments or keywords.
The password-recovery mechanism is enabled.
Global configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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. This provides configuration file security by ensuring that only authenticated and authorized users have access to the configuration file and prevents users from accessing the configuration file by using the password recovery process.
The password recovery procedure requires using a break key. After the switch performs power-on self test (POST), the switch begins the autoboot process. The boot loader prompts the user for a break key character during the boot-up sequence, as shown in this example:
***** The system will autoboot in 5 seconds *****
Send a break key to prevent autobooting.
You must enter the break key on the console terminal within 5 seconds of receiving the message that the system will autoboot. A user with physical access to the switch presses the break key on the console terminal within 5 seconds of receiving the message that flash memory is initializing. The System LED flashes green until the break key is accepted. After the break key is accepted, the System LED turns off until after the switch boots.
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)?
If the user chooses not to reset the system to the default configuration, the normal boot process continues as if the break key 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.
Note 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 configuration 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 configuration file on the switch.
You can enter the show version privileged EXEC command to determine if password recovery is enabled or disabled.
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
Switch(config)# exit
|
|
---|---|
Displays version information for the hardware and firmware. |
Use the service-policy interface configuration command to apply a policy map defined by the policy-map command to the incoming or outgoing traffic of a physical port. Use the no form of this command to remove the policy map and port association.
service-policy {input | output} policy-map-name
no service-policy {input | output} policy-map-name
input |
Apply the policy map to the input of a physical port. |
output |
Apply the policy map to the output of a physical port. |
policy-map-name |
The specified policy map to be applied. |
Note Though visible in the command-line help strings, the history keyword is not supported, and you should ignore the statistics that it gathers.
No policy maps are attached to the port.
Interface configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Only one input policy map and one output policy map can be attached to an interface.
Beginning with Cisco IOS Release 12.2(35)SE, you can attach an output policy map to each interface on the switch. However, the switch supports a limit of three unique queue-limit configurations across all output policy maps at any time. Multiple policy maps can share the same queue-limit configuration.If you try to attach an output policy map with a fourth unique queue-limit configuration, you see this error message:
QoS: Configuration failed. Maximum number of allowable unique queue-limit configurations exceeded.
You can attach input or output policy maps to a Fast Ethernet or Gigabit Ethernet port. You cannot attach policy maps to switch virtual interfaces (SVIs) and EtherChannel interfaces.
This example shows how to apply plcmap1 as an output policy map:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# service-policy output plcmap1
This example shows how to remove plcmap2 from the port:
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# no service-policy output plcmap2
You can verify your settings by entering the show running-config privileged EXEC command.
|
|
---|---|
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
|
Displays quality of service (QoS) policy maps. |
|
show policy-map interface [interface-id] |
Displays policy maps configured on the specified interface or on all interfaces. |
show running-config |
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_reference_list.html |
Use the service-policy policy-map class configuration command to configure a quality of service (Q0S) service policy for an input or output policy map or a per-port, per-VLAN policy map. Use the no form of this command to disable a service policy as a QoS policy within a policy map.
service-policy policy-map-name
no service-policy policy-map-name
policy-map-name |
Name of the service policy map (created by using the policy-map global configuration command) to be used in a QoS hierarchical service policy. |
No service policies are defined.
Policy-map class configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can use the service-policy input command to assign a child QoS policy to a parent input policy defined with a classification based on VLAN IDs. This allows you to create a hierarchical policy for per-port, per-VLAN QoS.
You attach a service policy created in policy-map class configuration to a parent output policy map. This creates hierarchical policy mapping. Use the service-policy policy-map-name policy-map class configuration command to enter a second-level (child) policy map.
For an input policy map, when you configure classes with classification based on VLAN IDs by using the match vlan class-map configuration command, you can use service-policy policy-map class configuration command to associate a child QoS policy with that class. This provides the ability to apply independent QoS policies based on the VLAN IDs of the incoming traffic on the port. The per-port, per-vlan ingress QoS feature is supported only using a 2-level hierarchical input policymap, where the parent level defines the VLAN-based classification and the child level defines the QoS policy to be applied to the corresponding VLAN or VLANs. You can configure the child policy with all actions that are available for input policy maps, specifically policing and marking.
For an output policy map, when shape average is also configured on the class class-default, you can configure hierarchical policy maps by attaching a single service-policy policy-map class command to the class class-default. This policy map specifies the service policy for the port-shaped traffic on the port and is the parent policy map. You can configure the child policy with class-based queuing actions by using the queue-limit policy map class command and with scheduling actions (by using the bandwidth, shape average, or priority command).
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.
This example shows how to define the service policy and to attach it to a parent policy map to set the maximum bandwidth (shape) for an output queue at 90000000 bits per second:
Switch(config)# policy-map out-policy-parent
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# shape average 90000000
Switch(config-pmap-c)# service-policy out-policy
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
In this example, the class maps in the child-level policy map specify matching criteria for voice and video traffic, and the child policy map sets the action for input policing each type of traffic. The parent-level policy map specifies the VLANs to which the child policy maps are applied on the specified port.
Switch(config)# class-map match-any dscp-23 video
Switch(config-cmap)# match ip dscp 23
Switch(config-cmap)# exit
Switch(config)# class-map match-any dscp-63 voice
Switch(config-cmap)# match ip dscp-63
Switch(config-cmap)# exit
Switch(config)# class-map match-any customer-1-vlan
Switch(config-cmap)# match vlan 100
Switch(config-cmap)# match vlan 200
Switch(config-cmap)# match vlan 300
Switch(config-cmap)# exit
Note You can also enter the match criteria as match vlan 100 200 300 with the same result.
Switch(config)# policy-map child policy-1
Switch(config-pmap)# class dscp-63 voice
Switch(config-pmap-c)# police cir 10000000 bc 50000
Switch(config-pmap-c)# conform-action set-cos-transmit 5
Switch(config-pmap-c)# exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# class dscp-23 video
Switch(config-pmap-c)# set cos 4
Switch(config-pmap-c)# set ip precedence 4
Switch(config-pmap-c)# exit
Switch(config)# policy-map parent-customer-1
Switch(config-pmap)# class customer-1-vlan
Switch(config-pmap-c)# service-policy ingress-policy-1
Switch(config-pmap-c)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Use the set cos policy-map class configuration command to set a Layer 2 class of service (CoS) value in the packet. Use the no form of this command to remove traffic marking.
set cos {cos_value | from-field [table table-map-name]}
no set cos {cos_value | from-field [table table-map-name]}
No traffic marking is defined.
Policy-map class configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can configure set cos with all other marking actions, specifically set dscp, set precedence, and set qos-group, for the same class. Support was also added for the ability to configure more than one marking action with enhanced packet marking by using table maps for the same class.
Use the set cos command if you want to mark a packet that is being sent to a switch. Switches can leverage Layer 2 header information including a CoS value marking.
You can use the match cos class-map configuration command and the set cos policy-map class configuration command together to allow switches to interoperate and provide quality of service (QoS) based on the CoS markings. You can also configure Layer 2 to Layer 3 mapping by matching on the CoS value because switches can already match and set CoS values.
If you are using this command to perform enhanced packet marking, you can use the from-field packet marking option for mapping and setting the CoS value. The supported from-field marking categories are: CoS, DSCP, and IP precedence.
If you specify a from-field category, but do not specify the table keyword and table-map-name, the default action is to copy the value associated with the from-field category as the CoS value. For example, if you enter the set cos precedence command, the precedence value is copied and used as the CoS value. If you enter the set cos dscp command, the DSCP value is copied and used as the CoS value.
This example shows how to set all FTP traffic to cos 3:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set cos 3
Switch(config-pmap-c)# exit
This example shows how to assign a DSCP to CoS table map to a class:
Switch(config)# policy-map inpolicy
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# set cos dscp table dscp-cos-tablemap
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Use the set [ip] dscp policy-map class configuration command to mark IPv4 traffic by setting a Differentiated Services Code Point (DSCP) value in the type of service (ToS) byte of the packet. Use the no form of this command to remove traffic marking.
set [ip] dscp {dscp_value |from-field [table table-map-name]}
no set [ip] dscp {dscp_value | from-field [table table-map-name]}
Note Entering ip dscp is the same as entering dscp.
No traffic marking is defined.
Policy-map class configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can configure set dscp with other marking actions, specifically set cos and set qos-group, for the same class. Support was also added for the ability to configure more than one marking action with enhanced packet marking by using table maps for the same class.
You cannot use the set dscp command with the set precedence command to mark the same packet. DSCP values and IP precedence values are mutually exclusive. A packet can have one value of the other, but not both.
After DSCP bits are set, other quality of service (QoS) features can then operate on the bit settings.
The network gives priority (or some type of expedited handling) to marked traffic. Typically, you set the DSCP value at the edge of the network (or administrative domain) and data is then queued according to the precedence. Class-based weighted fair queuing (CBWFQ) can speed up handling for high-precedence traffic at congestion points. Weighted Tail Drop (WTD) ensures that high-precedence traffic has lower loss rates than other traffic during times of congestion.
Instead of using numeric values, you can also specify the dscp-value by using the reserved keywords EF, AF11, and AF12.
If you are using this command to perform enhanced packet marking, you can use the from-field packet marking option for mapping and setting the DSCP value. The supported from-field marking categories are: CoS, DSCP, and IP precedence.
If you specify a from-field category, but do not specify the table keyword and table-map-name, the default action is to copy the value associated with the from-field category as the DSCP value. For example, if you enter the set dscp cos command, the CoS value is copied and used as the DSCP value.
This example shows how to set all FTP traffic to DSCP 10:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set dscp 10
Switch(config-pmap-c)# exit
This example shows how to assign a CoS to DSCP table map to a class:
Switch(config)# policy-map inpolicy
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# set dscp cos table cos-dscp-tablemap
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Use the set [ip] precedence policy-map class configuration command to mark IPv4 traffic by setting an IP-precedence value in the packet. Use the no form of this command to remove traffic marking.
set [ip] precedence {precedence_value | from-field [table table-map-name]}
no set [ip] precedence {precedence_value | from-field [table table-map-name]}
Note Entering ip precedence is the same as entering precedence.
No traffic marking is defined.
Policy-map class configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can configure set precedence with other marking actions, specifically set cos and set qos-group, for the same class. Support was also added for the ability to configure more than one marking action with enhanced packet marking by using table maps for the same class.
You cannot use the set precedence command with the set dscp command to mark the same packet. DSCP values and IP precedence values are mutually exclusive. A packet can have one value of the other, but not both.
After precedence bits are set, other quality of service (QoS) features can then operate on the bit settings.
The network gives priority (or some type of expedited handling) to marked traffic. Typically, you set the precedence value at the edge of the network (or administrative domain) and data is then queued according to the precedence. Class-based weighted fair queuing (CBWFQ) can speed up handling for high-precedence traffic at congestion points. Weighted Tail Drop (WTD) ensures that high-precedence traffic has lower loss rates than other traffic during times of congestion.
Instead of using numeric values, you can also specify the dscp-value by using the reserved keywords EF, AF11, and AF12.
If you are using this command to perform enhanced packet marking, you can use the from-field packet marking option for mapping and setting the precedence value. The supported from-field marking categories are: CoS, DSCP, and IP precedence.
If you specify a from-field category, but do not specify the table keyword and table-map-name, the default action is to copy the value associated with the from-field category as the precedence value. For example, if you enter the set precedence cos command, the CoS value is copied and used as the precedence value.
This example shows how to give all FTP traffic an IP precedence value of 5:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set precedence 5
Switch(config-pmap-c)# exit
This example shows how to assign a CoS to precedence table map to a class:
Switch(config)# policy-map inpolicy
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# set precedence cos table cos-prec-tablemap
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Use the set qos-group policy-map class configuration command to set a a quality of service (QoS) group identifier that can be used later to classify packets. Use the no form of this command to remove the group identifier.
set qos-group value
no set qos-group value
value |
Set the QoS group value to use to classify traffic. The range is from 0 to 99. |
No traffic marking is defined.
Policy-map class configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can configure set qos-group with all other marking actions, specifically set cos, set dscp, and set precedence, for the same class. Support was also added for the ability to configure more than one marking action with enhanced packet marking by using table maps for the same class.
Use this command to associate a QoS group value with a traffic flow as it enters the switch, which can then be used in an output policy map to identify the flow.
A maximum of 100 QoS groups (0 through 99) is supported on the switch.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.
This example shows how to set all FTP traffic to QoS group 5:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set qos-group 5
Switch(config-pmap-c)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Use the setup privileged EXEC command to configure the switch with its initial configuration.
setup
This command has no arguments or keywords.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
When you use the setup command, make sure that you have this information:
•IP address and network mask
•Password strategy for your environment
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.
This is an example of output from the setup command:
Switch# setup
--- 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
some boot images.
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
<output truncated>
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
The following configuration command script was created:
hostname host-name
enable secret 5 $1$LiBw$0Xc1wyT.PXPkuhFwqyhVi0
enable password enable-password
line vty 0 15
password terminal-password
snmp-server community public
!
no ip routing
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
end
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]:
|
|
---|---|
show running-config |
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_reference_list.html |
Displays version information for the hardware and firmware. |
Use the shape average policy-map class configuration command to configure class-based or port shaping by specifying the average traffic shaping rate. Use the command with the class class-default to set port shaping. Use the no form of this command to remove traffic shaping.
shape average target bps
no shape average target bps
target bps |
Target average bit rate in bits per second (bps). The range is from 64000 to 1000000000 for class-based shaping and 4000000 to 1000000000 for port shaping. |
No traffic shaping is defined.
Policy-map class configuration
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You use the shape average policy-map class command to control output traffic. Shaping is not supported in input policy maps.
Traffic shaping limits the rate of transmission of data. Configuring traffic shaping for a user-defined class or class-default for class-based shaping sets the peak information rate (PIR) for that class. Configuring traffic shaping for the class class-default when it is the only class in the policy map that is attached to an interface sets the PIR for the interface (port shaping).
You cannot configure shape average in a class that includes priority queueing (configured with the priority policy-map class configuration command).
The shape average command uses a default queue limit for the class. You can change the queue limit by using the queue-limit policy-map class command, overriding the default that is set by the shape average command.
You cannot use the bandwidth policy-map class configuration command to configure class-based weighted fair queuing (CBWFQ) and the shape average command to configure traffic shaping for the same class.
You can configure hierarchical policy maps by attaching the service-policy policy-map class command to the class class-default only when shape average is also configured on the class class-default.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode, use the end command.
This example shows how to configure traffic shaping for outgoing traffic on a Fast Ethernet port so that outclass1, outclass2, and outclass3 get a maximum of 50, 20, and 10 Mb/s of the buffer size. The class class-default gets the remaining bandwidth.
Switch(config)# policy-map out-policy
Switch(config-pmap)# class classout1
Switch(config-pmap-c)# shape average 50000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class classout2
Switch(config-pmap-c)# shape average 20000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# class classout3
Switch(config-pmap-c)# shape average 10000000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastethernet 0/1
Switch(config-if)# service-policy out out-policy
This example shows how to configure port shaping by configuring a hierarchical policy map that shapes a port to 90 Mb/s, allocated according to the out-policy policy map configured in the previous example.
Switch(config)# policy-map out-policy-parent
Switch(config-pmap)# class class-default
Switch(config-pmap-c)# shape average 90000000
Switch(config-pmap-c)# service-policy out-policy
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
|
|
---|---|
Defines a traffic classification match criteria for the specified class-map name. |
|
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
|
Displays QoS policy maps. |
|
show policy-map interface [interface-id] |
Displays policy maps configured on the specified interface or on all interfaces. |
Use the show access-lists privileged EXEC command to display access control lists (ACLs) configured on the switch.
show access-lists [name | number | hardware counters | ipc] [ | {begin | exclude | include} expression]
Note Though visible in the command-line help strings, the rate-limit keywords are not supported.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The switch supports only IP standard and extended access lists. Therefore, the allowed numbers are only 1 to 199 and 1300 to 2699.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show access-lists command:
Switch# show access-lists
Standard IP access list 1
10 permit 1.1.1.1
20 permit 2.2.2.2
30 permit any
40 permit 0.255.255.255, wildcard bits 12.0.0.0
Standard IP access list videowizard_1-1-1-1
10 permit 1.1.1.1
Standard IP access list videowizard_10-10-10-10
10 permit 10.10.10.10
Extended IP access list 121
10 permit ahp host 10.10.10.10 host 20.20.10.10 precedence routine
This is an example of output from the show access-lists hardware counters command:
Switch# show access-lists hardware counters
L2 ACL INPUT Statistics
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
L3 ACL INPUT Statistics
Drop: All frame count: 0
Drop: 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
L2 ACL OUTPUT Statistics
Drop: All frame count: 0
Drop: 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
L3 ACL OUTPUT Statistics
Drop: All frame count: 0
Drop: 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
Use the show alarm description port user EXEC command to display the alarm numbers with the text description.
show alarm description port [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show alarm description port command. It shows the alarmIDs and their respective alarm descriptions.
Switch> show alarm description port
1 Link Fault
2 Port Not Forwarding
3 Port Not Operating
4 FCS Error Rate exceeds threshold
Use the show alarm profile user EXEC command to display all alarm profiles configured in the system or the specified profile and the interfaces to which each profile is attached.
show alarm profile [name] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you do not enter a profile name, the display includes the profile information for all existing alarm profiles. This command does not display the default configuration settings.
The defaultPort profile is applied by default to all interfaces. This profile enables only the Port Not Operating (3) alarm. You can use the alarm profile defaultPort global configuration command and modify this profile to enable other alarms.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
These are examples of output from the show alarm profile command.
This output displays all ports that are attached to the configured profiles.
Switch> show alarm profile GigE-UplinkPorts
Interface Gi1/2
Alarms 1,2,3,4
Syslog 1,2,3,4
Notifies 1,2,3,4
Relay-major 4
Relay-minor 1,2
This output displays all the configured profiles:
Switch> show alarm profile
Alarm Profile my_gig_port:
Interface Gi1/2
Alarms 1,2,3,4
Syslog 1,2,3,4
Notifies 1,2,3,4
Relay-major 4
Relay-minor 1,2
Alarm Profile my_fast_port:
Interface Fa1/1
Alarms 1,2,3,4
Syslog 1,2,3,4
Notifies 1,2,3,4
Relay-major 4
Relay-minor 1,2
|
|
---|---|
Creates an alarm profile containing one or more alarm IDs and alarm options. |
|
Attaches an alarm profile to an interface. |
Use the show alarm settings user EXEC command to display all environmental alarm settings on the switch.
show alarm settings [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show alarm settings command. It shows all the switch alarm settings that are on the switch:
Switch> show alarm settings
Power Supply
Alarm Disabled
Relay Disabled
Notifies Disabled
Syslog Disabled
Temperature-Primary
Alarm Enabled
Thresholds MAX: 95C MIN: -20C
Relay MAJ
Notifies Enabled
Syslog Enabled
Temperature-Secondary
Alarm Disabled
Threshold
Relay
Notifies Disabled
Syslog Disabled
|
|
---|---|
Sets power supply alarm options. |
|
Sets temperature alarm options. |
Use the show archive status privileged EXEC command to display the status of a new image being downloaded to a switch with the HTTP or the TFTP protocol.
show archive status [ |{begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you use the archive download-sw privileged EXEC command to download an image to a TFTP server, the output of the show archive status command shows the status of the download.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
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
|
|
---|---|
Downloads a new image from a TFTP server to the switch. |
Use the show arp access-list user EXEC command to display detailed information about Address Resolution Protocol (ARP) access control (lists).
show arp access-list [acl-name] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show arp access-list command:
Switch> show arp access-list
ARP access list rose
permit ip 10.101.1.1 0.0.0.255 mac any
permit ip 20.3.1.0 0.0.0.255 mac any
Use the show authentication command in user EXEC or privileged EXEC mode to display information about authentication manager events on the switch.
show authentication {interface interface-id | registrations | sessions [session-id session-id] [handle handle] [interface interface-id] [mac mac] [method method]}
This command has no default settings.
Privileged EXEC and User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Table 2-6 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-7 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.
This is an example the show authentication registrations command:
Switch# show authentication registrations
Auth Methods registered with the Auth Manager:
Handle Priority Name
3 0 dot1x
2 1 mab
1 2 webauth
The is an example of the show authentication interface interface-id command:
Switch# show authentication interface gigabitethernet1/23
Client list:
MAC Address Domain Status Handle Interface
000e.84af.59bd DATA Authz Success 0xE0000000 GigabitEthernet1/0/23
Available methods list:
Handle Priority Name
3 0 dot1x
Runnable methods list:
Handle Priority Name
3 0 dot1x
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 gi 3/46
Interface: GigabitEthernet3/46
MAC Address: Unknown
IP Address: Unknown
Status: Authz Success
Domain: DATA
Oper host mode: multi-host
Oper control dir: both
Authorized By: Guest Vlan
Vlan Policy: 4094
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 09081404000000080057C274
Acct Session ID: 0x0000000A
Handle: 0xCC000008
Runnable methods list:
Method State
dot1x Failed over
This is an example of the show authentication sessions command for a specified MAC address:
Switch# show authentication sessions mac 000e.84af.59bd
Interface: GigabitEthernet1/23
MAC Address: 000e.84af.59bd
Status: Authz Success
Domain: DATA
Oper host mode: single-host
Authorized By: Authentication Server
Vlan Policy: 10
Handle: 0xE0000000
Runnable methods list:
Method State
dot1x Authc Success
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
Use the show boot privileged EXEC command to display the settings of the boot environment variables.
show boot [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show boot command. Switch# show boot
5d05h: %SYS-5-CONFIG_I: Configured from console by console
BOOT path-list :
Config file : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break : no
Manual Boot : yes
HELPER path-list :
Auto upgrade : yes
Table 2-8 describes each field in the display.
Use the show cable-diagnostics tdr privileged EXEC command to display the Time Domain Reflector (TDR) results.
show cable-diagnostics tdr interface interface-id [ | {begin | exclude | include} expression]
Note TDR is supported only on the copper Ethernet 10/100 ports on the Cisco CGS 2520 switch.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
TDR is supported only on copper Ethernet 10/100 ports on the Cisco CGS 2520 switch. It is not supported on small form-factor pluggable (SFP)-module ports. For more information about TDR, see the software configuration guide for this release.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show cable-diagnostics tdr interface interface-id command on a Cisco CGS 2520 switch:
Switch# show cable-diagnostics tdr interface fastethernet0/1
TDR test last run on: March 01 18:14:44
Interface Speed Local pair Pair length Remote pair Pair status
--------- ----- ---------- ------------------ ----------- --------------------
Fa0/1 100M Pair A 4 +/- 5 meters Pair A Normal
Pair B 4 +/- 5 meters Pair B Normal
Pair C N/A Pair C N/A
Pair D N/A Pair D N/A
Table 2-9 lists the descriptions of the fields in the show cable-diagnostics tdr command output.
This is an example of output from the show interface interface-id command when TDR is running:
Switch# show interface fastethernet0/1
fastethernet0/1 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 fastethernet0/1
% TDR test was never issued on fa0/1
If an interface does not support TDR, this message appears:
% TDR test is not supported on switch 1
|
|
---|---|
Enables and runs TDR on an interface. |
Use the show class-map user EXEC command to display quality of service (QoS) class maps, which define the match criteria to classify traffic.
show class-map [class-map-name] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show class-map command:
Switch> show class-map
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)
Match any
Class Map match-all dscp5 (id 3)
Match ip dscp 5
|
|
---|---|
Creates a class map to be used for matching packets to the class whose name you specify. |
|
Defines the match criteria to classify traffic. |
Use the show controllers cpu-interface privileged EXEC command to display the state of the CPU network interface ASIC and the send and receive statistics for packets reaching the CPU.
show controllers cpu-interface [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
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
----------------- ---------- ---------- ---------- ----------
rpc 4523063 0 0 0
stp 1545035 0 0 0
ipc 1903047 0 0 0
routing protocol 96145 0 0 0
L2 protocol 79596 0 0 0
remote console 0 0 0 0
sw forwarding 5756 0 0 0
host 225646 0 0 0
broadcast 46472 0 0 0
cbt-to-spt 0 0 0 0
igmp snooping 68411 0 0 0
icmp 0 0 0 0
logging 0 0 0 0
rpf-fail 0 0 0 0
queue14 0 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
<output truncated>
Supervisor ASIC Mic Registers
------------------------------
MicDirectPollInfo 80000800
MicIndicationsReceived 00000000
MicInterruptsReceived 00000000
MicPcsInfo 0001001F
MicPlbMasterConfiguration 00000000
MicRxFifosAvailable 00000000
MicRxFifosReady 0000BFFF
MicTimeOutPeriod: FrameTOPeriod: 00000EA6 DirectTOPeriod: 00004000
<output truncated>
MicTransmitFifoInfo:
Fifo0: StartPtrs: 038C2800 ReadPtr: 038C2C38
WritePtrs: 038C2C38 Fifo_Flag: 8A800800
Weights: 001E001E
Fifo1: StartPtr: 03A9BC00 ReadPtr: 03A9BC60
WritePtrs: 03A9BC60 Fifo_Flag: 89800400
writeHeaderPtr: 03A9BC60
Fifo2: StartPtr: 038C8800 ReadPtr: 038C88E0
WritePtrs: 038C88E0 Fifo_Flag: 88800200
writeHeaderPtr: 038C88E0
Fifo3: StartPtr: 03C30400 ReadPtr: 03C30638
WritePtrs: 03C30638 Fifo_Flag: 89800400
writeHeaderPtr: 03C30638
Fifo4: StartPtr: 03AD5000 ReadPtr: 03AD50A0
WritePtrs: 03AD50A0 Fifo_Flag: 89800400
writeHeaderPtr: 03AD50A0
Fifo5: StartPtr: 03A7A600 ReadPtr: 03A7A600
WritePtrs: 03A7A600 Fifo_Flag: 88800200
writeHeaderPtr: 03A7A600
Fifo6: StartPtr: 03BF8400 ReadPtr: 03BF87F0
WritePtrs: 03BF87F0 Fifo_Flag: 89800400
<output truncated>
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}] [ | {begin | exclude | include} expression]
Privileged EXEC (only supported with the interface-id keywords in user EXEC mode)
|
|
---|---|
12.2(53)EX |
This command was introduced. |
This display without keywords provides traffic statistics, basically the RMON statistics for all interfaces or for the specified interface.
When you enter the phy or port-asic keywords, the displayed information is useful primarily for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show controllers ethernet-controller command for an interface. Table 2-10 describes the Transmit fields, and Table 2-11 describes the Receive fields.
Switch# show controllers ethernet-controller gigabitethernet0/1
Transmit GigabitEthernet0/1 Receive
0 Bytes 0 Bytes
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 6 collision frames
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 Excessive collisions
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 127 byte frames
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
0 Too large frames
0 Good (1 coll) frames
|
|
---|---|
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 CFI1 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. |
1 CFI = Canonical Format Indicator |
|
|
---|---|
Bytes |
The total amount of memory (in bytes) used by frames received on an interface, including the FCS1 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 MTU2 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. |
1 FCS = frame check sequence 2 MTU = maximum transmission unit |
This is an example of output from the show controllers ethernet-controller phy command for a specific interface. Note that the last line of the display is the setting for Auto-MDIX for the 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
========================================================================
PortASIC 0 Registers
------------------------------------------------------------------------
DeviceType : 000101BC
Reset : 00000000
PmadMicConfig : 00000001
PmadMicDiag : 00000003
SupervisorReceiveFifoSramInfo : 000007D0 000007D0 40000000
SupervisorTransmitFifoSramInfo : 000001D0 000001D0 40000000
GlobalStatus : 00000800
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
<output truncated>
This is an example of output from the show controllers ethernet-controller port-asic statistics command:
Switch# show controllers ethernet-controller port-asic statistics
===========================================================================
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
===========================================================================
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
<output truncated>
Use the show controllers power inline user EXEC command to display the values in the registers of the specified Power over Ethernet (PoE) controller.
show controllers power inline [instance] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Though visible on all switches, this command is valid only for PoE switches. It provides no information for switches that do not support PoE.
The output provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show controllers power inline command on a 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 : 55 55 51 51 00 00
Current Event : 11 11 10 10 00 00
Timers : 00 00 00 00 00 0E 00 11 00 00 00 00
Error State : 00 00 00 00 00 00
Error Code : 00 00 00 00 00 00 00 00 00 00 00 00
Power Status : Y Y Y Y Y N Y N N N N N
Auto Config : Y Y Y Y Y Y Y Y N N N N
Disconnect : N N N N N N N N N N N N
Detection Status : 03 33 30 30 00 00
Current Class : 03 33 30 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
Use the show controllers tcam privileged EXEC command to display the state of the registers for all ternary content addressable memory (TCAM) in the system and for all TCAM interface ASICs that are CAM controllers.
show controllers tcam [asic [number]] [detail] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
This display provides information that might be useful for Cisco technical support representatives troubleshooting the switch.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show controllers tcam command:
Switch# show controllers tcam
------------------------------------------------------------------------
TCAM-0 Registers
------------------------------------------------------------------------
REV: 00B30103
SIZE: 00080040
ID: 00000000
CCR: 00000000_F0000020
RPID0: 00000000_00000000
RPID1: 00000000_00000000
RPID2: 00000000_00000000
RPID3: 00000000_00000000
HRR0: 00000000_E000CAFC
HRR1: 00000000_00000000
HRR2: 00000000_00000000
HRR3: 00000000_00000000
HRR4: 00000000_00000000
HRR5: 00000000_00000000
HRR6: 00000000_00000000
HRR7: 00000000_00000000
<output truncated>
GMR31: FF_FFFFFFFF_FFFFFFFF
GMR32: FF_FFFFFFFF_FFFFFFFF
GMR33: FF_FFFFFFFF_FFFFFFFF
=============================================================================
TCAM related PortASIC 1 registers
=============================================================================
LookupType: 89A1C67D_24E35F00
LastCamIndex: 0000FFE0
LocalNoMatch: 000069E0
ForwardingRamBaseAddress:
00022A00 0002FE00 00040600 0002FE00 0000D400
00000000 003FBA00 00009000 00009000 00040600
00000000 00012800 00012900
Use the show controllers utilization user EXEC command to display bandwidth utilization on the switch or specific ports.
show controllers [interface-id] utilization [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show controllers utilization command.
Switch> show controllers utilization
Port Receive Utilization Transmit Utilization
Fa0/1 0 0
Fa0/2 0 0
Fa0/3 0 0
Fa0/4 0 0
Fa0/5 0 0
Fa0/6 0 0
Fa0/7 0 0
<output truncated>
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
|
|
---|---|
Displays the interface internal registers. |
Use the show cpu traffic qos command in user EXEC mode to display the QoS marking values for CPU-generated traffic.
show cpu traffic qos [ | begin | exclude | include expression]
Displays output the QoS marking values for all CPU-generated traffic.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
The following is sample output from the show cpu traffic qos command:
Switch> show cpu traffic qos
QOS - CPU Generated Traffic
---------------------------
Set parameter-type To parameter-value/From
parameter-type based on table-map
---------------------------------------------------------
Cos cos
precedence table-map map1
DSCP Default
Precedence dscp
Qos Group 5
Use the show diagnostic user EXEC command to display the online diagnostic test results and the supported test suites.
show diagnostic content [ | {begin | exclude | include} expression]
show diagnostic post [ |{begin | exclude | include} expression]
show diagnostic result [test {name | test-id | test-id-range | all}] [detail] [ | {begin | exclude | include} expression]
show diagnostic schedule [ | {begin | exclude | include} expression]
show diagnostic status [ | {begin | exclude | include} expression]
show diagnostic switch [detail] [ | {begin | exclude | include} expression]
This command has no default setting.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The show diagnostic post command output is the same as the show post command output.
The show diagnostic result [detail] command output is the same as the show diagnostic switch [detail] command output.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This example shows how to display the diagnostic test IDs and attributes.
Switch> show diagnostic content
:
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
Test Interval Thres
ID Test Name Attributes day hh:mm:ss.ms hold
==== ================================== ============ =============== =====
1) TestPortAsicStackPortLoopback ---> B*N****I** not configured 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 diagnostic test results for a switch. You can also use the show diagnostic switch command to display these results.
Switch> show diagnostic result
SerialNo : CGS2520ABCD1234
Overall diagnostic result: PASS
Test results: (. = Pass, F = Fail, U = Untested)
1) TestPortAsicStackPortLoopback ---> .
2) TestPortAsicLoopback ------------> U
3) TestPortAsicCam -----------------> U
4) TestPortAsicRingLoopback --------> U
5) TestMicRingLoopback -------------> U
6) TestPortAsicMem -----------------> U
This example shows how to display the running tests in a switch:
Switch> show diagnostic status
<BU> - Bootup Diagnostics, <HM> - Health Monitoring Diagnostics,
<OD> - OnDemand Diagnostics, <SCH> - Scheduled Diagnostics
====== ================================= =============================== ======
Card Description Current Running Test Run by
------ --------------------------------- --------------------- ------
1 N/A N/A
2 TestPortAsicStackPortLoopback <OD>
TestPortAsicLoopback <OD>
TestPortAsicCam <OD>
TestPortAsicRingLoopback <OD>
TestMicRingLoopback <OD>
TestPortAsicMem <OD>
3 N/A N/A
4 N/A N/A
====== ================================= =============================== ======
<output truncated>
This example shows how to display the online diagnostic test schedule for a switch:
Switch> show diagnostic schedule
Current Time = 14:39:49 PST Tue Jul 5 2005
Diagnostic for Switch 1:
Schedule #1:
To be run daily 12:00
Test ID(s) to be executed: 1.
This example shows how to display the detailed results for a switch. You can also use the show diagnostic result all detail command to display these results.
Switch> show diagnostic switch detail
Switch: SerialNo : CGS2520ABCD1234
Overall diagnostic result: PASS
Test results: (. = Pass, F = Fail, U = Untested)
___________________________________________________________________________
1) TestPortAsicStackPortLoopback ---> .
Error code ------------------> 0 (DIAG_SUCCESS)
Total run count -------------> 19
Last test execution time ----> Mar 01 1993 00:21:46
First test failure time -----> n/a
Last test failure time ------> n/a
Last test pass time ---------> Mar 01 1993 00:21:46
Total failure count ---------> 0
Consecutive failure count ---> 0
___________________________________________________________________________
2) TestPortAsicLoopback ------------> U
Error code ------------------> 0 (DIAG_SUCCESS)
Total run count -------------> 0
Last test execution time ----> n/a
First test failure time -----> n/a
Last test failure time ------> n/a
Last test pass time ---------> n/a
Total failure count ---------> 0
Consecutive failure count ---> 0
___________________________________________________________________________
3) TestPortAsicCam -----------------> U
Error code ------------------> 0 (DIAG_SUCCESS)
Total run count -------------> 0
Last test execution time ----> n/a
First test failure time -----> n/a
Last test failure time ------> n/a
Last test pass time ---------> n/a
Total failure count ---------> 0
Consecutive failure count ---> 0
___________________________________________________________________________
4) TestPortAsicRingLoopback --------> U
Error code ------------------> 0 (DIAG_SUCCESS)
Total run count -------------> 0
Last test execution time ----> n/a
First test failure time -----> n/a
Last test failure time ------> n/a
Last test pass time ---------> n/a
Total failure count ---------> 0
Consecutive failure count ---> 0
___________________________________________________________________________
5) TestMicRingLoopback -------------> U
Error code ------------------> 0 (DIAG_SUCCESS)
Total run count -------------> 0
Last test execution time ----> n/a
First test failure time -----> n/a
Last test failure time ------> n/a
Last test pass time ---------> n/a
Total failure count ---------> 0
Consecutive failure count ---> 0
___________________________________________________________________________
6) TestPortAsicMem -----------------> U
Error code ------------------> 0 (DIAG_SUCCESS)
Total run count -------------> 0
Last test execution time ----> n/a
First test failure time -----> n/a
Last test failure time ------> n/a
Last test pass time ---------> n/a
Total failure count ---------> 0
Consecutive failure count ---> 0
__________________________________________________________________________
|
|
---|---|
Configures the health-monitoring diagnostic test. |
|
Sets the scheduling of test-based online diagnostic testing. |
|
Starts the online diagnostic test. |
Use the show dot1q-tunnel user EXEC command to display information about IEEE 802.1Q tunnel ports.
show dot1q-tunnel [interface interface-id] [ | {begin | exclude | include} expression]
This command is visible only when the switch is running the metro IP access or metro access image.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
These are examples of output from the show dot1q-tunnel commands:
Switch> show dot1q-tunnel
dot1q-tunnel mode LAN Port(s)
-----------------------------
Gi0/1
Gi0/2
Gi0/3
Gi0/6
Po2
Switch> show dot1q-tunnel interface gigabitethernet0/1
dot1q-tunnel mode LAN Port(s)
-----------------------------
Gi0/1
|
|
---|---|
show vlan dot1q tag native |
Displays 802.1Q native VLAN tagging status. |
switchport mode dot1q-tunnel |
Configures an interface as an IEEE 802.1Q tunnel port. |
Use the show dot1x privileged EXEC command to display IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified port.
show dot1x [all | interface interface-id | statistics interface interface-id] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you do not specify a port, global parameters and a summary appear. If you specify a port, details for that port appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output appear.
This is an example of output from the show dot1x and the show dot1x all privileged EXEC commands:
Switch# show dot1x
Sysauthcontrol = Enabled
Dot1x Protocol Version = 1
Dot1x Oper Controlled Directions = Both
Dot1x Admin Controlled Directions = Both
Switch# show dot1x all
Dot1x Info for interface GigabitEthernet0/1
----------------------------------------------------
Supplicant MAC 00d0.b71b.35de
AuthSM State = CONNECTING
BendSM State = IDLE
PortStatus = UNAUTHORIZED
MaxReq = 2
HostMode = Single
Port Control = Auto
QuietPeriod = 60 Seconds
Re-authentication = Disabled
ReAuthPeriod = 3600 Seconds
ServerTimeout = 30 Seconds
SuppTimeout = 30 Seconds
TxPeriod = 30 Seconds
Guest-Vlan = 0
Dot1x Info for interface GigabitEthernet0/2
----------------------------------------------------
PortStatus = UNAUTHORIZED
MaxReq = 2
HostMode = Multi
Port Control = Auto
QuietPeriod = 60 Seconds
Re-authentication = Disabled
ReAuthPeriod = 3600 Seconds
ServerTimeout = 30 Seconds
SuppTimeout = 30 Seconds
TxPeriod = 30 Seconds
Guest-Vlan = 0
This is an example of output from the show dot1x interface interface-id privileged EXEC command:
Switch# show dot1x interface gigabitethernet0/1
Supplicant MAC 00d0.b71b.35de
AuthSM State = AUTHENTICATED
BendSM State = IDLE
PortStatus = AUTHORIZED
MaxReq = 2
HostMode = Single
Port Control = Auto
QuietPeriod = 60 Seconds
Re-authentication = Disabled
ReAuthPeriod = 3600 Seconds
ServerTimeout = 30 Seconds
SuppTimeout = 30 Seconds
TxPeriod = 30 Seconds
Guest-Vlan = 0
This is an example of output from the show dot1x statistics interface interface-id command. Table 2-13 describes the fields in the display.
Switch# show dot1x statistics interface gigabitethernet0/1
PortStatistics Parameters for Dot1x
--------------------------------------------
TxReqId = 15 TxReq = 0 TxTotal = 15
RxStart = 4 RxLogoff = 0 RxRespId = 1 RxResp = 1
RxInvalid = 0 RxLenErr = 0 RxTotal= 6
RxVersion = 1 LastRxSrcMac 00d0.b71b.35de
|
|
---|---|
Resets the configurable IEEE 802.1x parameters to their default values. |
Use the show env command in privileged EXEC or user EXEC mode to display alarm contact, temperature, and power information for the switch.
show env {alarm-contact | all | power | temperature} [ | {begin | exclude | include} expression]
Privileged EXEC and User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show env alarm-contact command:
Switch# show env alarm-contact
ALARM CONTACT 1
Status: asserted
Description: main_lab_door
Severity: critical
Trigger: open
ALARM CONTACT 2
Status: asserted
Description: main_lab_cabinet-1_door
Severity: major
Trigger: open
ALARM CONTACT 3
Status: asserted
Description: main_lab_supply-room_door
Severity: major
Trigger: open
ALARM CONTACT 4
Status: not asserted
Description: main_lab_water-level_FLOOD
Severity: critical
Trigger: closed
This is an example of output from the show env all command:
Switch# show env all
TEMPERATURE is OK
Temperature Value: 39 Degree Celsius
POWER SUPPLY 1A TEMPERATURE is Failure-Thermal POWER SUPPLY 1B TEMPERATURE is OK POWER SUPPLY 1A Temperature Value: 97 Degree Celsius POWER SUPPLY 1A Critical Temperature Thresh: 110 Degree Celsius POWER SUPPLY 1A Over Temperature Thresh: 95 Degree Celsius POWER SUPPLY 1B Temperature Value: 45 Degree Celsius POWER SUPPLY 1B Critical Temperature Thresh: 110 Degree Celsius POWER SUPPLY 1B Over Temperature Thresh: 95 Degree Celsius
SW PID Serial# Status Sys Pwr PoE Pwr Watts
-- ------------------ ---------- --------------- ------- ------- -----
1A PWR-150-HV DTM1348000B Failure-Thermal Good Good 75/65
1B PWR-150-HV DTM1348000C OK Good Good 75/65
ALARM CONTACT 1 is not asserted
ALARM CONTACT 2 is not asserted
ALARM CONTACT 3 is not asserted
ALARM CONTACT 4 is not asserted
This is an example of output from the show env power command when there is no AC input connected to power supply 1A:
Switch# show env power
TEMPERATURE is OK
POWER SUPPLY 1A TEMPERATURE is Disabled
POWER SUPPLY 1B TEMPERATURE is OK
This is an example of output from the show env power command when two AC-power supplies are present:
Switch# show env power
SW PID Serial# Status Sys Pwr PoE Pwr Watts
-- ------------------ ---------- --------------- ------- ------- -----
1A PWR-150-HV DTM1348000B Failure-Thermal Good Good 75/65
1B PWR-150-HV DTM1348000C OK Good Good 75/65
This is an example of output from the show env temperature command:
Switch# show env temperature
TEMPERATURE is OK
POWER SUPPLY 1A TEMPERATURE is Failure-Thermal POWER SUPPLY 1B TEMPERATURE is OK
|
|
---|---|
Configures alarm contacts. |
Use the show errdisable detect user EXEC command to display error-disable detection status.
show errdisable detect [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The Mode
column shows the shutdown mode that was configured for the error-disabled reason:
•port—The physical port is error disabled if a violation occurs.
•vlan—The virtual port is disabled if a violation occurs.
•port/vlan—Some ports are configured for physical port disable, and others are configured for virtual port disable. Enter the show running config privileged EXEC command to see the configuration for each port.
A displayed gbic-invalid
error in the Reason
column refers to an invalid small form-factor pluggable (SFP) interface.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show errdisable detect command:
Switch> show errdisable detect
ErrDisable Reason Detection Mode
----------------- --------- ----
arp-inspection Enabled port
bpduguard Enabled port
channel-misconfig Enabled port
community-limit Enabled port
dhcp-rate-limit Enabled port
dtp-flap Enabled port
gbic-invalid Enabled port
invalid-policy Enabled port
l2ptguard Enabled port
link-flap Enabled port
link-monitor-fail Enabled port
loopback Enabled port
lsgroup Enabled port
oam-remote-failure Enabled port
pagp-flap Enabled port
psecure-violation Enabled port/vlan
security-violatio Enabled port
sfp-config-mismatch Enabled port
storm-control Enabled port
udld Enabled port
vmps Enabled port
Note Though visible in the output, the dtp-flap, ilpower, storm-control, and unicast-flood fields are not valid.
|
|
---|---|
Enables error-disable detection for a specific cause or all causes. |
|
Displays error condition recognition information. |
|
Displays error-disable recovery timer information. |
|
show interfaces status |
Displays interface status or a list of interfaces in an error-disabled state. |
Use the show errdisable flap-values user EXEC command to display conditions that cause an error to be recognized for a cause.
show errdisable flap-values [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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)
----------------- ------ ----------
pagp-flap 3 30
dtp-flap 3 30
link-flap 5 10
Note Although visible in the output display, the switch does not support DTP.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show errdisable flap-values command:
Switch> show errdisable flap-values
ErrDisable Reason Flaps Time (sec)
----------------- ------ ----------
pagp-flap 3 30
dtp-flap 3 30
link-flap 5 10
|
|
---|---|
Enables error-disable detection for a specific cause or all causes. |
|
Displays error-disable detection status. |
|
Displays error-disable recovery timer information. |
|
show interfaces status |
Displays interface status or a list of interfaces in error-disabled state. |
Use the show errdisable recovery user EXEC command to display the error-disable recovery timer information.
show errdisable recovery [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
A gbic-invalid error-disable reason refers to an invalid small form-factor pluggable (SFP) module interface.
This is an example of output from the show errdisable recovery command:
Switch> show errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
udld Disabled
bpduguard Disabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
l2ptguard Disabled
link-flap Enabled
psecure-violation Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
storm-control Disabled
arp-inspection Disabled
loopback Disabled
Timer interval:300 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Gi0/2 link-flap 279
Note Though visible in the output, the unicast-flood and DTP fields are not valid.
|
|
---|---|
Configures the recover mechanism variables. |
|
Displays error-disabled detection status. |
|
Displays error condition recognition information. |
|
show interfaces status |
Displays interface status or a list of interfaces in error-disabled state. |
Use the show etherchannel user EXEC command to display EtherChannel information for a channel.
show etherchannel [channel-group-number {detail | port | port-channel | protocol | summary}] {detail | load-balance | port | port-channel | protocol | summary} [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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).
Note The switch must be running the metro IP access image to support Layer 3 ports.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show etherchannel 1 detail command:
Switch>
show etherchannel 1 detail
Group state = L2
Ports: 2 Maxports = 16
Port-channels: 1 Max Port-channels = 16
Protocol: LACP
Ports in the group:
-------------------
Port: Gi0/1
------------
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.
Local information:
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
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gi0/1 Active 0
0 00 Gi0/2 Active 0
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)
R - Layer3 S - Layer2
u - unsuitable for bundling
U - in use f - failed to allocate aggregator
d - default port
Number of channel-groups in use: 1
Number of aggregators: 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
HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = LACP
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gi0/1 Active 0
0 00 Gi0/2 Active 0
Time since last port bundled: 01d:20h:24m:44s Gi0/2
This is an example of output from show etherchannel protocol command:
Switch# show etherchannel protocol
Channel-group listing:
-----------------------
Group: 1
----------
Protocol: LACP
Group: 2
----------
Protocol: PAgP
|
|
---|---|
Assigns an Ethernet port to an EtherChannel group. |
|
Restricts the protocol used on a port to manage channeling. |
|
Accesses or creates the port channel. |
Use the show ethernet loopback privileged EXEC command to display information about per port Ethernet loopbacks configured on the switch or on an interface.
show ethernet loopback [interface-id] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you do not specify an interface-id, all configured loopbacks appear. The switch supports a maximum of two Ethernet loopback configurations.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show ethernet loopback command:
Switch# show ethernet loopback
=====================================
Loopback Session 0 : Interface Gi0/3
Status : configured
MAC Mode : swap
Time out : 60
This is an example of output with both a port and a VLAN loopback session configured and started.
Switch# show ethernet loopback
=====================================
Loopback Session 0 : Interface Fa0/1
Direction : facility
Type : port
Status : active
MAC Mode : swap
Time out : none
=====================================
Loopback Session 1 : Interface Fa0/2
Direction : facility
Type : vlan
Status : active
MAC Mode : copy
Vlan : 3
Time out : 100
|
|
---|---|
Configures an Ethernet loopback operation on an interface. |
|
Starts or stops the loopback operation. |
Use the show ethernet service evc privileged EXEC command to display information about Ethernet virtual connection (EVC) customer-service instances.
show ethernet service evc [id evc-id | interface interface-id] [detail] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show ethernet service evc command:
Switch# show ethernet service evc
Identifier Type Act-UNI-cnt Status
BLUE P-P 2 Active
PINK MP-MP 2 PartiallyActive
PURPLE P-P 2 Active
BROWN MP-MP 2 Active
GREEN P-P 3 Active
YELLOW MP-MP 2 PartiallyActive
BANANAS P-P 0 InActive
TEST2 P-P 0 NotDefined
ORANGE P-P 2 Active
TEAL P-P 0 InActive
|
|
---|---|
ethernet evc evc-id |
Defines an EVC and enters EVC configuration mode. |
Use the show ethernet service instance privileged EXEC command to display information about Ethernet customer-service instances.
show ethernet service instance [id id] [interface interface-id] [detail] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show ethernet service instance command:
Switch# show ethernet service instance
Identifier Interface CE-Vlans
222 FastEthernet0/1 untagged,1-4094
10 FastEthernet0/2
222 FastEthernet0/2 200
333 FastEthernet0/2 default
10 FastEthernet0/3 300
11 FastEthernet0/3
10 FastEthernet0/4 300
10 FastEthernet0/6 untagged,1-4094
10 FastEthernet0/7 untagged,1-4094
10 FastEthernet0/8 untagged,1-4094
10 FastEthernet0/9 untagged
20 FastEthernet0/9
222 FastEthernet0/11 300-350,900-999
333 FastEthernet0/11 100-200,1000,1999-4094
222 FastEthernet0/12 20
333 FastEthernet0/12 10
10 FastEthernet0/13 10
20 FastEthernet0/13 20
30 FastEthernet0/13 30
200 FastEthernet0/13 222
200 FastEthernet0/14 200,222
300 FastEthernet0/14 333
555 FastEthernet0/14 555
|
|
---|---|
service instance id ethernet |
Defines an Ethernet service instance and enters Ethernet service configuration mode. |
Use the show ethernet service interface privileged EXEC command to display interface-based information about Ethernet customer-service instances for all interfaces or a specified interface.
show ethernet service interface [interface-id] [detail] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
These are examples of outputs from the show ethernet service interface commands:
Switch# show ethernet service interface gigabitethernet0/1
Interface Identifier
GigabitEthernet0/1 PE2-G101
Switch# show ethernet service interface detail
Interface: FastEthernet0/1
ID:
CE-VLANS:
EVC Map Type: Bundling-Multiplexing
Interface: FastEthernet0/2
ID:
CE-VLANS:
EVC Map Type: Bundling-Multiplexing
Interface: FastEthernet0/3
ID:
CE-VLANS:
EVC Map Type: Bundling-Multiplexing
<output truncated>
Interface: GigabitEthernet0/1
ID: PE2-G101
CE-VLANS: 10,20,30
EVC Map Type: Bundling-Multiplexing
Associated EVCs:
EVC-ID CE-VLAN
WHITE 30
RED 20
BLUE 10
Associated Service Instances:
Service-Instance-ID CE-VLAN
10 10
20 20
30 30
|
|
---|---|
service instance id ethernet |
Defines an Ethernet service instance and enters Ethernet service configuration mode from interface configuration mode. |
Use the show facility-alarm relay major user EXEC command to display facility alarms associated with the indicated relay circuitry.
show facility-alarm relay major [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show facility-alarm relay minor command. It displays alarm information for the minor relays.
Switch> show facility-alarm relay minor
Source Description Relay Time
Switch 1 Temp above secondary thresh MIN Mar 01 1993 00:0 1:17
Use the show facility-alarm status user EXEC command to display all generated alarms for the switch.
show facility-alarm status [critical | info | major] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show facility-alarm status command. It displays alarm information for the switch.
Switch> show facility-alarm status
Source Severity Description Relay Time
FastEthernet1/3 MAJOR 2 Port Not Forwarding NONE Mar 01
1993 00:02:22
Use the show fcs-threshold user EXEC command to display the frame check sequence (FCS) bit error-rate settings on the switch interfaces.
show fcs-threshold [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The Ethernet standard calls for a maximum bit error rate of 10-8. On the Cisco CGS 2520 switch, the configurable bit error-rate range is from 10-6 to 10-11. The bit error-rate input to the switch is a positive exponent. The output displays the positive exponent; an output of 9 means that the bit error-rate is 10-9.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show fcs-threshold command. It shows the output when all ports are set to the default FCS threshold.
Switch# show fcs-threshold
Port FCS Threshold
Fa1/1 8
Fa1/2 8
Fa1/3 8
Fa1/4 8
Fa2/1 8
Fa2/2 8
Fa2/3 8
Fa2/4 8
Fa2/5 8
Fa2/6 8
Fa2/7 8
Fa2/8 8
Fa3/1 8
Fa3/2 8
Fa3/3 8
Fa3/4 8
Fa3/5 8
Fa3/6 8
Fa3/7 8
Fa3/8 8
Gi1/1 8
Gi1/2 8
|
|
---|---|
Sets the FCS threshold on an interface. |
Use the show flowcontrol user EXEC command to display the flow control status and statistics.
show flowcontrol [interface interface-id | module number] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show flowcontrol command.
Switch>
show flowcontrol
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
--------- -------- -------- -------- -------- ------- -------
Gi0/1 Unsupp. Unsupp. off off 0 0
Gi0/2 desired off off off 0 0
Gi0/3 desired off off off 0 0
<output truncated>
This is an example of output from the show flowcontrol interface interface-id command:
Switch>
show flowcontrol interface gigabitethernet0/2
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
--------- -------- -------- -------- -------- ------- -------
Gi0/2 desired off off off 0 0
|
|
---|---|
Sets the receive flow-control state for an interface. |
Use the show idprom user EXEC command to display the IDPROM information for a Gigabit Ethernet interface.
show idprom {interface interface-id} [detail] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
This command applies only to Gigabit Ethernet interfaces and displays information about SFPs inserted in the SFP module slot.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show idprom interface command for a Gigabit Ethernet interface:
Switch# show idprom interface gigabitethernet0/1
General SFP Information
-----------------------------------------------
Identifier : 0x03
Connector : 0x07
Transceiver : 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00
Encoding : 0x02
BR_Nominal : 0x01
Vendor Name : CISCO-NEC
Vendor Part Number : OD-BP1511-23SL2
Vendor Revision : 0x30 0x30 0x30 0x31
Vendor Serial Number : NEC08440067
-----------------------------------------------
Other Information
-------------------------------------------------------
Port asic num : 0
Port asic port num : 0
XCVR init completed : 1
Embedded PHY : not present
SFP presence index : 0
SFP iter cnt : 697918
SFP failed oper flag : 0x0
IIC error cnt : 0
IIC error dsb cnt : 0
IIC max sts cnt : 4
Chk for link status : 1
Link Status : 1
Link Status Media : 1
Preferred media : 0
Resolved Media : 1
Config Media : 1
Access Count : 0
Access Count Max : 2
Port Rx Loss : no
Port Tx Fault : no
Port Tx Disable : no
Sfp selection asic reg map
--------------------------------
stbi : 0x00
sfpControl : 0x4C
Regs Loc : 0xF0000000
-------------------------------------------------------
Page 0 Registers
------------------------------------------------------------------------
0000: 1140 Control Register : 0001 0001 0100 0000
0001: 6149 Control STATUS : 0110 0001 0100 1001
0002: 0141 Phy ID 1 : 0000 0001 0100 0001
0003: 0C92 Phy ID 2 : 0000 1100 1001 0010
0004: 01E1 Auto-Negotiation Advertisement : 0000 0001 1110 0001
0005: 0000 Auto-Negotiation Link Partner : 0000 0000 0000 0000
0006: 0004 Auto-Negotiation Expansion Reg : 0000 0000 0000 0100
0007: 2001 Next Page Transmit Register : 0010 0000 0000 0001
0008: 0000 Link Partner Next page Registe : 0000 0000 0000 0000
0009: 0F00 1000BASE-T Control Register : 0000 1111 0000 0000
000A: 0000 1000BASE-T Status Register : 0000 0000 0000 0000
000F: 0000 Extended Status Register : 0000 0000 0000 0000
0010: 6028 PHY Specific Control Register : 0110 0000 0010 1000
0011: 6CC8 PHY Specific Status Register : 0110 1100 1100 1000
0012: 0000 Interrupt Enable Register : 0000 0000 0000 0000
0013: 0700 PHY Specific Status Register2 : 0000 0111 0000 0000
0015: 01C0 Receive Error Counter : 0000 0001 1100 0000
0016: 0000 Page Address Register : 0000 0000 0000 0000
001A: 8040 PHY Specific Control Register2 : 1000 0000 0100 0000
|
|
---|---|
Displays per-interface send and receive statistics read from the hardware, interface internal registers, or port ASIC information. |
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 | rep | stats | status [err-disabled] | switchport [backup | module number] | transceivers | trunk] [ | {begin | exclude | include} expression]
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. |
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 |
(Optional) Display capabilities, switchport configuration, or transceiver characteristics (depending on preceding keyword) of all interfaces on the switch. The only valid module number is 1. This option is not available if you have entered 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) and private VLAN promiscuous ports. A promiscuous port must be a network node interface (NNI). This keyword is visible only when the switch is running the metro access or metro IP access image. |
rep |
(Optional) See the show interfaces rep command. |
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. This keyword is visible only when the switch is running the metro access or metro IP access image. |
transceivers |
(Optional) See the show interfaces transceivers command. |
trunk |
Display interface trunk information. If you do not specify an interface, only information for active trunking ports appears. |
| begin |
(Optional) Display begins with the line that matches the expression. |
| exclude |
(Optional) Display excludes lines that match the expression. |
| include |
(Optional) Display includes lines that match the specified expression. |
expression |
Expression in the output to use as a reference point. |
Note Though visible in the command-line help strings, the crb, fair-queue, irb, mac-accounting, precedence, pruning random-detect, rate-limit, and shape keywords are not supported.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The show interfaces capabilities command with different keywords has these results:
•Use the show interface 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.
•Use the show interface switchport module 1 to display the switch port characteristics of all interfaces on the switch. Entering any other number is invalid.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show interfaces command for an interface:
Switch# show interfaces gigabitethernet0/2
GigabitEthernet0/2 is 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
Keepalive set (10 sec)
Auto-duplex, Auto-speed
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 interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
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
Vlan1
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
Vlan7
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
Vlan31
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
GigabitEthernet0/1
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
GigabitEthernet0/2
Protocol Pkts In Chars In Pkts Out Chars Out
No traffic sent or received on this interface.
<output truncated>
This is an example of output from the show interfaces capabilities command for an interface.
Switch# show interfaces gigabitethernet0/2 capabilities
GigabitEthernet0/2
Model: modell-ic
Type: 10/100/1000BaseTX SFP
Speed: 10,100,1000,auto
Duplex: half,full,auto
Trunk encap. type: 802.1Q
Trunk mode: on,off,desirable,nonegotiate
Channel: yes
Broadcast suppression: percentage(0-100)
Flowcontrol: rx-(off,on,desired),tx-(none)
Fast Start: yes
QoS scheduling: rx-(not configurable on per port basis),tx-(4q2t)
CoS rewrite: yes
ToS rewrite: yes
UDLD: yes
SPAN: source/destination
PortSecure: yes
Dot1x: yes
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
----
Port-channel1:
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
Port-channel2:
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
Port-channel3:
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
--------- -------------- -----------------
vlan10 501 isolated
vlan10 502 community
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
Route cache 0 0 0 0
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 1 a-full a-100 10/100BaseTX
Fa0/2 connected 1 a-full a-100 10/100BaseTX
Fa0/3 notconnect 1 auto auto 10/100BaseTX
Fa0/4 disabled 1 auto auto 10/100BaseTX
Fa0/5 disabled 1 auto auto 10/100BaseTX
Fa0/6 disabled 1 auto auto 10/100BaseTX
Fa0/7 disabled 1 auto auto 10/100BaseTX
Fa0/8 disabled 1 auto auto 10/100BaseTX
Fa0/9 disabled 1 auto auto 10/100BaseTX
Fa0/10 disabled 1 auto auto 10/100BaseTX
Fa0/11 disabled 1 auto auto 10/100BaseTX
Fa0/12 disabled 1 auto auto 10/100BaseTX
Fa0/13 disabled 1 auto auto 10/100BaseTX
Fa0/14 disabled 1 auto auto 10/100BaseTX
Fa0/15 disabled 1 auto auto 10/100BaseTX
Fa0/16 disabled 1 auto auto 10/100BaseTX
Fa0/17 disabled 1 auto auto 10/100BaseTX
Fa0/18 disabled 1 auto auto 10/100BaseTX
Fa0/19 disabled 1 auto auto 10/100BaseTX
Fa0/20 disabled 1 auto auto 10/100BaseTX
Fa0/21 disabled 1 auto auto 10/100BaseTX
Fa0/22 disabled 1 auto auto 10/100BaseTX
Fa0/23 disabled 1 auto auto 10/100BaseTX
Fa0/24 disabled 1 auto auto 10/100BaseTX
Gi0/1 notconnect 1 auto auto 10/100/1000Ba
seTX SFP
Gi0/2 connected vl-err-dis a-full a-1000 10/100/1000BaseTX
These are examples of output from the show interfaces status command for a specific interface when private VLANs are configured. Port 22 is configured as a private-VLAN host port. It is associated with primary VLAN 20 and secondary VLAN 25.
Switch#
show interfaces fastethernet0/22 status
Port Name Status Vlan Duplex Speed Type
Fa0/22 connected 20,25 a-full a-100 10/100BaseTX
In this example, port 2 is configured as a private-VLAN promiscuous port. The display shows only the primary VLAN 20.
Switch#
show interfaces gigabitethernet0/2 status
Port Name Status Vlan Duplex Speed Type
Gi0/2 connected 20 a-full a-100 10/100/1000BaseTX
This is an example of output from the show interfaces status err-disabled command for an interface:
Switch#
show interfaces gigabitethernet0/2 status err-disabled
Port Name Status Reason Err-disabled Vlans
Gi0/2 connected elmi evc down 1,200
This is an example of output from the show interfaces switchport command for a single port. Table 2-14 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
Name: Gi0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: dot1q
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: none
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: none
Trunking VLANs Enabled: ALL
Capture Mode Disabled
Capture VLANs Allowed: ALL
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
Administrative Native VLAN tagging: enabled
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
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: none
Trunking VLANs Enabled: ALL
Capture Mode Disabled
Capture VLANs Allowed: ALL
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
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 interface gigabitethernet0/2 switchport
Name: Gi0/2
Switchport: Enabled
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)
30 (VLAN0030)
35 (VLAN0035)
<output truncated>
This is an example of out put from the show interfaces switchport backup command when a Flex Link interface goes down (LINK_DOWN), and 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
------------------------------------------------------------------------
GigabitEthernet2/0/6 GigabitEthernet0/8 Active Down/Backup Up
Vlans Preferred on Active Interface: 1-50
Vlans Preferred on Backup Interface: 60, 100-120
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, G/0/8 forwards traffic for VLANs 60, 100 to 120, and Gi0/6 will forward traffic for VLANs 1 to 50.
Switch#show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
GigabitEthernet0/6 GigabitEthernet2/0/8 Active Up/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
------------------------------------------------------------------------
GigabitEthernet20/6 GigabitEthernet0/8 Active Up/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 trunk command. It displays trunking information for the port.
Switch#
show interfaces gigabitethernet0/1 trunk
Port Mode Encapsulation Status Native vlan
Gi0/1 auto negotiate trunking 1
Port Vlans allowed on trunk
Gi0/1 1-4094
Port Vlans allowed and active in management domain
Gi0/1 1-4
Port Vlans in spanning tree forwarding state and not pruned
Gi0/1 1-4
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 | trunk] [module switch- number] | etherchannel | protocol status] [ | {begin | exclude | include} expression]
Note Though visible in the command-line help string, the vlan vlan-id keyword is not supported.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you do not enter any keywords, all counters for all interfaces are included.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
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
Fa0/1 0 0 0 0
Fa0/2 0 0 0 0
<output truncated>
This is an example of partial output from the show interfaces counters protocol status command for all interfaces.
Switch# show interfaces counters protocol status
Protocols allocated:
Vlan1: Other, IP
Vlan20: Other, IP, ARP
Vlan30: Other, IP, ARP
Vlan40: Other, IP, ARP
Vlan50: Other, IP, ARP
Vlan60: Other, IP, ARP
Vlan70: Other, IP, ARP
Vlan80: Other, IP, ARP
Vlan90: Other, IP, ARP
Vlan900: Other, IP, ARP
Vlan3000: Other, IP
Vlan3500: Other, IP
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
<output truncated>
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
Gi0/1 0 0 0
Gi0/2 0 0 0
Gi0/3 80678 4155 0
Gi0/4 82320 126 0
Gi0/5 0 0 0
<output truncated>
|
|
---|---|
Displays additional interface characteristics. |
Use the show interfaces rep User EXEC command to display Resilient Ethernet Protocol (REP) configuration and status for a specified interface or for all interfaces.
show interfaces [interface-id] rep [detail] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
In the output for the show interface rep [detail] command, in addition to an Open, Fail, or AP (alternate port) state, the Port Role might show as Fail Logical Open (FailLogOpen) or Fail No Ext Neighbor (FailNoNbr). These states indicate that the port is physically up, but REP is not configured on the neighboring port. In this case, one port goes into a forwarding state for the data path to help maintain connectivity during configuration. The Port Role for this port shows as Fail Logical Open; the port forwards all data traffic on all VLANs. The other failed Port Role shows as Fail No Ext Neighbor; this port blocks traffic for all VLANs.
When the external neighbors for the failed ports are configured, the failed ports go through the alternate port state transitions and eventually go to an Open state or remain as the alternate port, based on the alternate port election mechanism.
In the show interfaces rep command output, ports configured as edge no-neighbors are designated with an asterisk (*) in front of Primary Edge or Secondary Edge. In the output of the show interfaces rep detail command, No-Neighbor is spelled out.
The output of this command is also included in the show tech-support privileged EXEC command output.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is sample output from the show interface rep command:
Switch # show interface rep
Interface Seg-id Type LinkOp Role
---------------------- ------ ------------ ----------- ----
GigabitEthernet 0/1 1 Primary Edge TWO_WAY Open
GigabitEthernet 0/2 1 Edge TWO_WAY Open
FastEthernet 0/4 2 INIT_DOWN Fail
This is sample output from the show interface rep command when the edge port is configured to have no REP neighbor. Note the asterisk (*) next to Primary Edge.
Switch# show interface rep
Interface Seg-id Type LinkOp Role
---------------------- ------ -------------- ----------- ----
GigabitEthernet0/1 2 TWO_WAY Open
GigabitEthernet0/2 2 Primary Edge* TWO_WAY Open
This is sample output from the show interface rep command when external neighbors are not configured:
Switch # show interface rep
Interface Seg-id Type LinkOp Role
---------------------- ------ ------------ ----------- ----
GigabitEthernet0/1 1 NO_NEIGHBOR FailNoNbr
GigabitEthernet0/2 2 NO_NEIGHBOR FailLogOpen
This is sample output from the show interface rep detail command for a specified interface:
Switch # show interface gigabitethernet0/2 rep detail
GigabitEthernet0/2 REP enabled
Segment-id: 1 (Segment)
PortID: 00030019E85BDD00
Preferred flag: No
Operational Link Status: INIT_DOWN
Current Key: 00000000000000000000
Port Role: Fail
Blocked VLAN: 1-4094
Admin-vlan: 1
Preempt Delay Timer: disabled
LSL Ageout Timer: 5000 ms
Configured Load-balancing Block Port: 1234567890123456
Configured Load-balancing Block VLAN: 1-4094
STCN Propagate to: none
LSL PDU rx: 0, tx: 0
HFL PDU rx: 0, tx: 0
BPA TLV rx: 0, tx: 0
BPA (STCN, LSL) TLV rx: 0, tx: 0
BPA (STCN, HFL) TLV rx: 0, tx: 0
EPA-ELECTION TLV rx: 0, tx: 0
EPA-COMMAND TLV rx: 0, tx: 0
EPA-INFO TLV rx: 0, tx: 0
|
|
---|---|
Enables REP on an interface and assigns a segment ID. This command is also used to configure a port as an edge port, a primary edge port, or a preferred port. |
|
show rep topology [detail] |
Displays information about all ports in the segment, including which one was configured and selected as the primary edge port. |
Use the show interfaces transceivers privileged EXEC command to display the physical properties of a small form-factor pluggable (SFP) module interface.
show interfaces [interface-id] transceiver [detail | module number | properties | supported-list | threshold-table] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The threshold values shown in the outputs from the show interfaces transceiver threshold-table and the show interfaces transceiver detail are not the same. The thresholds shown in the output from the show interfaces transceiver threshold-table command are hard-coded in Cisco IOS, but are not supported.
The thresholds shown in the output from the show interfaces transceiver detail command are read from the SFP EEPROM and are supported. You should always use the show interfaces transceiver detail command to view transceiver thresholds.
The DOM threshold provides a mechanism to send traps when parameters from the EEPROM exceed the thresholds. The firmware reads real-time values, including temperature, voltage, transmitted power and received power, from the SFP EEPROM and compares them against product alarm and warning thresholds. When transceiver traps are enabled, a trap is sent every 10 minutes when thresholds are exceeded.
The reading of entSensorThresholdTable and SNMP notification upon threshold violations in CISCO-ENTITY-SENSOR-MIB is supported only in Cisco IOS Release 12.2(52)SE and later.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show interfaces interface-id transceiver properties command:
Switch# show interfaces gigabitethernet0/1 transceiver properties
Name : Gi0/1
Administrative Speed: auto
Operational Speed: auto
Administrative Duplex: auto
Administrative Power Inline: enable
Operational Duplex: auto
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
<output truncated>
This is an example of output from the show interfaces transceiver dom-supported-list command:
Switch# show interfaces transceiver dom-supported-list
Transceiver Type Cisco p/n min version
supporting DOM
------------------ -------------------------
DWDM GBIC ALL
DWDM SFP ALL
RX only WDM GBIC ALL
DWDM XENPAK ALL
DWDM X2 ALL
DWDM XFP ALL
CWDM GBIC NONE
CWDM X2 ALL
CWDM XFP ALL
XENPAK ZR ALL
X2 ZR ALL
XFP ZR ALL
Rx_only_WDM_XENPAK ALL
XENPAK_ER 10-1888-03
X2_ER ALL
XFP_ER ALL
XENPAK_LR 10-1838-04
X2_LR ALL
<output truncated>
This is an example of output from the show interfaces transceiver threshold-table command. Note that these are thresholds programmed into IOS software, and are NOT used to determine alarms.
Optical Tx Optical Rx Temp Laser Bias Voltage
current
------------- ------------- ------ ------------ ---------
DWDM GBIC
Min1 -0.50 -28.50 0 N/A 4.50
Min2 -0.30 -28.29 5 N/A 4.75
Max2 3.29 -6.69 60 N/A 5.25
Max1 3.50 6.00 70 N/A 5.50
DWDM SFP
Min1 -0.50 -28.50 0 N/A 3.00
Min2 -0.30 -28.29 5 N/A 3.09
Max2 4.30 -9.50 60 N/A 3.59
Max1 4.50 9.30 70 N/A 3.70
RX only WDM GBIC
Min1 N/A -28.50 0 N/A 4.50
Min2 N/A -28.29 5 N/A 4.75
Max2 N/A -6.69 60 N/A 5.25
Max1 N/A 6.00 70 N/A 5.50
DWDM XENPAK
Min1 -1.50 -24.50 0 N/A N/A
Min2 -1.29 -24.29 5 N/A N/A
Max2 3.29 -6.69 60 N/A N/A
Max1 3.50 4.00 70 N/A N/A
DWDM X2
Min1 -1.50 -24.50 0 N/A N/A
Min2 -1.29 -24.29 5 N/A N/A
Max2 3.29 -6.69 60 N/A N/A
Max1 3.50 4.00 70 N/A N/A
DWDM XFP
Min1 -1.50 -24.50 0 N/A N/A
Min2 -1.29 -24.29 5 N/A N/A
Max2 3.29 -6.69 60 N/A N/A
Max1 3.50 4.00 70 N/A N/A
CWDM X2
Min1 N/A N/A 0 N/A N/A
Min2 N/A N/A 0 N/A N/A
Max2 N/A N/A 0 N/A N/A
Max1 N/A N/A 0 N/A N/A
|
|
---|---|
Displays additional interface characteristics. |
Use the show inventory user EXEC command to display product identification (PID) information for the hardware.
show inventory [entity-name | raw] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The command is case sensitive. With no arguments, the show inventory command produces a compact display of all identifiable entities that have a product identifier. The display shows the entity location (slot identity), entity description, and the unique device identifier (UDI), including PID, version identifier (VID), and serial number (SN) of that entity.
Many legacy SFPs are not programmed with PIDs and VID.s
Note If there is no PID, no output appears when you enter the show inventory command.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is example output from the show inventory command:
Switch> show inventory
NAME: "1", DESCR: "model-id"
PID: model-id , VID:Vo1 , SN: FSJC0407839
NAME: "GigabitEthernet0/1", DESCR: "100BaseBX-10U SFP"
PID: , VID: , SN: NEC08440067
NAME: "GigabitEthernet0/2", DESCR: "10/100/1000BaseTX SFP"
PID: , VID: , SN: 00000MTC0839048G
Use the show ip arp inspection privileged EXEC command to display the configuration and the operating state of dynamic Address Resolution Protocol (ARP) inspection or the status of this feature for all VLANs or for the specified interface or VLAN.
show ip arp inspection [interfaces [interface-id] | log | statistics [vlan vlan-range] | vlan vlan-range] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
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
---- ----------- ------------ -------------
1 Acl-Match All Permit
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ---------
1 0 0 0 0
Vlan DHCP Permits ACL Permits Probe Permits Source MAC Failures
---- ------------ ----------- ------------- -------------------
1 0 0 0 0
Vlan Dest MAC Failures IP Validation Failures Invalid Protocol Data
---- ----------------- ---------------------- ---------------------
1 0 0 0
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
--------------- ----------- ---------- --------------
Gi0/1 Untrusted 15 1
Gi0/2 Untrusted 15 1
Gi0/3 Untrusted 15 1
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
--------------- ----------- ---------- --------------
Gi0/1 Untrusted 15 1
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
---- --------- ------- ---------- ---------
5 3 4618 4605 4
2000 0 0 0 0
Vlan DHCP Permits ACL Permits Source MAC Failures
---- ------------ ----------- -------------------
5 0 12 0
2000 0 0 0
Vlan Dest MAC Failures IP Validation Failures
---- ----------------- ----------------------
5 0 9
2000 0 0
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
---- --------- ------- ---------- ---------
5 3 4618 4605 4
Vlan DHCP Permits ACL Permits Source MAC Failures
---- ------------ ----------- -------------------
5 0 12 0
Vlan Dest MAC Failures IP Validation Failures Invalid Protocol Data
---- ----------------- ---------------------- ---------------------
5 0 9 3
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
---- ----------- ------------
5 Acl-Match All
Use the show ip dhcp snooping user EXEC command to display the DHCP snooping configuration.
show ip dhcp snooping [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This 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:
40-42
Insertion of option 82 is enabled
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
|
|
---|---|
Displays the DHCP snooping binding information. |
Use the show ip dhcp snooping binding user EXEC command to display the DHCP snooping binding database and configuration information for all interfaces on a switch.
show ip dhcp snooping binding [ip-address] [mac-address] [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The show ip dhcp snooping binding command output shows only the dynamically configured bindings. Use the show ip source binding privileged EXEC command to display the dynamically and statically configured bindings in the DHCP snooping binding database.
If DHCP snooping is enabled and an interface changes to the down state, the switch does not delete the statically configured bindings.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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-15 describes the fields in the show ip dhcp snooping binding command output:
|
|
---|---|
Configures the DHCP snooping binding database |
|
Displays the DHCP snooping configuration. |
Use the show ip dhcp snooping database user EXEC command to display the status of the DHCP snooping binding database agent.
show ip dhcp snooping database [detail] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
This is an example of output from the show ip dhcp snooping database command:
Switch> show ip dhcp snooping database
Agent URL :
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Agent Running : No
Delay Timer Expiry : Not Running
Abort Timer Expiry : Not Running
Last Succeded Time : None
Last Failed 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
Media Failures : 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
Agent Running : No
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
Media Failures : 0
First successful access: Read
Last ignored bindings counters :
Binding Collisions : 0 Expired leases : 0
Invalid interfaces : 0 Unsupported vlans : 0
Parse failures : 0
Last Ignored Time : None
Total ignored bindings counters:
Binding Collisions : 0 Expired leases : 0
Invalid interfaces : 0 Unsupported vlans : 0
Parse failures : 0
|
|
---|---|
Enables DHCP snooping on a VLAN. |
|
Configures the DHCP snooping binding database agent or the binding file. |
|
Displays DHCP snooping information. |
Use the show ip dhcp snooping statistics user EXEC command to display DHCP snooping statistics in summary or detail form.
show ip dhcp snooping statistics [detail] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show ip dhcp snooping statistics command:
Switch> show ip dhcp snooping statistics
Packets Forwarded = 0
Packets Dropped = 0
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
Packets Dropped Because
IDB not known = 0
Queue full = 0
Interface is in errdisabled = 0
Rate limit exceeded = 0
Received on untrusted ports = 0
Nonzero giaddr = 0
Source mac not equal to chaddr = 0
Binding mismatch = 0
Insertion of opt82 fail = 0
Interface Down = 0
Unknown output interface = 0
Reply output port equal to input port = 0
Packet denied by platform = 0
Table 2-16 shows the DHCP snooping statistics and their descriptions:
|
|
---|---|
Clears the DHCP snooping binding database, the DHCP snooping binding database agent statistics, or the DHCP snooping statistics counters. |
Use the show ip igmp profile privileged EXEC command to display all configured Internet Group Management Protocol (IGMP) profiles or a specified IGMP profile.
show ip igmp profile [profile number] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
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
IGMP Profile 40
permit
range 233.1.1.1 233.255.255.255
Switch# show ip igmp profile
IGMP Profile 3
range 230.9.9.0 230.9.9.0
IGMP Profile 4
permit
range 229.9.9.0 229.255.255.255
|
|
---|---|
Configures the specified IGMP profile number. |
Use the show ip igmp snooping user EXEC command to display the Internet Group Management Protocol (IGMP) snooping configuration of the switch or the VLAN.
show ip igmp snooping [groups | mrouter | querier [vlan vlan-id] [detail]] [vlan vlan-id] [detail] [ | {begin | exclude | include} expression]
groups |
(Optional) See the show ip igmp snooping groups command. |
mrouter |
(Optional) See the show ip igmp snooping mrouter command. |
querier |
(Optional) See the show ip igmp snooping querier command. |
vlan vlan-id |
(Optional) Specify a VLAN; the range is 1 to 1001 and 1006 to 4094 (available only in privileged EXEC mode). |
| begin |
(Optional) Display begins with the line that matches the expression. |
| exclude |
(Optional) Display excludes lines that match the expression. |
| include |
(Optional) Display includes lines that match the specified expression. |
expression |
Expression in the output to use as a reference point. |
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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.
Although visible in the output display, output lines for source-only learning are not valid.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This 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:
-----------------------------------
IGMP snooping :Enabled
IGMPv3 snooping (minimal) :Enabled
Report suppression :Enabled
TCN solicit query :Disabled
TCN flood query count :2
Last member query interval : 100
Vlan 1:
--------
IGMP snooping :Enabled
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
Note Source-only learning are not supported, and information appearing for this feature is not valid.
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:
-----------------------------------
IGMP snooping : Enabled
IGMPv3 snooping (minimal) : Enabled
Report suppression : Enabled
TCN solicit query : Disabled
TCN flood query count : 2
Last member query interval : 100
Vlan 1:
--------
IGMP snooping :Enabled
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
Vlan 2:
--------
IGMP snooping :Enabled
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
<output truncated>
Use the show ip igmp snooping groups privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping multicast table for the switch or the multicast information. Use with the vlan keyword to display the multicast table for a specified multicast VLAN or specific multicast information.
show ip igmp snooping groups [count | dynamic [count] | user [count]] [ | {begin | exclude | include} expression]
show ip igmp snooping groups vlan vlan-id [ip_address | count | dynamic [count] | user [count]] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use this command to display multicast information or the multicast table.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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, Fa0/15
104 224.1.4.3 igmp v2 Gi0/1, Fa0/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, Fa0/15
Use the show ip igmp snooping mrouter privileged EXEC command to display the Internet Group Management Protocol (IGMP) snooping dynamically learned and manually configured multicast router ports for the switch or for the specified multicast VLAN.
show ip igmp snooping mrouter [vlan vlan-id] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use this command to display multicast router ports on the switch or for a specific VLAN.
VLAN IDs 1002 to 1005 are reserved for Token Ring and FDDI VLANs and cannot be used in IGMP snooping.
When multicast VLAN registration (MVR) is enabled, the show ip igmp snooping mrouter command displays MVR multicast router information and IGMP snooping information.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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
Vlan ports
---- -----
1 Gi0/1(dynamic)
Use the show ip igmp snooping querier user EXEC command to display the IP address and incoming port for the Internet Group Management Protocol (IGMP) query most recently received by the switch.
show ip igmp snooping querier [vlan vlan-id] [detail] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show ip igmp snooping querier command to display the IGMP version and IP address of a detected device (also called a querier) that sends IGMP query message. 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 interface on which the querier was detected. If the querier is the switch, the output shows the Port field as Router. If the querier is a router, the output shows the port number on which the querier is learned in the Port field.
The show ip igmp snooping querier detail user EXEC command is similar to the show ip igmp snooping querier command. However, the show ip igmp snooping querier detail command displays the IP address of the most recent device detected by the switch querier along with this additional information:
•The elected IGMP querier in the VLAN
•The configuration and operational information pertaining to the switch querier (if any) that is configured in the VLAN
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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
---------------------------------------------------
1 172.20.50.11 v3 Gi0/1
2 172.20.40.20 v2 Router
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
-------------------------------------------------------------
1 1.1.1.1 v2 Fa0/1
Global IGMP switch querier status
--------------------------------------------------------
admin state : Enabled
admin version : 2
source IP address : 0.0.0.0
query-interval (sec) : 60
max-response-time (sec) : 10
querier-timeout (sec) : 120
tcn query count : 2
tcn query interval (sec) : 10
Vlan 1: IGMP switch querier status
--------------------------------------------------------
elected querier is 1.1.1.1 on port Fa0/1
--------------------------------------------------------
admin state : Enabled
admin version : 2
source IP address : 10.1.1.65
query-interval (sec) : 60
max-response-time (sec) : 10
querier-timeout (sec) : 120
tcn query count : 2
tcn query interval (sec) : 10
operational state : Non-Querier
operational version : 2
tcn query pending count : 0
|
|
---|---|
Enables and configures the IGMP snooping querier on the switch or on a VLAN. |
|
Displays IGMP snooping multicast router ports for the switch or for the specified multicast VLAN. |
Use the show ip sla standards command in user EXEC or privileged EXEC mode to display the Cisco IOS IP Service Level Agreements (SLAs) and Two-Way Active Measurement Protocol (TWAMP) standards implemented on the switch.
show ip sla standards
This command has no arguments or keywords.
Displays the IP SLAs and TWAMP standards implemented on the switch.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show ip sla standards command to display the IP SLAs TWAMP standards implemented on the switch.
The following is sample output from the show ip sla standards command:
Switch> show ip sla standards
Feature Organization Standard
TWAMP Server IETF draft-ietf-ippm-twamp-06
TWAMP Reflector IETF draft-ietf-ippm-twamp-06
|
|
---|---|
show ip sla twamp connection {detail | requests} |
Displays IP SLAs TWAMP connections. |
Displays IP SLAs TWAMP sessions. |
Use the show ip sla twamp connection command in user EXEC mode to display the current Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) connections.
show ip sla twamp connection {detail [source-ip ip-address] | requests} [ | {begin | exclude | include} expression]
Displays output for all running IP SLAs TWAMP sessions.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the detail keyword to display detailed information for a single IP SLAs TWAMP connection.
Use the requests keyword to display the current IP SLAs TWAMP connection requests.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
The following is sample output from the show ip sla twamp connection detail command:
Switch> show ip sla twamp connection detail
Connection Id: 91
Client IP Address: 172.27.111.225
Client Port: 43026
Mode: Unauthenticated
Connection State: Connected
Control State: None
Number of Test Requests - 0:1
The following is sample output from the show ip sla twamp connection requests command:
Switch> show ip sla twamp connection requests
Connection-Id Client Address Client Port
91 172.27.111.225 43026
Total number of current connections: 1
|
|
---|---|
Displays the TWAMP server and reflector standards implemented on the switch. |
|
Displays IP SLAs TWAMP sessions. |
Use the show ip sla twamp session command in user EXEC mode to display Cisco IOS IP Service Level Agreements (SLAs) Two-Way Active Measurement Protocol (TWAMP) test sessions.
show ip sla twamp session [source-ip ip address | source-port port-number] [ | {begin | exclude | include} expression]
Displays the IP SLAs TWAMP test sessions and results.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show ip sla twamp session command to display information about IP SLAs TWAMP test sessions.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
The following is sample output from the show ip sla twamp session command:
Switch> show ip sla twamp session
IP SLAs Responder TWAMP is: Enabled
Recvr Addr: 172.27.117.116
Recvr Port: 3619
Sender Addr: 172.27.111.225
Sender Port: 32910
Session Id: 172.27.117.116:533112:9C41EC42
Connection Id: 95
|
|
---|---|
Displays the TWAMP server and reflector standards implemented on the switch. |
|
show ip sla twamp connection {detail | requests} |
Displays IP SLAs TWAMP connections. |
Use the show ip source binding user EXEC command to display the IP source bindings on the switch.
show ip source binding [ip-address] [mac-address] [dhcp-snooping | static] [vlan vlan-id] [interface interface-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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.
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
|
|
---|---|
Configures the DHCP snooping binding database. |
|
Configures static IP source bindings on the switch. |
Use the show ip verify source user EXEC command to display the IP source guard configuration on the switch or on a specific interface.
show ip verify source [interface interface-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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
--------- ----------- ----------- --------------- -------------- ---------
fa0/1 ip active 10.0.0.1 10
fa0/1 ip active deny-all 11-20
fa0/2 ip inactive-trust-port
fa0/3 ip inactive-no-snooping-vlan
fa0/4 ip-mac active 10.0.0.2 aaaa.bbbb.cccc 10
fa0/4 ip-mac active 11.0.0.1 aaaa.bbbb.cccd 11
fa0/4 ip-mac active deny-all deny-all 12-20
fa0/5 ip-mac active 10.0.0.3 permit-all 10
fa0/5 ip-mac active deny-all permit-all 11-20
In the previous example, this is the IP source guard configuration:
•On the Fast Ethernet 0/1 interface, dynamic host control protocol (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 is on the interface. For VLANs 11 to 20, the second entry shows that a default port access control list (ACL) is applied on the interface for the VLANs on which IP source guard is not configured.
•The Fast Ethernet 0/2 interface is configured as trusted for DHCP snooping.
•On the Fast Ethernet 0/3 interface, DHCP snooping is not enabled on the VLANs to which the interface belongs.
•On the Fast Ethernet 0/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 Fast Ethernet 0/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 gigabitethernet0/6
IP source guard is not configured on the interface gi0/6.
|
|
---|---|
Enables IP source guard on an interface. |
Use the show ipc user EXEC command 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} [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This example shows how to display the IPC routing status:
Switch> show ipc mcast status
IPC Mcast Status
Tx Rx
Total Frames 0 0
Total control Frames 0 0
Total Frames dropped 0 0
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:
Switch> show ipc nodes
There is 1 node in this IPC realm.
ID Type Name Last Last
Sent Heard
10000 Local IPC Master 0 0
This example shows how to display the local IPC ports:
Switch> show 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
0/2/159
10000.8 unicast Slot 1 :MDFS.control.RIL
port_index = 0 seat_id = 0x10000 last sent = 0 last heard = 0
0/0/0
RPC packets:current/peak/total
0/1/4
This example shows how to display the contents of the IPC retransmission queue:
Switch> show ipc queue
There are 0 IPC messages waiting for acknowledgement in the transmit queue.
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
Tx Sessions:
Port ID Type Name
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
Rx Sessions:
Port ID Type Name
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
IPC System Status
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.
Rx Side Tx Side
Total Frames 12916 608
0 0
Total from Local Ports 13080 574
Total Protocol Control Frames 116 17
Total Frames Dropped 0 0
Service Usage
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
<output truncated>
|
|
---|---|
Clears the IPC multicast routing statistics. |
Use the show ipv6 access-list user EXEC command to display the contents of all current IPv6 access lists.
show ipv6 access-list [access-list-name]
Note This command is available only if you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
access-list-name |
(Optional) Name of access list. |
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
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 {default | routing | vlan) global configuration command, and reload the switch.
The following output from the show ipv6 access-list command shows IPv6 access lists named inbound:
Switch# show ipv6 access-list
IPv6 access list inbound
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
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
Note This command is available only if the switch is running the metro IP access image and you have configured a dual IPv4 and IPv6 Switch Database Management (SDM) template on the switch.
This command has no arguments or keywords.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
To configure the dual IPv4 and IPv6 template, enter the sdm prefer dual-ipv4-and-ipv6 {default | routing | vlan) 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 cannot be assigned until it is removed from the conflict list.
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
2001:1005::10
|
|
---|---|
Configures a DHCPv6 pool and enters DHCPv6 pool configuration mode. |
|
Clears an address conflict from the DHCPv6 server database. |
Use the show ipv6 route updated user EXEC command to display the current contents of the IPv6 routing table.
show ipv6 route [protocol] updated [boot-up] {hh:mm | day{month [hh:mm]} [{hh:mm | day{month [hh:mm]}] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show ipv6 route privileged EXEC command to display the current contents of the IPv6 routing table.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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
R 2001::/64 [120/2]
via FE80::A8BB:CCFF:FE00:8D01, GigabitEthernet0/1
Last updated 10:31:10 27 February 2007
R 2004::/64 [120/2]
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/2
Last updated 17:23:05 22 February 2007
R 4000::/64 [120/2]
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/3
Last updated 17:23:05 22 February 2007
R 5000::/64 [120/2]
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/4
Last updated 17:23:05 22 February 2007
R 5001::/64 [120/2]
via FE80::A8BB:CCFF:FE00:9001, GigabitEthernet0/5
Last updated 17:23:05 22 February 2008
Use the show l2protocol-tunnel user EXEC command to display information about Layer 2 protocol tunnel ports. Displays information for interfaces with protocol tunneling enabled.
show l2protocol-tunnel [interface interface-id] [summary] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
After enabling Layer 2 protocol tunneling on an access port, a trunk port, or an 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.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This 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 --- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
pagp ---- ---- 0 242500
lacp ---- ---- 24268 242640
udld ---- ---- 0 897960
Fa0/4 --- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
pagp 1000 ---- 24249 242700
lacp ---- ---- 24256 242660
udld ---- ---- 0 897960
Gi0/1 cdp ---- ---- 134482 1344820
--- ---- ---- ---- ---- ----
--- ---- ---- ---- ---- ----
pagp 1000 ---- 0 242500
lacp 500 ---- 0 485320
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
Threshold Threshold
(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/----/----
Use the show lacp user EXEC command to display Link Aggregation Control Protocol (LACP) channel-group information.
show lacp [channel-group-number] {counters | internal | neighbor | sys-id} [ | {begin | exclude | include} expression]
Note LACP is available only on network node interfaces (NNIs) or enhanced network interfaces (ENIs).
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can enter any show lacp command to display the active channel-group information. To display specific channel information, enter the show lacp command with a channel-group number.
If you do not specify a channel group, information for all channel groups appears.
You can enter the channel-group-number option to specify a channel group for all keywords except sys-id.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show lacp counters user EXEC command. Table 2-18 describes the fields in the display.
Switch>
show lacp counters
LACPDUs Marker Marker Response LACPDUs
Port Sent Recv Sent Recv Sent Recv Pkts Err
---------------------------------------------------------------------
Channel group:1
Gi0/1 19 10 0 0 0 0 0
Gi0/2 14 6 0 0 0 0 0
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
Channel group 1
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-19 describes the fields in the display.
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
Partner's information:
Partner Partner Partner
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
32768 0x3 0x3C
Partner's information:
Partner Partner Partner
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
32768 0x3 0x3C
This is an example of output from the show lacp sys-id command:
Switch> show lacp sys-id
32765,0002.4b29.3a00
The system identification is made up of the system priority and the system MAC address. The first two bytes are the system priority, and the last six bytes are the globally administered individual MAC address associated to the system.
|
|
---|---|
Clears the LACP channel-group information. |
|
Configures the LACP port priority. |
|
Configures the LACP system priority. |
Use the show link state group global configuration command to display the link-state group information.
show link state group [number] [detail] [ | {begin | exclude | include} expression]
There is no default.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show link state group command to display the link-state group information. Enter this command without keywords to display information about all link-state groups. Enter the group number to display information specific to the group.
Enter the detail keyword to display detailed information about the group. The output for the show link state group detail command displays only those link-state groups that have link-state tracking enabled or that have upstream or downstream interfaces (or both) configured. If there is no link-state group configuration for a group, it is not shown as enabled or disabled.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
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
|
|
---|---|
Configures an interface as a member of a link-state group. |
|
Enables a link-state group. |
|
show running-config |
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_reference_list.html |
The show lldp command is documented at http://www.cisco.com/en/US/docs/ios/cether/command/reference/ce_04.html#wp1095571.
Use the show location user EXEC command to display location information for an endpoint.
show location admin-tag | [ | {begin | exclude | include} expression]
show location civic-location {identifier id number | interface interface-id | static} | [ | {begin | exclude | include} expression]
show location elin-location {identifier id number | interface interface-id | static} | [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show location command to display location information for an endpoint.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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 gigabitethernet2/0/1
Civic location information
--------------------------
Identifier : 1
County : Santa Clara
Street number : 3550
Building : 19
Room : C6
Primary road name : Cisco Way
City : San Jose
State : CA
Country : US
This is an example of output from the show location civic-location command that displays all the civic location information:
Switch> show location civic-location static
Civic location information
--------------------------
Identifier : 1
County : Santa Clara
Street number : 3550
Building : 19
Room : C6
Primary road name : Cisco Way
City : San Jose
State : CA
Country : US
Ports : Gi2/0/1
--------------------------
Identifier : 2
Street number : 24568
Street number suffix : West
Landmark : Golden Gate Bridge
Primary road name : 19th Ave
City : San Francisco
Country : US
--------------------------
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
--------------------------
Identifier : 1
Elin : 14085553881
Ports : Gi2/0/2
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
--------------------------
Identifier : 1
Elin : 14085553881
Ports : Gi2/0/2
--------------------------
Identifier : 2
Elin : 18002228999
--------------------------
|
|
---|---|
Configures the global location information for an endpoint. |
|
Configures the location information for an interface. |
Use the show logging onboard privileged EXEC command to display the on-board failure logging (OBFL) information.
show logging onboard [module [slot-number]] {{clilog | environment | message |temperature | uptime | voltage} [continuous | detail | summary] [start hh:mm:ss day month year] [end hh:mm:ss day month year]} [ | {begin | exclude | include} expression]
There is no default.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
When OBFL is enabled, the switch records all the OBFL data in a continuous, circular file. When the continuous file is full, the switch combines the data into a summary file, which is also known as a historical file. The switch then continues to write new data to the continuous file.
Use the start and end keywords to display data collected only during a particular time period. When specifying the start and end times, follow these guidelines:
•hh:mm:ss—Enter the time as a 2-digit number for a 24-hour clock. Make sure to use the colons (:). For example, enter 13:32:45.
•day—Enter the day of the month. The range is from 1 to 31.
•month—Enter the month in upper-case or lower-case letters. You can enter the full name of the month, such as January or august, or the first three letters of the month, such as jan or Aug.
•year—Enter the year as a 4-digit number, such as 2008. The range is from 1993 to 2035.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show logging onboard clilog continuous command:
Switch# show logging onboard clilog continuous
--------------------------------------------------------------------------------
CLI LOGGING CONTINUOUS INFORMATION
--------------------------------------------------------------------------------
MM/DD/YYYY HH:MM:SS COMMAND
--------------------------------------------------------------------------------
05/12/2006 15:33:17 show logging onboard temperature detail
05/12/2006 15:33:21 show logging onboard voltage detail
05/12/2006 16:14:09 show logging onboard temperature summary
...
<output truncated>
....
05/16/2006 13:07:53 no hw-module module logging onboard message level
05/16/2006 13:16:13 show logging onboard uptime continuous
05/16/2006 13:39:18 show logging onboard uptime summary
05/16/2006 13:45:57 show logging onboard clilog summary
--------------------------------------------------------------------------------
This is an example of output from the show logging onboard message command:
Switch# show logging onboard message
--------------------------------------------------------------------------------
ERROR MESSAGE SUMMARY INFORMATION
--------------------------------------------------------------------------------
Facility-Sev-Name | Count | Persistence Flag
MM/DD/YYYY HH:MM:SS
--------------------------------------------------------------------------------
No historical data to display
--------------------------------------------------------------------------------
This is an example of output from the show logging onboard status command:
Switch# show logging onboard status
Devices registered with infra
Slot no.: 0 Subslot no.: 0, Device obfl0:
Application name clilog :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
Application name environment :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
Application name errmsg :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
Application name poe :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
Application name temperature :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
Application name uptime :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
Application name voltage :
Path : obfl0:
CLI enable status : enabled
Platform enable status: enabled
This is an example of output from the show logging onboard temperature continuous command:
Switch# show logging onboard temperature continuous
--------------------------------------------------------------------------------
TEMPERATURE CONTINUOUS INFORMATION
--------------------------------------------------------------------------------
Sensor | ID |
--------------------------------------------------------------------------------
Board temperature 1
--------------------------------------------------------------------------------
Time Stamp |Sensor Temperature 0C
MM/DD/YYYY HH:MM:SS | 1 2 3 4 5 6 7 8 9 10 11 12
--------------------------------------------------------------------------------
05/12/2006 15:33:20 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 16:31:21 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 17:31:21 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 18:31:21 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 19:31:21 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 20:31:21 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 21:29:22 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 22:29:22 35 -- -- -- -- -- -- -- -- -- -- --
05/12/2006 23:29:22 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 00:29:22 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 01:29:22 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 02:27:23 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 03:27:23 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 04:27:23 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 05:27:23 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 06:27:23 35 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 07:25:24 36 -- -- -- -- -- -- -- -- -- -- --
05/13/2006 08:25:24 35 -- -- -- -- -- -- -- -- -- -- --
<output truncated>
This is an example of output from the show logging onboard uptime summary command:
Switch# show logging onboard uptime summary
--------------------------------------------------------------------------------
UPTIME SUMMARY INFORMATION
--------------------------------------------------------------------------------
First customer power on : 03/01/1993 00:03:50
Total uptime : 0 years 0 weeks 3 days 21 hours 55 minutes
Total downtime : 0 years 0 weeks 0 days 0 hours 0 minutes
Number of resets : 2
Number of slot changes : 1
Current reset reason : 0x0
Current reset timestamp : 03/01/1993 00:03:28
Current slot : 1
Current uptime : 0 years 0 weeks 0 days 0 hours 55 minutes
--------------------------------------------------------------------------------
Reset | |
Reason | Count |
--------------------------------------------------------------------------------
No historical data to display
--------------------------------------------------------------------------------
This is an example of output from the show logging onboard voltage summary command:
Switch# show logging onboard voltage summary
--------------------------------------------------------------------------------
VOLTAGE SUMMARY INFORMATION
--------------------------------------------------------------------------------
Number of sensors : 8
Sampling frequency : 60 seconds
Maximum time of storage : 3600 minutes
--------------------------------------------------------------------------------
Sensor | ID | Maximum Voltage
--------------------------------------------------------------------------------
12.00V 0 12.567
5.00V 1 5.198
3.30V 2 3.439
2.50V 3 2.594
1.50V 4 1.556
1.20V 5 1.239
1.00V 6 0.980
0.75V 7 0.768
--------------------------------------------------------------------------------
Nominal Range Sensor ID
--------------------------------------------------------------------------------
No historical data to display
--------------------------------------------------------------------------------
|
|
---|---|
Removes the OBFL data in the flash memory. |
|
Enables OBFL. |
Use the show mac access-group user EXEC command to display the MAC access control lists (ACLs) configured for an interface or a switch.
show mac access-group [interface interface-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac-access group user EXEC command. In this display, Fast Ethernet interface 0/2 has the MAC access list macl_e1 applied to inbound traffic; no MAC ACLs are applied to other interfaces.
Switch> show mac access-group
Interface FastEthernet0/1:
Inbound access-list is macl_e1
Outbound access-list is not set
Interface FastEthernet0/2:
Inbound access-list is not set
Outbound access-list is not set
Interface FastEthernet0/3:
Inbound access-list is not set
Outbound access-list is not set
Interface FastEthernet0/4:
Inbound access-list is not set
Outbound access-list is not set
Interface FastEthernetv0/5:
Inbound access-list is not set
Outbound access-list is not set
<output truncated>
This is an example of output from the show mac access-group interface fastethernet0/1 command:
Switch# show mac access-group interface fastethernet0/1
Interface FastEthernet0/1:
Inbound access-list is macl_e1
|
|
---|---|
Applies a MAC access group to an interface. |
Use the show mac address-table user EXEC command to display a specific MAC address table static and dynamic entry or the MAC address table static and dynamic entries on a specific interface or VLAN.
show mac address-table [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table command:
Switch> show mac address-table
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
|
|
---|---|
clear mac address-table dynamic |
Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. |
Displays the aging time in all VLANs or the specified VLAN. |
|
Displays the number of addresses present in all VLANs or the specified VLAN. |
|
Displays dynamic MAC address table entries only. |
|
Displays the MAC address table information for the specified interface. |
|
Displays the MAC address notification settings for all interfaces or the specified interface. |
|
Displays static MAC address table entries only. |
|
Displays the MAC address table information for the specified VLAN. |
Use the show mac address-table address user EXEC command to display MAC address table information for the specified MAC address.
show mac address-table address mac-address [interface interface-id] [vlan vlan-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table address command:
Switch# show mac address-table address 0002.4b28.c482
Mac Address Table
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
All 0002.4b28.c482 STATIC CPU
Total Mac Addresses for this criterion: 1
Use the show mac address-table aging-time user EXEC command to display the aging time of a specific address table instance, all address table instances on a specified VLAN or, if a specific VLAN is not specified, on all VLANs.
show mac address-table aging-time [vlan vlan-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If no VLAN number is specified, the aging time for all VLANs appears.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table aging-time command:
Switch> show mac address-table aging-time
Vlan Aging Time
---- ----------
1 300
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
Vlan Aging Time
---- ----------
10 300
Use the show mac address-table count user EXEC command to display the number of addresses present in all VLANs or the specified VLAN.
show mac address-table count [vlan vlan-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If no VLAN number is specified, the address count for all VLANs appears.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table count command:
Switch# show mac address-table count
Mac Entries for Vlan : 1
---------------------------
Dynamic Address Count : 2
Static Address Count : 0
Total Mac Addresses : 2
Use the show mac address-table dynamic user EXEC command to display only dynamic MAC address table entries.
show mac address-table dynamic [address mac-address] [interface interface-id] [vlan vlan-id]
[ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table dynamic command:
Switch> show mac address-table dynamic
Mac Address Table
------------------------------------------
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
|
|
---|---|
clear mac address-table dynamic |
Deletes from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, or all dynamic addresses on a particular VLAN. |
Displays MAC address table information for the specified MAC address. |
|
Displays the aging time in all VLANs or the specified VLAN. |
|
Displays the number of addresses present in all VLANs or the specified VLAN. |
|
Displays the MAC address table information for the specified interface. |
|
Displays static MAC address table entries only. |
|
Displays the MAC address table information for the specified VLAN. |
Use the show mac address-table interface user command to display the MAC address table information for the specified interface in the specified VLAN.
show mac address-table interface interface-id [vlan vlan-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table interface command:
Switch> show mac address-table interface gigabitethernet0/2
Mac Address Table
------------------------------------------
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
Use the show mac address-table learning user EXEC command to display the status of MAC address learning for all VLANs or the specified VLAN.
show mac address-table learning [vlan vlan-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show mac address-table learning command without any keywords to display configured VLANs and whether MAC address learning is enabled or disabled on them. The default is that MAC address learning is enabled on all VLANs. Use the command with a specific VLAN ID to display the learning status on an individual VLAN.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table learning user EXEC command showing that MAC address learning is disabled on VLAN 200:
Switch> show mac address-table learning
VLAN Learning Status
---- ---------------
1 yes
100 yes
200 no
|
|
---|---|
Enables or disables MAC address learning on a VLAN. |
Use the show mac address-table move update user EXEC command to display the MAC address-table move update information on the switch.
show mac address-table move update [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This 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 packet count : 10
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 interface : Po2
Rcv last src-mac-address : 0003.fd6a.8701
Rcv last switch-ID : 0303.fd63.7600
Xmt packet count : 0
Xmt packet count this min : 0
Xmt threshold exceed count : 0
Xmt pak buf unavail cnt : 0
Xmt last interface : None
switch#
|
|
---|---|
Clears the MAC address-table move update counters. |
|
mac address-table move update {receive | transmit} |
Configures MAC address-table move update on the switch. |
Use the show mac address-table notification user EXEC command to display the MAC address notification settings for all interfaces or the specified interface.
show mac address-table notification {change [interface [interface-id] | mac-move | threshold} [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show mac address-table notification change command without keywords to see if the MAC address change notification feature is enabled or disabled, the MAC notification interval, the maximum number of entries allowed in the history table, and the history table contents.
Use the interface keyword to display the notifications for all interfaces. If the interface-id is included, only the flags for that interface appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
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 Table contents
----------------------
History Index 0, Entry Timestamp 1032254, Despatch Timestamp 1032254
MAC Changed Message :
Operation: Added Vlan: 2 MAC Addr: 0000.0000.0001 Module: 0 Port: 1
History Index 1, Entry Timestamp 1038254, Despatch Timestamp 1038254
MAC Changed Message :
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
MAC Changed Message :
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
|
|
---|---|
clear mac address-table notification |
Clears the MAC address notification global counters. |
Displays MAC address table information for the specified MAC address. |
|
Displays the aging time in all VLANs or the specified VLAN. |
|
Displays the number of addresses present in all VLANs or the specified VLAN. |
|
Displays dynamic MAC address table entries only. |
|
Displays the MAC address table information for the specified interface. |
|
Displays static MAC address table entries only. |
|
Displays the MAC address table information for the specified VLAN. |
Use the show mac address-table static user EXEC command to display only static MAC address table entries.
show mac address-table static [address mac-address] [interface interface-id] [vlan vlan-id]
[ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table static command:
Switch> show mac address-table static
Mac Address Table
------------------------------------------
Vlan Mac Address Type Ports
---- ----------- ---- -----
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
Use the show mac address-table vlan user EXEC command to display the MAC address table information for the specified VLAN.
show mac address-table vlan vlan-id [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mac address-table vlan 1 command:
Switch> show mac address-table vlan 1
Mac Address Table
------------------------------------------
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
Use the show monitor user EXEC command to display information about all Switched Port Analyzer (SPAN) and Remote SPAN (RSPAN) sessions on the switch. Use the command with keywords to show a specific session, all sessions, all local sessions, or all remote sessions.
show monitor [session {session_number | all | local | range list | remote} [detail]] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
The output is the same for the show monitor command and the show monitor session all command.
This is an example of output for the show monitor user EXEC command:
Switch# show monitor
Session 1
---------
Type :Local Session
Source Ports:
RX Only: Fa0/24
TX Only: None
Both: Fa0/1-2,Fa0/1-5
Destination Ports:Fa0/18
Encapsulation:Replicate
Session 2
---------
Type :Remote Source Session
Source Ports:
Source VLANs:
TX Only: 10
Both: 1-9
Dest RSPAN VLAN: 105
This is an example of output for the show monitor user EXEC command for RSPAN source session 1:
Switch# show monitor session 1
Session 1
---------
Type :Local Session
Source Ports:
RX Only: Fa0/24
TX Only: None
Both: Fa0/1-2,Fa0/1-5
Destination Ports:Fa0/18
Encapsulation:Replicate
This is an example of output for the show monitor session all user EXEC command when ingress traffic forwarding is enabled:
Switch# show monitor session all
Session 1
---------
Type :Local Session
Source Ports :
Both :Fa0/2
Destination Ports :Fa0/3
Encapsulation :Replicate
Ingress:Enabled, default VLAN = 5
Ingress encapsulation:DOT1Q
Session 2
---------
Type :Local Session
Source Ports :
Both :Fa0/1
Destination Ports :Fa0/4
Encapsulation :Replicate
Ingress:Enabled
Ingress encapsulation:DOT1Q
|
|
---|---|
Starts or modifies a SPAN or RSPAN session. |
Use the show mvr privileged EXEC command without keywords to display the current Multicast VLAN Registration (MVR) global parameter values, including whether or not MVR is enabled, the MVR multicast VLAN, the maximum query response time, the number of multicast groups, and the MVR mode (dynamic or compatible).
show mvr [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mvr command:
Switch# show mvr
MVR Running: TRUE
MVR multicast VLAN: 1
MVR Max Multicast Groups: 256
MVR Current multicast groups: 0
MVR Global query response time: 5 (tenths of sec)
MVR Mode: compatible
In the preceding display, the maximum number of multicast groups is fixed at 256. The MVR mode is either compatible (for interoperability with Catalyst 2900 XL and Catalyst 3500 XL switches) or dynamic (where operation is consistent with IGMP snooping operation and dynamic MVR membership on source ports is supported).
Use the show mvr interface privileged EXEC command without keywords to display the Multicast VLAN Registration (MVR) receiver and source ports. Use the command with keywords to display MVR parameters for a specific receiver port.
show mvr interface [interface-id [members [vlan vlan-id]]] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If the entered port identification is a non-MVR port or a source port, the command returns an error message. For receiver ports, it displays the port type, per port status, and Immediate-Leave setting.
If you enter the show mvr interface interface-id command and the specified port is a non-MVR port, the output displays NON MVR in the Type field. For active MVR ports, it displays the port type (RECEIVER or SOURCE), mode (access or trunk), VLAN, status, and Immediate-Leave setting.
If you enter the members keyword, all MVR group members on the interface appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mvr interface command:
Switch# show mvr interface
Port Type Mode VLAN Status Immediate Leave
---- ---- ---- ---- ------- ---------------
Fa0/1 Receiver Trunk 1 ACTIVE/UP DISABLED Fa0/1 Receiver Trunk 2000 ACTIVE/DOWN DISABLED Fa0/2 Receiver Trunk 2 ACTIVE/UP DISABLED Fa0/2 Receiver Trunk 3000 ACTIVE/UP DISABLED Fa0/3 Receiver Trunk 2 ACTIVE/UP DISABLED Fa0/3 Receiver Trunk 3000 ACTIVE/UP DISABLED Fa0/10 Source Access 10 ACTIVE/UP DISABLED
In the preceding display, Status is defined as follows:
•Active means the port is part of a VLAN.
•Up/Down means that the port is forwarding/nonforwarding.
•Inactive means that the port is not yet part of any VLAN.
This is an example of output from the show mvr interface fastethernet0/10 command:
switch# show mvr interface fa0/10
Port Type Mode VLAN Status Immediate Leave
---- ---- ---- ---- ------- ---------------
Fa0/10 RECEIVER Trunk 201 ACTIVE/DOWN DISABLED
This is an example of output from the show mvr interface fastethernet0/1 command. In this example, the port is not an MVR member:
switch# show mvr interface fa0/1
Port Type Mode VLAN Status Immediate Leave
---- ---- ---- ---- ------- ---------------
Fa0/1 NON MVR Access 0 INACTIVE DISABLED
This is an example of output from the show mvr interface gigabitethernet0/1 members command:
Switch# show mvr interface gigabitethernet0/1 members
239.255.0.0 vlan 202 DYNAMIC ACTIVE
239.255.0.1 vlan 202 DYNAMIC ACTIVE
239.255.0.2 vlan 202 DYNAMIC ACTIVE
239.255.0.3 vlan 203 DYNAMIC ACTIVE
239.255.0.4 vlan 203 DYNAMIC ACTIVE
239.255.0.5 vlan 203 DYNAMIC ACTIVE
Use the show mvr members privileged EXEC command to display all receiver and source ports that are currently members of an IP multicast group.
show mvr members [ip-address] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
The show mvr members command applies to receiver and source ports. For MVR-compatible mode, all source ports are members of all multicast groups.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show mvr members command:
Switch# show mvr members
MVR Group Status Members VLAN Membership
------------ ------ ------- ---- ----------
239.1.1.1 ACTIVE Fa0/1 1 Static
239.1.1.1 ACTIVE Fa0/1 2000 Static
239.1.1.1 ACTIVE Fa0/2 2 Static
239.1.1.1 ACTIVE Fa0/2 3000 Static
239.1.1.2 ACTIVE Fa0/1 1 Static
239.1.1.2 ACTIVE Fa0/2 2 Static
<output truncated>
This is an example of output from the show mvr members 239.255.0.2 command. It shows how to view the members of the IP multicast group 239.255.0.2:
Switch# show mvr members 239.255.0.2
239.255.0.2 ACTIVE Gi0/1(d), Gi0/2(d), Gi0/3(d),
Gi0/4(d), Gi0/5(s)
Use the show pagp user EXEC command to display Port Aggregation Protocol (PAgP) channel-group information.
show pagp [channel-group-number] {counters | internal | neighbor} [ | {begin | exclude | include} expression]]
Note PAgP is available only on network node interfaces (NNIs) or enhanced network interfaces (ENIs).
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
You can enter any show pagp command to display the active channel-group information. To display the nonactive information, enter the show pagp command with a channel-group number.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output are appear.
This is an example of output from the show pagp 1 counters command:
Switch>
show pagp 1 counters
Information Flush
Port Sent Recv Sent Recv
--------------------------------------
Channel group: 1
Gi0/1 45 42 0 0
Gi0/2 45 41 0 0
This is an example of output from the show pagp 1 internal command:
Switch> show pagp 1 internal
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Channel group 1
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Gi0/1 SC U6/S7 H 30s 1 128 Any 16
Gi0/2 SC U6/S7 H 30s 1 128 Any 16
This is an example of output from the show pagp 1 neighbor command:
Switch> show pagp 1 neighbor
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
Channel group 1 neighbors
Partner Partner Partner Partner Group
Port Name Device ID Port Age Flags Cap.
Gi0/1 switch-p2 0002.4b29.4600 Gi0/1 9s SC 10001
Gi0/2 switch-p2 0002.4b29.4600 Gi0/2 24s SC 10001
|
|
---|---|
Clears PAgP channel-group information. |
Use the show parser macro user EXEC command to display the parameters for all configured macros or for one macro on the switch.
show parser macro [{brief | description [interface interface-id] | name macro-name}] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is a partial output example from the show parser macro command:
Switch# show parser macro
Total number of macros = 2
--------------------------------------------------------------
Macro name : sample-macro1
Macro type : customizable
duplex full
speed auto
mdix auto
--------------------------------------------------------------
Macro name : test1
Macro type : customizable
no shutdown
flowcontrol receive on
speed 100
--------------------------------------------------------------
This is an example of output from the show parser macro name command:
Switch# show parser macro name sample-macro1
Macro name : sample-macro1
Macro type : customizable
duplex full
speed auto
mdix auto
This is an example of output from the show parser macro brief command:
Switch# show parser macro brief
customizable : sample-macro1
customizable : test1
|
|
---|---|
Applies a macro on an interface or applies and traces a macro on an interface. |
|
Adds a description about the macros that are applied to an interface. |
|
Applies a macro on a switch or applies and traces a macro on a switch. |
|
Adds a description about the macros that are applied to the switch. |
|
Creates a macro. |
|
show running-config |
Displays the operating configuration. For syntax information, use this link to the Cisco IOS Release 12.2 Command Reference listing page: http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/prod_command_reference_list.html |
Use the show policer aggregate user EXEC command to display quality of service (QoS) aggregate policer information for all aggregate policers or a specific policer.
show policer aggregate [aggregate-policer-name] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show policer aggregate command:
Switch> show policer aggregate my-policer
aggregate-policer: my-policer
police cir 12000000 bc 5000
conform-action transmit
exceed-action set-cos-transmit cos table 67577
In use by policymap: pin
|
|
---|---|
Applies an aggregate policer to multiple classes in the same policy map. |
|
Creates an aggregate policer to police all traffic received on an interface. |
Use the show policer cpu uni-eni user EXEC command to display control-plane policer information for the user network interfaces (UNIs) and enhanced network interfaces (ENIs) on the switch, including frames dropped or the configured threshold rate for the control-plane security feature on the switch.
show policer cpu uni-eni {drop [interface interface-id]] | rate} [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
This command displays policer information that applies to UNIs and ENIs on the switch. Rate-limiting and policers are the same on both port types, except on ENIs on which a Layer 2 control protocol (CDP, STP, LLDP, LACP, or PAgP) has been enabled.
The output also displays if CPU protection has been disabled.
The show policer cpu uni-eni drop privileged EXEC command displays the number of accepted and dropped frames for all interfaces on the switch or for the specified interface.
The show policer cpu uni-eni rate command displays the CPU protection rate-limit threshold on the switch that was configured by entering the policer cpu uni rate global configuration command or the default rate of 16000 bits per second (bps).
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show policer cpu uni-eni drop command.
Switch# show policer cpu uni-eni drop
=========================================
Port In Dropped
Name Frames Frames
Fa0/1 300 0
Fa0/2 0 0
Fa0/3 0 0
Fa0/4 0 0
Fa0/5 200 0
Fa0/6 0 0
Fa0/7 0 0
Fa0/8 0 0
Fa0/9 508055 325086
Fa0/10 0 0
Fa0/11 0 0
Fa0/12 0 0
Fa0/13 0 0
Fa0/14 0 0
Fa0/15 0 0
Fa0/16 0 0
Fa0/17 0 0
Fa0/18 0 0
Fa0/19 0 0
Fa0/20 0 0
Fa0/21 0 0
Fa0/22 0 0
Fa0/23 0 0
Fa0/24 0 0
Gi0/1 0 0
Gi0/2 0 0
drop-all 0 1849645
This is an example of the new output format for the show policer cpu uni-eni drop interface command:
Switch# show policer cpu uni-eni drop interface gigabitethernet 0/1 ============================ Policer assigned for Gi0/2 ============================
Protocols using this policer: "VTP" "CISCO_L2" "KEEPALIVE" "SWITCH_IGMP" "SWITCH_L2PT" Policer rate: 160000 bps In frames: 48014 Drop frames: 28630
This is an example of output from the show policer cpu uni-eni rate command when the default rate is used.
Switch> show policer cpu uni-eni rate
CPU UNI/ENI port police rate = 160000 bps
This is an example of the show command output when CPU protection is disabled.
Switch# show policer cpu uni-eni rate
CPU Protection feature is not enabled
Use the show policy-map user EXEC command to display quality of service (QoS) policy maps, which define classification criteria for incoming and outgoing traffic and the actions to be performed on the classified traffic.
show policy-map [policy-map-name | interface [interface-id] [input | output] [class class-name]] {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show policy-map interface command:
Switch> show policy-map interface
GigabitEthernet0/1
Service-policy input: L3
Class-map: dscp-44 (match-all)
0 packets
Match: ip dscp 44
police cir 68000000 bc 1000000
conform-action set-dscp-transmit af41
conform-action set-cos-transmit 3
conform-action set-qos-transmit 18
exceed-action set-dscp-transmit cs5
conform: 0 (packets) 0 (bytes)
exceed: 0 (packets) 0 (bytes)
conform: 0 bps, exceed: 0 bps
Class-map: dscp-14 (match-any)
0 packets
Match: ip dscp af13 (14)
police cir 3000000 bc 93750 pir 5000000 be 156250
conform-action set-prec-transmit 2
conform-action set-cos-transmit precedence
conform-action set-qos-transmit 12
exceed-action set-cos-transmit precedence table tm-prec-to-cos
exceed-action set-prec-transmit precedence
violate-action set-cos-transmit 0
violate-action set-dscp-transmit af13
conform: 0 (packets) 0 (bytes)
exceed: 0 (packets) 0 (bytes)
violate: 0 (packets) 0 (bytes)
conform: 0 bps, exceed: 0 bps, violate: 0 bps
Class-map: prec-5 (match-any)
0 packets
Match: ip precedence 5
police cir 15000000 bc 468750 pir 16000000 be 500000
conform-action transmit
exceed-action set-dscp-transmit precedence
violate-action set-cos-transmit dscp
conform: 0 (packets) 0 (bytes)
exceed: 0 (packets) 0 (bytes)
violate: 0 (packets) 0 (bytes)
conform: 0 bps, exceed: 0 bps, violate: 0 bps
Class-map: dscp-2 (match-all)
0 packets
Match: ip dscp 2
police cir 34000000 bc 1000000 pir 37000000 be 1000000
conform-action transmit
exceed-action drop
violate-action set-dscp-transmit af41
conform: 0 (packets) 0 (bytes)
exceed: 0 (packets) 0 (bytes)
violate: 0 (packets) 0 (bytes)
conform: 0 bps, exceed: 0 bps, violate: 0 bps
Class-map: prec-0 (match-any)
0 packets
Match: ip precedence 0
police aggregate AP-L3-42m-2
conform: 0 (packets) 0 (bytes)
exceed: 0 (packets) 0 (bytes)
violate: 0 (packets) 0 (bytes)
conform: 0 bps, exceed: 0 bps, violate: 0 bps
NOTE: Policing statistics for a class configured with an aggregate policer are the
same for all classes in the policy-map configured with the same aggregate policer
<output truncated>
This is an example of output from the show policy-map command for a specific policy map:
Switch> show policy-map top2
Policy Map top2
Class class-default
shape average 11111124
service-policy pout
This is an example of output from the show policy-map command for an output policy map:
Switch> show policy-map pout
Policy Map pout
Class ip1
priority
police cir percent 10
conform-action transmit
exceed-action drop
queue-limit 250
queue-limit precedence 1 100
Class ip2
Average Rate Traffic Shaping
cir 5%
Class ip3
bandwidth percent 10
queue-limit 200
queue-limit precedence 3 100
This is an example of output from the show policy-map command for an input policy map:
Switch> show policy-map pin-police
Policy Map pin-police
Class ip1
police cir 20000000 bc 625000
conform-action transmit
exceed-action drop
violate-action drop
This is an example of output from the show policy-map interface command for an interface with a two-level output policy map applied:
Switch> show policy-map interface fastethernet0/3
FastEthernet0/3
Service-policy output: top2
Class-map: class-default (match-any)
209871 packets
Match: any
56 packets
Traffic Shaping
Average Rate Traffic Shaping
CIR 11111124 (bps)
Output Queue:
Tail Packets Drop: 195421
Service-policy : pout
Class-map: ip1 (match-all)
9309 packets
Match: ip precedence 1
Priority
police cir 20000000 bc 625000
conform-action transmit
exceed-action drop
conform: 4916 (packets) exceed: 4393 (packets)
Queue Limit
queue-limit 250 (packets)
queue-limit precedence 1 100 (packets)
Output Queue:
Max Tail Drop Threshold: 250
Tail Packets Drop: 4393
Class-map: ip2 (match-all)
0 packets
Match: ip precedence 2
Traffic Shaping
Average Rate Traffic Shaping
CIR 5% 555555 (bps)
Output Queue:
Max Tail Drop Threshold: 48
Tail Packets Drop: 0
Class-map: ip3 (match-all)
0 packets
Match: ip precedence 3
Bandwidth percent 10 1111110 (bps)
Queue Limit
queue-limit 200 (packets)
queue-limit precedence 3 100 (packets)
Output Queue:
Max Tail Drop Threshold: 200
Tail Packets Drop: 0
Class-map: class-default (match-any)
200562 packets
Match: any
56 packets
Output Queue:
Tail Packets Drop: 191028
Table 2-20 describes the fields in the show policy-map interface display. The fields in the table are grouped according to the relevant QoS feature.
|
|
---|---|
Creates or modifies a policy map that can be attached to multiple ports to specify a service policy. |
Use the show port-security privileged EXEC command to display port-security settings for an interface or for the switch.
show port-security [interface interface-id] [address | vlan] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you enter the command without keywords, the output includes the administrative and operational status of all secure ports on the switch.
If you enter an interface-id, the command displays port security settings for the interface.
If you enter the address keyword, the command displays the secure MAC addresses for all interfaces and the aging information for each secure address.
If you enter an interface-id and the address keyword, the command displays all the MAC addresses for the interface with aging information for each secure address. You can also use this command to display all the MAC addresses for an interface even if you have not enabled port security on it.
If you enter the vlan keyword, the command displays the configured maximum and the current number of secure MAC addresses for all VLANs on the interface. This option is visible only on interfaces that have the switchport mode set to trunk.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of the output from the show port-security command:
Switch# show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
-------------------------------------------------------------------------------
Gi0/1 1 0 0 Shutdown
-------------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 1
Max Addresses limit in System (excluding one mac per port) : 6272
This is an example of output from the show port-security interface interface-id command:
Switch# show port-security interface gigabitethernet0/1
Port Security : Enabled
Port status : SecureUp
Violation mode : Shutdown
Maximum MAC Addresses : 1
Total MAC Addresses : 0
Configured MAC Addresses : 0
Aging time : 0 mins
Aging type : Absolute
SecureStatic address aging : Disabled
Security Violation count : 0
This is an example of output from the show port-security address command:
Switch# show port-security address
Secure Mac Address Table
-------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ---- ----- -------------
1 0006.0700.0800 SecureConfigured Gi0/2 1
-------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 1
Max Addresses limit in System (excluding one mac per port) : 6272
This is an example of output from the show port-security interface gigabitethernet0/2 address command:
Switch# show port-security interface gigabitethernet0/2 address
Secure Mac Address Table
-------------------------------------------------------------------
Vlan Mac Address Type Ports Remaining Age
(mins)
---- ----------- ---- ----- -------------
1 0006.0700.0800 SecureConfigured Gi0/2 1
-------------------------------------------------------------------
Total Addresses: 1
This is an example of output from the show port-security interface interface-id vlan command:
Switch# show port-security interface gigabitethernet0/2 vlan
Default maximum:not set, using 5120
VLAN Maximum Current
5 default 1
10 default 54
11 default 101
12 default 101
13 default 201
14 default 501
Use the show port-type privileged EXEC command to display interface type information for the Cisco CGS 2520 switch.
show port-type [eni | nni | uni] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you enter the command without keywords, the output includes the interface type information for all ports on the switch. If you specify the port type (eni, nni, or uni), the output includes information for the specified port type.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show port-type command with no keywords:
Switch# show port-type
Port Name Vlan Port Type
--------- ------------------ ---------- ----------------------------
Fa0/1 1 User Network Interface (uni)
Fa0/2 1 User Network Interface (uni)
Fa0/3 1 User Network Interface (uni)
Fa0/4 1 User Network Interface (uni)
Fa0/5 1 User Network Interface (uni)
Fa0/6 1 User Network Interface (uni)
Fa0/7 1 User Network Interface (uni)
Fa0/8 1 User Network Interface (uni)
Fa0/9 1 User Network Interface (uni)
Fa0/10 1 User Network Interface (uni)
Fa0/11 1 User Network Interface (uni)
Fa0/12 1 User Network Interface (uni)
Fa0/13 1 User Network Interface (uni)
Fa0/14 1 User Network Interface (uni)
Fa0/15 1 User Network Interface (uni)
Fa0/16 1 User Network Interface (uni)
Fa0/17 routed User Network Interface (uni)
Fa0/18 1 User Network Interface (uni)
Fa0/19 1 User Network Interface (uni)
Fa0/20 1 User Network Interface (uni)
Fa0/21 1 User Network Interface (uni)
Fa0/22 1 User Network Interface (uni)
Fa0/23 10 User Network Interface (uni)
Fa0/24 10 User Network Interface (uni)
Gi0/1 1 Network Node Interface (nni)
Gi0/2 1 Network Node Interface (nni)
This is an example of output from the show port-type command using keywords:
Switch# show port-type nni | exclude Gigabitethernet0/1
Port Name Vlan Port Type
--------- ------------------ ---------- ----------------------------
Gi0/2 1 Network Node Interface (nni)
|
|
---|---|
Changes the interface type for a specific port. |
Use the show power inline user EXEC command to display the Power over Ethernet (PoE) status for the specified PoE port.
show power inline [police] [interface-id | consumption] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show power inline command. Table 2-21 describes the output fields.
Switch> show power inline
Available:170.0(w) Used:76.8(w) Remaining:93.2(w)
Interface Admin Oper Power Device Class Max
(Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Fa0/17 auto on 15.4 Cisco PD n/a 15.4
Fa0/18 auto on 10.3 IP Phone 7970 3 15.4
Fa0/19 auto on 12.0 IP Phone 7975 3 15.4
Fa0/20 auto on 12.0 IP Phone 7975 3 15.4
Fa0/21 auto on 14.9 Ieee PD 3 20.0
Fa0/22 auto off 0.0 n/a n/a 15.4
Fa0/23 auto on 12.2 AIR-LAP1131AG-A-K9 3 15.4
Fa0/24 auto off 0.0 n/a n/a 15.4
This is an example of output from the show power inline interface-id command on a switch port. Table 2-21 describes the output fields.
Switch> show power inline fastethernet0/24
Interface Admin Oper Power Device Class Max
(Watts)
--------- ------ ---------- ------- ------------------- ----- ----
Fa0/24 auto off 0.0 n/a n/a 15.4
Interface AdminPowerMax AdminConsumption
(Watts) (Watts)
---------- --------------- --------------------
Fa0/24 15.4 15.4
|
|
---|---|
Available |
The total amount of configured power1 on the PoE switch in watts (W). |
Used |
The amount of configured power that is allocated to PoE ports in watts. |
Remaining |
The amount of configured power in watts that is not allocated to ports in the system. (Available - Used = Remaining) |
Admin |
Administration mode: auto, off, static. |
Oper |
Operating mode: • • • • |
Power |
The maximum amount of power that is allocated to the powered device in watts. This value is the same as the value in the Cutoff Power field in the show power inline police command output. |
Device |
The device type detected: n/a, unknown, Cisco powered-device, IEEE powered-device, or the name from CDP. |
Class |
The IEEE classification: n/a or a value from 0 to 4. |
Max |
The maximum amount of power allocated to the powered device in watts. |
AdminPowerMax |
The maximum amount power allocated to the powered device in watts when the switch polices the real-time power consumption. This value is the same as the Max field value. |
AdminConsumption |
The power consumption of the powered device in watts when the switch polices the real-time power consumption. If policing is disabled, this value is the same as the AdminPowerMax field value. |
1 The configured power is the power that you manually specify or that the switch specifies by using CDP power negotiation or the IEEE classification, which is different than the real-time power that is monitored with the power sensing feature. |
This is an example of output from the show power inline consumption command on all PoE switch ports:
Switch> show power inline consumption
Interface Consumption Admin
Configured Consumption (Watts)
---------- ----------- -------------------
Fa0/17 NO 0.0
Fa0/18 YES 10.3
Fa0/19 YES 12.0
Fa0/20 NO 0.0
Fa0/21 NO 0.0
Fa0/22 NO 0.0
Fa0/23 NO 0.0
Fa0/24 NO 0.0
This is an example of output from the show power inline police command. Table 2-22 describes the output fields.
Switch> show power inline police
Available:170.0(w) Used:76.8(w) Remaining:93.2(w)
Interface Admin Oper Admin Oper Cutoff Oper
State State Police Police Power Power
--------- ------ ---------- ---------- ---------- ------ -----
Fa0/17 auto on none n/a n/a 4.6
Fa0/18 auto on log ok 12.0 6.5
Fa0/19 auto on errdisable ok 12.0 5.1
Fa0/20 off off none n/a n/a 0.0
Fa0/21 auto on log log 6.0 7.6
Fa0/22 auto off none n/a n/a 0.0
Fa0/23 auto errdisable errdisable n/a 12.0 0.0
Fa0/24 off off errdisable n/a 12.0 0.0
--------- ------ ---------- ---------- ---------- ------ -----
Totals: 23.8
In the previous example:
•The Fa0/17 port is up and connected to a power device, and policing is disabled.
•The Fa0/18 port is up and connected to a powered device, and policing is enabled with a policing action to generate a syslog message. The policing action does not take effect because the real-time power consumption is less than the cutoff value.
•The Fa0/19 port is up and connected to a power device, and policing is enabled with a policing action to shut down the port. The policing action does not take effect because the real-time power consumption is less than the cutoff value.
•Device detection is disabled on the Fa0/20 port, power is not applied to the port, and policing is disabled.
•The Fa0/21 port is up and connected to a powered device, and policing is enabled with a policing action to generate a syslog message.
•The Fa0/22 port is up, and policing is disabled, but the switch does not apply power to the connected device.
•The Fa0/23 port is up and connected to a powered device, and policing is enabled with a policing action to shut down the port.
•Device detection is disabled on the Fa0/24 port, and power is not applied to the port, but policing is enabled with a policing action to shut down the port.
This is an example of output from the show power inline police interface-id command on a standalone switch. Table 2-22 describes the output fields.
Switch> show power inline police fastethernetfa0/20
Interface Admin Oper Admin Oper Cutoff Oper
State State Police Police Power Power
--------- ------ ---------- ---------- ---------- ------ -----
Fa0/20 auto on errdisable ok 12.0 4.7
|
|
---|---|
Available |
The total amount of configured power1 on the switch in watts (W). |
Used |
The amount of configured power allocated to PoE ports in watts. |
Remaining |
The amount of configured power in watts that is not allocated to ports in the system. (Available - Used = Remaining) |
Admin State |
Administration mode: auto, off, static. |
Oper State |
Operating mode: • • • • • Note |
Admin Police |
Status of the real-time power-consumption policing feature: • • • |
Oper Police |
Policing status: • • • • |
Cutoff Power |
The maximum power allocated on the port. When the real-time power consumption is greater than this value, the switch takes the configured policing action. |
Oper Power |
The real-time power consumption of the powered device. |
1 The configured power is the power that you manually specify or that the switch specifies by using CDP power negotiation or the IEEE classification, which is different than the real-time power that is monitored with the power sensing feature. |
Use the show rep topology User EXEC command to display Resilient Ethernet Protocol (REP) topology information for a segment or for all segments, including the primary and secondary edge ports in the segment.
show rep topology [segment segment_id] [archive] [detail] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced.6/16 |
In the show rep topology command output, ports configured as edge no-neighbor are designated with an asterisk (*) in front of Pri or Sec. In the output of the show rep topology detail command, No-Neighbor is spelled out.
The output of this command is also included in the show tech-support privileged EXEC command output.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is a sample output from the show rep topology segment privileged EXEC command:
Switch # show rep topology segment 1
REP Segment 1
BridgeName PortName Edge Role
---------------- ---------- ---- ----
sw1_multseg_3750 Gi1/1/1 Pri Alt
sw3_multseg_2520 Gi0/13 Open
sw3_multseg_2520 Gi0/14 Alt
sw4_multseg_2520 Gi0/13 Open
sw4_multseg_2520 Gi0/14 Open
sw5_multseg_2520 Gi0/13 Open
sw5_multseg_2520 Gi0/14 Open
sw2_multseg_3750 Gi1/1/2 Open
sw2_multseg_3750 Gi1/1/1 Open
sw1_multseg_3750 Gi1/1/2 Sec Open
This is a sample output from the show rep topology command when the edge ports are configured to have no REP neighbor:
Switch # show rep topology
REP Segment 2
BridgeName PortName Edge Role
---------------- ---------- ---- ----
sw8-ts8-51 Gi0/2 Pri* Open
sw9-ts11-50 Gi1/0/4 Open
sw9-ts11-50 Gi1/0/2 Open
sw1-ts11-45 Gi0/2 Alt
sw1-ts11-45 Po1 Open
sw8-ts8-51 Gi0/1 Sec* Open
This example shows output from the show rep topology detail command:
Switch# show rep topology detail
REP Segment 2
repc_2_24ts, Fa0/2 (Primary Edge)
Alternate Port, some vlans blocked
Bridge MAC: 0019.e714.5380
Port Number: 004
Port Priority: 080
Neighbor Number: 1 / [-10]
repc_3_12cs, Gi0/1 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 001a.a292.3580
Port Number: 001
Port Priority: 000
Neighbor Number: 2 / [-9]
repc_3_12cs, Po10 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 001a.a292.3580
Port Number: 080
Port Priority: 000
Neighbor Number: 3 / [-8]
repc_4_12cs, Po10 (Intermediate)
Open Port, all vlans forwarding
Bridge MAC: 001a.a19d.7c80
Port Number: 080
Port Priority: 000
Neighbor Number: 4 / [-7]
repc_4_12cs, Gi0/2 (Intermediate)
Alternate Port, some vlans blocked
Bridge MAC: 001a.a19d.7c80
Port Number: 002
Port Priority: 040
Neighbor Number: 5 / [-6]
<output truncated>
This example shows output from the show rep topology segment archive command:
Switch# show rep topology segment 1 archive
REP Segment 1
BridgeName PortName Edge Role
---------------- ---------- ---- ----
sw1_multseg_3750 Gi1/1/1 Pri Open
sw3_multseg_2520 Gi0/13 Open
sw3_multseg_2520 Gi0/14 Open
sw4_multseg_2520 Gi0/13 Open
sw4_multseg_2520 Gi0/14 Open
sw5_multseg_2520 Gi0/13 Open
sw5_multseg_2520 Gi0/14 Open
sw2_multseg_3750 Gi1/1/2 Alt
sw2_multseg_3750 Gi1/1/1 Open
sw1_multseg_3750 Gi1/1/2 Sec Open
|
|
---|---|
Enables REP on an interface and assigns a segment ID. This command is also used to configure a port as an edge port, a primary edge port, or a preferred port. |
To display the MODBUS TCP server information, use the show scada modbus tcp server privileged EXEC command.
show scada modbus tcp server [connections] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Use the show scada modbus tcp server command to display only the server information and statistics. Use the connections keyword to display only the client information and statistics.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This example shows output from the show scada modbus tcp server command:
Switch# show scada modbus tcp server
Summary: enabled, running, process id 142
Conn Stats: listening on port 801, 4 max simultaneous connections
0 current client connections
0 total accepted connections, 0 accept connection errors
0 closed connections, 0 close connection errors
Send Stats: 0 tcp msgs sent, 0 tcp bytes sent, 0 tcp errors
0 responses sent, 0 exceptions sent, 0 send errors
Recv Stats: 0 tcp msgs received, 0 tcp bytes received, 0 tcp errors
0 requests received, 0 receive errors
|
|
---|---|
Clears the MODBUS TCP server and client statistics. |
|
Enables MODBUS TCP on the switch. The switch acts as a MODBUS TCP server. |
Use the show sdm prefer privileged EXEC command to display the Switch Database Management (SDM) templates that can be used to allocate system resources for a particular feature, or use the command without a keyword to display the template in use.
show sdm prefer [default | dual-ipv4-and-ipv6 {default | routing | vlan} | layer-2] [ | {begin | exclude | include} expression]
Note The default and dual-ipv4-and-ipv6 keywords are visible only when the metro IP access image is installed on the switch.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
When you change the SDM template by using the sdm prefer global configuration command, you must reload the switch for the configuration to take effect. If you enter the show sdm prefer command before you enter the reload privileged EXEC command, the show sdm prefer command shows the template currently in use and the template that will become active after a reload.
The numbers displayed represent an approximate maximum number for each feature resource. The actual number might vary, depending on the actual number of other features configured.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show sdm prefer command, displaying the template in use:
Switch# show sdm prefer
The current template is ''layer-2'' template. The selected template optimizes the resources in the switch to support this level of features for 8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 8K
number of IPv4 IGMP groups: 1K
number of IPv4 multicast routes: 0
number of unicast IPv4 routes: 0
number of IPv4 policy based routing aces: 0
number of IPv4/MAC qos aces: 512
number of IPv4/MAC security aces: 1K
This is an example of output from the show sdm prefer default command:
Switch# show sdm prefer default
"default" template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 5K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 9K
number of directly-connected IPv4 hosts: 5K
number of indirect IPv4 routes: 4K
number of IPv4 policy based routing aces: 512
number of IPv4/MAC qos aces: 512
number of IPv4/MAC security aces: 1K
This is an example of output from the show sdm prefer dual-ipv4-and-ipv6 routing command:
Switch# show sdm prefer dual-ipv4-and-ipv6 routing
"desktop IPv4 and IPv6 routing" template:
The selected template optimizes the resources in
the switch to support this level of features for
8 routed interfaces and 1024 VLANs.
number of unicast mac addresses: 1.5K
number of IPv4 IGMP groups + multicast routes: 1K
number of IPv4 unicast routes: 2.75K
number of directly-connected IPv4 hosts: 1.5K
number of indirect IPv4 routes: 1.25K
number of IPv6 multicast groups: 1.125k
number of directly-connected IPv6 addresses: 1.5K
number of indirect IPv6 unicast routes: 1.25K
number of IPv4 policy based routing aces: 0.25K
number of IPv4/MAC qos aces: 0.75K
number of IPv4/MAC security aces: 0.5K
number of IPv6 policy based routing aces: 0.25K
number of IPv6 qos aces: 0.5K
number of IPv6 security aces: 0.5K
|
|
---|---|
Sets the SDM template to maximize resources for Layer 2 functionality or to the default template. |
Use the show spanning-tree user EXEC command to display spanning-tree state information.
show spanning-tree [bridge-group | active [detail] | blockedports | bridge | detail [active] | inconsistentports | interface interface-id | mst | pathcost method | root | summary [totals] | vlan vlan-id] [ | {begin | exclude | include} expression]
show spanning-tree bridge-group [active [detail] | blockedports | bridge | detail [active] | inconsistentports | interface interface-id | root | summary] [| {begin | exclude | include} expression]
show spanning-tree vlan vlan-id [active [detail] | blockedports | bridge | detail [active] | inconsistentports | interface interface-id | root | summary] [ | {begin | exclude | include} expression]
show spanning-tree {vlan vlan-id | bridge-group} bridge [address | detail | forward-time | hello-time | id | max-age | priority [system-id] | protocol] [ | {begin | exclude | include} expression]
show spanning-tree {vlan vlan-id | bridge-group} root [address | cost | detail | forward-time | hello-time | id | max-age | port | priority [system-id] [ | {begin | exclude | include} expression]
show spanning-tree interface interface-id [active [detail] | cost | detail [active] | inconsistency | portfast | priority | rootcost | state] [ | {begin | exclude | include} expression]
show spanning-tree mst [configuration [digest]] | [instance-id [detail | interface interface-id [detail]] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
STP is not supported on UNIs. Valid spanning-tree information is available only for NNIs or ENIs.
If the vlan-id variable is omitted, the command applies to the spanning-tree instance for all VLANs.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show spanning-tree active command:
Switch#
show spanning-tree active
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32768
Address 0001.42e2.cdd0
Cost 3038
Port 24 (GigabitEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 49153 (priority 49152 sys-id-ext 1)
Address 0003.fd63.9580
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Uplinkfast enabled
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1 Root FWD 3019 128.24 P2p
<output truncated>
This is an example of output from the show spanning-tree detail command:
Switch#
show spanning-tree detail
VLAN0001 is executing the ieee compatible Spanning Tree protocol
Bridge Identifier has priority 49152, sysid 1, address 0003.fd63.9580
Configured hello time 2, max age 20, forward delay 15
Current root has priority 32768, address 0001.42e2.cdd0
Root port is 24 (GigabitEthernet0/1), cost of root path is 3038
Topology change flag not set, detected flag not set
Number of topology changes 0 last change occurred 1d16h ago
Times: hold 1, topology change 35, notification 2
hello 2, max age 20, forward delay 15
Timers: hello 0, topology change 0, notification 0, aging 300
Uplinkfast enabled
Port 1 (GigabitEthernet0/1) of VLAN0001 is forwarding
Port path cost 3019, Port priority 128, Port Identifier 128.24.
Designated root has priority 32768, address 0001.42e2.cdd0
Designated bridge has priority 32768, address 00d0.bbf5.c680
Designated port id is 128.25, designated path cost 19
Timers: message age 2, forward delay 0, hold 0
Number of transitions to forwarding state: 1
Link type is point-to-point by default
BPDU: sent 0, received 72364
<output truncated>
This is an example of output from the show spanning-tree interface interface-id command:
Switch# show spanning-tree interface gigabitethernet0/1
Vlan Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
VLAN0001 Root FWD 3019 128.24 P2p
This is an example of output from the show spanning-tree summary command:
Switch# show spanning-tree summary
Switch is in pvst mode
Root bridge for: none
EtherChannel misconfiguration guard is enabled
Extended system ID is enabled
Portfast is disabled by default
PortFast BPDU Guard is disabled by default
Portfast BPDU Filter is disabled by default
Loopguard is disabled by default
Pathcost method used is short
Name Blocking Listening Learning Forwarding STP Active
---------------------- -------- --------- -------- ---------- ----------
VLAN0001 1 0 0 11 12
VLAN0002 3 0 0 1 4
VLAN0004 3 0 0 1 4
VLAN0006 3 0 0 1 4
VLAN0031 3 0 0 1 4
VLAN0032 3 0 0 1 4
<output truncated>
---------------------- -------- --------- -------- ---------- ----------
37 vlans 109 0 0 47 156
Station update rate set to 150 packets/sec.
This is an example of output from the show spanning-tree mst configuration command:
Switch# show spanning-tree mst configuration
Name [region1]
Revision 1
Instance Vlans Mapped
-------- ------------------
0 1-9,21-4094
1 10-20
----------------------------
This is an example of output from the show spanning-tree mst configuration digest command:
Switch# show spanning-tree mst configuration
% Switch is not in mst mode
Name []
Revision 0 Instances configured 1
Digest 0xAC36177F50283CD4B83821D8AB26DE62
Pre-std Digest 0xBB3B6C15EF8D089BB55ED10D24DF44DE
This is an example of output from the show spanning-tree mst interface interface-id command:
Switch# show spanning-tree mst interface gigabitethernet0/1
GigabitEthernet0/1 of MST00 is root forwarding
Edge port: no (default) port guard : none (default)
Link type: point-to-point (auto) bpdu filter: disable (default)
Boundary : boundary (STP) bpdu guard : disable (default)
Bpdus sent 5, received 74
Instance role state cost prio vlans mapped
0 root FWD 200000 128 1,12,14-4094
This is an example of output from the show spanning-tree mst 0 command:
Switch# show spanning-tree mst 0
###### MST00 vlans mapped: 1-9,21-4094
Bridge address 0002.4b29.7a00 priority 32768 (32768 sysid 0)
Root address 0001.4297.e000 priority 32768 (32768 sysid 0)
port Gi0/1 path cost 200038
IST master *this switch
Operational hello time 2, forward delay 15, max age 20, max hops 20
Configured hello time 2, forward delay 15, max age 20, max hops 20
Interface role state cost prio type
-------------------- ---- ----- --------- ---- --------------------------------
GigabitEthernet0/1 root FWD 200000 128 P2P bound(STP)
GigabitEthernet0/2 desg FWD 200000 128 P2P bound(STP)
Port-channel1 desg FWD 200000 128 P2P bound(STP)
Use the show storm-control user EXEC command to display broadcast, multicast, or unicast storm control settings on the switch or on the specified interface or to display storm-control history.
show storm-control [interface-id] [broadcast | multicast | unicast] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
When you enter an interface-id, the storm control thresholds appear for the specified interface.
If you do not enter an interface-id, settings appear for one traffic type for all ports on the switch.
If you do not enter a traffic type, settings appear for broadcast storm control.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of a partial output from the show storm-control command when no keywords are entered. Because no traffic-type keyword was entered, the broadcast storm control settings appear.
Switch> show storm-control
Interface Filter State Upper Lower Current
--------- ------------- ---------- --------- ---------
Gi0/1 Forwarding 20 pps 10 pps 5 pps
Gi0/2 Forwarding 50.00% 40.00% 0.00%
<output truncated>
This is an example of output from the show storm-control command for a specified interface. Because no traffic-type keyword was entered, the broadcast storm control settings appear.
Switch> show storm-control gigabitethernet 0/1
Interface Filter State Upper Lower Current
--------- ------------- ---------- --------- ---------
Gi0/1 Forwarding 20 pps 10 pps 5 pps
Table 2-23 describes the fields in the show storm-control display.
|
|
---|---|
Sets the broadcast, multicast, or unicast storm control levels for the switch. |
Use the show system mtu privileged EXEC command to display the global maximum transmission unit (MTU) or maximum packet size set for the switch.
show system mtu [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you have used the system mtu or system mtu jumbo global configuration command to change the MTU setting, the new setting does not take effect until you reset the switch.
The system MTU refers to ports operating at 10/100 Mb/s; the system jumbo MTU refers to Gigabit ports; the routing MTU is the MTU for routed packets.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show system mtu command:
Switch# show system mtu
System MTU size is 1500 bytes
System Jumbo MTU size is 1500 bytes
Routing MTU size is 1500 bytes
|
|
---|---|
Sets the MTU size for the Fast Ethernet or Gigabit Ethernet ports. |
Use the show table-map user EXEC command to display quality of service (QoS) table-map information about all configured table maps or the specified table map.
show table-map [table-map-name] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show table-map command:
Switch> show table-map
tandoori_1>show table-map
Table Map abc
default copy
Table Map cos2dscp
from 2 to 16
default copy
Table Map cos2cos
from 2 to 5
from 3 to 6
default 7
Table Map cos2cos10
default copy
Table Map cos=cos
default copy
This is an example of output from the show table-map command for a specific table map name:
Switch> show table-map tm
Table Map tm
from 1 to 62
from 2 to 63
default ignore
|
|
---|---|
Creates quality of service (QoS) mapping tables, such as CoS to DSCP, and so on. |
Use the show udld user EXEC command to display UniDirectional Link Detection (UDLD) administrative and operational status for all ports or the specified port.
show udld [interface-id] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
If you do not enter an interface-id, administrative and operational UDLD status for all interfaces appear.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show udld interface-id command. For this display, UDLD is enabled on both ends of the link, and UDLD detects that the link is bidirectional. Table 2-24 describes the fields in this display.
Switch> show udld gigabitethernet0/1
Interface gi0/1
---
Port enable administrative configuration setting: Follows device default
Port enable operational state: Enabled
Current bidirectional state: Bidirectional
Current operational state: Advertisement - Single Neighbor detected
Message interval: 60
Time out interval: 5
Entry 1
Expiration time: 146
Device ID: 1
Current neighbor state: Bidirectional
Device name: Switch-A
Port ID: Gi0/1
Neighbor echo 1 device: Switch-B
Neighbor echo 1 port: Gi0/2
Message interval: 5
CDP Device name: Switch-A
Use the show version command in user EXEC or privileged EXEC mode to display version information for the hardware and firmware.
show version [ | {begin | exclude | include} expression]
Privileged EXEC and User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show version command:
Note Though visible in the show version output, the configuration register information is not supported on the switch.
Switch> show version
Cisco IOS Software, CGS2520 Software (CGS2520-IPSERVICESK9-M), Experimental Version 12.2
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Fri 16-Apr-10 14:56 by jdoe
Image text-base: 0x01000000, data-base: 0x02F00000
ROM: Bootstrap program is CGS2520 boot loader
BOOTLDR: CGS2520 Boot Loader (CGS2520-HBOOT-M), Version 12.2
switch uptime is 11 minutes
System returned to ROM by power-on
System image file is "flash:cgs2520-ipservicesk9-mz"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco CGS-2520-16S-8PC (PowerPC405) processor (revision 01) with 262144K bytes of memory.
Processor board ID FOC1411X1LZ
Last reset from power-on
Target IOS Version 12.2(46)SE
1 Virtual Ethernet interface
24 FastEthernet interfaces
2 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : FC:FB:FB:6C:8E:00
Motherboard assembly number : 73-12492-02
Motherboard serial number : FOC14094FGD
Model revision number : 01
Motherboard revision number : 07
Model number : CGS-2520-16S-8PC
System serial number : FOCABCD1234
Top Assembly Part Number : 800-32559-01
Top Assembly Revision Number : 42
Version ID : V01
CLEI Code Number : ABCDEFGHIJ
Hardware Board Revision Number : 0x02
FPGA Version : 79
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 26 CGS-2520-16S-8PC 12.2(20100417:214633) CGS2520-IPSERVICESK9-M
Configuration register is 0xF
Use the show vlan user EXEC command to display the parameters for all configured VLANs or one VLAN (if the VLAN ID or name is specified) on the switch.
show vlan [access-map | brief | dot1q tag native | filter | id vlan-id | internal usage | mtu | name vlan-name | private-vlan [type] | remote-span | summary | uni-vlan [type]] [ | {begin | exclude | include} expression]
access-map |
See the show vlan access-map command. |
brief |
(Optional) Display one line for each VLAN with the VLAN name, status, and its ports. |
dot1q tag native |
(Optional) Display the IEEE 802.1Q native VLAN tagging status. This keyword is supported only when the switch is running the metro IP access or metro access image. |
filter |
See the show vlan filter command. |
id vlan-id |
(Optional) Display information about a single VLAN identified by VLAN ID number. For vlan-id, the range is 1 to 4094. |
internal usage |
(Optional) Display a list of VLANs being used internally by the switch. These VLANs are always from the extended range (VLAN IDs 1006 to 4094). You cannot create VLANs with these IDS by using the vlan global configuration command until you remove them from internal use. This keyword is supported only when the switch is running the metro IP access image. |
mtu |
(Optional) Display a list of VLANs and the minimum and maximum transmission unit (MTU) sizes configured on ports in the VLAN. |
name vlan-name |
(Optional) Display information about a single VLAN identified by VLAN name. The VLAN name is an ASCII string from 1 to 32 characters. |
private-vlan [type] |
(Optional) Display information about configured private VLANs, including primary and secondary VLAN IDs, type (community, isolated, or primary) and ports belonging to the private VLAN. Enter type (optional) to see only the VLAN ID and the type of private VLAN. |
remote-span |
(Optional) Display information about Remote SPAN (RSPAN) VLANs. |
summary |
(Optional) Display VLAN summary information. |
uni-vlan [type] |
(Optional) Display user network interface-enhanced network interface (UNI-ENI) VLAN information. Enter type (optional) to see only the VLAN ID and type of UNI-ENI VLAN. |
| begin |
(Optional) Display begins with the line that matches the expression. |
| exclude |
(Optional) Display excludes lines that match the expression. |
| include |
(Optional) Display includes lines that match the specified expression. |
expression |
Expression in the output to use as a reference point. |
Note Though visible in the command-line help string, the ifindex keyword is not supported.
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
In the show vlan mtu command output, the MTU_Mismatch column shows whether all the ports in the VLAN have the same MTU. When yes appears in this column, it means that the VLAN has ports with different MTUs. Packets that are switched from a port with a larger MTU to a port with a smaller MTU might be dropped. If the VLAN does not have a switch virtual interface (SVI), the hyphen (-) symbol appears in the SVI_MTU column. If the MTU-Mismatch column displays yes, the names of the port with the MinMTU and the port with the MaxMTU appear.
If you try to associate a private VLAN secondary VLAN with a primary VLAN before you define the secondary VLAN, the secondary VLAN is not included in the show vlan private-vlan command output.
In the show vlan private-vlan type command output, a normal type means a VLAN has a private VLAN association but is not part of the private VLAN. For example, if you define and associate two VLANs as primary and secondary VLANs and then delete the secondary VLAN configuration but do not remove the association from the primary VLAN, the VLAN that was the secondary VLAN is shown as normal in the display. In the show vlan private-vlan output, the primary and secondary VLAN pair is shown as non-operational.
In the show vlan uni-vlan type command output, type is either community or isolated. User network interfaces (UNIs) or enhanced network interfaced (ENIs) in a UNI-ENI community VLAN can communicate with each other; UNIs or ENIs in a UNI-ENI isolated VLAN cannot communicate. Network node interfaces (NNIs) can communicate with each other and with UNIs or ENIs in UNI-ENI isolated and community VLANs.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show vlan command. Table 2-25 describes the fields in the display.
Note The switch supports only Ethernet VLANs. You can configure parameters for FDDI and Token Ring VLANs and view the results in the vlan.dat file, but these parameters are not supported or used.
Switch> show vlan
Switch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gi0/1, Gi0/2
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0VLAN Name
Remote SPAN VLANs
------------------------------------------------------------------------------
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
VLAN Type Ports
--------- ----------------- ------------------------------------------
This is an example of output from the show vlan dot1q tag native command:
Switch> show vlan dot1q tag native
dot1q native vlan tagging is disabled
This is an example of output from the show vlan private-vlan command:
Switch> show vlan private-vlan
Primary Secondary Type Ports
------- --------- ----------------- ------------------------------------------
10 501 isolated Gi0/3
10 502 community Fa0/11
10 503 non-operational3 -
20 25 isolated Fa0/13, Fa0/20, Fa0/22, Gi0/1,
20 30 community Fa0/13, Fa0/20, Fa0/21, Gi0/1,
20 35 community Fa0/13, Fa0/20, Fa0/23, Fa0/33. Gi0/1,
20 55 non-operational
2000 2500 isolated Fa0/5, Fa0/10, Fa0/15
This is an example of output from the show vlan private-vlan type command:
Switch> show vlan private-vlan type
Vlan Type
---- -----------------
10 primary
501 isolated
502 community
503 normal
This is an example of output from the show vlan uni-vlan type command:
Switch> show vlan uni-vlan type
Vlan Type
---- -----------------
1 UNI isolated
20 UNI community
201 UNI isolated
This is an example of output from the show vlan summary command:
Switch> show vlan summary
Number of existing VLANs : 45
Number of existing VTP VLANs : 0
Number of existing extended VLANs : 0
This is an example of output from the show vlan id command.
Switch# show vlan id 2
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
2 VLAN0200 active Gi0/1, Gi0/2
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
2 enet 100002 1500 - - - - - 0 0
Remote SPAN VLAN
----------------
Disabled
This is an example of output from the show vlan internal usage command. It shows that VLANs 1025 and 1026 are being used as internal VLANs for Fast Ethernet routed ports 23 and 24. If you want to use one of these VLAN IDs, you must first shut down the routed port, which releases the internal VLAN, and then create the extended-range VLAN. When you start up the routed port, another internal VLAN number is assigned to it.
Switch> show vlan internal usage
VLAN Usage
---- -------------
1025 FastEthernet0/23
1026 FastEthernet0/24
Use the show vlan access-map privileged EXEC command to display information about a particular VLAN access map or for all VLAN access maps.
show vlan access-map [mapname] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show vlan access-map command:
Switch# show vlan access-map
Vlan access-map "SecWiz" 10
Match clauses:
ip address: SecWiz_Fa1_0_3_in_ip
Action:
forward
Use the show vlan filter privileged EXEC command to display information about all VLAN filters or about a particular VLAN or VLAN access map.
show vlan filter [access-map name | vlan vlan-id] [ | {begin | exclude | include} expression]
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show vlan filter command:
Switch# show vlan filter
VLAN Map map_1 is filtering VLANs:
20-22
|
|
---|---|
Displays information about a particular VLAN access map or for all VLAN access maps. |
|
Creates a VLAN map entry for VLAN packet filtering. |
|
Applies a VLAN map to one or more VLANs. |
Use the show vlan mapping privileged EXEC command to display information about VLAN mapping on trunk ports.
show vlan mapping [interface interface-id | usage] [ | {begin | exclude | include} expression]
There is no default.
Privileged EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output are not displayed, but the lines that contain Output are displayed.
This is an example of output from the show vlan mapping command:
Switch# show vlan mapping
Interface Fa0/5:
VLANs on wire Translated VLAN Operation
------------------ --------------- --------------
default QinQ 1 selective QinQ
Interface Fa0/2:
VLANs on wire Translated VLAN Operation
------------------ --------------- --------------
2 104 1-to-1 mapping
This is an example of output from the show vlan mapping command for an interface:
Switch# show vlan mapping interface fa0/6
Interface fa0/6:
VLAN on wire Translated VLAN Operation
1 11 1-to-1 mapping
12,16-18 100 selective QinQ
* 101 default QinQ
These are examples of output from the show vlan mapping usage command:
Switch# show vlan mapping usage
Ports:Gi0/1-Gi0/2,Fa0/1-Fa0/24
Vlan Mapping resource usage is 1%
Switch# show vlan mapping usage
Ports:Gi0/1-Gi0/4
Vlan Mapping resource usage is 0%
Ports:Gi0/5-Gi0/8
Vlan Mapping resource usage is 0%
Ports:Gi0/9-Gi0/12
Vlan Mapping resource usage is 0%
Ports:Gi0/13-Gi0/16
Vlan Mapping resource usage is 0%
|
|
---|---|
Configures VLAN mapping on an interface. |
Use the show vmps user EXEC command without keywords to display the VLAN Query Protocol (VQP) version, reconfirmation interval, retry count, VLAN Membership Policy Server (VMPS) IP addresses, and the current and primary servers, or use the statistics keyword to display client-side statistics.
show vmps [statistics] [ | {begin | exclude | include} expression]
User EXEC
|
|
---|---|
12.2(53)EX |
This command was introduced. |
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
This is an example of output from the show vmps statistics command.
Switch> show vmps statistics
VMPS Client Statistics
----------------------
VQP Queries: 0
VQP Responses: 0
VMPS Changes: 0
VQP Shutdowns: 0
VQP Denied: 0
VQP Wrong Domain: 0
VQP Wrong Version: 0
VQP Insufficient Resource: 0
Table 2-26 describes each field in the display.