Table Of Contents
show access-group mode interface
show adjacency
show arp access-list
show auto install status
show auto qos
show bootflash:
show bootvar
show cable-diagnostics tdr
show cdp neighbors
show class-map
show diagnostic content
show diagnostic result module
show diagnostic result module test
show diagnostic result module test 2
show diagnostic result module test 3
show dot1x
show environment
show errdisable detect
show errdisable recovery
show etherchannel
show flowcontrol
show hw-module port-group
show hw-module uplink
show idprom
show interfaces
show interfaces capabilities
show interfaces counters
show interfaces description
show interfaces link
show interfaces mtu
show interfaces private-vlan mapping
show interfaces status
show interfaces switchport
show interfaces transceiver
show interfaces trunk
show ip arp inspection
show ip arp inspection log
show ip cef vlan
show ip dhcp snooping
show ip dhcp snooping binding
show ip dhcp snooping database
show ip igmp interface
show ip igmp profile
show ip igmp snooping
show ip igmp snooping membership
show ip igmp snooping mrouter
show ip igmp snooping vlan
show ip interface
show ip mfib
show ip mfib fastdrop
show ip mroute
show ip source binding
show ip verify source
show ipc
show ipv6 mld snooping
show ipv6 mld snooping mrouter
show ipv6 mld snooping querier
show issu capability
show issu clients
show issu comp-matrix
show issu endpoints
show issu entities
show issu fsm
show issu message
show issu negotiated
show issu rollback-timer
show issu sessions
show issu state
show l2protocol-tunnel
show lacp
show mac access-group interface
show mac-address-table address
show mac-address-table aging-time
show mac-address-table count
show mac-address-table dynamic
show mac-address-table interface
show mac-address-table multicast
show mac-address-table notification
show mac-address-table protocol
show mac-address-table static
show mac-address-table vlan
show module
show monitor
show pagp
show policy-map
show policy-map control-plane
show policy-map interface
show policy-map interface vlan
show port-security
show power
show qos
show qos aggregate policer
show qos dbl
show qos interface
show qos maps
show redundancy
show redundancy config-sync
show running-config
show slavebootflash:
show slaveslot0:
show slot0:
show spanning-tree
show spanning-tree mst
show storm-control
show system mtu
show tech-support
show udld
show vlan
show vlan access-map
show vlan counters
show vlan dot1q tag native
show vlan internal usage
show vlan mtu
show vlan private-vlan
show vlan remote-span
show vmps
show vtp
show access-group mode interface
To display the ACL configuration on a Layer 2 interface, use the show access-group mode interface command.
show access-group mode interface [interface interface-number]
Syntax Description
interface
|
(Optional) Interface type; valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, and port-channel.
|
interface-number
|
(Optional) Interface number.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(19)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(25)EW
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
The valid values for the port number depend on the chassis used.
Examples
This example shows how to display the ACL configuration on the Fast Ethernet interface 6/1:
Switch# show access-group mode interface fa6/1
Interface FastEthernet6/1:
Access group mode is: merge
Related Commands
Command
|
Description
|
access-group mode
|
Specifies the override modes (for example, VACL overrides PACL) and the non-override modes (for example, merge or strict mode).
|
show adjacency
To display information about the Layer 3 switching adjacency table, use the show adjacency command.
show adjacency [{interface interface-number} | {null interface-number} | {port-channel number}
| {vlan vlan-id} | detail | internal | summary]
Syntax Description
interface
|
(Optional) Interface type; possible valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, pos, ge-wan, and atm.
|
interface-number
|
(Optional) Module and port number; see the "Usage Guidelines" section for valid values.
|
null interface-number
|
(Optional) Specifies the null interface; the valid value is 0.
|
port-channel number
|
(Optional) Specifies the channel interface; valid values are a maximum of 64 values ranging from 1 to 256.
|
vlan vlan-id
|
(Optional) Specifies the VLAN; valid values are from 1 to 4094.
|
detail
|
(Optional) Displays the information about the protocol detail and timer.
|
internal
|
(Optional) Displays the information about the internal data structure.
|
summary
|
(Optional) Displays a summary of CEF-adjacency information.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.2(25)EW
|
Extended to include the 10-Gigabit Ethernet interface.
|
Usage Guidelines
The interface-number argument designates the module and port number. Valid values for interface-number depend on the specified interface type and the chassis and module that are used. For example, if you specify a Gigabit Ethernet interface and have a 48-port 10/100BASE-T Ethernet module that is installed in a 13-slot chassis, valid values for the module number are from 1 to 13, and valid values for the port number are from 1 to 48.
Hardware Layer 3 switching adjacency statistics are updated every 60 seconds.
The following information is contained in the show adjacency command:
•
Protocol interface.
•
Type of routing protocol that is configured on the interface.
•
Interface address.
•
Method of adjacency that was learned.
•
MAC address of the adjacent router.
•
Time left before the adjacency rolls out of the adjacency table. After it rolls out, a packet must use the same next hop to the destination.
Examples
This example shows how to display adjacency information:
Protocol Interface Address
IP FastEthernet2/3 172.20.52.1(3045)
IP FastEthernet2/3 172.20.52.22(11)
This example shows how to display a summary of adjacency information:
Switch# show adjacency summary
Adjacency Table has 2 adjacencies
Interface Adjacency Count
This example shows how to display protocol detail and timer information:
Switch# show adjacency detail
Protocol Interface Address
IP FastEthernet2/3 172.20.52.1(3045)
000000000FF920000380000000000000
00000000000000000000000000000000
00605C865B2800D0BB0F980B0800
IP FastEthernet2/3 172.20.52.22(11)
000000000FF920000380000000000000
00000000000000000000000000000000
00801C93804000D0BB0F980B0800
This example shows how to display adjacency information for a specific interface:
Switch# show adjacency fastethernet2/3
Protocol Interface Address
IP FastEthernet2/3 172.20.52.1(3045)
IP FastEthernet2/3 172.20.52.22(11)
Related Commands
Command
|
Description
|
debug adjacency
|
Displays information about the adjacency debugging.
|
show arp access-list
To display detailed information on an ARP access list, use the show arp command.
show arp access-list
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(19)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the ARP ACL information for a switch:
Switch# show arp access-list
permit ip 10.101.1.1 0.0.0.255 mac any
permit ip 20.3.1.0 0.0.0.255 mac any
Related Commands
Command
|
Description
|
access-group mode
|
Specifies the override modes (for example, VACL overrides PACL) and the non-override modes (for example, merge or strict mode).
|
arp access-list
|
Defines an ARP access list or adds clauses at the end of a predefined list.
|
ip arp inspection filter vlan
|
Permits ARPs from hosts that are configured for static IP when DAI is enabled, defines an ARP access list, and applies the access list to a VLAN.
|
show auto install status
To display the status of an automatic installation, use the show auto install status command.
show auto install status
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.2(20)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the IP address of the TFTP server and to display whether or not the switch is currently acquiring the configuration file on the TFTP server:
Switch# show auto install status
Status : Downloading config file
Config File Fetched : Undetermined
The first IP address in the display indicates the server that is used for the automatic installation. The second IP address indicates the TFTP server that provided the configuration file.
show auto qos
To display the automatic quality of service (auto-QoS) configuration that is applied, use the show auto qos user EXEC command.
show auto qos [interface [interface-id]] [{begin | exclude | include} expression]
Syntax Description
interface interface-id
|
(Optional) Displays auto-QoS information for the specified interface or for all interfaces. Valid interfaces include physical ports.
|
begin
|
(Optional) Begins with the line that matches the expression.
|
exclude
|
(Optional) Excludes lines that match the expression.
|
include
|
(Optional) Includes lines that match the specified expression.
|
expression
|
(Optional) Expression in the output to use as a reference point.
|
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(19)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
The show auto qos interface interface-id command displays the auto-QoS configuration; it does not display any user changes to the configuration that might be in effect.
To display information about the QoS configuration that might be affected by auto-QoS on a non-Supervisor Engine 6-E, use one of these commands:
•
show qos
•
show qos map
•
show qos interface interface-id
•
show running-config
Expressions are case sensitive. For example, if you enter exclude output, the lines that contain output do not appear, but the lines that contain Output appear.
Examples
This example shows output from the show auto qos command when auto-QoS is enabled:
auto qos voip cisco-phone
Related Commands
Command
|
Description
|
auto qos voip
|
Automatically configures quality of service (auto-QoS) for Voice over IP (VoIP) within a QoS domain.
|
show bootflash:
To display information about the bootflash: file system, use the show bootflash: command.
show bootflash: [all | chips | filesys]
Syntax Description
all
|
(Optional) Displays all possible Flash information.
|
chips
|
(Optional) Displays Flash chip information.
|
filesys
|
(Optional) Displays file system information.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display file system status information:
Switch> show bootflash: filesys
-------- F I L E S Y S T E M S T A T U S --------
DEVICE INFO BLOCK: bootflash
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 40000
Programming Algorithm = 39 Erased State = FFFFFFFF
File System Offset = 40000 Length = F40000
MONLIB Offset = 100 Length = C628
Bad Sector Map Offset = 3FFF8 Length = 8
Squeeze Log Offset = F80000 Length = 40000
Squeeze Buffer Offset = FC0000 Length = 40000
Bytes Used = 917CE8 Bytes Available = 628318
Bad Sectors = 0 Spared Sectors = 0
OK Files = 2 Bytes = 917BE8
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
This example shows how to display system image information:
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c4-boot-mz
2 .. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley
This example shows how to display all bootflash information:
Switch> show bootflash: all
-# - ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .. image 8C5A393A 237E3C 14 2063804 Aug 23 1999 16:18:45 c4-boot-
2 .. image D86EE0AD 957CE8 9 7470636 Sep 20 1999 13:48:49 rp.halley
6456088 bytes available (9534696 bytes used)
-------- F I L E S Y S T E M S T A T U S --------
DEVICE INFO BLOCK: bootflash
Magic Number = 6887635 File System Vers = 10000 (1.0)
Length = 1000000 Sector Size = 40000
Programming Algorithm = 39 Erased State = FFFFFFFF
File System Offset = 40000 Length = F40000
MONLIB Offset = 100 Length = C628
Bad Sector Map Offset = 3FFF8 Length = 8
Squeeze Log Offset = F80000 Length = 40000
Squeeze Buffer Offset = FC0000 Length = 40000
Bytes Used = 917CE8 Bytes Available = 628318
Bad Sectors = 0 Spared Sectors = 0
OK Files = 2 Bytes = 917BE8
Deleted Files = 0 Bytes = 0
Files w/Errors = 0 Bytes = 0
show bootvar
To display BOOT environment variable information, use the show bootvar command.
show bootvar
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display BOOT environment variable information:
CONFIG_FILE variable does not exist
BOOTLDR variable does not exist
Configuration register is 0x0
show cable-diagnostics tdr
To display the test results for the TDR cable diagnostics, use the show cable-diagnostics tdr command.
show cable-diagnostics tdr {interface {interface interface-number}}
Note
This command will be deprecated in future Cisco IOS releases. Please use the diagnostic start command.
Syntax Description
interface interface
|
Interface type; valid values are fastethernet and gigabitethernet.
|
interface-number
|
Module and port number.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.2(25)SG
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
The TDR test is supported on Catalyst 4500 series switches running Cisco IOS Release 12.2(25)SG for the following line cards only:
•
WS-X4548-GB-RJ45
•
WS-X4548-GB-RJ45V
•
WS-X4524-GB-RJ45V
•
WS-X4013+TS
•
WS-C4948
•
WS-C4948-10GE
The distance to the fault is displayed in meters (m).
Examples
This example shows how to display information about the TDR test:
Switch# show cable-diagnostics tdr interface gi4/13
Interface Speed Local pair Cable length Remote channel Status
Gi4/13 0Mbps 1-2 102 +-2m Unknown Fault
3-6 100 +-2m Unknown Fault
4-5 102 +-2m Unknown Fault
7-8 102 +-2m Unknown Fault
Table 2-13 describes the fields in the show cable-diagnostics tdr command output.
Table 2-13 show cable-diagnostics tdr Command Output Fields
Field
|
Description
|
Interface
|
Interface tested.
|
Speed
|
Current line speed.
|
Pair
|
Local pair name.
|
Cable Length
|
Distance to the fault in meters (m).
|
Channel
|
Pair designation (A, B, C, or D).
|
Status
|
Pair status displayed is one of the following:
• Terminated—The link is up.
• Fault—Cable fault (open or short)
|
Related Commands
show cdp neighbors
To display detailed information about the neighboring devices that are discovered through CDP, use the show cdp neighbors command.
show cdp neighbors [type number] [detail]
Syntax Description
type
|
(Optional) Interface type that is connected to the neighbors about which you want information; possible valid values are ethernet, fastethernet, gigabitethernet, tengigabitethernet, port-channel, and vlan.
|
number
|
(Optional) Interface number that is connected to the neighbors about which you want information.
|
detail
|
(Optional) Displays detailed information about a neighbor (or neighbors) including network address, enabled protocols, hold time, and software version.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.2(25)EW
|
Extended to include the 10-Gigabit Ethernet interface.
|
Usage Guidelines
The vlan keyword is supported in Catalyst 4500 series switches that are configured with a Supervisor Engine 2.
The port-channel values are from 0 to 282; values from 257 to 282 are supported on the CSM and the FWSM only.
Examples
This example shows how to display the information about the CDP neighbors:
Switch# show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone
Device ID Local Intrfce Holdtme Capability Platform Port ID
lab-7206 Eth 0 157 R 7206VXR Fas 0/0/0
lab-as5300-1 Eth 0 163 R AS5300 Fas 0
lab-as5300-2 Eth 0 159 R AS5300 Eth 0
lab-as5300-3 Eth 0 122 R AS5300 Eth 0
lab-as5300-4 Eth 0 132 R AS5300 Fas 0/0
lab-3621 Eth 0 140 R S 3631-telcoFas 0/0
008024 2758E0 Eth 0 132 T CAT3000 1/2
Table 2-14 describes the fields that are shown in the example.
Table 2-14 show cdp neighbors Field Descriptions
Field
|
Definition
|
Device ID
|
Configured ID (name), MAC address, or serial number of the neighbor device.
|
Local Intrfce
|
(Local Interface) The protocol that is used by the connectivity media.
|
Holdtme
|
(Holdtime) Remaining amount of time, in seconds, that the current device holds the CDP advertisement from a transmitting router before discarding it.
|
Capability
|
Capability code that is discovered on the device. This device type is listed in the CDP Neighbors table. Possible values are as follows:
R—Router
T—Transparent bridge
B—Source-routing bridge
S—Switch
H—Host
I—IGMP device
r—Repeater
P—Phone
|
Platform
|
Product number of the device.
|
Port ID
|
Protocol and port number of the device.
|
This example shows how to display detailed information about your CDP neighbors:
Switch# show cdp neighbors detail
-------------------------
IP address: 172.19.169.83
Platform: cisco 7206VXR, Capabilities: Router
Interface: Ethernet0, Port ID (outgoing port): FastEthernet0/0/0
Cisco Internetwork Operating System Software
IOS (tm) 5800 Software (C5800-P4-M), Version 12.1(2)
Copyright (c) 1986-2002 by Cisco Systems, Inc.
-------------------------
IP address: 172.19.169.87
Table 2-15 describes the fields that are shown in the example.
Table 2-15 show cdp neighbors detail Field Descriptions
Field
|
Definition
|
Device ID
|
Name of the neighbor device and either the MAC address or the serial number of this device.
|
Entry address(es)
|
List of network addresses of neighbor devices.
|
[network protocol] address
|
Network address of the neighbor device. The address can be in IP, IPX, AppleTalk, DECnet, or CLNS protocol conventions.
|
Platform
|
Product name and number of the neighbor device.
|
Capabilities
|
Device type of the neighbor. This device can be a router, a bridge, a transparent bridge, a source-routing bridge, a switch, a host, an IGMP device, or a repeater.
|
Interface
|
Protocol and port number of the port on the current device.
|
Holdtime
|
Remaining amount of time, in seconds, that the current device holds the CDP advertisement from a transmitting router before discarding it.
|
Version:
|
Software version running on the neighbor device.
|
advertisement version:
|
Version of CDP that is being used for CDP advertisements.
|
Duplex:
|
Duplex state of connection between the current device and the neighbor device.
|
Related Commands
Command
|
Description
|
show cdp (refer to Cisco IOS documentation)
|
Displays global CDP information, including timer and hold-time information.
|
show cdp entry (refer to Cisco IOS documentation)
|
Displays information about a specific neighboring device discovered using Cisco Discovery Protocol (CDP).
|
show cdp interface (refer to Cisco IOS documentation)
|
Displays information about the interfaces on which Cisco Discovery Protocol (CDP) is enabled.
|
show cdp traffic (refer to Cisco IOS documentation)
|
Displays traffic information from the CDP table.
|
show class-map
To display class map information, use the show class-map command.
show class-map class_name
Syntax Description
class_name
|
Name of the class map.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(25)SG
|
Displays results from the full flow option.
|
Examples
This example shows how to display class map information for all class maps:
Class Map match-any class-default (id 0)
Class Map match-any class-simple (id 2)
Class Map match-all ipp5 (id 1)
Class Map match-all agg-2 (id 3)
This example shows how to display class map information for a specific class map:
Switch# show class-map ipp5
Class Map match-all ipp5 (id 1)
Assume there are two active flows as shown below on Fast Ethernet interface 6/1:
SrcIp DstIp IpProt SrcL4Port DstL4Port
--------------------------------------------------------
192.168.10.10 192.168.20.20 20 6789 81
192.168.10.10 192.168.20.20 20 6789 21
With following configuration, each flow will be policed to a 1000000 bps with an allowed 9000-byte burst value.
Note
If you use the match flow ip source-address|destination-address command, these two flows are consolidated into one flow and they have the same source and destination address.
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# class-map c1
Switch(config-cmap)# match flow ip source-address ip destination-address ip protocol l4
source-port l4 destination-port
Switch(config-cmap)# exit
Switch(config)# policy-map p1
Switch(config-pmap)# class c1
Switch(config-pmap-c)# police 1000000 9000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface fastEthernet 6/1
Switch(config-if)# service-policy input p1
Switch# show policy-map interface
match flow ip source-address ip destination-address ip protocol l4 source-port l4
destination-port
police 1000000 bps 9000 byte conform-action transmit exceed-action drop
interface FastEthernet 6/1
Switch# show class-map c1
Class Map match-all c1 (id 2)
Match flow ip source-address ip destination-address ip protocol l4 source-port l4
destination-port
Related Commands
Command
|
Description
|
class-map
|
Creates a class map to be used for matching packets to the class whose name you specify and to be used enter class-map configuration mode.
|
show policy-map
|
Displays information about the policy map.
|
show policy-map interface
|
Displays the statistics and configurations of the input and output policies that are attached to an interface.
|
show diagnostic content
To display test information about the test ID, test attributes, and supported coverage test levels for each test and for all modules, use the show diagnostic content command.
show diagnostic content module {all | num}
Syntax Description
all
|
Displays all the modules on the chassis.
|
num
|
Module number.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.2(20)EWA
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the test suite, monitoring interval, and test attributes for all the modules of the chassis:
Switch# show diagnostic content module all
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
m/* - Mandatory bootup test, can't be bypassed / NA
o/* - Ongoing test, always active / NA
ID Test Name Attributes (day hh:mm:ss.ms)
==== ========================================== ============ =================
1) supervisor-bootup -----------------------> **D****I** not configured
2) packet-memory-bootup --------------------> **D****I** not configured
3) packet-memory-ongoing -------------------> **N****I*o not configured
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
m/* - Mandatory bootup test, can't be bypassed / NA
o/* - Ongoing test, always active / NA
ID Test Name Attributes (day hh:mm:ss.ms)
==== ========================================== ============ =================
1) linecard-online-diag --------------------> **D****I** not configured
Related Commands
show diagnostic result module
To display the module-based diagnostic test results, use the show diagnostic result module command.
show diagnostic result module [slot-num | all] [test [test-id | test-id-range | all]] [detail]
Syntax Description
slot-num
|
(Optional) Specifies the slot on which diagnostics are displayed.
|
all
|
(Optional) Displays the diagnostics for all slots.
|
test
|
(Optional) Displays selected tests on the specified module.
|
test-id
|
(Optional) Specifies a single test ID.
|
test-id-range
|
(Optional) Specifies a range of test IDs.
|
all
|
(Optional) Displays the diagnostics for all tests.
|
detail
|
(Optional) Displays the complete test results.
|
Defaults
A summary of the test results for all modules in the chassis is displayed.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.2(18)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the summary results for all modules in the chassis:
Switch# show diagnostic result module
Current bootup diagnostic level: minimal
Overall diagnostic result: PASS
Diagnostic level at card bootup: bypass
Test results: (. = Pass, F = Fail, U = Untested)
1) supervisor-bootup -----------------------> U
2) packet-memory-bootup --------------------> U
3) packet-memory-ongoing -------------------> U
Overall diagnostic result: PASS
Diagnostic level at card bootup: minimal
Test results: (. = Pass, F = Fail, U = Untested)
1) linecard-online-diag --------------------> .
Overall diagnostic result: PASS
Diagnostic level at card bootup: minimal
Test results: (. = Pass, F = Fail, U = Untested)
1) linecard-online-diag --------------------> .
Overall diagnostic result: PASS
Diagnostic level at card bootup: minimal
Test results: (. = Pass, F = Fail, U = Untested)
1) linecard-online-diag --------------------> .
This example shows how to display the online diagnostics for module 1:
Switch# show diagnostic result module 1 detail
Current bootup diagnostic level: minimal
Overall diagnostic result: PASS
Diagnostic level at card bootup: minimal
Test results: (. = Pass, F = Fail, U = Untested)
___________________________________________________________________________
1) supervisor-bootup -----------------------> .
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
Power-On-Self-Test Results for ACTIVE Supervisor
Power-on-self-test for Module 1: WS-X4014
Port/Test Status: (. = Pass, F = Fail)
Reset Reason: PowerUp Software/User
Port Traffic: L2 Serdes Loopback ...
0: . 1: . 2: . 3: . 4: . 5: . 6: . 7: . 8: . 9: . 10: . 11: .
12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .
24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .
Port Traffic: L2 Asic Loopback ...
0: . 1: . 2: . 3: . 4: . 5: . 6: . 7: . 8: . 9: . 10: . 11: .
12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .
24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: .
Port Traffic: L3 Asic Loopback ...
0: . 1: . 2: . 3: . 4: . 5: . 6: . 7: . 8: . 9: . 10: . 11: .
12: . 13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: .
24: . 25: . 26: . 27: . 28: . 29: . 30: . 31: . au: .
Switch Subsystem Memory ...
1: . 2: . 3: . 4: . 5: . 6: . 7: . 8: . 9: . 10: . 11: . 12: .
13: . 14: . 15: . 16: . 17: . 18: . 19: . 20: . 21: . 22: . 23: . 24: .
25: . 26: . 27: . 28: . 29: . 30: . 31: . 32: . 33: . 34: . 35: . 36: .
37: . 38: . 39: . 40: . 41: . 42: . 43: . 44: . 45: . 46: . 47: . 48: .
49: . 50: . 51: . 52: . 53: . 54: .
___________________________________________________________________________
2) packet-memory-bootup --------------------> .
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
packet buffers on free list: 64557 bad: 0 used for ongoing tests: 979
Number of errors found: 0
Cells with hard errors (failed two or more tests): 0
Cells with soft errors (failed one test, includes hard): 0
Suspect bad cells (uses a block that tested bad): 0
good buffers: 65536 (100.0%)
___________________________________________________________________________
3) packet-memory-ongoing -------------------> 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
packet buffers on free list: 64557 bad: 0 used for ongoing tests: 979
Packet memory errors: 0 0
Current alert level: green
Per 5 seconds in the last minute:
Per minute in the last hour:
Per hour in the last day:
Per day in the last 30 days:
Direct memory test failures per minute in the last hour:
Potential false positives: 0 0
Ignored because of rx errors: 0 0
Ignored because of cdm fifo overrun: 0 0
Ignored because of oir: 0 0
Ignored because isl frames received: 0 0
Ignored after writing hw stats: 0 0
Ignored on high gigaport: 0
Ongoing diag action mode: Normal
Last 1000 Memory Test Failures:
Last 1000 Packet Memory errors:
First 1000 Packet Memory errors:
___________________________________________________________________________
show diagnostic result module test
To display the results of the bootup packet memory test, use the show diagnostic result module test command. The output indicates whether the test passed, failed, or was not run.
show diagnostic result module [N | all] [test test-id] [detail]
Syntax Description
N
|
Specifies the module number.
|
all
|
Specifies all modules.
|
test test-id
|
Specifies the number for the tdr test on the platform.
|
detail
|
(Optional) Specifies the display of detailed information for analysis.
This option is recommended.
|
Defaults
Non-detailed results
Command Modes
EXEC mode
Command History
Release
|
Modification
|
12.2(25)SG
|
This command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
The detail keyword is intended for use by Cisco support personnel when analyzing failures.
Examples
This example shows how to display the results of the bootup packet memory tests:
Switch# show diagnostic result module 6 detail
Overall diagnostic result:PASS
Test results:(. = Pass, F = Fail, U = Untested)
___________________________________________________________________________
1) linecard-online-diag --------------------> .
Error code --------------------------> 0 (DIAG_SUCCESS)
Total run count ---------------------> 1
Last test execution time ------------> Jan 21 2001 19:48:30
First test failure time -------------> n/a
Last test failure time --------------> n/a
Last test pass time -----------------> Jan 21 2001 19:48:30
Total failure count -----------------> 0
Consecutive failure count -----------> 0
Slot Ports Card Type Diag Status Diag Details
---- ----- -------------------------------------- ---------------- ------------
6 48 10/100/1000BaseT (RJ45)V, Cisco/IEEE Passed None
L = Loopback failure S = Stub failure
I = Ilc failure P = Port failure
E = SEEPROM failure G = GBIC integrity check failure
Ports 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
. . . . . . . . . . . . . . . .
Ports 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
. . . . . . . . . . . . . . . .
Ports 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
. . . . . . . . . . . . . . . .
___________________________________________________________________________
Port 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
----------------------------------------------------------------------------
. U U U U U U U U U U U U U U U U U U U U U U U
Port 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
----------------------------------------------------------------------------
U U U U U U U U U U U U U U U U U U U U U U U U
Error code --------------------------> 0 (DIAG_SUCCESS)
Total run count ---------------------> 1
Last test execution time ------------> Jan 22 2001 03:01:54
First test failure time -------------> n/a
Last test failure time --------------> n/a
Last test pass time -----------------> Jan 22 2001 03:01:54
Total failure count -----------------> 0
Consecutive failure count -----------> 0
TDR test is in progress on interface Gi6/1
___________________________________________________________________________
Related Commands
show diagnostic result module test 2
To display the results of the bootup packet memory test, use the show diagnostic result module test 2 command. The output indicates whether the test passed, failed, or was not run.
show diagnostic result module N test 2 [detail]
Syntax Description
N
|
Specifies the module number.
|
detail
|
(Optional) Specifies the display of detailed information for analysis.
|
Defaults
Non-detailed results
Command Modes
EXEC mode
Command History
Release
|
Modification
|
12.2(18)EW
|
This command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
The detail keyword is intended for use by Cisco support personnel when analyzing failures.
Examples
This example shows how to display the results of the bootup packet memory tests:
Switch# show diagnostic result module 1 test 2
Test results: (. = Pass, F = Fail, U = Untested)
2) packet-memory-bootup ------------> .
This example shows how to display detailed results from the bootup packet memory tests:
Switch# show diagnostic result module 2 test 2 detail
Test results: (. = Pass, F = Fail, U = Untested)
___________________________________________________________________________
2) packet-memory-bootup ------------> .
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
packet buffers on free list: 64557 bad: 0 used for ongoing tests: 979
Number of errors found: 0
Cells with hard errors (failed two or more tests): 0
Cells with soft errors (failed one test, includes hard): 0
Suspect bad cells (uses a block that tested bad): 0
good buffers: 65536 (100.0%)
Related Commands
show diagnostic result module test 3
To display the results from the ongoing packet memory test, use the show diagnostic result module test 3 command. The output indicates whether the test passed, failed, or was not run.
show diagnostic result module N test 3 [detail]
Syntax Description
N
|
Module number.
|
detail
|
(Optional) Specifies the display of detailed information for analysis.
|
Defaults
Non-detailed results
Command Modes
EXEC mode
Command History
Release
|
Modification
|
12.2(18)EW
|
This command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
The detail keyword is intended for use by Cisco support personnel when analyzing failures.
Examples
This example shows how to display the results from the ongoing packet memory tests:
Switch# show diagnostic result module 1 test 3
Test results: (. = Pass, F = Fail, U = Untested)
3) packet-memory-ongoing -----------> .
This example shows how to display the detailed results from the ongoing packet memory tests:
Switch# show diagnostic result module 1 test 3 detail
Test results: (. = Pass, F = Fail, U = Untested)
___________________________________________________________________________
3) packet-memory-ongoing -----------> .
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
packet buffers on free list: 64557 bad: 0 used for ongoing tests: 979
Packet memory errors: 0 0
Current alert level: green
Per 5 seconds in the last minute:
Per minute in the last hour:
Per hour in the last day:
Per day in the last 30 days:
Direct memory test failures per minute in the last hour:
Potential false positives: 0 0
Ignored because of rx errors: 0 0
Ignored because of cdm fifo overrun: 0 0
Ignored because of oir: 0 0
Ignored because isl frames received: 0 0
Ignored after writing hw stats: 0 0
Ignored on high gigaport: 0
Ongoing diag action mode: Normal
Last 1000 Memory Test Failures: v
Last 1000 Packet Memory errors:
First 1000 Packet Memory errors:
Related Commands
show dot1x
To display the 802.1X statistics and operational status for the entire switch or for a specified interface, use the show dot1x command.
show dot1x [interface interface-id] | [statistics [interface interface-id]] | [all]
Syntax Description
interface interface-id
|
(Optional) Displays the 802.1X status for the specified port.
|
statistics
|
(Optional) Displays 802.1X statistics for the switch or the specified interface.
|
all
|
(Optional) Displays per-interface 802.1X configuration information for all interfaces with a non-default 802.1X configuration.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(12c)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(19)EW
|
Display enhanced to show the guest-VLAN value.
|
12.2(25)EW
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.
|
12.2(25)EWA
|
Support for currently-assigned reauthentication timer (if the timer is configured to honor the Session-Timeout value) was added.
|
12.2(31)SG
|
Support for port direction control and critical recovery was added.
|
Usage Guidelines
If you do not specify an interface, the global parameters and a summary are displayed. If you specify an interface, the details for that interface are displayed.
If you enter the statistics keyword without the interface option, the statistics are displayed for all interfaces. If you enter the statistics keyword with the interface option, the statistics are displayed for the specified 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.
The show dot1x command displays the currently assigned reauthentication timer and time remaining before reauthentication, if reauthentication is enabled.
Examples
This example shows how to display the output from the show dot1x command:
Sysauthcontrol = Disabled
Dot1x Protocol Version = 2
Dot1x Oper Controlled Directions = Both
Dot1x Admin Controlled Directions = Both
Critical Recovery Delay = 500
This example shows how to display the 802.1X statistics for a specific port:
Switch# show dot1x interface fastethernet6/1
Dot1x Info for FastEthernet6/1
-----------------------------------
ReAuthentication = Disabled
ReAuthPeriod = 3600 (Locally configured)
Dot1x Authenticator Client List
-------------------------------
Supplicant = 0000.0000.ab01
Auth SM State = AUTHENTICATED
Authentication Method = Dot1x
Authorized By = Authentication Server
Supplicant = 0060.b057.4687
Auth SM State = AUTHENTICATED
Authentication Method = Dot1x
Authorized By = Authentication Server
Note
Table 2-16 provides a partial list of the displayed fields. The remaining fields in the display show internal state information. For a detailed description of these state machines and their settings, refer to the 802.1X specification.
Table 2-16 show dot1x interface Field Description
Field
|
Description
|
PortStatus
|
Status of the port (authorized or unauthorized). The status of a port is displayed as authorized if the dot1x port-control interface configuration command is set to auto and has successfully completed authentication.
|
Port Control
|
Setting of the dot1x port-control interface configuration command.
|
MultiHosts
|
Setting of the dot1x multiple-hosts interface configuration command (allowed or disallowed).
|
This is an example of output from the show dot1x statistics interface gigabitethernet1/1 command. Table 2-17 describes the fields in the display.
Switch# show dot1x statistics interface gigabitethernet1/1
PortStatistics Parameters for Dot1x
--------------------------------------------
TxReqId = 0 TxReq = 0 TxTotal = 0
RxStart = 0 RxLogoff = 0 RxRespId = 0 RxResp = 0
RxInvalid = 0 RxLenErr = 0 RxTotal= 0
RxVersion = 0 LastRxSrcMac 0000.0000.0000
Table 2-17 show dot1x statistics Field Descriptions
Field
|
Description
|
TxReq/TxReqId
|
Number of EAP-request/identity frames that have been sent.
|
TxTotal
|
Number of EAPOL frames of any type that have been sent.
|
RxStart
|
Number of valid EAPOL-start frames that have been received.
|
RxLogoff
|
Number of EAPOL-logoff frames that have been received.
|
RxRespId
|
Number of EAP-response/identity frames that have been received.
|
RxResp
|
Number of valid EAP-response frames (other than response/identity frames) that have been received.
|
RxInvalid
|
Number of EAPOL frames that have been received and have an unrecognized frame type.
|
RxLenError
|
Number of EAPOL frames that have been received in which the packet body length field is invalid.
|
RxTotal
|
Number of valid EAPOL frames of any type that have been received.
|
RxVersion
|
Protocol version number carried in the most recently received EAPOL frame.
|
LastRxSrcMac
|
Source MAC address carried in the most recently received EAPOL frame.
|
Related Commands
show environment
To display the environment alarm, operational status, and current reading for the chassis, use the show environment command.
show environment [alarm] | [status [chassis | fantray | powersupply | supervisor]] |
[temperature]
Syntax Description
alarm
|
(Optional) Specifies the alarm status of the chassis.
|
status
|
(Optional) Specifies the operational status information.
|
chassis
|
(Optional) Specifies the operational status of the chassis.
|
fantray
|
(Optional) Specifies the status of the fan tray, and shows fan tray power consumption.
|
powersupply
|
(Optional) Specifies the status of the power supply.
|
supervisor
|
(Optional) Specifies the status of the supervisor engine.
|
temperature
|
(Optional) Specifies the current chassis temperature readings.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(12c)EW
|
Support for the ability to display generic environment information with the show environment command was added.
|
Examples
This example shows how to display information about the environment alarms, operational status, and current temperature readings for the chassis:
Module Sensor Temperature Status
------+--------------------------+--------------------+------------
1 air inlet 22C (41C,56C,66C) ok
1 air outlet (back) 24C (45C,59C,69C) ok
1 air outlet (front) 22C (43C,57C,67C) ok
3 air inlet 33C (51C,65C,68C) ok
3 air outlet 39C (69C,83C,86C) ok
4 air inlet 32C (51C,65C,68C) ok
4 air outlet 38C (69C,83C,86C) ok
Power Fan Inline
Supply Model No Type Status Sensor Status
------ ---------------- --------- ----------- ------- -------
PS1 PWR-C45-1400AC AC 1400W good good n.a.
PS2 none -- -- -- --
Power supplies needed by system : 1
Power supplies currently available : 1
Chassis Type : WS-C4507R-E
Power consumed by backplane : 40 Watts
Switch Bandwidth Utilization : 0%
Supervisor Led Color : Green
Module 1 Status Led Color : Green
Module 2 Status Led Color : Green PoE Led Color : Off
Module 3 Status Led Color : Green
Module 4 Status Led Color : Green
Power consumed by Fantray : 135 Watts
This example shows how to display information about the environment alarms:
Switch# show environment alarm
This example shows how to display information about the power supplies, chassis type, and fan trays:
Switch# show environment status
Supply Model No Type Status Sensor
------ --------------- --------- ----------- ------
PS1 PWR-C45-1400AC AC 1400W good good
Power Supply Max Min Max Min Absolute
(Nos in Watts) Inline Inline System System Maximum
-------------- ------ ------ ------ ------ --------
Power supplies needed by system : 1
Supervisor Led Color : Green
Power consumed by Fantray : 50 Watts
This example shows how to display information about the chassis:
Switch# show environment status chassis
This example shows how to display information about the fan tray:
Switch# show environment status fantray
Power consumed by Fantray : 50 Watts
This example shows how to display information about the power supply:
Switch# show environment status powersupply
Supply Model No Type Status Sensor
------ --------------- --------- ------- ------
PS1 WS-X4008 AC 400W good good
PS2 WS-X4008 AC 400W good good
This example shows how to display information about the supervisor engine:
Switch# show environment status supervisor
Supervisor Led Color :Green
This example shows how to display information about the temperature of the chassis:
Switch# show environment temperature
Chassis Temperature = 32 degrees Celsius
Chassis Over Temperature Threshold = 75 degrees Celsius
Chassis Critical Temperature Threshold = 95 degrees Celsius
show errdisable detect
To display the error disable detection status, use the show errdisable detect command.
show errdisable detect
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(19)EW
|
Display includes the status of storm control.
|
Examples
This example shows how to display the error disable detection status:
Switch# show errdisable detect
ErrDisable Reason Detection status
----------------- ----------------
security-violatio Enabled
channel-misconfig Disabled
psecure-violation Enabled
Related Commands
show errdisable recovery
To display error disable recovery timer information, use the show errdisable recovery command.
show errdisable recovery
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(19)EW
|
Display includes the status of storm control.
|
Examples
This example shows how to display recovery timer information for error disable:
Switch# show errdisable recovery
ErrDisable Reason Timer Status
----------------- --------------
security-violatio Disabled
channel-misconfig Disabled
psecure-violation Disabled
Timer interval:30 seconds
Interfaces that will be enabled at the next timeout:
Interface Errdisable reason Time left(sec)
--------- ----------------- --------------
Related Commands
show etherchannel
To display EtherChannel information for a channel, use the show etherchannel command.
show etherchannel [channel-group] {port-channel | brief | detail | summary | port | load-balance
| protocol}
Syntax Description
channel-group
|
(Optional) Number of the channel group; valid values are from 1 to 64.
|
port-channel
|
Displays port-channel information.
|
brief
|
Displays a summary of EtherChannel information.
|
detail
|
Displays detailed EtherChannel information.
|
summary
|
Displays a one-line summary per channel group.
|
port
|
Displays EtherChannel port information.
|
load-balance
|
Displays load-balance information.
|
protocol
|
Displays the enabled protocol.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(13)EW
|
Support for LACP was added to this command.
|
Usage Guidelines
If you do not specify a channel group, all channel groups are displayed.
In the output below, the Passive port list field is displayed for Layer 3 port channels only. This field means that the physical interface, which is still not up, is configured to be in the channel group (and indirectly is in the only port channel in the channel group).
Examples
This example shows how to display port-channel information for a specific group:
Switch# show etherchannel 1 port-channel
Port-channels in the group:
Age of the Port-channel = 02h:35m:26s
Logical slot/port = 10/1 Number of ports in agport = 0
GC = 0x00000000 HotStandBy port = null
Passive port list = Fa5/4 Fa5/5
Port state = Port-channel L3-Ag Ag-Not-Inuse
Ports in the Port-channel:
This example shows how to display load-balancing information:
Switch# show etherchannel load-balance
Source XOR Destination mac address
This example shows how to display a summary of information for a specific group:
Switch# show etherchannel 1 brief
port-channels: 1 Max port-channels = 1
This example shows how to display detailed information for a specific group:
Switch# show etherchannel 1 detail
Port-channels: 1 Max Port-channels = 1
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
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.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/4 d U1/S1 1s 0 128 Any 0
Age of the port in the current state: 02h:33m:14s
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
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.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/5 d U1/S1 1s 0 128 Any 0
Age of the port in the current state: 02h:33m:17s
Port-channels in the group:
Age of the Port-channel = 02h:33m:52s
Logical slot/port = 10/1 Number of ports in agport = 0
GC = 0x00000000 HotStandBy port = null
Passive port list = Fa5/4 Fa5/5
Port state = Port-channel L3-Ag Ag-Not-Inuse
Ports in the Port-channel:
This example shows how to display a one-line summary per channel group:
Switch# show etherchannel summary
U-in use I-in port-channel S-suspended D-down i-stand-alone d-default
----- ------------ ----------------------------------------------------------
1 Po1(U) Fa5/4(I) Fa5/5(I)
2 Po2(U) Fa5/6(I) Fa5/7(I)
This example shows how to display EtherChannel port information for all ports and all groups:
Switch# show etherchannel port
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
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.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Fa5/4 d U1/S1 1s 0 128 Any 0
Age of the port in the current state: 02h:40m:35s
Port state = EC-Enbld Down Not-in-Bndl Usr-Config
Channel group = 1 Mode = Desirable Gcchange = 0
Port-channel = null GC = 0x00000000 Psudo-agport = Po1
Port indx = 0 Load = 0x00
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.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
This example shows how to display the protocol enabled:
Switch# show etherchannel protocol
Related Commands
Command
|
Description
|
channel-group
|
Assigns and configures an EtherChannel interface to an EtherChannel group.
|
interface port-channel
|
Accesses or creates a port-channel interface.
|
show flowcontrol
To display the per-interface status and statistics related to flow control, use the show flowcontrol command.
show flowcontrol [module slot | interface interface]
Syntax Description
module slot
|
(Optional) Limits the display to interfaces on a specific module.
|
interface interface
|
(Optional) Displays the status on a specific interface.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(25)EW
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
Table 2-18 describes the fields in the show flowcontrol command output.
Table 2-18 show flowcontrol Command Output
Field
|
Description
|
Port
|
Module and port number.
|
Send-Flowcontrol-Admin
|
Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it.
|
Send-Flowcontrol-Oper
|
Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.
|
Receive-Flowcontrol-Admin
|
Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control.
|
Receive-Flowcontrol-Oper
|
Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.
|
RxPause
|
Number of pause frames received.
|
TxPause
|
Number of pause frames transmitted.
|
Examples
This example shows how to display the flow control status on all the Gigabit Ethernet interfaces:
Port Send FlowControl Receive FlowControl RxPause TxPause
--------- -------- -------- -------- -------- ------- -------
Gi1/3 off off desired on 0 0
Gi1/4 off off desired on 0 0
Gi1/5 off off desired on 0 0
Gi1/6 off off desired on 0 0
Gi3/1 off off desired off 0 0
Gi3/2 off off desired off 0 0
Gi3/3 off off desired off 0 0
Gi3/4 off off desired off 0 0
Gi3/5 off off desired off 0 0
Gi3/6 off off desired off 0 0
This example shows how to display the flow control status on module 1:
Switch# show flowcontrol module 1
Port Send FlowControl Receive FlowControl RxPause TxPause
----- -------- -------- -------- -------- ------- -------
Gi1/1 desired off off off 0 0
Gi1/2 on disagree on on 0 0
This example shows how to display the flow control status on Gigabit Ethernet interface 3/4:
Switch# show flowcontrol interface gigabitethernet3/4
Port Send FlowControl Receive FlowControl RxPause TxPause
----- -------- -------- -------- -------- ------- -------
This example shows how to display the flow control status on 10-Gigabit Ethernet interface 1/1:
Switch# show flowcontrol interface tengigabitethernet1/1
Port Send FlowControl Receive FlowControl RxPause TxPause
--------- -------- -------- -------- -------- ------- -------
Related Commands
Command
|
Description
|
channel-group
|
Configures a Gigabit Ethernet interface to send or receive pause frames.
|
show interfaces status
|
Displays the interface status or a list of interfaces in error-disabled state.
|
show hw-module port-group
To display how the X2 holes on a module are grouped, use the show hw-module port-group command.
show hw-module module number port-group
Syntax Description
module
|
Specifies a line module.
|
number
|
Specifies a slot or module number.
|
port-group
|
Specifies a port-group on a switch.
|
Defaults
X2 mode.
Command Modes
Global configuration mode
Command History
Release
|
Modification
|
12.2(40)SG
|
Support for WS-X4606-10GE-E Twin Gigabit convertor introduced.
|
Usage Guidelines
When a TwinGig Convertor is enabled or disabled, the number and type of ports on the linecard change dynamically. The terminology must reflect this behavior. In Cisco IOS, 10-Gigabit ports are named TenGigabit and 1-Gigabit ports are named Gigabit. Starting with Cisco IOS Release 12.2(40)SG, to avoid having ports named TenGigabit1/1 and Gigabit1/1, the 10-Gigabit and 1-Gigabit port numbers are independent. The WS-X4606-10GE-E module with six X2 ports are named TenGigabit<slot-num>/<1-6>, and the SFP ports are named Gigabit<slot-num>/<7-18.
In the Supervisor Engine 6-E and Catalyst 4900M chassis, the ports are connected to the switching engine through a stub ASIC. This stub ASIC imposes some limitations on the ports: Gigabit and 10-Gigabit ports cannot be mixed on a single stub ASIC; they must either be all 10-Gigabit (X2), or all Gigabit (TwinGig Converter and SFP). The faceplates of X2 modules show this stub-port grouping, either with an actual physical grouping, or a box drawn around a grouping.
Examples
This example shows to determine how the X2 holes on a module are grouped on a WS-X4606-10GE-E:
Switch# show hw-module module 1 port-group
Module Port-group Active Inactive
-------------------------------------------------------------
Related Commands
Command
|
Description
|
hw-module port-group
|
Selects either Gigabit Ethernet or Ten Gigabit Ethernet interfaces on your module.
|
show hw-module uplink
To display the current uplink mode, use the show hw-module uplink command.
show hw-module uplink
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.2(25)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
If the active uplink mode is different than configured mode, the output displays the change.
By default, the current (operational) uplink selection is displayed.
Examples
This example shows the output displaying the current (active) uplinks:
Switch# show hw-module uplink
Active uplink configuration is TenGigabitEthernet
This example shows the output for redundant systems in SSO mode if the 10-Gigabit Ethernet uplinks are active, and the Gigabit Ethernet uplinks are selected:
Switch# show hw-module uplink
Active uplink configuration is TenGigabitEthernet
(will be GigabitEthernet after next reload)
A 'redundancy reload shelf' or power-cycle of chassis is required to
apply the new configuration
This example shows the output for redundant systems in RPR mode if the 10-Gigabit Ethernet uplinks are active, and the Gigabit Ethernet uplinks are selected:
Switch# show hw-module uplink
Active uplink configuration is TenGigabitEthernet
(will be GigabitEthernet after next reload)
A reload of active supervisor is required to apply the new configuration.
Related Commands
Command
|
Description
|
hw-module uplink select
|
Selects the 10-Gigabit Ethernet or Gigabit Ethernet uplinks on the Supervisor Engine V-10GE within the W-C4510R chassis.
|
show idprom
To display the IDPROMs for the chassis, supervisor engine, module, power supplies, fan trays, clock module, and multiplexer (mux) buffer, use the show idprom command.
show idprom {all | chassis | module [mod] | interface int_name | supervisor | power-supply
number | fan-tray}
Syntax Description
all
|
Displays information for all IDPROMs.
|
chassis
|
Displays information for the chassis IDPROMs.
|
module
|
Displays information for the module IDPROMs.
|
mod
|
(Optional) Specifies the module name.
|
interface int_name
|
Displays information for the GBIC or SFP IDPROMs.
|
supervisor
|
Displays information for the supervisor engine IDPROMs.
|
power-supply number
|
Displays information for the power supply IDPROMs.
|
fan-tray
|
Displays information for the fan tray IDPROMs.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(12c)EW
|
Support for the power-supply, fan-tray, clock-module, and mux-buffer keywords was added.
|
12.1(13)EW
|
Support for interface keyword was added.
|
12.2(18)EW
|
Enhanced the show idprom interface output to include the hexadecimal display of the GBIC/SFP SEEPROM contents.
|
12.2(25)EW
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
When you enter the show idprom interface command, the output lines for Calibration type and Rx (receive) power measurement may not be displayed for all GBICs.
Examples
This example shows how to display IDPROM information for module 4:
Switch# show idprom module 4
Common Block Signature = 0xABAB
Common Block Length = 144
Common Block Checksum = 4199
OEM String = Cisco Systems, Inc.
Product Number = WS-X4306
Manufacturing Bits = 0x0000
Engineering Bits = 0x0000
Snmp OID = 0.0.0.0.0.0.0.0
RMA Failure Code = 0 0 0 0
Linecard Block Signature = 0x4201
Linecard Block Version = 1
Linecard Block Length = 24
Linecard Block Checksum = 658
Feature Bits = 0x0000000000000000
MAC Base = 0010.7bab.9830
This example shows how to display IDPROM information for the GBICs on the Gigabit Ethernet interface 1/2:
Switch# show idprom interface gigabitethernet1/2
GBIC Serial EEPROM Contents:
Extended Id = Not specified/compliant with defined MOD_DEF [0x0]
Connector = SC connector [0x1]
Speed = Not available [0x0]
Media = Not available [0x0]
Technology = Not available [0x0]
Link Length = Not available [0x0]
GE Comp Codes = Not available [0x0]
SONET Comp Codes = Not available [0x0]
BR, Nominal = 1300000000 MHz
Length(9u) in km = GBIC does not support single mode fibre, or the length
must be determined from the transceiver technology.
Length(50u) = GBIC does not support 50 micron multi-mode fibre, or the
length must be determined from the transceiver technology.
Length(62.5u) = GBIC does not support 62.5 micron multi-mode fibre, or
the length must be determined from transceiver technology.
Length(Copper) = GBIC does not support copper cables, or the length must
be determined from the transceiver technology.
Vendor name = CISCO-FINISAR
Vendor Part No. = FTR-0119-CSC
Wavelength = Not available
Options = Loss of Signal implemented TX_FAULT signal implemented TX_DISABLE is
implemented and disables the serial output [0x1A]
Vendor Serial No. = K1273DH
Diag monitoring = Implemented
Calibration type = Internal
Rx pwr measuremnt = Optical Modulation Amplitude (OMA)
Address change = Required
Vendor Specific ID Fields:
20944D30 29 00 02 80 22 33 38 3D C7 67 83 E8 DF 65 6A AF )..."38=Gg^Ch_ej/
20944D40 1A 80 ED 00 00 00 00 00 00 00 00 00 38 23 3C 1B ............8#<.
SEEPROM contents (hex) size 128:
0x0000 01 00 01 00 00 00 00 00 00 00 00 01 0D 00 00 FF ................
0x0010 00 00 00 00 43 49 53 43 4F 2D 46 49 4E 49 53 41 ....CISCO-FINISA
0x0020 52 20 20 20 00 00 90 65 46 54 52 2D 30 31 31 39 R ..^PeFTR-0119
0x0030 2D 43 53 43 20 20 20 20 42 20 20 20 00 00 00 1A -CSC B ....
0x0040 00 1A 00 00 4B 31 32 37 33 44 48 20 20 20 20 20 ....K1273DH
0x0050 20 20 20 20 30 33 30 34 30 39 20 20 64 00 00 B2 030409 d..2
0x0060 29 00 02 80 22 33 38 3D C7 67 83 E8 DF 65 6A AF )..^@"38=Gg^C._ej.
0x0070 1A 80 ED 00 00 00 00 00 00 00 00 00 38 23 3C 1B .^@m.........8#<.
This example shows how to display IDPROM information for the 10-Gigabit Ethernet interface 1/1:
Switch# show idprom interface tengigabitethernet1/1
X2 Serial EEPROM Contents:
Non-Volatile Register (NVR) Fields
X2 MSA Version supported :0xA
Number of bytes used :0xD0
Customer Field Address :0x77
Vendor Field Address :0xA7
Extended Vendor Field Address :0x100
Transceiver type :0x2 =X2
Optical connector type :0x1 =SC
Normal BitRate in multiple of 1M b/s :0x2848
Protocol Type :0x1 =10GgE
Standards Compliance Codes :
10GbE Code Byte 0 :0x2 =10GBASE-LR
SONET/SDH Code Byte 0 :0x0
SONET/SDH Code Byte 1 :0x0
SONET/SDH Code Byte 2 :0x0
SONET/SDH Code Byte 3 :0x0
Transmission range in 10m :0x3E8
Fibre Type Byte 0 :0x40 =NDSF only
Fibre Type Byte 1 :0x0 =Unspecified
Centre Optical Wavelength in 0.01nm steps - Channel 0 :0x1 0xFF 0xB8
Centre Optical Wavelength in 0.01nm steps - Channel 1 :0x0 0x0 0x0
Centre Optical Wavelength in 0.01nm steps - Channel 2 :0x0 0x0 0x0
Centre Optical Wavelength in 0.01nm steps - Channel 3 :0x0 0x0 0x0
Package Identifier OUI :0xC09820
Transceiver Vendor OUI :0x3400800
Transceiver vendor name :CISCO-OPNEXT,INC
Part number provided by transceiver vendor :TRT5021EN-SMC-W
Revision level of part number provided by vendor :00
Vendor serial number :ONJ08290041
Vendor manufacturing date code :2004072000
Reserved1 : 00 02 02 20 D1 00 00
Basic Field Checksum :0x10
0x00: 58 32 2D 31 30 47 42 2D 4C 52 20 20 20 20 20 20
0x10: 20 20 20 20 20 4F 4E 4A 30 38 32 39 30 30 34 31
0x20: 31 30 2D 32 30 33 36 2D 30 31 20 20 41 30 31 20
0x00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x30: 00 00 00 00 11 E2 69 A9 2F 95 C6 EE D2 DA B3 FD
0x40: 9A 34 4A 24 CB 00 00 00 00 00 00 00 00 00 EF FC
0x50: F4 AC 1A D7 11 08 01 36 00
This example shows how to display IDPROM information for the supervisor engine:
Switch# show idprom supervisor
Common Block Signature = 0xABAB
Common Block Length = 144
Common Block Checksum = 4153
OEM String = Cisco Systems, Inc.
Product Number = WS-X4014
Serial Number = JAB05320CCE
Manufacturing Deviation String = 0
Manufacturing Bits = 0x0000
Engineering Bits = 0x0000
Snmp OID = 0.0.0.0.0.0.0.0
RMA Failure Code = 0 0 0 0
Supervisor Block Signature = 0x4101
Supervisor Block Version = 1
Supervisor Block Length = 24
Supervisor Block Checksum = 548
Feature Bits = 0x0000000000000000
MAC Base = 0007.0ee5.2a44
This example shows how to display IDPROM information for the chassis:
Switch# show idprom chassis
Common Block Signature = 0xABAB
Common Block Length = 144
Common Block Checksum = 4285
OEM String = Cisco Systems, Inc.
Product Number = WS-C4507R
Serial Number = FOX04473737
Manufacturing Deviation String = 0x00
Manufacturing Bits = 0x0000
Engineering Bits = 0x0000
Snmp OID = 0.0.0.0.0.0.0.0
Chassis Block Signature = 0x4001
Chassis Block Version = 1
Chassis Block Length = 22
Chassis Block Checksum = 421
Feature Bits = 0x0000000000000000
MAC Base = 0004.dd42.2600
This example shows how to display IDPROM information for power supply 1:
Switch# show idprom power-supply 1
Common Block Signature = 0xABAB
Common Block Length = 144
Common Block Checksum = 10207
OEM String = Cisco Systems, Inc.
Product Number = WS-CAC-1440W
Serial Number = ACP05180002
Manufacturing Deviation String =
Manufacturing Bits = 0x0000
Engineering Bits = 0x3031
Snmp OID = 9.12.3.65535.65535.65535.65535.65535
RMA Failure Code = 255 255 255 255
Power Supply Block Signature = 0xFFFF
PowerSupply Block Version = 255
PowerSupply Block Length = 255
PowerSupply Block Checksum = 65535
Feature Bits = 0x00000000FFFFFFFF
This example shows how to display IDPROM information for the fan tray:
Switch# show idprom fan-tray
Common Block Signature = 0xABAB
Common Block Length = 144
Common Block Checksum = 19781
OEM String = "Cisco Systems"
Product Number = WS-X4502-fan
Manufacturing Deviation String =
Manufacturing Bits = 0xFFFF
Engineering Bits = 0xFFFF
Snmp OID = 65535.65535.65535.65535.65535.65535.65535.65535
RMA Failure Code = 255 255 255 255
show interfaces
To display traffic on a specific interface, use the show interfaces command.
show interfaces [{{fastethernet mod/interface-number} | {gigabitethernet
mod/interface-number} | {tengigabitethernet mod/interface-number} | {null
interface-number} | vlan vlan_id} | status}]
Syntax Description
fastethernet mod/interface-number
|
(Optional) Specifies the Fast Ethernet module and interface.
|
gigabitethernet mod/interface-number
|
(Optional) Specifies the Gigabit Ethernet module and interface.
|
tengigabitethernet mod/interface-number
|
(Optional) Specifies the 10-Gigabit Ethernet module and interface.
|
null interface-number
|
(Optional) Specifies the null interface; the valid value is 0.
|
vlan vlan_id
|
(Optional) Specifies the VLAN; valid values are from 1 to 4094.
|
status
|
(Optional) Displays status information.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(12c)EW
|
Support for extended VLAN addresses was added.
|
12.2(25)EW
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.
|
12.2(31)SGA
|
Support for auto-MDIX reflected in command output.
|
Usage Guidelines
The statistics are collected on a per-VLAN basis for Layer 2 switched packets and Layer 3 switched packets. The statistics are available for both unicast and multicast. The Layer 3 switched packet counts are available for both the ingress and egress directions. The per-VLAN statistics are updated every 5 seconds.
In some cases, you might see a difference in the duplex mode that is displayed between the
show interfaces command and the show running-config commands. The duplex mode that is displayed in the show interfaces command is the actual duplex mode that the interface is running. The
show interfaces command shows the operating mode for an interface, while the show running-config command shows the configured mode for an interface.
If you do not enter any keywords, all counters for all modules are displayed.
Linecards that support auto-MDIX configuration on their copper media ports include: WS-X4124-RJ45, WS-X4148-RJ with hardware revision 3.0 or higher, and WS-X4232-GB-RJ with hardware revision 3.0 or higher.
Examples
This example shows how to display traffic for Gigabit Ethernet interface 2/5:
Switch# show interfaces gigabitethernet2/5
GigabitEthernet9/5 is up, line protocol is up
Hardware is C4k 1000Mb 802.3, address is 0001.64f8.3fa5 (bia 0001.64f8.3fa5)
Internet address is 172.20.20.20/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output never, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 1000 bits/sec, 2 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
L2 Switched: ucast: 8199 pkt, 1362060 bytes - mcast: 6980 pkt, 371952 bytes
L3 in Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes mcast
L3 out Switched: ucast: 0 pkt, 0 bytes - mcast: 0 pkt, 0 bytes
300114 packets input, 27301436 bytes, 0 no buffer
Received 43458 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
15181 packets output, 1955836 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 output buffer failures, 0 output buffers swapped out
This example shows how to display traffic for 10-Gigabit Ethernet interface 1/1:
Switch# show interfaces tengigabitethernet1/1
Name: Tengigabitethernet1/1
Administrative Mode: private-vlan promiscuous trunk
Operational Mode: private-vlan promiscuous (suspended member of bundle Po1)
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Trunking Native Mode VLAN: none
Administrative Native VLAN tagging: enabled
Administrative private-vlan host-association: none
Administrative private-vlan mapping: 202 (VLAN0202) 303 (VLAN0303) 304 (VLAN0304)
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk
Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: 802.1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Administrative private-vlan mapping trunk: New 202 (VLAN0202) 303 (VLAN0303) 304
(VLAN0304) 204 (VLAN0204) 305 (VLAN0305) 306 (VLAN0306)
Operational private-vlan: 202 (VLAN0202) 303 (VLAN0303) 304 (VLAN0304)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture VLANs Allowed: ALL
This example shows how to verify the status of auto-MDIX on a RJ-45 port:
Note
You can verify the configuration setting and the operational state of auto-MDIX on the interface by entering the show interfaces EXEC command. This field is applicable and appears only on the
show interfaces command output for 10/100/1000BaseT RJ45 copper ports on supported linecards including WS-X4124-RJ45, WS-X4148-RJ with hardware revision 3.0 or higher, and WS-X4232-GB-RJ with hardware revision 3.0 or higher.
FastEthernet6/3 is up, line protocol is up (connected)
Hardware is Fast Ethernet Port, address is 0003.6ba8.ee68 (bia 0003.6ba8.ee68)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Full-duplex, 100Mb/s, link type is auto, media type is 10/100BaseTX
input flow-control is unsupported output flow-control is unsupported
Auto-MDIX on (operational: on)
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/2000/0/0 (size/max/drops/flushes); Total output drops: 0
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 input packets with dribble condition detected
157082 packets output, 13418032 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 babbles, 0 late collision, 0 deferred
1 lost carrier, 0 no carrier
0 output buffer failures, 0 output buffers swapped out
This example shows how to display status information for Gigabit Ethernet interface 1/2:
Switch# show interfaces gigabitethernet1/2 status
Port Name Status Vlan Duplex Speed Type
Gi1/2 notconnect 1 auto 1000 1000-XWDM-RXONLY
This example shows how to display status information for the interfaces on the supervisor engine:
Switch# show interfaces status
Port Name Status Vlan Duplex Speed Type
Te1/1 connected 1 full 10G 10GBase-LR
Te1/2 connected 1 full 10G 10GBase-LR
show interfaces capabilities
To display the interface capabilities for an interface or for all the interfaces on a switch, use the
show interfaces capabilities command.
show interfaces capabilities [{module mod}]
show interfaces [interface interface-number] capabilities
Syntax Description
module mod
|
(Optional) Display information for the specified module only.
|
interface
|
(Optional) Interface type; valid values are fastethernet, gigabitethernet, tengigabitethernet, and port-channel.
|
interface-number
|
(Optional) Port number.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(19)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(25)EW
|
Support for the 10-Gigabit Ethernet interface was introduced on the Catalyst 4500 series switch.
|
12.2(31)SGA
|
Support for auto-MDIX reflected in command output.
|
Usage Guidelines
The interface-number argument designates the module and port number. Valid values for interface-number depend on the chassis and module used. For example, if you have a 48-port 10/100-Mbps Fast Ethernet RJ-21 (telco connector) switching module installed in a Catalyst 4507 chassis, valid values for the slot number are from 2 to 13 and valid values for the port number are 1 to 48.
Linecards that support auto-MDIX configuration on their copper media ports include: WS-X4124-RJ45, WS-X4148-RJ with hardware revision 3.0 or higher, and WS-X4232-GB-RJ with hardware revision 3.0 or higher.
Examples
This example shows how to display the interface capabilities for a module:
Switch# show interfaces capabilities module 1
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression:percentage(0-100), hw
Flowcontrol: rx-(off,on,desired),tx-(off,on,desired)
VLAN Membership: static, dynamic
Queuing: rx-(N/A), tx-(4q1t, Sharing/Shaping)
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression:percentage(0-100), hw
Flowcontrol: rx-(off,on,desired),tx-(off,on,desired)
VLAN Membership: static, dynamic
Queuing: rx-(N/A), tx-(4q1t, Sharing/Shaping)
This example shows how to display the interface capabilities for the 10-Gigabit Ethernet interface 1/1:
Switch# show interfaces tengigabitethernet1/1 capabilities
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression: percentage(0-100), hw
Flowcontrol: rx-(off,on),tx-(off,on)
VLAN Membership: static, dynamic
Queuing: rx-(N/A), tx-(1p3q1t, Sharing/Shaping)
Maximum MTU: 9198 bytes (Jumbo Frames)
Diagnostic Monitoring: N/A
This example shows how to display the interface capabilities for Gigabit Ethernet interface 1/1:
Switch# show interfaces gigabitethernet1/1 capabilities
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression:percentage(0-100), hw
Flowcontrol: rx-(off,on,desired),tx-(off,on,desired)
VLAN Membership: static, dynamic
Queuing: rx-(N/A), tx-(4q1t, Sharing/Shaping)
MTU Supported: jumbo frames, baby giants
This example shows how to display the interface capabilities for Fast Ethernet interface 3/1:
Switch# show interfaces fastethernet3/1 capabilities
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression:percentage(0-100), sw
Flowcontrol: rx-(none),tx-(none)
VLAN Membership: static, dynamic
Queuing: rx-(N/A), tx-(4q1t, Shaping)
MTU Supported: no jumbo frames, baby giants
This example shows how to verify that the auto-MDIX configuration is supported on a port:
Switch# show interfaces fastethernet6/3 capabilities
Model: WS-X4232-GB-RJ-RJ-45
Trunk encap. type: 802.1Q,ISL
Trunk mode: on,off,desirable,nonegotiate
Broadcast suppression: percentage(0-100), hw
Flowcontrol: rx-(none),tx-(none)
VLAN Membership: static, dynamic
Queuing: rx-(N/A), tx-(1p3q1t, Sharing/Shaping)
Maximum MTU: 1552 bytes (Baby Giants)
Diagnostic Monitoring: N/A
Related Commands
show interfaces counters
To display the traffic on the physical interface, use the show interfaces counters command.
show interfaces counters [all | detail | errors | storm-control | trunk] [module mod]
Syntax Description
all
|
(Optional) Displays all the interface counters including errors, trunk, and detail.
|
detail
|
(Optional) Displays the detailed interface counters.
|
errors
|
(Optional) Displays the interface error counters.
|
storm-control
|
(Optional) Displays the number of packets discarded due to suppression on the interface.
|
trunk
|
(Optional) Displays the interface trunk counters.
|
module mod
|
(Optional) Limits the display to interfaces on a specific module.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(19)EW
|
Support for storm control.
|
12.2(18)EW
|
Support for the display of total suppression discards.
|
Usage Guidelines
If you do not enter any keywords, all the counters for all modules are displayed.
The display for the storm-control keyword includes the suppressed multicast bytes.
Examples
This example shows how to display the error counters for a specific module:
Switch# show interfaces counters errors module 1
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
Port Single-Col Multi-Col Late-Col Excess-Col Carri-Sen Runts Giants
This example shows how to display the traffic that is seen by a specific module:
Switch# show interfaces counters module 1
Port InOctets InUcastPkts InMcastPkts InBcastPkts
Port OutOctets OutUcastPkts OutMcastPkts OutBcastPkts
This example shows how to display the trunk counters for a specific module:
Switch# show interfaces counters trunk module 1
Port TrunkFramesTx TrunkFramesRx WrongEncap
This example shows how to display the number of packets that are discarded due to suppression:
Switch# show interfaces counters storm-control
Multicast Suppression : Enabled
Port BcastSuppLevel TotalSuppressionDiscards
Related Commands
Command
|
Description
|
show interfaces capabilities
|
Displays the interface capabilities for an interface or for all the interfaces on a switch.
|
show interfaces description
To display a description and status of an interface, use the show interfaces description command.
show interfaces [interface] description
Syntax Description
interface
|
(Optional) Type of interface.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display information for all interfaces:
Switch# show interfaces description
Interface Status Protocol Description
PO0/0 admin down down First interface
Gi1/1 up up GigE to server farm
Related Commands
Command
|
Description
|
description (refer to Cisco IOS documentation)
|
Includes a specific description about the digital signal processor (DSP) interface.
|
show interfaces link
To display how long a cable has been disconnected from an interface, use the show interfaces link command:
show interfaces link [module mod_num]
Syntax Description
module mod_num
|
(Optional) Limits the display to interfaces on a module.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.2(18)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
If the interface state is up, the command displays 0:00. If the interface state is down, the time (in hours, minutes, and seconds) is displayed.
Examples
This example shows how to display active link-level information:
Switch# show interfaces link
This example shows how to display inactive link-level information:
Switch# show interfaces link
In this example, the cable has been disconnected from the port for 1 minute and 28 seconds.
show interfaces mtu
To display the maximum transmission unit (MTU) size of all the physical interfaces and SVIs on the switch, use the show interfaces mtu command.
show interfaces mtu [module mod]
Syntax Description
module mod
|
(Optional) Limits the display to interfaces on a specific module.
|
Defaults
This command has no default settings.
Command Modes
EXEC
Command History
Release
|
Modification
|
12.1(13)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the MTU size for all interfaces on module 1:
Switch> show interfaces mtu module 1
Related Commands
Command
|
Description
|
mtu
|
Enables jumbo frames on an interface by adjusting the maximum size of a packet or maximum transmission unit (MTU).
|
show interfaces private-vlan mapping
To display PVLAN mapping information for VLAN SVIs, use the show interfaces private-vlan mapping command.
show interfaces private-vlan mapping [active]
Syntax Description
active
|
(Optional) Displays active interfaces only.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
This command displays SVI information only.
Examples
This example shows how to display PVLAN mapping information:
Switch# show interfaces private-vlan mapping
Interface Secondary VLAN Type
--------- -------------- -----------------
Related Commands
Command
|
Description
|
private-vlan
|
Configures private VLANs and the association between a private VLAN and a secondary VLAN.
|
private-vlan mapping
|
Creates a mapping between the primary and the secondary VLANs so that both share the same primary VLAN SVI.
|
show interfaces status
To display the interface status or a list of interfaces in error-disabled state, use the show interfaces status command.
show interfaces status [err-disabled | inactive ] [module {module}]
Syntax Description
err-disabled
|
(Optional) Displays interfaces in error-disabled state.
|
inactive
|
(Optional) Displays interfaces in inactive state.
|
module module
|
(Optional) Displays interfaces on a specific module.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(40)SG
|
Support for WS-X4606-10GE-E Twin Gigabit convertor introduced.
|
Examples
This example shows how to display the status of all interfaces:
Switch# show interfaces status
Port Name Status Vlan Duplex Speed Type
Gi1/1 disabled routed full 1000 missing
Gi1/2 notconnect 1 full 1000 unknown (4)
Fa5/1 disabled routed auto auto 10/100BaseTX
Fa5/2 disabled routed auto auto 10/100BaseTX
Fa5/3 disabled routed auto auto 10/100BaseTX
Fa5/4 disabled routed auto auto 10/100BaseTX
Fa5/15 disabled routed auto auto 10/100BaseTX
Fa5/16 disabled routed auto auto 10/100BaseTX
Fa5/17 disabled routed auto auto 10/100BaseTX
This example shows how to display the status of interfaces in an error-disabled state:
Switch# show interfaces status err-disabled
Fa9/4 notconnect link-flap
informational error message when the timer expires on a cause
--------------------------------------------------------------
5d04h:%PM-SP-4-ERR_RECOVER:Attempting to recover from link-flap err-disable state on Fa9/4
This example shows how to display the Gigabit Ethernet interfaces on a WS-X4606-10GE-E using the TwinGig Convertor:
Switch# show interfaces status module 1
Port Name Status Vlan Duplex Speed Type
Te1/1 inactive 1 full 10G No X2
Te1/2 inactive 1 full 10G No X2
Te1/3 inactive 1 full 10G No X2
Te1/4 notconnect 1 full 10G No X2
Te1/5 notconnect 1 full 10G No X2
Te1/6 notconnect 1 full 10G No X2
Gi1/7 notconnect 1 full 1000 No Gbic
Gi1/8 notconnect 1 full 1000 No Gbic
Gi1/9 notconnect 1 full 1000 No Gbic
Gi1/10 notconnect 1 full 1000 No Gbic
Gi1/11 notconnect 1 full 1000 No Gbic
Gi1/12 notconnect 1 full 1000 No Gbic
Gi1/13 inactive 1 full 1000 No Gbic
Gi1/14 inactive 1 full 1000 No Gbic
Gi1/15 inactive 1 full 1000 No Gbic
Gi1/16 inactive 1 full 1000 No Gbic
Gi1/17 inactive 1 full 1000 No Gbic
Gi1/18 inactive 1 full 1000 No Gbic
Related Commands
show interfaces switchport
To display the administrative and operational status of a switching (nonrouting) port, use the show interfaces switchport command.
show interfaces [interface-id] switchport [module mod]
Syntax Description
interface-id
|
(Optional) Interface ID for the physical port.
|
module mod
|
(Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(19)EW
|
Support for per-interface display.
|
12.2(18)EW
|
Support for displaying the status of native VLAN tagging in the command output.
|
Examples
This example shows how to display switch-port information using the begin output modifier:
Switch# show interfaces switchport | include VLAN
Access Mode VLAN: 200 (VLAN0200)
Trunking Native Mode VLAN: 1 (default)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: ALL
This example shows how to display switch-port information for module 1:
Switch# show interfaces switchport module 1
Administrative Mode:dynamic auto
Administrative Trunking Encapsulation:negotiate
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
Administrative Mode:dynamic auto
Administrative Trunking Encapsulation:negotiate
Negotiation of Trunking:On
Access Mode VLAN:1 (default)
Trunking Native Mode VLAN:1 (default)
Administrative private-vlan host-association:none
Administrative private-vlan mapping:none
Operational private-vlan:none
Trunking VLANs Enabled:ALL
Pruning VLANs Enabled:2-1001
This example shows how to display the status of native VLAN tagging on the port:
Switch# show interfaces f3/1 switchport
show interface f3/1 switchport
Administrative Mode: private-vlan trunk promiscuous
Operational Mode: private-vlan trunk promiscuous
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: dot1q
Negotiation of Trunking: On
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: 1
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: 1
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings:
10 (VLAN0010) 100 (VLAN0100)
Operational private-vlan:
10 (VLAN0010) 100 (VLAN0100)
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture VLANs Allowed: ALL
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Related Commands
show interfaces transceiver
To display diagnostic-monitoring data for all interfaces that have transceivers installed, use the show interfaces transceiver command.
show interfaces {{[int_name] transceiver {[detail]} | {transceiver [module mod] | detail
[module mod]}}
Syntax Description
int_name
|
(Optional) Interface.
|
detail
|
(Optional) Displays the calibrated values and the A2D readouts if the readout values differ from the calibrated values. Also displays the high-alarm, high-warning, low-warning, and low-alarm thresholds.
|
module mod
|
(Optional) Limits the display to interfaces on a specific module.
|
Defaults
The noninterface-specific versions of the show interfaces transceiver command are enabled by default.
The interface-specific versions of these commands are enabled by default if the specified interface has a transceiver (GBIC or SFP) that is configured for diagnostic monitoring, and the transceiver is in a module that supports diagnostic monitoring.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(20)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(18)EW
|
Support for the calibration keyword was withdrawn.
|
Usage Guidelines
The show interfaces transceiver command provides useful information under the following conditions:
•
At least one transceiver is installed on a chassis that is configured for diagnostic monitoring.
•
The transceiver is in a module that supports diagnostic monitoring.
If you notice that the alarm and warning flags have been set on a transceiver, reenter the command to confirm.
Examples
This example shows how to display diagnostic monitoring data for all interfaces with transceivers installed on the switch:
Switch# show interfaces transceiver
If device is externally calibrated, only calibrated values are printed.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
NA or N/A: not applicable, Tx: transmit, Rx: receive.
mA: milliamperes, dBm: decibels (milliwatts).
Temperature Voltage Current Tx Power Rx Power
Port (Celsius) (Volts) (mA) (dBm) (dBm)
------- ----------- ------- -------- -------- --------
Gi1/1 48.1 3.30 0.0 8.1 ++ N/A
Gi1/2 33.0 3.30 1.8 -10.0 -36.9
Gi2/1 43.7 5.03 50.6 + -16.7 -- N/A
Gi2/2 39.2 5.02 25.7 0.8 N/A
Note
The value for the Optical Tx Power (in dBm) equals ten times log (Tx Power in mW). If the Tx Power value is 3 mW, then the Optical Tx Power value equals 10 * log (3), which equals 10 * .477 or 4.77 dBm. The Optical Rx Power value behaves similarly. If the Tx Power or the Rx Power is zero, then its dBm value is undefined and is shown as N/A (not applicable).
This example shows how to display detailed diagnostic monitoring data, including calibrated values, alarm and warning thresholds, A2D readouts, and alarm and warning flags. The A2D readouts are reported separately in parentheses only if they differ from the calibrated values:
Switch# show interfaces transceiver detail
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
------- ------------------ ---------- --------- --------- ---------
Gi1/1 48.1 100.0 100.0 0.0 0.0
Gi1/2 34.9 100.0 100.0 0.0 0.0
Gi2/1 43.5 70.0 60.0 5.0 0.0
Gi2/2 39.1 70.0 60.0 5.0 0.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
------- --------------- ---------- --------- --------- ---------
Gi1/1 3.30 6.50 6.50 N/A N/A
Gi1/2 3.30 6.50 6.50 N/A N/A
Gi2/1 5.03 5.50 5.25 4.75 4.50
Gi2/2 5.02 5.50 5.25 4.75 4.50
High Alarm High Warn Low Warn Low Alarm
Current Threshold Threshold Threshold Threshold
Port (milliamperes) (mA) (mA) (mA) (mA)
------- ----------------- ---------- --------- --------- ---------
Gi1/1 0.0 130.0 130.0 N/A N/A
Gi1/2 1.7 130.0 130.0 N/A N/A
Gi2/1 50.6 + 60.0 40.0 10.0 5.0
Gi2/2 25.8 60.0 40.0 10.0 5.0
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi1/1 8.1 ++ 8.1 8.1 N/A N/A
Gi1/2 -9.8 8.1 8.1 N/A N/A
Gi2/1 -16.7 (-13.0) -- 3.4 3.2 -0.3 -0.5
Gi2/2 0.8 ( 5.1) 3.4 3.2 -0.3 -0.5
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi1/1 N/A 8.1 8.1 N/A N/A
Gi1/2 -30.9 8.1 8.1 N/A N/A
Gi2/1 N/A (-28.5) 5.9 -6.7 -28.5 -28.5
Gi2/2 N/A (-19.5) 5.9 -6.7 -28.5 -28.5
This example shows how to display the monitoring data for the interfaces that have transceivers installed on module 2:
Switch# show interfaces transceiver module 2
If device is externally calibrated, only calibrated values are printed.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
NA or N/A: not applicable, Tx: transmit, Rx: receive.
mA: milliamperes, dBm: decibels (milliwatts).
Temperature Voltage Current Tx Power Rx Power
Port (Celsius) (Volts) (mA) (dBm) (dBm)
------- ----------- ------- -------- -------- --------
Gi2/1 43.7 5.03 50.6 + -16.7 -- N/A
Gi2/2 39.2 5.02 25.7 0.8 N/A
This example shows how to display the detailed monitoring data for the interfaces that have transceivers installed on module 2:
Switch# show interfaces transceiver detail module 2
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
------- ------------------ ---------- --------- --------- ---------
Gi2/1 43.5 70.0 60.0 5.0 0.0
Gi2/2 39.1 70.0 60.0 5.0 0.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
------- --------------- ---------- --------- --------- ---------
Gi2/1 5.03 5.50 5.25 4.75 4.50
Gi2/2 5.02 5.50 5.25 4.75 4.50
High Alarm High Warn Low Warn Low Alarm
Current Threshold Threshold Threshold Threshold
Port (milliamperes) (mA) (mA) (mA) (mA)
------- ----------------- ---------- --------- --------- ---------
Gi2/1 50.6 + 60.0 40.0 10.0 5.0
Gi2/2 25.8 60.0 40.0 10.0 5.0
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi2/1 -16.7 (-13.0) -- 3.4 3.2 -0.3 -0.5
Gi2/2 0.8 ( 5.1) 3.4 3.2 -0.3 -0.5
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi2/1 N/A (-28.5) 5.9 -6.7 -28.5 -28.5
Gi2/2 N/A (-19.5) 5.9 -6.7 -28.5 -28.5
This example shows how to display the monitoring data for the transceivers on interface Gi1/2:
Switch# show interfaces g1/2 transceiver
ITU Channel 23 (1558.98 nm),
Transceiver is externally calibrated.
If device is externally calibrated, only calibrated values are printed.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
NA or N/A: not applicable, Tx: transmit, Rx: receive.
mA: milliamperes, dBm: decibels (milliwatts).
Temperature Voltage Current Tx Power Rx Power
Port (Celsius) (Volts) (mA) (dBm) (dBm)
------- ----------- ------- -------- -------- --------
Gi2/1 43.7 5.03 50.6 + -16.7 -- N/A
This example shows how to display detailed the monitoring data for the transceivers on interface Gi1/2:
Switch# show interfaces g1/2 transceiver detail
ITU Channel 23 (1558.98 nm),
Transceiver is externally calibrated.
mA: milliamperes, dBm: decibels (milliwatts), NA or N/A: not applicable.
++ : high alarm, + : high warning, - : low warning, -- : low alarm.
A2D readouts (if they differ), are reported in parentheses.
The threshold values are calibrated.
High Alarm High Warn Low Warn Low Alarm
Temperature Threshold Threshold Threshold Threshold
Port (Celsius) (Celsius) (Celsius) (Celsius) (Celsius)
------- ------------------ ---------- --------- --------- ---------
Gi2/1 43.5 70.0 60.0 5.0 0.0
High Alarm High Warn Low Warn Low Alarm
Voltage Threshold Threshold Threshold Threshold
Port (Volts) (Volts) (Volts) (Volts) (Volts)
------- --------------- ---------- --------- --------- ---------
Gi2/1 5.03 5.50 5.25 4.75 4.50
High Alarm High Warn Low Warn Low Alarm
Current Threshold Threshold Threshold Threshold
Port (milliamperes) (mA) (mA) (mA) (mA)
------- ----------------- ---------- --------- --------- ---------
Gi2/1 50.6 + 60.0 40.0 10.0 5.0
Optical High Alarm High Warn Low Warn Low Alarm
Transmit Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi2/1 -16.7 (-13.0) -- 3.4 3.2 -0.3 -0.5
Optical High Alarm High Warn Low Warn Low Alarm
Receive Power Threshold Threshold Threshold Threshold
Port (dBm) (dBm) (dBm) (dBm) (dBm)
------- ----------------- ---------- --------- --------- ---------
Gi2/1 N/A (-28.5) 5.9 -6.7 -28.5 -28.5
Related Commands
Command
|
Description
|
show idprom
|
Displays the IDPROMs for the chassis.
|
show interfaces status
|
Displays the interface status or a list of interfaces in error-disabled state.
|
show interfaces trunk
To display port and module interface-trunk information, use the show interfaces trunk command.
show interfaces trunk [module mod]
Syntax Description
module mod
|
(Optional) Limits the display to interfaces on the specified module; valid values are from 1 to 6.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
If you do not specify a keyword, only information for trunking ports is displayed.
Examples
This example shows how to display interface-trunk information for module 5:
Switch# show interfaces trunk module 5
Port Mode Encapsulation Status Native vlan
Fa5/1 routed negotiate routed 1
Fa5/2 routed negotiate routed 1
Fa5/3 routed negotiate routed 1
Fa5/4 routed negotiate routed 1
Fa5/5 routed negotiate routed 1
Fa5/6 off negotiate not-trunking 10
Fa5/7 off negotiate not-trunking 10
Fa5/8 off negotiate not-trunking 1
Fa5/9 desirable n-isl trunking 1
Fa5/10 desirable negotiate not-trunking 1
Fa5/11 routed negotiate routed 1
Fa5/12 routed negotiate routed 1
Fa5/48 routed negotiate routed 1
Port Vlans allowed on trunk
Port Vlans allowed and active in management domain
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
Port Vlans in spanning tree forwarding state and not pruned
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
This example shows how to display trunking information for active trunking ports:
Switch# show interfaces trunk
Port Mode Encapsulation Status Native vlan
Fa5/9 desirable n-isl trunking 1
Port Vlans allowed on trunk
Port Vlans allowed and active in management domain
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
Port Vlans in spanning tree forwarding state and not pruned
Fa5/9 1-6,10,20,50,100,152,200,300,303-305,349-351,400,500,521,524,570,801-8
show ip arp inspection
To show the status of dynamic ARP inspection for a specific range of VLANs, use the show ip arp inspection command.
show ip arp inspection {[statistics] vlan vlan-range | interfaces [interface-name]}
Syntax Description
statistics
|
(Optional) Displays statistics for the following types of packets that have been processed by this feature: forwarded, dropped, MAC validation failure, and IP validation failure.
|
vlan vlan-range
|
(Optional) When used with the statistics keyword, displays the statistics for the selected range of VLANs. Without the statistics keyword, displays the configuration and operating state of DAI for the selected range of VLANs.
|
interfaces interface-name
|
(Optional) Displays the trust state and the rate limit of ARP packets for the provided interface. When the interface name is not specified, the command displays the trust state and rate limit for all applicable interfaces in the system.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(19)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the statistics of packets that have been processed by DAI for
VLAN 3:
Switch# show ip arp inspection statistics vlan 3
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ----------
Vlan DHCP Permits ACL Permits Source MAC Failures
---- ------------ ----------- -------------------
Vlan Dest MAC Failures IP Validation Failures
---- ----------------- ----------------------
This example shows how to display the statistics of packets that have been processed by DAI for all active VLANs:
Switch# show ip arp inspection statistics
Vlan Forwarded Dropped DHCP Drops ACL Drops
---- --------- ------- ---------- ----------
Vlan DHCP Permits ACL Permits Source MAC Failures
---- ------------ ----------- -------------------
Vlan Dest MAC Failures IP Validation Failures
---- ----------------- ----------------------
This example shows how to display the configuration and operating state of DAI for VLAN 1:
Switch# show ip arp inspection vlan 1
Source Mac Validation : Disabled
Destination Mac Validation : Disabled
IP Address Validation : Disabled
Vlan Configuration Operation ACL Match Static ACL
---- ------------- --------- --------- ----------
Vlan ACL Logging DHCP Logging
---- ----------- ------------
This example shows how to display the trust state of Fast Ethernet interface 6/1:
Switch# show ip arp inspection interfaces fastEthernet 6/1
Interface Trust State Rate (pps) Burst Interval
--------------- ----------- ---------- --------------
This example shows how to display the trust state of the interfaces on the switch:
Switch# show ip arp inspection interfaces
Interface Trust State Rate (pps)
--------------- ----------- ----------
Related Commands
show ip arp inspection log
To show the status of the log buffer, use the show ip arp inspection log command.
show ip arp inspection log
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(19)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the current contents of the log buffer before and after the buffers are cleared:
Switch# show ip arp inspection log
Total Log Buffer Size : 10
Syslog rate : 0 entries per 10 seconds.
Interface Vlan Sender MAC Sender IP Num of Pkts
--------------- ----- ----------------- --------------- -----------
Fa6/3 1 0002.0002.0002 1.1.1.2 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.3 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.4 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.5 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.6 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.7 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.8 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.9 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.10 1(12:02:52 UTC Fri Apr 25 2003)
Fa6/3 1 0002.0002.0002 1.1.1.11 1(12:02:52 UTC Fri Apr 25 2003)
-- -- -- -- 5(12:02:52 UTC Fri Apr 25 2003)
This example shows how to clear the buffer with the clear ip arp inspection log command:
Switch# clear ip arp inspection log
Switch# show ip arp inspection log
Total Log Buffer Size : 10
Syslog rate : 0 entries per 10 seconds.
No entries in log buffer.
Related Commands
show ip cef vlan
To view IP CEF VLAN interface status and configuration information and display the prefixes for a specific interface, use the show ip cef vlan command.
show ip cef vlan vlan_num [detail]
Syntax Description
vlan_num
|
Number of the VLAN.
|
detail
|
(Optional) Displays detailed information.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Examples
This example shows how to display the prefixes for a specific VLAN:
Switch# show ip cef vlan 1003
Prefix Next Hop Interface
0.0.0.0/0 172.20.52.1 FastEthernet3/3
10.7.0.0/16 172.20.52.1 FastEthernet3/3
10.16.18.0/23 172.20.52.1 FastEthernet3/3
This example shows how to display detailed IP CEF information for a specific VLAN:
Switch# show ip cef vlan 1003 detail
IP Distributed CEF with switching (Table Version 2364), flags=0x0
1383 routes, 0 reresolve, 0 unresolved (0 old, 0 new)
1383 leaves, 201 nodes, 380532 bytes, 2372 inserts, 989 invalidations
0 load sharing elements, 0 bytes, 0 references
universal per-destination load sharing algorithm, id 9B6C9823
3 CEF resets, 0 revisions of existing leaves
refcounts: 54276 leaf, 51712 node
Adjacency Table has 5 adjacencies
show ip dhcp snooping
To display the DHCP snooping configuration, use the show ip dhcp snooping command.
show ip dhcp snooping
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(12c)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.2(25)EWA
|
Support for option 82 on untrusted ports was added.
|
Examples
This example shows how to display the DHCP snooping configuration:
Switch# show ip dhcp snooping
Switch DHCP snooping is enabled
DHCP snooping is configured on following VLANs:
DHCP snooping is operational on following VLANs:
DHCP snooping is configured on the following L3 Interfaces:
Insertion of option 82 is enabled
circuit-id default format: vlan-mod-port
remote-id: switch123 (string)
Option 82 on untrusted port is not allowed Verification of hwaddr field is enabled DHCP
snooping trust/rate is configured on the following Interfaces:
Interface Trusted Rate limit (pps)
------------------------ ------- ----------------
FastEthernet2/1 no unlimited
Related Commands
show ip dhcp snooping binding
To display the DHCP snooping binding entries, use the show ip dhcp snooping binding command.
show ip dhcp snooping binding [ip-address] [mac-address] [vlan vlan_num]
[interface interface_num]
Syntax Description
ip-address
|
(Optional) IP address for the binding entries.
|
mac-address
|
(Optional) MAC address for the binding entries.
|
vlan vlan_num
|
(Optional) Specifies a VLAN.
|
interface interface_num
|
(Optional) Specifies an interface.
|
Defaults
If no argument is specified, the switch will display the entire DHCP snooping binding table.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(12c)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
Usage Guidelines
DHCP snooping is enabled on a VLAN only if both the global snooping and the VLAN snooping are enabled.
To configure a range of VLANs, use the optional last_vlan argument to specify the end of the VLAN range.
Examples
This example shows how to display the DHCP snooping binding entries for a switch:
Switch# show ip dhcp snooping binding
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------- ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
This example shows how to display an IP address for DHCP snooping binding entries:
Switch# show ip dhcp snooping binding 172.100.101.102
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------- ----- ------------
0000.0100.0201 172.100.101.102 1600 dhcp-snooping 100 FastEthernet3/1
This example shows how to display the MAC address for the DHCP snooping binding entries:
Switch# show ip dhcp snooping binding 55.5.5.2 0002.b33f.3d5f
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
00:02:B3:3F:3D:5F 55.5.5.2 492 dhcp-snooping 99 FastEthernet6/36
This example shows how to display the DHCP snooping binding entries' MAC address for a specific VLAN:
Switch# show ip dhcp snooping binding 55.5.5.2 0002.b33f.3d5f vlan 99
MacAddress IpAddress Lease(sec) Type VLAN Interface
------------------ --------------- ---------- ------------- ---- --------------------
00:02:B3:3F:3D:5F 55.5.5.2 479 dhcp-snooping 99 FastEthernet6/36
This example shows how to display the dynamic DHCP snooping binding entries:
Switch# show ip dhcp snooping binding dynamic
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------ ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
This example shows how to display the DHCP snooping binding entries on VLAN 100:
Switch# show ip dhcp snooping binding vlan 100'
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------ ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
This example shows how to display the DHCP snooping binding entries on Ethernet interface 0/1:
Switch# show ip dhcp snooping binding interface fastethernet3/1
MacAddress IP Address Lease (seconds) Type VLAN Interface
----------- ----------- ---------------- ------------ ----- ------------
0000.0100.0201 10.0.0.1 1600 dhcp-snooping 100 FastEthernet3/1
Table 2-19 describes the fields in the show ip dhcp snooping command output.
Table 2-19 show ip dhcp snooping Command Output
Field
|
Description
|
Mac Address
|
Client hardware MAC address.
|
IP Address
|
Client IP address assigned from the DHCP server.
|
Lease (seconds)
|
IP address lease time.
|
Type
|
Binding type; statically configured from CLI or dynamically learned.
|
VLAN
|
VLAN number of the client interface.
|
Interface
|
Interface that connects to the DHCP client host.
|
Related Commands
show ip dhcp snooping database
To display the status of the DHCP snooping database agent, use the show ip dhcp snooping database command.
show ip dhcp snooping database [detail]
Syntax Description
detail
|
(Optional) Provides additional operating state and statistics information.
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC mode
Command History
Release
|
Modification
|
12.1(12c)EW
|
Support for this command was introduced on the Catalyst 4500 series switch.
|
12.1(19)EW
|
Added support of state and statistics information.
|
Examples
This example shows how to display the DHCP snooping database:
Switch# show ip dhcp snooping database
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Delay Timer Expiry : Not Running
Abort Timer Expiry : Not Running
Last Succeded Time : None
Last Failed Reason : No failure recorded.
Total Attempts : 0 Startup Failures : 0
Successful Transfers : 0 Failed Transfers : 0
Successful Reads : 0 Failed Reads : 0
Successful Writes : 0 Failed Writes : 0
This example shows how to view additional operating statistics:
Switch# show ip dhcp snooping database detail
Agent URL : tftp://10.1.1.1/directory/file
Write delay Timer : 300 seconds
Abort Timer : 300 seconds
Delay Timer Expiry : 7 (00:00:07)