Table Of Contents
show accounting
show alias
show arp
show authentication
show authorization
show banner
show boot—ROM monitor
show boot—switch
show cam
show cam agingtime
show cam notification
show cdp
show cgmp leave
show cgmp statistics
show channel
show channel group
show channel mac
show channelprotocol
show channel traffic
show config
show config mode
show counters
show accounting
Use the show accounting command to display accounting setup and configuration information on the switch.
show accounting
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows the configuration details of a switch with RADIUS accounting enabled:
Console> (enable) show accounting
connect: radius stop-only
system: tacacs+ stop-only
config: tacacs+ stop-only
TACACS+ Suppress for no username: disabled
Update Frequency: newinfo
Active Accounted actions on tty2168059284l, User NULL Priv 15
Task ID 3, EXEC Accounting record, 0,00:00:22 Elapsed
task_id=3 start_time=934463479 timezone=UTC service=shell
Active Accounted actions on tty0l, User kannank Priv 15
Task ID 2, EXEC Accounting record, 0,00:01:23 Elapsed
task_id=2 start_time=934463418 timezone=UTC service=shell
Active Accounted actions on tty2168059284l, User danny Priv 15
Task ID 4, Connection Accounting record, 0,00:00:07 Elapsed
task_id=4 start_time=934463495 timezone=UTC service=connection protocol=telnet
addr=-1407968771 cmd=telnet 172.20.25.253
Overall Accounting Traffic:
This example shows the configuration details of a switch with TACACS+ accounting enabled:
Console> (enable) show accounting
Tacacs timeout: 5 seconds
Tacacs direct request: disabled
Tacacs-Server Status
-------------- -------
TACACS+ Suppress for no username: disabled
Update Frequency: newinfo
Active Accounted actions on tty2168059284l, User NULL Priv 15
Task ID 3, EXEC Accounting record, 0,00:00:22 Elapsed
task_id=3 start_time=934463479 timezone=UTC service=shell
Active Accounted actions on tty0l, User kannank Priv 15
Task ID 2, EXEC Accounting record, 0,00:01:23 Elapsed
task_id=2 start_time=934463418 timezone=UTC service=shell
Active Accounted actions on tty2168059284l, User danny Priv 15
Task ID 4, Connection Accounting record, 0,00:00:07 Elapsed
task_id=4 start_time=934463495 timezone=UTC service=connection protocol=telnet
addr=-1407968771 cmd=telnet 172.20.25.253
Overall Accounting Traffic:
Related Commands
set accounting commands
set accounting connect
set accounting exec
set accounting suppress
set accounting system
set accounting update
show alias
Use the show alias command to display a list of defined command aliases.
show alias [name]
Syntax Description
name
|
(Optional) Variable that specifies the name of the alias to be displayed. If name is not specified, all defined aliases are displayed.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display all aliases:
Related Commands
clear kerberos clients mandatory
session
set alias
show arp
Use the show arp command to display the ARP table.
show arp [ip_addr | hostname] [noalias]
Syntax Description
ip_addr
|
(Optional) Variable that specifies the number of the IP address.
|
hostname
|
(Optional) Variable that specifies the name of the host.
|
noalias
|
(Optional) Keyword that displays 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 that indicates when an ARP entry is deleted 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:
Console> (enable) show arp
+ - 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
This example shows how to display the ARP table without aliases:
Console> (enable) show arp noalias
+ - Permanent Arp Entries
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 disabled
kerberos disabled disabled disabled
local enabled(primary) enabled(primary) enabled(primary)
lockout timeout (sec) 230 seconds 120 seconds 120 seconds
Enable Authentication: Console Session Telnet Session Http Session
---------------------- ----------------- ---------------- ----------------
tacacs disabled disabled disabled
radius disabled disabled disabled
kerberos disabled disabled disabled
local enabled(primary) enabled(primary) enabled(primary)
lockout timeout (sec) disabled 600 seconds 600 seconds
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> (enable) show authorization
config: tacacs+ If-authen
Related Commands
set authorization commands
set authorization enable
set authorization exec
show banner
Use the show banner command to view the message of the day (MOTD) banner.
show banner
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 MOTD and Catalyst 4000 Family Switch Fabric Module LCD banner stored in NVRAM:
Catalyst 4006, Software Release 6.1(1)
Related Commands
set banner motd
show boot—ROM monitor
Use the show boot command to display the contents of the BOOT environment variables and the configuration register setting.
show boot
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
ROM monitor command.
Command Modes
Normal.
Examples
This example shows how to display information on the BOOT environment variables and the configuration register settings:
BOOT variable = bootflash:cat4000.6-1-1.bin,1;
Configuration reg is 0x41
boot: first image in "bootflash:"
Related Commands
boot
clear boot—ROM monitor
show boot—switch
Note
This command applies to only the Supervisor Engine III or the Catalyst 4000 family and 2948G switch supervisor engine modules. If you attempt to run this command on a Supervisor Engine I or II, an error message is displayed.
Use the show boot command to display the contents of the BOOT environment variables and the configuration register setting.
show boot [mod_num]
Syntax Description
mod_num
|
(Optional) Variable that specifies the module number of the supervisor engine containing the Flash device.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
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—switch
show cam
Use the show cam command to display the CAM table.
show cam count {dynamic | static | permanent | system} [vlan]
show cam {dynamic | static | permanent} mod_num/port_num
show cam mac_addr [vlan]
Syntax Description
count
|
Keyword that displays only the number of CAM entries.
|
dynamic
|
Keyword that displays dynamic CAM entries.
|
static
|
Keyword that displays static CAM entries.
|
permanent
|
Keyword that displays permanent CAM entries.
|
system
|
Keyword that displays system CAM entries.
|
vlan
|
(Optional) Variable that specifies the number of the VLAN. If the vlan option is not used, all VLANs are displayed.
|
mod_num
|
Variable that specifies the number of the module.
|
port_num
|
Variable that specifies the number of the port.
|
mac_addr
|
Variable that specifies the 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 you enter the show cam command on the Catalyst 4000 family switches, the ASE CAM table entries 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
6 00-14-14-14-14-14 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-15 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-1a 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-1b 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-18 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-19 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-1c 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct
6 00-14-14-14-14-1d 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-14 describes the fields in the ATM dual PHY OC-12 module show cam dynamic output.
Table 2-14 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. 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.
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 agingtime
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 agingtime
show cam
show cam notification
Use the show cam notification command to display the status of CAM table notifications, notification intervals, and MAC addresses added and deleted.
show cam notification {all | counters | enable | interval | historysize | mod/port}
show cam notification history [{[-]number_of_log_entries}]
Syntax Description
all
|
Keyword that displays the CAM notification counters, enable, interval, and historysize information
|
counters
|
Keyword that displays CAM notification counter information.
|
enable
|
Keyword that displays CAM notification feature information.
|
interval
|
Keyword that displays the CAM notification interval.
|
historysize
|
Keyword that specifies the size of the CAM notification log.
|
mod/port
|
(Optional) Variable that specifies the number of the module and port.
|
history
|
Keyword that displays CAM notification history logs.
|
-
|
(Optional) Keyword that specifies the most recent log entries.
|
number_of_log_entries
|
(Optional) Variable that specifies the number of the CAM notification log entries to display. If a CAM notification log number is not specified, the entire log is displayed.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display CAM notification counters:
Console> (enable) show cam notification counters
MAC addresses removed = 5
MAC addresses added overflowed = 0
MAC addresses removed overflowed = 0
MAC address SNMP traps generated = 0
This example shows how to display CAM notification feature information:
Console> (enable) show cam notification enable
MAC address change detection enabled
This example shows how to display CAM notification information for ports 1-6 on module 2:
Console> (enable) show cam notification 2/1-6
--------- -------- --------
This example shows how to display CAM notification intervals:
Console> (enable) show cam notification interval
CAM notification interval = 10 second(s).
This example shows how to display CAM notification history information:
Console> (enable) show cam notification history
Index Timestamp Operation Address Vlan Mod/Port
===============================================================================
4 16676708 Unlearned 00:00:00:00:00:64 2 2/6
Unlearned 00:00:00:00:00:63 2 2/6
Unlearned 00:00:00:00:00:62 2 2/6
Learned 00:00:00:00:00:61 2 2/4
Learned 00:00:00:00:00:60 2 2/4
Unlearned 00:00:00:00:00:5f 2 2/4
Unlearned 00:00:00:00:00:5e 2 2/5
5 16697903 Learned 00:00:00:00:00:1a 1 2/1
This example shows how to display CAM notification history size information:
Console> (enable) show cam notification historysize
MAC address change history log size = 300
This example shows how to display CAM notification configuration information:
Console> (enable) show cam notification all
MAC address change detection enabled
CAM notification interval = 10 second(s).
MAC address change history log size = 300
MAC addresses removed = 5
MAC addresses added overflowed = 0
MAC addresses removed overflowed = 0
MAC address SNMP traps generated = 0
Related Commands
clear cam
set cam
set cam agingtime
set cam notification
set snmp trap
show cam
show cdp
Use the show cdp command to display CDP information.
show cdp
show cdp neighbors [mod_num] [vlan | duplex | capabilities | detail]
show cdp neighbors [mod_num/port_num] [vlan | duplex | capabilities | detail]
show cdp port [mod_num]
show cdp port [mod_num/port_num]
Syntax Description
neighbors
|
Keyword that shows CDP information for Cisco products connected to the switch.
|
mod_num
|
(Optional) Variable that specifies the 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 that shows the native VLAN number for the neighboring Cisco products.
|
duplex
|
(Optional) Keyword that shows the duplex mode of the neighboring Cisco products.
|
capabilities
|
(Optional) Keyword that shows 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 that shows detailed information about neighboring Cisco products.
|
port_num
|
(Optional) Variable that specifies the number of the port for which CDP information is displayed.
|
port
|
Keyword that shows 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-C4000
3/6 002267619 3/5 WS-C4000
4/1 002267619 4/2 WS-C4000
4/2 002267619 4/1 # WS-C4000
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
set cgmp fastleave
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) Variable that specifies the 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-15 describes the fields in the show cgmp statistics output.
Table 2-15 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 that 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 | auxiliaryvlan | jumbo]]
Syntax Description
channel_id
|
(Optional) EtherChannel ID of the channel.
|
statistics
|
(Optional) Keyword that displays EtherChannel PAgP statistics.
|
mac
|
(Optional) Keyword that displays EtherChannel traffic statistics.
|
info
|
(Optional) Keyword that displays EtherChannel configuration information.
|
spantree
|
(Optional) Keyword that displays only spanning tree-related configuration information.
|
trunk
|
(Optional) Keyword that displays only VLAN-trunk-related configuration information.
|
protocol
|
(Optional) Keyword that displays only protocol-filtering-related configuration information.
|
gmrp
|
(Optional) Keyword that displays only GMRP-related configuration information.
|
gvrp
|
(Optional) Keyword that displays only GVRP-related configuration information.
|
qos
|
(Optional) Keyword that displays only QoS-related configuration information.
|
auxiliaryvlan
|
(Optional) Keyword that displays only auxiliary vlan related configuration information.
|
jumbo
|
(Optional) Keyword that displays only jumbo related configuration information.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If channel_id 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.
No information is displayed if the EtherChannel specified is not in use.
Examples
This example shows how to display PAgP statistics for EtherChannel 835:
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 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 EtherChannel 835:
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 registration 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-16 describes the fields in the show channel statistics output.
Table 2-16 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-17 describes the fields in the show channel mac output.
Table 2-17 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-18 describes the fields in the show channel info output.
Table 2-18 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
show channel group
Use the show channel group command to display EtherChannel configuration and statistics information for a channel based on EtherChannel administrative group membership.
show channel group [admin_group] [statistics | info [spantree | trunk | protocol | gmrp | gvrp |
qos | auxiliaryvlan | jumbo]]
Syntax Description
admin_group
|
(Optional) Variable that specifies the number of the EtherChannel administrative group; valid values are from 1 to 1024.
|
statistics
|
(Optional) Keyword that displays EtherChannel PAgP statistics.
|
info
|
(Optional) Keyword that displays EtherChannel configuration information.
|
spantree
|
(Optional) Keyword that displays only spanning tree-related configuration information.
|
trunk
|
(Optional) Keyword that displays only VLAN-trunk-related configuration information.
|
protocol
|
(Optional) Keyword that displays only protocol-filtering-related configuration information.
|
gmrp
|
(Optional) Keyword that displays only GMRP-related configuration information.
|
gvrp
|
(Optional) Keyword that displays only GVRP-related configuration information.
|
qos
|
(Optional) Keyword that displays only QoS-related configuration information.
|
auxiliaryvlan
|
(Optional) Keyword that displays only auxiliary vlan-related configuration information.
|
jumbo
|
(Optional) Keyword that displays only jumbo-related configuration information.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If admin_group is not specified, EtherChannel information is shown for all admin groups.
If you use the info keyword without qualifying it with one of the feature-specific keywords, all configuration information is displayed.
Examples
This example shows how to display EtherChannel information for EtherChannel administrative group 58:
Console> show channel group 58
Admin Port Status Channel Channel
----- ----- ---------- -------------------- --------
Admin Port Device-ID Port-ID Platform
----- ----- ------------------------------- ------------------------- ----------
58 6/5 069003103(5500) 3/5 WS-C5500
58 6/6 069003103(5500) 3/6 WS-C5500
This example shows how to display PAgP statistics for EtherChannel administrative group 58:
Console> show channel group 58 statistics
Port Admin PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts
Group Transmitted Received InFlush RetnFlush OutFlush InError
----- ------- ----------- --------- --------- --------- --------- ---------
This example shows how to display EtherChannel configuration information for EtherChannel administrative group 58:
Console> show channel group 58 info
Admin Port Status Channel Ch Speed Duplex Vlan
----- ----- ---------- -------------------- ----- ----- ------ ----
58 6/5 connected on 835 a-100 a-full 1
58 6/6 connected on 835 a-100 a-full 1
Admin Port if- Oper-group Neighbor Chan Oper-Distribution PortSecurity/
group Index Oper-group cost Method Dynamic Port
----- ----- ----- ---------- ---------- ----- ----------------- -------------
Admin Port Device-ID Port-ID Platform
----- ----- ------------------------------- ------------------------- ----------
58 6/5 069003103(5500) 3/5 WS-C5500
58 6/6 069003103(5500) 3/6 WS-C5500
Admin Port Trunk-status Trunk-type Trunk-vlans
----- ----- ------------ ------------- -----------------------------------------
58 6/5 not-trunking negotiate 1-1005
58 6/6 not-trunking negotiate 1-1005
Admin Port Portvlancost-vlans
----- ----- --------------------------------------------------------------------
Admin Port Port Portfast Port Port
group priority vlanpri vlanpri-vlans
----- ----- -------- -------- ------- ------------------------------------------
----- ----- -------- -------- --------
58 6/5 on auto-on auto-on
58 6/6 on auto-on auto-on
Admin Port GMRP GMRP GMRP
group status registration forwardAll
----- ----- -------- ------------ ----------
58 6/5 enabled normal disabled
58 6/6 enabled normal disabled
Admin Port GVRP GVRP GVRP
group status registration applicant
----- ----- -------- ------------- ---------
58 6/5 disabled normal normal
58 6/6 disabled normal normal
Admin Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCos
----- ----- ------ ------ ------------ ----------
Table 2-19 describes the fields in the show channel group output.
Table 2-19 show channel group Command Output Fields
Field
|
Description
|
Admin group
|
EtherChannel administrative group
|
Port
|
Port number
|
Status
|
Port connection status
|
Channel Mode
|
EtherChannel mode
|
Channel id
|
EtherChannel ID
|
Device-ID
|
Serial number and hostname of neighboring device
|
Port-ID
|
Connected port number on neighboring device
|
Platform
|
Neighboring device platform
|
Table 2-20 describes the fields in the show channel group statistics output.
Table 2-20 show channel group statistics Command Output Fields
Field
|
Description
|
Port
|
Port number
|
Admin Group
|
EtherChannel administrative group
|
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-21 describes the fields in the show channel group info output.
Table 2-21 show channel group info Command Output Fields
Field
|
Description
|
Admin group
|
EtherChannel administrative group
|
Port
|
Port number
|
Status
|
Port connection status
|
Channel mode
|
EtherChannel mode
|
Ch id
|
EtherChannel ID
|
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
show port channel
show channel mac
Use the show channel mac command to display MAC information in a channel.
show channel mac
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 MAC information in a channel:
Console> (enable) show channel 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
-------- ---------- ---------- ---------- ---------- ---------- ----------
show channelprotocol
Use the show channelprotocol command to display the channeling protocol used by each module in the system.
show channelprotocol
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 protocol used by each module in the system:
Console> show channelprotocol
Related Commands
set channelprotocol
show channel traffic
Use the show channel traffic command to display channel port utilization based on MAC counters.
show channel traffic [channel_id]
Syntax Description
channel_id
|
(Optional) Variable that specifies the number of the channel.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify channel_id, EtherChannel information is shown for all channels.
No information is displayed if the channel specified is not in use.
Examples
This example shows how to display traffic information in a channel:
Console> show channel traffic 769
ChanId Port Rx-Ucst Tx-Ucst Rx-Mcst Tx-Mcst Rx-Bcst Tx-Bcst
------ ----- ------- ------- ------- ------- ------- -------
769 1/1 0.00% 0.00% 0.00% 0.00% 0.00% 0.00%
769 1/2 100.00% 100.00% 100.00% 100.00% 0.00% 0.00%
show config
Use the show config command to display the non-default system configuration.
show config {system | mod_num} [all]
Syntax Description
system
|
Keyword that specifies to display system configuration.
|
mod_num
|
Variable that specifies the number of the module.
|
all
|
(Optional) Keyword that specifies all modules and system configuration information, including the IP address.
|
Defaults
By default, this command shows only nondefault configurations. To view the entire configuration, use the all keyword.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display the nondefault system and module configuration:
Console> (enable) show config
This command shows non-default configurations only.
Use 'show config all' to show both default and non-default configurations.
# ***** NON-DEFAULT CONFIGURATION *****
#Time: Thu Dec 23 1999, 21:56:01
#version 5.4(0.52)MIA7-Eng
#System Web Interface Version 5.0(0.25)
#frame distribution method
set port channel all distribution mac unknown
set kerberos server 0.0.0.0
set kerberos server 0.0.0.0
set vtp domain Lab_Network
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 2 name VLAN0002 type ethernet mtu 1500 said 100002 state active
set vlan 6 name VLAN0006 type ethernet mtu 1500 said 100006 state active
set vlan 10 name VLAN0010 type ethernet mtu 1500 said 100010 state active
set vlan 20 name VLAN0020 type ethernet mtu 1500 said 100020 state active
set vlan 50 name VLAN0050 type ethernet mtu 1500 said 100050 state active
set vlan 100 name VLAN0100 type ethernet mtu 1500 said 100100 state active
set vlan 152 name VLAN0152 type ethernet mtu 1500 said 100152 state active
set vlan 200 name VLAN0200 type ethernet mtu 1500 said 100200 state active
set vlan 300 name VLAN0300 type ethernet mtu 1500 said 100300 state active
set vlan 303 name VLAN0303 type fddi mtu 1500 said 100303 state active
set vlan 400 name VLAN0400 type ethernet mtu 1500 said 100400 state active
set vlan 500 name VLAN0500 type ethernet mtu 1500 said 100500 state active
set vlan 521 name VLAN0521 type ethernet mtu 1500 said 100521 state active
set vlan 524 name VLAN0524 type ethernet mtu 1500 said 100524 state active
set vlan 570 name VLAN0570 type ethernet mtu 1500 said 100570 state active
set vlan 801 name VLAN0801 type trbrf mtu 4472 said 100801 state active bridge
set vlan 850 name VLAN0850 type ethernet mtu 1500 said 100850 state active
set vlan 917 name VLAN0917 type ethernet mtu 1500 said 100917 state active
set vlan 999 name VLAN0999 type ethernet mtu 1500 said 100999 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state acti
set vlan 1005 name trbrf-default type trbrf mtu 4472 said 101005 state active b
set vlan 802 name VLAN0802 type trcrf mtu 4472 said 100802 state active parent
set vlan 1003 name trcrf-default type trcrf mtu 4472 said 101003 state active p
set vlan 3 translation 303 translation 0
set vlan 4 translation 304 translation 0
set vlan 5 translation 305 translation 0
set vlan 303 translation 3 translation 0
set vlan 304 translation 4 translation 0
set vlan 305 translation 5 translation 0
set vlan 351 translation 524 translation 0
set vlan 524 translation 351 translation 0
set interface sc0 1 1.10.11.212/255.255.255.0 1.10.11.255
set ip route 0.0.0.0/0.0.0.0 172.20.52.126
set ip route 0.0.0.0/0.0.0.0 172.20.52.125
set ip route 0.0.0.0/0.0.0.0 172.20.52.121
set ip dns server 171.68.10.70 primary
set ip dns server 171.68.10.140
set ip dns domain cisco.com
set spantree fwddelay 4 801
set spantree maxage 10 801
set spantree portfast bpdu-guard enable
set spantree fwddelay 4 802
set spantree maxage 10 802
set spantree portstate 802 block 801
set spantree fwddelay 4 1003
set spantree maxage 10 1003
set spantree portstate 1003 block 1005
set logging server 172.20.101.182
set boot config-register 0x100
set boot system flash bootflash:cat6000-sup.5-4-0-52.bin
set ip http server enable
# default port status is disable
set qos map 1q4t 1 1 cos 2
set qos map 1q4t 1 1 cos 3
set qos map 1q4t 1 1 cos 4
set qos map 1q4t 1 1 cos 5
set qos map 1q4t 1 1 cos 6
set qos map 1q4t 1 1 cos 7
set accounting commands enable config stop-only tacacs+
# default port status is enable
#module 1 : 2-port 1000BaseX Supervisor
#module 3 : 48-port 10/100BaseTX (RJ-45)
set spantree portfast 3/8 enable
#module 5 : 48-port 10/100BaseTX (RJ-45)
set spantree portcost 6/1 200
#module 7 : 24-port 10/100BaseTX Ethernet
set port name 7/9 1528 Hub
set port security 7/10 enable
set port security 7/10 maximum 200
set port security 7/10 00-11-22-33-44-55
set port security 7/10 00-11-22-33-44-66
set port security 7/10 00-11-22-33-44-77
set port security 7/10 violation restrict
set port security 7/10 age 30
set trunk 7/1 desirable isl 1-1005
set trunk 7/2 desirable isl 1-1005
set trunk 7/3 desirable isl 1-1005
set trunk 7/4 desirable isl 1-1005
set trunk 7/10 off negotiate 1-1005
set trunk 7/23 on isl 1-1005
set spantree portcost 7/23 150
set spantree portvlancost 7/23 cost 50 100
This example shows how to display default and nondefault configuration information:
# ***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION *****
#Current Time: Thu Dec 23 1999, 14:01:24
set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70
set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70
set gvrp dynamic-vlan-creation disable
This example shows how to display nondefault system configuration information:
Console> show config system
# ***** NON-DEFAULT CONFIGURATION *****
#Current Time: Thu Dec 23 1999, 14:01:24
set boot config-register 0x2
set boot system flash bootflash:kk1
This example shows how to display all system default and nondefault configuration information:
Console> show config system all
This example shows how to display nondefault configuration information for module 1:
# ***** NON-DEFAULT CONFIGURATION *****
#Current Time: Thu Dec 23 1999, 14:01:24
#module 1 : 4-port 10/100BaseTX Supervisor
This example shows how to display default and nondefault configuration information for module 1:
Console> show config 1 all
#module 1 : 4-port 10/100BaseTX Supervisor
set port channel 1/1-4 off
set port flowcontrol 1/1-4 receive on
set trunk 1/1 auto negotiate 1-1005
set trunk 1/4 auto negotiate 1-1005
set spantree portfast 1/1-4 disable
set spantree portvlancost 1/4 cost 99
set port gvrp 1/1-4 disable
set gvrp registration normal 1/1-4
set gvrp applicant normal 1/1-4
set port gmrp 1/1-4 enable
set gmrp registration normal 1/1-4
set gmrp fwdall disable 1/1-4
Related Commands
clear config—switch
write
show config mode
Use the show config mode command to display the system configuration mode currently running on the switch.
show config mode
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Privileged.
Examples
These examples show how to display the current system configuration mode:
Console> (enable) show config mode
System configuration mode set to text.
System configuration file = bootflash:switch.cfg
Console> (enable) show config mode
System configuration mode set to binary.
Related Commands
set config mode
show counters
Use the show counters command to display hardware counters for a port.
show counters mod/port
Syntax Description
mod/port
|
Variable that specifies the number of the module and the port.
|
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display hardware counter information for module 2, port 1, a gigabit port:
Console> show counters 2/1
0 rxUnicastPacketCount = 0
1 txUnicastPacketCount = 0
2 rxMulticastPacketCount = 0
3 txMulticastPacketCount = 0
4 rxBroadcastPacketCount = 0
5 txBroadcastPacketCount = 0
14 rxNoPacketBufferCount = 0
15 rxCRCAlignErrorPacketCount = 0
16 rxUndersizedPacketCount = 0
17 rxOversizedPacketCount = 0
18 rxFragmentPacketCount = 0
19 rxJabberPacketCount = 0
20 pauseControlFramesRx = 0
21 pauseControlFramesTx = 0
22 unsupportedOpcodesRx = 0
23 txQueueNotAvailable = 0
24 totalCollisionCount = 0
25 lateCollisionCount = 0
26 singleCollisionFrames = 0
27 multipleCollisionFrames = 0
28 excessiveCollisionFrames = 0
29 deferredTransmissions = 0
30 carrierSenseErrors = 0
31 falseCarrierDuringIdle = 0
32 symbolErrorDuringCarrier = 0
33 sequenceErrorDuringCarrier = 0
This example shows how to display hardware counter information for module 3, port 3, a 10/100 port:
Console> show counters 3/3
0 rxUnicastPacketCount = 0
1 txUnicastPacketCount = 0
2 rxMulticastPacketCount = 0
3 txMulticastPacketCount = 0
4 rxBroadcastPacketCount = 0
5 txBroadcastPacketCount = 0
14 rxNoPacketBufferCount = 0
15 rxCRCAlignErrorPacketCount = 0
16 rxUndersizedPacketCount = 0
17 rxOversizedPacketCount = 0
18 rxFragmentPacketCount = 0
19 rxJabberPacketCount = 0
20 pauseControlFramesRx = 0
21 pauseControlFramesTx = 0
22 unsupportedOpcodesRx = 0
23 txQueueNotAvailable = 0
24 totalCollisionCount = 0
25 lateCollisionCount = 0
26 singleCollisionFrames = 0
27 multipleCollisionFrames = 0
28 excessiveCollisionFrames = 0
29 deferredTransmissions = 0
30 carrierSenseErrors = 0
31 falseCarrierDuringIdle = 0
32 symbolErrorDuringCarrier = 0
33 sequenceErrorDuringCarrier = 0
Related Commands
clear counters
2