Table of Contents
show adjacency
show bootflash:
show bootvar
show class-map
show diagnostics
show dot1x
show environment
show errdisable detect
show errdisable recovery
show etherchannel
show flowcontrol
show idprom
show interfaces
show interfaces counters
show interfaces description
show interfaces private-vlan mapping
show interfaces status
show interfaces switchport
show interfaces trunk
show ipc
show ip cef vlan
show ip dhcp snooping
show ip dhcp snooping binding
show ip igmp interface
show ip igmp profile
show ip igmp snooping mrouter
show ip igmp snooping vlan
show ip mfib
show ip mfib fastdrop
show ip mroute
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 protocol
show mac-address-table static
show mac-address-table vlan
show module
show monitor
show pagp
show platform chassis
show platform cpu packet
show platform crashdump
show platform hardware acl
show platform hardware cpu events
show platform hardware ip route
show platform hardware l2-lookup-cam
show platform hardware mac-address-table
show platform hardware met
show platform hardware monitor
show platform hardware mrq
show platform hardware qos
show platform hardware stp vlan
show platform health
show platform logfeatures
show platform memory address
show platform nvramenv
show platform portmap
show platform software acl
show platform software cpu events
show platform software cpu logging
show platform software host-access-table
show platform software monitor
show platform software portchannel
show platform software stp
show policy-map
show policy-map interface
show power
show qos
show qos aggregate policer
show qos interface
show qos maps
show redundancy
show running-config
show slavebootflash:
show slaveslot0:
show slot0:
show spanning-tree
show spanning-tree mst
show system mtu
show tech-support
show udld
show vlan
show vlan access-map
show vlan private-vlan
show vtp
show adjacency
To display adjacency table information, use the show adjacency command.
- show adjacency [{FastEthernet slot/port} | {GigabitEthernet slot/port} | {Null interface-number} | {Port-channel number} | {Vlan vlan_id} | detail | internal | summary]
Syntax Description
FastEthernet
|
(Optional) Specifies the Fast Ethernet interface.
|
slot/port
|
(Optional) Number of the slot and port.
|
GigabitEthernet
|
(Optional) Specifies the Gigabit Ethernet interface; valid values are from 1 to 9.
|
Null interface-number
|
(Optional) Specifies the null interface; the only valid value is 0.
|
Port-channel number
|
(Optional) Specifies the channel interface; valid values are from 1 to 64.
|
Vlan vlan_id
|
(Optional) Specifies the VLAN; valid values are from 1 to 4094.
|
detail
|
(Optional) Displays protocol detail and timer information.
|
internal
|
(Optional) Displays internal data structure information.
|
summary
|
(Optional) Displays a summary of CEF adjacency information.
|
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC
Command History
|
Release |
Modification |
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4000 family switch.
|
12.1(12c)EW
|
Added support for extended VLAN addresses.
|
|
Usage Guidelines
Adjacency statistics are updated every 10 seconds.
The information contained in the show adjacency command includes the following:
- Protocol interface
- Type of routing protocol configured on the interface
- Interface address
- Method adjacency was learned
- MAC address of the adjacent switch
- 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 fastethernet 2/3
Protocol Interface Address
IP FastEthernet2/3 172.20.52.1(3045)
IP FastEthernet2/3 172.20.52.22(11)
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 4000 family 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
Command History
|
Release |
Modification |
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4000 family 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 class-map
To display class map information, use the show class-map command.
- show class-map
- 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
Command History
|
Release |
Modification |
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4000 family switch.
|
|
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)
Related Commands
class-map
show policy-map
show policy-map interface
show diagnostics
To display Power-On-Self-Test (POST) results and online diagnostics for a supervisor module, use the show diagnostics command.
- show diagnostics [power-on | online module slot_no]
Syntax Description
power-on
|
(Optional) Display Power-On-Self-Test (POST) results.
|
online module
|
(Optional) Display online diagnostic results.
|
slot_no
|
Slot number for which diagnostics are displayed.
|
|
Defaults
This command has no default settings.
Command Modes
Privileged EXEC
Command History
|
Release |
Modification |
12.1(8a)EW
|
Support for this command was introduced on the Catalyst 4000 family switch.
|
|
Examples
This example shows how to display Power-On-Self-Test (POST) results:
Switch#
show diagnostics power-on
Power-On-Self-Test Results
Power-on-self-test for Module 1: WS-X4515
Status: (. = Pass, F = Fail)
Traffic using serdes loopback (L2; one port at a time)...
switch port 0: . switch port 1: . switch port 2: .
switch port 3: . switch port 4: . switch port 5: .
switch port 6: . switch port 7: . switch port 8: .
switch port 9: . switch port 10: . switch port 11: .
switch port 12: . switch port 13: . switch port 14: .
switch port 15: . switch port 16: . switch port 17: .
switch port 18: . switch port 19: . switch port 20: .
switch port 21: . switch port 22: . switch port 23: .
switch port 24: . switch port 25: . switch port 26: .
switch port 27: . switch port 28: . switch port 29: .
switch port 30: . switch port 31: .
Traffic using asic loopback (L2; all ports at once)...
switch port 0: . switch port 1: . switch port 2: .
switch port 3: . switch port 4: . switch port 5: .
switch port 6: . switch port 7: . switch port 8: .
switch port 9: . switch port 10: . switch port 11: .
switch port 12: . switch port 13: . switch port 14: .
switch port 15: . switch port 16: . switch port 17: .
switch port 18: . switch port 19: . switch port 20: .
switch port 21: . switch port 22: . switch port 23: .
switch port 24: . switch port 25: . switch port 26: .
switch port 27: . switch port 28: . switch port 29: .
switch port 30: . switch port 31: .
Traffic using asic loopback (L3; all ports at once)...
switch port 0: . switch port 1: . switch port 2: .
switch port 3: . switch port 4: . switch port 5: .
switch port 6: . switch port 7: . switch port 8: .
switch port 9: . switch port 10: . switch port 11: .
switch port 12: . switch port 13: . switch port 14: .
switch port 15: . switch port 16: . switch port 17: .
switch port 18: . switch port 19: . switch port 20: .
switch port 21: . switch port 22: . switch port 23: .
switch port 24: . switch port 25: . switch port 26: .
switch port 27: . switch port 28: . switch port 29: .
switch port 30: . switch port 31: .
This example shows how to display online diagnostics for module 5:
Switch#show diagnostics online module 5
Slot Ports Card Type Diag Status Diag Details
---- ----- -------------------------------------- ---------------- ------------
5 48 10/100BaseTX (RJ45) 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
. . . . . . . . . . . . . . . .
show dot1x
To display 802.1X statistics, administrative status, and operational status for the switch or for the specified interface, use the show dot1x command.
- show dot1x