Table Of Contents
show arp
show authentication
show authorization
show boot
show bridge
show cam
show cam agingtime
show cam mlsrp
show cdp
show cgmp leave
show cgmp statistics
show channel
2
show arp
Use the show arp command to display the ARP table.
show arp [ip_addr | hostname] [noalias]
Syntax Description
ip_addr
|
(Optional) Number of the IP address.
|
hostname
|
(Optional) Name of the host.
|
noalias
|
(Optional) Keyword to force the display to show only IP addresses, not IP aliases.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The ARP Aging time display in the output is the period of time when an ARP entry is removed from the ARP table. Set this value by entering the set arp agingtime command. The remaining lines of the display show the mappings of IP addresses (or IP aliases) to MAC addresses.
Use the ip_addr or the hostname options to specify a specific IP host when the ARP cache is large.
Examples
This example shows how to display the ARP table:
+ - Permanent Arp Entries
* 2.2.2.2 at 00-08-cc-44-aa-18 on vlan 5
+ 1.1.1.1 at 00-08-94-cc-02-aa on vlan 5
142.10.52.195 at 00-10-07-3c-05-13 port 7/1-4 on vlan 5
121.23.79.121 at 00-00-1c-03-00-40 port 7/1-4 on vlan 5
Related Commands
clear arp
set arp
show authentication
Use the show authentication command to display authentication information.
show authentication
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display authentication information:
Console> show authentication
Console Session Telnet Session Http Session
--------------------- ---------------- --------------- -----------
tacacs disabled disabled disabled
radius disabled disabled enabled(*)
kerberos disabled disabled disabled
local enabled(*) enabled(*) enabled
---------------------- ---------------- ---------------
kerberos disabled disabled
local enabled(*) enabled(*)
Related Commands
set authentication enable
set authentication login
show authorization
Use the show authorization command to display authorization setup and configuration information on the switch.
show authorization
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display authorization information:
Console> show authorization
config: tacacs+ If-authen
Related Commands
set authorization commands
set authorization enable
set authorization exec
show boot
Note
This command applies only to switches configured with the Supervisor Engine III. If you attempt to run this command on a Supervisor Engine I or II, you will receive an error message.
Use the show boot command to display the contents of the BOOT environment variables and the configuration register setting.
show boot [mod]
Syntax Description
mod
|
(Optional) Module number of the supervisor engine containing the Flash device.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported on switches configured with a Supervisor Engine III only.
Examples
This example shows how to use the show boot command:
BOOT variable = bootflash:cat5000-sup3.5-1-0-59.bin,1;bootflash:cat5000-sup3.4-;
CONFIG_FILE variable = slot0:cfgfile1;slot0:cfgfile2
Configuration register is 0x10f
boot: image specified by the boot system commands
Related Commands
show boot
show bridge
Use the show bridge command to display bridge information.
show bridge
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display bridge information:
Default IPX translations:
FDDI SNAP to Ethernet 8023raw
FDDI 802.2 to Ethernet 8023raw
Ethernet 802.3 Raw to FDDI snap
Table 2-11 describes the fields in the show bridge output.
Table 2-11 show bridge Command Output Fields
Field
|
Description
|
APaRT Enabled
|
Status of whether APaRT is enabled or disabled.
|
FDDICHECK Enabled
|
Status of whether FDDICHECK is enabled or disabled.
|
IP fragmentation Enabled
|
Status of whether IP fragmentation is enabled or disabled.
|
IPX translations
|
Default method for translating IPX packets across various media.
|
Related Commands
set bridge ipx 8022toether
set bridge ipx 8023rawtofddi
set bridge ipx snaptoether
set ip dns domain
show cam
Use the show cam command to display the EARL CAM table entries.
show cam count {dynamic | static | permanent | system} [vlan]
show cam {dynamic | static | permanent} mod/port
show cam mac_addr [vlan]
Syntax Description
count
|
Keyword to display only the number of CAM entries.
|
dynamic
|
Keyword to display dynamic CAM entries.
|
static
|
Keyword to display static CAM entries.
|
permanent
|
Keyword to display permanent CAM entries.
|
system
|
Keyword to display system CAM entries.
|
vlan
|
(Optional) Number of the VLAN. If a VLAN is not specified, all VLANs are displayed.
|
mod
|
Number of the module.
|
port
|
Number of the port.
|
mac_addr
|
MAC address.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you display the output associated with the MAC address of an ATM dual PHY OC-12 module, additional information is displayed, including the VCD, VPI, VCI, and VC type.
If the MAC address belongs to a router, it is shown by appending an "R" to the MAC address. If a VLAN is specified, then only those CAM entries matching the VLAN number are displayed.
Examples
This example shows how to display dynamic CAM entries for all VLANs:
Console> show cam dynamic
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry.
VLAN Dest MAC/Route Des Destination Ports or VCs / [Protocol Type]
---- ------------------ ----------------------------------------------------
1 00-60-5c-86-5b-81 4/1 [ALL]
1 00-60-2f-35-48-17 4/1 [ALL]
1 00-80-24-f3-47-20 1/2 [ALL]
1 00-60-09-78-96-fb 4/1 [ALL]
1 00-80-24-1d-d9-ed 1/2 [ALL]
1 00-80-24-1d-da-01 1/2 [ALL]
1 08-00-20-7a-63-01 4/1 [ALL]
Total Matching CAM Entries Displayed = 7
This example shows the output associated with the MAC address of an ATM dual PHY OC-12 module, which includes the dynamic CAM entries for all VLANs:
Console> show cam dynamic
VLAN Dest MAC/Route Des Destination Ports or VCs
---- ------------------ ----------------------------------------------------
6 00-14-14-14-14-16 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-17 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
3 00-14-14-14-14-14 4/1 VCD:101 VPI:0 VCI:130 Type: LANE Data Direct
3 00-14-14-14-14-15 4/1 VCD:101 VPI:0 VCI:130 Type: LANE Data Direct
Do you wish to continue y/n [n]? n
Total Matching CAM Entries Displayed = 21
Table 2-12 describes the fields in the ATM dual PHY OC-12 module show cam dynamic output.
Table 2-12 show cam dynamic Command Output Fields
Field
|
Description
|
VCD
|
VCD of the VC.
|
VPI
|
VPI of the VC.
|
VCI
|
VCI of the VC.
|
Type
|
Type of virtual circuit (LANE Data Direct, LANE bus, or AAL5SNAP PVC).
|
This example shows routers listed as the CAM entries.
Console> show cam 00-00-81-01-23-45
* = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry
Router Watergate with IP address 172.25.55.1 has CAM entries:
VLAN Dest MAC/Route Des Destination Ports or VCs
---- ------------------ ----------------------------------------------------
1 00-00-81-01-23-45R 2/9 [IP]
2 00-00-81-01-23-45R 2/10 [IP]
Total Matching CAM Entries = 2
Related Commands
clear cam
set cam
show cam agingtime
show config
show cam agingtime
Use the show cam agingtime command to display CAM aging time information for all configured VLANs.
show cam agingtime
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display CAM aging time information:
Console> show cam agingtime
VLAN 1 aging time = 300 sec
VLAN 3 aging time = 300 sec
VLAN 5 aging time = 300 sec
VLAN 9 aging time = 300 sec
VLAN 100 aging time = 300 sec
VLAN 200 aging time = 300 sec
VLAN 201 aging time = 300 sec
VLAN 202 aging time = 300 sec
VLAN 203 aging time = 300 sec
Related Commands
clear cam
set cam
show cam
show cam mlsrp
Use the show cam mlsrp command to display the specified router entries in the MLS forwarding table. If you can specify a VLAN number, only the router MAC addresses corresponding to the VLAN are displayed.
show cam mlsrp {ip_addr} [vlan]
Syntax Description
ip_addr
|
IP address of the router or name of the router if DNS is enabled.
|
vlan
|
(Optional) Number of the VLAN. If you do not specify a VLAN, all VLANs are displayed.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display all CAM entries for the specified router:
Console>(enable) show cam mlsrp 172.20.22.1
VLAN Destination MAC Destination Ports or VCs Xtag Status
---- ------------------- -------------------------------------
1 00-00-81-01-23-45R 2/9 5 H
2 00-00-81-01-23-45R 2/10 5 H
Total Matching CAM Entries Displayed = 2
Related Commands
show cam
show cdp
Use the show cdp command to display CDP information.
show cdp
show cdp neighbors [mod] [vlan | duplex | capabilities | detail]
show cdp neighbors [mod/port] [vlan | duplex | capabilities | detail]
show cdp port [mod]
show cdp port [mod/port]
Syntax Description
neighbors
|
Keyword to show CDP information for Cisco products connected to the switch.
|
mod
|
(Optional) Number of the module for which CDP information is displayed. If no module number is specified, CDP information for the entire switch is displayed.
|
vlan
|
(Optional) Keyword to show the native VLAN number for the neighboring Cisco products.
|
duplex
|
(Optional) Keyword to show duplex type of the neighboring Cisco products.
|
capabilities
|
(Optional) Keyword to show the capability codes for the neighboring Cisco products; valid values are R, T, B, S, H, I, r (R=Router, T=Trans Bridge, B=Source Route Bridge, S=Switch, H=Host, I=IGMP, and r=Repeater).
|
detail
|
(Optional) Keyword to show detailed information about neighboring Cisco products.
|
port
|
(Optional) Number of the port for which CDP information is displayed.
|
port
|
Keyword to show CDP port settings.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display CDP information for the system:
This example shows how to display detailed CDP neighbor information. The display varies depending on your network configuration at the time you run the command.
Console> show cdp neighbors 4/4 detail
Capabilities:TRANSPARENT_BRIDGE SWITCH
WS-C5509 Software, Version McpSW: 5.3(0.29)BOU NmpSW: 5.3(0.29)BOU
Copyright (c) 1995-1999 by Cisco Systems
Port-ID (Port on Device):4/8
VTP Management Domain:unknown
This example shows how to display CDP information about neighboring systems:
Console> show cdp neighbors
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port Device-ID Port-ID Platform
-------- ------------------------------- ------------------------- ------------
3/5 002267619 3/6 * WS-C5000
3/6 002267619 3/5 WS-C5000
4/1 002267619 4/2 WS-C5000
4/2 002267619 4/1 # WS-C5000
4/20 069000057 8/5 WS-C5500
5/1 005763872 2/1 WS-C5000
5/1 066506245 2/1 WS-C5505
5/1 066508595 5/12 *# WS-C5505
5/1 066508596 5/1 WS-C5505
This example shows how to display VLAN information about neighboring systems:
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port Device-ID Port-ID NativeVLAN
-------- ------------------------------- ------------------------- ----------
This example shows how to display duplex information about neighboring systems:
Console> show cdp neighbors duplex
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port Device-ID Port-ID Duplex
-------- ------------------------------- ------------------------- ------
5/1 066508595 5/12 *# half
This example shows how to display capability information about neighboring systems:
Console> show cdp neighbors capabilities
* - indicates vlan mismatch.
# - indicates duplex mismatch.
Port Device-ID Port-ID Capabilities
-------- ------------------------------- ------------------------- ------------
5/1 066508595 5/12 *# T B S
This example shows how to display CDP information for all ports:
Related Commands
set cdp
show cgmp leave
Use the show cgmp leave command to display the status of the CGMP leave feature.
show cgmp leave
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the status of the CGMP leave feature:
Related Commands
set cgmp leave
show cgmp statistics
Use the show cgmp statistics command to display CGMP statistics.
show cgmp statistics [vlan_id]
Syntax Description
vlan_id
|
(Optional) VLAN number for which to display CGMP statistics.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display CGMP statistics for VLAN 1:
Console> show cgmp statistics 1
CGMP enabled
CGMP statistics for vlan 1:
valid rx pkts received 211915
invalid rx pkts received 0
valid cgmp joins received 211729
valid cgmp leaves received 186
valid igmp leaves received 0
valid igmp queries received 3122
igmp gs queries transmitted 0
igmp leaves transmitted 0
failures to add GDA to EARL 0
topology notifications received 80
number of CGMP packets dropped 2032227
Table 2-13 describes the fields in the show cgmp statistics output.
Table 2-13 show cgmp statistics Command Output Fields
Field
|
Description
|
Valid rx pkts received
|
Number of valid CGMP packets received.
|
Invalid rx pkts received
|
Number of invalid CGMP packets received.
|
valid cgmp joins received
|
Number of CGMP group-specific queries received.
|
valid cgmp leaves received
|
Number of CGMP leaves received.
|
valid igmp leaves received
|
Number of IGMP leaves received.
|
valid igmp queries received
|
Number of IGMP reports received.
|
igmp gs queries transmitted
|
Number of IGMP group specific-equivalent queries transmitted by the switch.
|
igmp leaves transmitted
|
Number of IGMP leaves transmitted by the switch.
|
failures to add GDA to EARL
|
Number of times the switch failed to add a multicast entry (GDA) to the EARL table.
|
topology notifications received
|
Number of topology change notifications received by the switch.
|
number of CGMP packets dropped
|
Number of IGMP packets dropped by the switch.
|
Related Commands
clear cgmp statistics
set cgmp
show channel
Use the show channel command to display EtherChannel configuration and statistics information for a channel based on EtherChannel ID.
show channel [channel_id] [statistics | mac | info [spantree | trunk | protocol | gmrp | gvrp | qos]]
Syntax Description
channel_id
|
(Optional) EtherChannel ID of the channel.
|
statistics
|
(Optional) Keyword to display EtherChannel PAgP statistics.
|
mac
|
(Optional) Keyword to display EtherChannel traffic statistics.
|
info
|
(Optional) Keyword to display EtherChannel configuration information.
|
spantree
|
(Optional) Keyword to display only spanning-tree-related configuration information.
|
trunk
|
(Optional) Keyword to display only VLAN-trunk-related configuration information.
|
protocol
|
(Optional) Keyword to display only protocol-filtering-related configuration information.
|
gmrp
|
(Optional) Keyword to display only GMRP-related configuration information.
|
gvrp
|
(Optional) Keyword to display only GVRP-related configuration information.
|
qos
|
(Optional) Keyword to display only QoS-related configuration information.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If the channel_id value is not specified, EtherChannel information is shown for all channels.
If you use the info keyword without qualifying it with one of the feature-specific keywords, all configuration information is displayed.
If the EtherChannel that you specify is not in use, information for that channel is not displayed.
Examples
This example shows how to display PAgP statistics for a specific EtherChannel:
Console> show channel 835 statistics
Port Channel PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
id Transmitted Received InFlush RetnFlush OutFlush InError
----- ------- ----------- --------- --------- --------- --------- ---------
This example shows how to display traffic statistics for a specific EtherChannel:
Console> show channel 835 mac
Channel Rcv-Unicast Rcv-Multicast Rcv-Broadcast
-------- -------------------- -------------------- --------------------
Channel Xmit-Unicast Xmit-Multicast Xmit-Broadcast
-------- -------------------- -------------------- --------------------
Channel Rcv-Octet Xmit-Octet
-------- -------------------- --------------------
Channel Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
This example shows how to display EtherChannel information for all channels:
----------- -----------------------------------------------
This example shows how to display configuration information for a specific EtherChannel:
Console> show channel 835 info
Chan Port Status Channel Admin Speed Duplex Vlan
---- ----- ---------- -------------------- ----- ----- ------ ----
835 7/5 connected on 58 a-100 a-full 1
835 7/6 connected on 58 a-100 a-full 1
Chan Port if- Oper-group Neighbor Chan Oper-Distribution PortSecurity/
id Index Oper-group cost Method Dynamic Port
---- ----- ----- ---------- ---------- ----- ----------------- -------------
Chan Port Device-ID Port-ID Platform
---- ----- ------------------------------- ------------------------- ----------
835 7/5 069003103(5500) 3/5 WS-C5500
835 7/6 069003103(5500) 3/6 WS-C5500
Chan Port Trunk-status Trunk-type Trunk-vlans
----- ----- ------------ ------------- -----------------------------------------
835 7/5 not-trunking negotiate 1-1005
835 7/6 not-trunking negotiate 1-1005
Chan Port Portvlancost-vlans
---- ----- --------------------------------------------------------------------
Chan Port Port Portfast Port Port
id priority vlanpri vlanpri-vlans
---- ----- -------- -------- ------- ------------------------------------------
---- ----- -------- -------- --------
835 7/5 on auto-on auto-on
835 7/6 on auto-on auto-on
id status registration forwardAll
---- ----- -------- ------------ ----------
835 7/5 enabled normal disabled
835 7/6 enabled normal disabled
id status registeration applicant
---- ----- -------- ------------- ---------
835 7/5 disabled normal normal
835 7/6 disabled normal normal
Chan Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos
---- ----- ------ ------ ------------ ----------
835 7/5 1q4t - untrusted 0
835 7/6 1q4t - untrusted 0
Table 2-14 describes the fields in the show channel statistics output.
Table 2-14 show channel statistics Command Output Fields
Field
|
Description
|
Port
|
Port number.
|
Channel id
|
EtherChannel ID.
|
PAgP Pkts Transmitted
|
Number of PAgP packets transmitted on the port.
|
PAgP Pkts Received
|
Number of PAgP packets received on the port.
|
PAgP Pkts InFlush
|
Number of PAgP flush packets received.
|
PAgP Pkts RetnFlush
|
Number of PAgP flush packets returned.
|
PAgP Pkts OutFlush
|
Number of PAgP flush packets transmitted.
|
PAgP Pkts InError
|
Number of PAgP error packets received.
|
Table 2-15 describes the fields in the show channel mac output.
Table 2-15 show channel mac Command Output Fields
Field
|
Description
|
Channel
|
EtherChannel ID.
|
Rcv-Unicast
|
Number of unicast frames received on the EtherChannel.
|
Rcv-Multicast
|
Number of multicast frames received on the EtherChannel.
|
Rcv-Broadcast
|
Number of broadcast frames received on the EtherChannel.
|
Xmit-Unicast
|
Number of unicast frames transmitted on the EtherChannel.
|
Xmit-Multicast
|
Number of multicast frames transmitted on the EtherChannel.
|
Xmit-Broadcast
|
Number of broadcast frames transmitted on the EtherChannel.
|
Rcv-Octet
|
Number of octet frames received on the EtherChannel.
|
Xmit-Octet
|
Number of octet frames transmitted on the EtherChannel.
|
Table 2-16 describes the fields in the show channel info output.
Table 2-16 show channel info Command Output Fields
Field
|
Description
|
Chan id
|
EtherChannel ID
|
Port
|
Port number
|
Status
|
Port connection status
|
Channel mode
|
EtherChannel mode
|
Admin group
|
EtherChannel administrative group
|
Speed
|
Port speed
|
Duplex
|
Port duplex
|
Vlan
|
Port VLAN membership
|
if-index
|
Interface index number
|
Oper-group
|
Capability of the group
|
Neighbor Oper-group
|
Device ID of the neighboring device with which the port is channeling
|
Chan cost
|
EtherChannel spanning-tree port cost
|
Oper-Distribution Method
|
EtherChannel frame distribution method
|
PortSecurity/Dynamic Port
|
Status of whether the port is secure or dynamic
|
Device-ID
|
Serial number and hostname of neighboring device
|
Port-ID
|
Connected port number on neighboring device
|
Platform
|
Neighboring device platform
|
Trunk-status
|
VLAN trunking mode
|
Trunk-type
|
VLAN trunk encapsulation type
|
Trunk-vlans
|
Allowed VLAN list for the trunk
|
Portvlancost-vlans
|
Spanning tree port-VLAN cost and associated VLAN IDs
|
Port priority
|
Spanning tree port priority
|
Portfast
|
Spanning tree PortFast enable state
|
Port vlanpri-vlans
|
Spanning tree port-VLAN priority and associated VLAN IDs
|
IP
|
IP protocol filtering mode
|
IPX
|
IPX protocol filtering mode
|
Group
|
Group protocol filtering mode
|
GMRP status
|
GMRP enable state
|
GMRP registration
|
GMRP registration mode
|
GMRP forwardAll
|
GMRP forward-all enable status
|
GVRP status
|
GVRP enable state
|
GVRP registration
|
GVRP registration mode
|
GVRP applicant
|
GVRP applicant mode
|
Qos-Tx
|
Transmit queue and threshold port type
|
Qos-Rx
|
Receive queue and threshold port type
|
Qos-Trust
|
QoS port trust
|
QoS-DefCos
|
QoS default CoS
|
Related Commands
set channel cost
set channel vlancost
set port channel
show channel group
show port channel