|
|
This chapter describes the show commands used in the Catalyst 5000 series switch CLI. For a summary of the switch CLI commands, refer to the "Switch Command Quick Reference " chapter. For more information about the switch CLI, refer to the "Switch Command-Line Interface" chapter.
Other commands are described elsewhere in this publication:
Switch CLI:
ATM module CLI:
Use the show alias command to display a listing of defined command aliases.
show alias [name]| name | (Optional) Name of the alias to be displayed. If name is not specified, all defined aliases are displayed. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display all aliases:
Console> (enable) show alias shint show interface cc clear config shf show flash sip show ip route Console> (enable)
Use the show arp command to display the ARP table.
show arp [noalias]| noalias | (Optional) Keyword that forces the display to show only IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the ARP table:
Console> show arp ARP Aging time = 1200 sec strauss-fddi at 00-40-0b-40-40-8f 198.133.219.209 at 00-40-0b-40-cc-31 198.133.219.40 at 08-00-20-08-f1-ac Console>
"ARP Aging time" is the period of time after which an ARP entry is removed from the ARP table. This value is set using the set arp agingtime command. The remaining lines of the display show mappings of IP addresses (or IP aliases) to MAC addresses.
Use the show boot command to display the contents of the BOOT and BOOTLDR environment variables, and the configuration register setting.
show boot [mod_num]| mod_num | Module number of the supervisor engine containing the Flash device. |
Switch command.
Normal.
This command can only be used with a Supervisor Engine III.
This example shows how to use the show boot command:
Console> show boot BOOT variable = slot0:cat5k_r47_1.cbi;slot0:cat5k_r47_2.cbi;slot1:cat5k_r47_3.cbi; BOOTLDR variable = bootflash:cat5k_r47_boot.cbi Configuration register is 0x10F break: disabled ignore-config: disabled console baud: 9600 boot: image specified by the boot system commands Console>
Use the show bridge command to display bridge information.
show bridgeThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display bridge information:
Console> (enable) show bridge
APaRT Enabled
FDDICHECK Enabled
IP fragmentation Enabled
Default IPX translations:
FDDI SNAP to Ethernet 8023raw
FDDI 802.2 to Ethernet 8023raw
Ethernet 802.3 Raw to FDDI snap
Console> (enable)
Table 8-1 describes the fields in the show bridge output.
| Field | Description |
|---|---|
| APaRT Enabled | Indicates whether APaRT is enabled or disabled. |
| FDDICHECK Enabled | Indicates whether FDDICHECK is enabled or disabled. |
| IP fragmentation Enabled | Indicates whether IP fragmentation is enabled or disabled. |
| Default IPX translations | Shows the default method for translating IPX packets across various media. |
set bridge ipx 8022toether
set bridge ipx 8023rawtofddi
set bridge ipx snaptoether
set ip dns domain
Use the show cam command to display the CAM table.
show cam [count]{dynamic | static | permanent | system} [vlan]| count | (Optional) Displays only the port counters. |
| dynamic | Keyword used to display dynamic CAM entries. |
| static | Keyword used to display static CAM entries. |
| permanent | Keyword used to display permanent CAM entries. |
| system | Keyword used to display system CAM entries. |
| vlan | (Optional) Number of the VLAN. If a VLAN is not specified, all VLANs are displayed. |
| mod_num | Number of the module. |
| port_num | Number of the port. |
| mac_addr | MAC address. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display dynamic CAM entries for VLAN 1:
Console> (enable) show cam dynamic 1 VLAN Destination MAC Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 1 00-40-0b-60-cd-96 1/1 1 00-40-0b-b0-0b-8e 1/1 1 00-40-0b-60-d7-3c 1/1 1 00-00-0c-35-7f-42 1/1 Matching CAM Entries = 4 Console> (enable)
clear cam
set cam
show config
show cam agingtime
Use the show cam agingtime command to display CAM aging time information for all configured VLANs.
show cam agingtimeThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display CAM aging time information:
Console> (enable) 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 Console> (enable) show config
Use the show cdp command to display CDP information.
show cdp neighbors [mod_num[/port_num]] [detail]| neighbors | Keyword used to show CDP information for all Cisco products connected to the switch. |
| mod_num | (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. |
| port_num | (Optional) Number of the port for which CDP information is displayed. |
| detail | (Optional) Keyword used to show detailed information about neighboring Cisco products. |
| port | Keyword used to show CDP port settings. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display CDP information about neighboring systems:
Console> (enable) show cdp neighbor 4
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Port Device-ID Port-ID Platform Capability
------- ----------------------- ----------------- ------------------- ----------
4/1 001905905 4/1 WS-C5000 T S
4/1 062000101(CAT3) 9 WS-C1201 S I
4/1 069000022 8/1 WS-C5500 T S
4/1 069000040 4/2 WS-C5500 T S
Console> (enable)
This example shows how to display detailed CDP information:
Console> (enable) show cdp neighbor 4 detail Device-ID: 001905905 Device Addresses: IP Address: 172.16.25.140 Holdtime: 168 sec Capabilities: TRANSPARENT_BRIDGE SWITCH Version: WS-C5000 Software, Version McpSW: 2.2(4) NmpSW: 2.3(103-Eng) Copyright (c) 1995,1996 by Cisco Systems Platform: WS-C5000 Port-ID (Port on Device): 4/1 Port (Our Port): 4/1 ___________________________________________________________________________ Device-ID: 062000101(CAT3) Device Addresses: IP Address: 172.16.25.212 Holdtime: 175 sec Capabilities: SWITCH IGMP Version: WS-C1201 Software, Version DmpSW: 4.26 NmpSW: 4.26 Copyright (c) 1994,1995 by Cisco Systems DMP S/W compiled on Apr 18 1997 15:03:03 NMP S/W compiled on Apr 18 1997 14:52:51 System Bootstrap Version: 1.1 Hardware Version: 3.0 Model: WS-C1201 Serial #: 062000101 1 FDDI interface 8 10BaseT interfaces 4096K bytes of DRAM memory. 1024K bytes of NMP FLASH memory. 32K bytes of non-volatile configuration memory. Uptime is 8 days, 22 hours, 25 minutes Platform: WS-C1201 Port-ID (Port on Device): 9 Port (Our Port): 4/1 Console> (enable)
This example shows how to display CDP information for port 1 on module 2:
Console> (enable) show cdp port 2/1 Port CDP Status Message-Interval ---- ---------- ---------------- 2/1 enabled 60 Console> (enable)
Use the show cgmp statistics command to display CGMP statistical information.
show cgmp statistics [vlan_num]| vlan_num | (Optional) VLAN number for which to display CGMP statistics. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display CGMP statistics for VLAN 1:
Console>show cgmp statistics 1CGMP enabledCGMP statistics for vlan 1:valid rx pkts received 48invalid rx pkts received 0valid cgmp joins received 23valid cgmp leaves received 25valid igmp leaves received 25valid igmp queries received 22igmp gs queries transmitted 25igmp leaves transmitted 25failures to add GDA to EARL 0topology notifications received 0Console> (enable)
Use the show config command to display the current system configuration.
show configThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This example shows the (partial) contents of a configuration file:
Console> (enable) show config ... ......... ......... ......... .......... . begin set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set prompt cat19-lnf> set length 24 default set logout 20 set banner motd ^C Welcome to the Cat 5000! ^C ! #system set system baud 9600 set system modem disable set system name Catalyst 5000 set system location San Jose, CA set system contact Susan x237 ! #snmpset snmp community read-only public set snmp community read-write private set snmp community read-write-all secret set snmp rmon disable set snmp trap disable module set snmp trap disable chassis set snmp trap disable bridge set snmp trap disable repeater set snmp trap disable vtp set snmp trap disable auth set snmp trap disable ippermit ! #ip set interface sc0 1 172.16.25.142 255.255.0.0 172.16.255.255 set interface sl0 0.0.0.0 0.0.0.0 set arp agingtime 1200 set ip redirect enable set ip unreachable enable set ip fragmentation enable set ip route 0.0.0.0 172.16.1.201 1 set ip alias default 0.0.0.0 ! #Command alias ! #vmps set vmps tftpserver 1.1.1.1 vmps-config-database.1 set vmps state enable ! #dns set ip dns server 198.92.30.32 primary set ip dns server 171.69.2.132 set ip dns enable set ip dns domain cisco.com ! #tacacs+ set tacacs server 171.69.195.110 primary set tacacs attempts 3 set tacacs directedrequest disable set tacacs timeout 5 set authentication login tacacs disable set authentication login local enable set authentication enable tacacs disable set authentication enable local enable ! #bridge set bridge ipx snaptoether 8023raw set bridge ipx 8022toether 8023 set bridge ipx 8023rawtofddi snap ! #vtp set vtp mode server set vtp pruning disable set vtp pruneeligible 2-1000 ! #spantree #vlan 1 set spantree enable 1 set spantree fwddelay 15 1 set spantree hello 2 1 set spantree maxage 20 1 set spantree priority 32768 1 ! #cgmp set cgmp enable ! #syslog set logging console enable set logging server disable set logging level cdp 2 default set logging level cgmp 2 default set logging level disl 5 default set logging level dvlan 2 default set logging level earl 2 default set logging level fddi 2 default set logging level ip 2 default set logging level pruning 2 default set logging level snmp 2 default set logging level spantree 2 default set logging level sys 5 default set logging level tac 2 default set logging level tcp 2 default set logging level telnet 2 default set logging level tftp 2 default set logging level vtp 2 default set logging level vmps 2 default ! #ntp set ntp broadcastclient disable set ntp broadcastdelay 3000 set ntp client enable set ntp server 172.16.21.83 set timezone PST -7 0 set summertime enable PSST ! #permit list set ip permit disable ! #module 1 : 2-port 100BaseTX Supervisor set module name 1 set vlan 1 1/1-2 set port enable 1/1-2 set port level 1/1-2 normal set port duplex 1/1-2 half set port trap 1/1-2 disable set port name 1/1-2 set port security 1/1-2 disable set port membership 1/1-2 static set cdp enable 1/1-2 set cdp interval 1/1-2 60 set trunk 1/1 auto 1-1000 set trunk 1/2 auto 1-1000 set spantree portfast 1/1-2 disable set spantree portcost 1/1-2 10 set spantree portpri 1/1-2 32 set spantree portvlanpri 1/1 0 set spantree portvlanpri 1/2 0 !end Console> (enable)
Use the show fddi command to display the settings for FDDI and CDDI modules.
show fddiThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the FDDI settings:
Console> show fddi Mod SMT User-Data T-Notify TReq --- -------------------------- -------- ------- 2 Engineering 30 165000 5 Marketing 20 150000 Port Tlmin Ler-CutOff Ler-Alarm ----- -------- ---------- --------- 2/1 40 7 8 2/2 40 7 8 5/1 40 10 11 5/2 40 9 12 Console>
Table 8-2 describes the fields in the show fddi command output.
| Field | Description |
|---|---|
| Mod | Module number. |
| SMT User-Data | Configured user-data string for the module. |
| T-Notify | TNotify timer value for the FDDI module. |
| TReq | TRequest value for the FDDI module. |
| Port | Module and port number. |
| Tlmin | TL_MIN value for the FDDI port. |
| Ler-CutOff | LER-cutoff value for the FDDI port. |
| Ler-Alarm | LER-alarm value for the FDDI port. |
set fddi alarm
set fddi cutoff
set fddi tlmin
set fddi tnotify
set fddi treq
set fddi userdata
Use the show fddicam command to display the FDDI CAM table for a FDDI module.
show fddicam mod_num [fddi] [mac_addr]| mod_num | Number of the module. |
| fddi | (Optional) Keyword that causes MAC addresses to be displayed in non-canonical format. |
| mac_addr | (Optional) Specific MAC address for which to display FDDI CAM table information. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the FDDI CAM table for module 4:
Console> (enable) show fddicam 4 MAC Address VLAN Protocol Type ----------------- ---- ------------- 00-40-0b-d0-00-2b 1 FDDI Total FDDI CAM entries = 1 Console> (enable)
Table 8-3 describes the fields in the show fddicam command output.
| Field | Description |
|---|---|
| MAC Address | Shows the MAC address of the FDDI module. |
| VLAN | Shows the VLAN that the MAC address was learned on. |
| Protocol Type | Shows the protocol type learned for the MAC address. |
| Total FDDI CAM entries | Shows the total number of FDDI CAM table entries found. |
clear cam
set bridge fddicheck
show config
Use the show flash command to list Flash information, including file code names, version numbers, and sizes.
show flash [[m/]device:]| m/ | (Optional) Supervisor Engine III only: module number of the supervisor engine containing the Flash device. |
| device: | (Optional) Supervisor Engine III only: valid devices include bootflash, slot0, and slot1. |
This command has no default setting.
Switch command.
Normal.
The colon (:) is required between the word "device" and the specified device.
This example shows how to list the Flash information for Supervisor Engines I or II:
Console> show flash
File Version Size (bytes)
-------------- ----------------- -------------
c5000 nmp 2.3(118) 1182823
mcp 2.3 26757
lcp 2.3 26933
atm/fddi 2.3 23994
lcp 64k 2.3 53067
lcp 360 2.3(118) 122292
lcp c5ip 2.3 24133
fddi (Module 5) 2.3(116) -
Console>
This example shows how to list the Flash information for Supervisor Engine III:
Console> (enable) show flash slot1: -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .. 2 43B312DF 201ed8 15 1052608 Nov 30 1996 11:12:30 cat5k_r47_1.cbi 6942656 bytes available (1052736 bytes used)
download
reset
show version
upload
Use the show interface command to display information on network interfaces.
show interfaceThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display sl0 and sc0:
Console> show interface sl0: flags=51slip 0.0.0.0 dest 0.0.0.0 sc0: flags=63 vlan 1 inet 172.16.25.130 netmask 255.255.0.0 broadcast 172.16.255.255 Console>
Table 8-4 describes the fields in the show interface command output.
| Field | Description |
|---|---|
| sl0 | Indicates information on the SLIP interface. |
| flags | Flags indicating the interface state (decoded in the subsequent field). |
| | Indicates the interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING). |
| slip | Shows the IP address of the SLIP interface. |
| dest | Shows the IP address of the SLIP destination. |
| vlan | Shows the VLAN number of the SC0 interface, also known as the management VLAN. |
| sc0 | Indicates information on the in-band interface. |
| inet | Shows the IP address of the interface. |
| netmask | Shows the network mask for the interface. |
| broadcast | Shows the broadcast address for the interface. |
Use the show ip alias command to show a listing of defined IP aliases.
show ip alias [name]| name | (Optional) Alias for a specific host. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display a listing of all IP aliases:
Console> (enable) show ip alias default 0.0.0.0 sparc20 192.168.10.69 cat5500-1 172.16.169.16 cat5500-2 172.16.169.20 Console> (enable)
Use the show ip dns command to show the DNS name server and the default domain name.
show ip dnsThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the DNS name server and the default domain name:
Console> (enable) show ip dns DNS is currently enabled. The default DNS domain name is: cisco.com DNS name server status --------------- ------- 172.16.30.32 192.168.2.132 primary 172.31.128.70 Console> (enable)
Table 8-5 describes the fields in the show ip dns command output.
| Field | Description |
|---|---|
| DNS is currently enabled | Indicates whether DNS is enabled. |
| default DNS domain name | Indicates the default DNS domain name. |
| DNS name server | Lists the IP addresses or IP aliases of the configured DNS servers. |
| status | Identifies the primary DNS server. |
clear ip dns domain
clear ip dns server
set ip dns
set ip dns domain
set ip dns server
Use the show ip permit command to display the IP permit list information.
show ip permit [noalias]| noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default value.
Switch command.
Privileged.
This example shows how to display IP permit list information:
Console> (enable) show ip permit IP permit list feature enabled. Permit List Mask ---------------- ---------------- batboy 172.16.101.102 172.20.102.0 255.255.255.0 172.20.164.0 255.255.255.0 Denied IP Address Last Accessed Time Type ----------------- ------------------ ------ 172.20.101.104 01/20/97,07:45:20 SNMP 172.31.206.222 01/21/97,14:23:05 Telnet Console> (enable)
Table 8-6 describes the fields in the show ip permit command output.
| Field | Description |
|---|---|
| IP permit list feature enabled | Indicates whether the IP permit list feature is enabled or disabled. |
| Permit List | Lists IP addresses and IP aliases that are allowed to access the switch. |
| Mask | Lists the subnet masks of permitted IP addresses. |
| Denied IP Address | Lists IP addresses and IP aliases that are not allowed to access the switch. |
| Last Accessed Time | Shows the date and time of the last attempt to log in to the switch from the address. |
| Type | Shows the login-attempt type (for example, Telnet indicates that an attempt to Telnet to the switch was made from the address). |
clear ip permit
set ip permit
set snmp trap
Use the show ip route command to display IP routing table entries.
show ip route [noalias]| noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the ip route table:
Console> (enable) show ip route Fragmentation Redirect Unreachable ------------- -------- ----------- enabled enabled enabled Destination Gateway Flags Use Interface ----------------------- ----------------------- ------ ---------- --------- default main-gw.cisco.com UG 2907 sc0 172.20.0.0 cat5000.cisco.com U 788 sc0 default default UH 0 sl0 Console> (enable)
Table 8-7 describes the fields in the show ip route command output.
| Field | Description |
|---|---|
| Fragmentation | Indicates whether IP fragmentation is enabled or disabled. |
| Redirect | Indicates whether ICMP redirect messages are enabled or disabled. |
| Unreachable | Indicates whether ICMP unreachable messages are enabled or disabled. |
| Destination | Lists the destination IP addresses contained in the route table. |
| Gateway | Lists the gateway through which the destination is reachable (next hop). |
| Flags | Lists the flags for the route. Possible values are:
|
|
Use | Identifies the number of times the route was used to direct a packet. |
| Interface | Indicates the interface through which the next hop can be reached. |
clear ip route
set ip route
set ip dns domain
set ip redirect
set ip unreachable
Use the show log command to display the error log for the system or a specific module.
show log [mod_num]| mod_num | (Optional) Number of the module for which the log is displayed. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the error log for the system:
Console> show log
Network Management Processor (ACTIVE NMP) Log:
Reset count: 6
Re-boot History: May 26 1997 07:25:31 0, May 26 1997 01:55:07 3
May 25 1997 14:54:32 3, May 25 1997 14:37:56 3
May 25 1997 14:30:17 3, May 25 1997 08:52:11 3
Bootrom Checksum Failures: 0 UART Failures: 0
Flash Checksum Failures: 0 Flash Program Failures: 0
Power Supply 1 Failures: 0 Power Supply 2 Failures: 0
DRAM Failures: 0
Exceptions: 0
NVRAM log:
01. 5/26/97,01:56:33: convert_post_SAC_CiscoMIB:Nvram block 0 size
mismatch: 340
88(33960)
Module 3 Log:
Reset Count: 7
Reset History: Mon May 26 1997, 08:38:55
Mon May 26 1997, 01:28:43
Mon May 26 1997, 00:57:02
Sun May 25 1997, 14:56:37
Module 4 Log:
Reset Count: 1
Reset History: Mon May 26 1997, 10:09:55
Module 5 Log:
Reset Count: 6
Reset History: Mon May 26 1997, 08:39:03
Mon May 26 1997, 00:57:10
Sun May 25 1997, 14:56:45
Sun May 25 1997, 14:43:15
Console>
Use the show logging command to display the system message log configuration.
show loggingThis command has no arguments.
This command has no default setting.
Switch command.
Normal.
This example shows the default system message log configuration:
Console show logging
Logging console: enabled
Logging server: disabled
Current Logging Session: enabled
Facility Server/Default Severity Current Session Severity
------------- ----------------------- ------------------------
cdp 2 2
cgmp 2 2
disl 5 5
drip 2 2
dvlan 2 2
earl 2 2
fddi 2 2
filesys 2 2
ip 2 2
kernel 2 2
pruning 2 2
snmp 2 2
spantree 2 2
sys 5 5
tac 2 2
tcp 2 2
telnet 2 2
tftp 2 2
vtp 2 2
vmps 2 2
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
Console> (enable)
Table 8-8 describes the fields in the show logging command output.
| Field | Description |
|---|---|
| Logging console | Indicates whether logging to the console is enabled or disabled. |
| Logging server | Indicates whether logging to the logging server is enabled or disabled. |
| Current Logging Session | Indicates whether system logging messages will be sent to the current login session. |
| Facility | Identifies the name of the facility to be logged. |
| Server/Default Severity | Indicates the default severity level at which point an error from that facility is logged. |
| Current Session Severity | Indicates the severity level at which point an error from that facility is logged during the current session. |
| 0 (emergencies), 1 (alerts), etc. | Identifies the key to the numeric severity level codes. |
clear logging server
set logging console
set logging level
set logging server
set logging session
show logging buffer
Use the show logging buffer command to display system messages from the internal buffer.
show logging buffer [-] [number_of_messages]| - | (Optional) Keyword that forces the display to show system messages starting from the end of the buffer. |
| number_of_messages | (Optional) Number of system messages to be displayed. The range of number_of_messages is 1 to 1023. |
This command has no default setting.
Switch command.
Normal.
If the - keyword is not used, system messages are displayed from the beginning of the buffer. If number_of_messages is not specified, all messages in the buffer will be displayed.
This example shows how to display the first four system messages from the internal buffer:
Consoleshow logging buffer 411/4/96,13:52:46:SYS-5:Module 1 is online11/4/96,13:52:52:SYS-5:Module 5 is online11/4/96,13:52:54:SYS-5:Module 3 failed due to CBL0, CBL1, or CBL2 Error11/4/96,13:52:54:SYS-5:Module 3 failed configuration
This example shows how to display the last four system messages from the internal buffer:
Consoleshow logging buffer -411/4/96,13:52:54:SYS-5:Module 3 failed configuration11/4/96,13:53:04:SYS-5:Module 4 is online11/4/96,13:53:31:SNMP-6:Subagent 2 connected11/4/96,13:54:45:SNMP-5:Cold Start Trap
Use the show mac command to display MAC counters.
show mac [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If a number is not specified, all modules are shown. |
| port_num | (Optional) Number of the port on the module. If a number is not specified, all ports are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display MAC information for port 3 on module 4:
Console> (enable) show mac 3/4 MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad -------- ---------- ---------- ---------- ---------- ---------- ---------- 3/4 0 0 0 0 0 0 MAC Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost -------- ---------- ---------- ---------- ---------- ---------- ---------- 3/4 0 0 0 0 0 0 Port InUnicast InMulticast InBroadcast -------- -------------------- -------------------- -------------------- 3/4 0 0 0 Port OutUnicast OutMulticast OutBroadcast -------- -------------------- -------------------- -------------------- 3/4 0 0 0 Port InOctet OutOctet -------- -------------------- -------------------- 3/4 0 0 Last-Time-Cleared -------------------------- Wed Sep 17 1997, 08:31:20 Console> (enable)
Table 8-9 describes the fields in the show mac command output.
| Field | Description |
|---|---|
| MAC | Module and port. |
| Rcv-Frms | Number of frames received on the port. |
| Xmit-Frms | Number of frames transmitted on the port. |
| Rcv-Multi | Number of multicast frames received on the port. |
| Xmit-Multi | Number of multicast frames transmitted on the port. |
| Rcv-Broad | Number of broadcast frames received on the port. |
| Xmit-Broad | Number of broadcast frames transmitted on the port. |
| Dely-Exced | Total transmit frames aborted due to excessive deferral. |
| MTU-Exced | Number of frames for which the MTU size was exceeded. |
| In-Discard | Number of incoming frames that were discarded because the frame did not need to be switched. |
| Lrn-Discard | Number of CAM entries discarded due to page full in EARL. |
| In-Lost | Number of incoming frames that were lost before being forwarded (due to insufficient buffer space). |
| On-Lost | Number of outgoing frames that were lost before being forwarded (due to insufficient buffer space). |
| SMT-Address | SMT address of the FDDI port. |
| Curr-Path | Current path used (primary or secondary). |
| TReq | T-req (token rotation time request) value. |
| TNeg | T-neg (negotiated token rotation time) value. |
| TMax | T-max (maximum token rotation time) value. |
| TVX | Value of the valid transmission timer. |
| Upstream-Nbr | MAC address of the current upstream neighbor. |
| Downstream-Nbr | MAC address of the current downstream neighbor. |
| Old-Upstrm-Nbr | MAC address of the previous upstream neighbor. |
| Old-Downstrm-Nbr | MAC address of the previous downstream neighbor. |
| Rcv-Smt | Number of SMT frames received by the port. |
| Xmit-Smt | Number of SMT frames transmitted by the port. |
| Rcv-llc | Number of LLC frames received by the port. |
| Xmit-llc | Number of LLC frames transmitted by the port. |
| Tvx-Exp-Ct | Number of times the TVX timer has expired. |
| RingOp-Ct | Number of times the ring has become operational. |
| Last-Time-Cleared | Date and time of the last clear counters command. |
Use the show microcode command to display the version of the microcode. When running this command on a Supervisor Engine III, this command also displays module version information.
show microcodeThis command has no arguments.
This command has no default setting.
Switch command.
Normal.
This example shows the show microcode output for a Supervisor Engine II:
Console> sh microcode EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 8.0 - EPLD_10K 0.0 3.0 Console>
This example shows the show microcode output for a Supervisor Engine III:
Console> sh microcode NMP EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_4kctl 0.0 - EPLD_trfc 1.0 - EPLD_m36d1 5.0 - EPLD_m36in 1.0 - EPLD_ppi 0.0 - EPLD_p_msk 1.0 - EPLD_bsctl 0.0 - EPLD_p_ltl 1.0 - EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 4.0 - EPLD_10K 2.0 - EPLD_dec 0.0 - EPLD_parse 0.0 - EPLD_rslt1 0.0 - EPLD_rslt2 0.0 - EPLD_rslt3 0.0 - UPLINK EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_upl_ctl 0.0 - Bundled Images Version Size Built --------------- -------------------- ------- ----------------- LCP51-32 3.1 27595 12/09/97 07:05:53 LCP51-64 3.1 55628 12/09/97 07:12:13 MCP360 3.1(184) 134580 12/09/97 07:16:24 LCP360 3.1(184) 120416 12/09/97 07:19:40 TOKEN-RING 3.1 28330 12/09/97 06:21:44 ATM/FDDI LCP 3.1 24366 12/09/97 07:07:43 C5IP 3.1 23925 12/09/97 07:14:16 Console>
Use the show module command to display module status and information. For Supervisor III modules, the show module command displays the Supervisor's module number, but appends the uplink daughtercard's module type and information.
show module [mod_num]| mod_num | (Optional) Number of the module. If a number is not specified, all modules are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display status and information for all modules:
Console> show module Mod Module-Name Ports Module-Type Model Serial-Num Status --- ------------- ----- ------------- ------- ---------- ------- 1 Supervisor 2 100BaseTX Supervisor WS-W5009 002650014 ok 2 Management 24 10BaseT Ethernet WS-W5010 002475046 ok 4 Marketing 48 4 Segment 10BaseT Eth WS-W5020 002135955 ok Mod MAC-Address(es) Hw Fw Sw ------------------------------------- ----- ----- ----- 1 00-40-0b-ac-80-00 thru 00-40-0b-ac-83-ff 1.6 1.4 2.113(Eng) 2 00-40-0b-4c-92-58 thru 00-40-0b-4c-92-6f 1.0 1.4 2.106 4 00-40-0b-14-00-20 thru 00-40-0b-14-00-23 0.1 1.4369 2.106
This example shows how to display status and information for module 3:
Console> (enable) show module 3 Mod Module-Name Ports Module-Type Model Serial-Num Status --- ------------------- ----- --------------------- --------- --------- ------- 3 16 Token Ring ws-x5030 900000002 ok Mod MAC-Address(es) Hw Fw Sw --- ---------------------------------------- ------ ------- ---------------- 3 00:40:0b:01:bc:64 thru 00:40:0b:01:bc:74 3.0 1.0(108 1.0(110) Console> (enable)
Table 8-10 describes the possible fields in the show module command output.
| Field | Description |
| Mod | Module number. |
| Module-Name | Name, if configured, of the module. |
| Ports | Number of ports on the module. |
| Module-Type | Module type (such as 10BaseT Ethernet or Token Ring). |
| Model | Model number of the module. |
| Serial-Num | Serial number of the module. |
| Status | Status of the module. Possible status strings are: ok, disable, faulty, other, standby, error. |
| MAC-Address(es) | MAC address or MAC address range for the module. Token Ring module MAC addresses appear in non-canonical format. |
| Hw | Hardware version of the module. |
| Fw | Firmware version of the module. |
| Sw | Software version on the module. |
| SMT User-Data | User-data string defined for the FDDI module. |
| T-Notify | T-Notify timer value configured for the FDDI module. |
| CF-St | Configuration management state of the FDDI module. |
| ECM-St | Entity Coordination Management state of the FDDI module. |
| Bypass | Indicates whether an optical bypass switch is present. |
Use the show multicast group command to display the multicast group configuration.
show multicast group [cgmp] [mac_addr] [vlan_id]| cgmp | (Optional) Keyword used to display only the information learned via CGMP. |
| mac_addr | (Optional) Destination MAC address. |
| vlan_id | (Optional) Number of the VLAN. |
There is no default setting for this command.
Switch command.
Privileged.
This example shows how to display the multicast group configuration:
console> (enable) show multicast group cgmp 5 CGMP enabled VLAN Destination MAC Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 5 01-00-5E-00-00-5C 3/1, 3/9 5 01-00-5E-00-00-FF 3/7, 3/9 Total Number of Entries = 2 Console> (enable) show multicast group 01-00-5E-00-00-5C 5 CGMP enabled VLAN Destination MAC Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 5 01-00-5E-00-00-5C 3/1, 3/9 Total Number of Entries = 1 Console> (enable)
Table 8-11 describes the fields in the show multicast group command output.
| Field | Description |
|---|---|
| CGMP enabled | Status of whether CGMP is enabled or disabled. |
| VLAN | VLAN number. |
| Destination MAC | Group destination MAC address. |
| Destination Ports or VCs | Outgoing port list (destination ports) for the group destination MAC address. |
| Total Number of Entries | Total number of entries in the multicast group table that match the criteria specified by the command. |
clear multicast router
set cgmp
set multicast router
show multicast group count
Use the show multicast group count command to show the total count of multicast addresses (groups) in a VLAN.
show multicast group count [cgmp] [vlan_id]| cgmp | (Optional) Keyword used to display only the information learned via CGMP. |
| vlan_id | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Privileged.
clear multicast router
set cgmp
set multicast router
Use the show multicast router command to display which ports have CGMP-capable routers assigned to them.
show multicast router [cgmp] [mod_num/port_num] [vlan_id]| cgmp | (Optional) Keyword used to display only the configuration information learned through CGMP. |
| mod_num | (Optional) Number of the module. |
| port_num | (Optional) Number of the port on the module. |
| vlan_id | (Optional) Number of the VLAN. |
There is no default setting for this command.
Switch command.
Privileged.
This example show how to display the multicast router configuration:
Console> (enable) show multicast router 4/9CGMP enabledPort Vlan--------- ----------------4/9 * 1,5,200-203Total Number of Entries = 1'*' - ConfiguredConsole> (enable)show multicast router 5CGMP enabledPort Vlan--------- ----------------3/1 * 54/9 * 5Total Number of Entries = 2'*' - ConfiguredConsole> (enable)show multicast router cgmp 5CGMP enabledPort Vlan--------- ----------------4/9 * 5Total Number of Entries = 1'*' - Configured Console> (enable)
Table 8-12 describes the fields in the show multicast router command output.
| Field | Description |
|---|---|
| CGMP enabled | Indicates whether CGMP is enabled or disabled. |
| Port | Indicates the port through which a multicast router can be reached. |
| * | Indicates that the port is configured. |
| Vlan | Indicates the VLAN associated with the port. |
| Total Number of Entries | Shows the total numbers of entries in the table that match the criteria specified by the command. |
clear multicast router
set cgmp
set multicast router
show multicast group
Use the show netstat command to display the currently active network connections and to list statistics for the various protocols in the TCP/IP.
show netstat [tcp | udp | ip | icmp | routes | stats | interfaces]| tcp | (Optional) Keyword used to show TCP statistics. |
| udp | (Optional) Keyword used to show UDP statistics. |
| ip | (Optional) Keyword used to show IP statistics. |
| icmp | (Optional) Keyword used to show ICMP statistics. |
| routes | (Optional) Keyword used to show the IP routing table. |
| stats | (Optional) Keyword used to show all statistics for TCP, UDP, IP, and ICMP. |
| interfaces | (Optional) Keyword used to show interface statistics. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current active network connections:
Console> show netstat Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address (state) tcp 0 128 172.20.25.142.23 171.68.10.75.44720 ESTABLISHED tcp 0 0 *.7161 *.* LISTEN tcp 0 0 *.23 *.* LISTEN udp 0 0 *.* *.* udp 0 0 *.161 *.* udp 0 0 *.123 *.* Console>
This example shows how to display TCP statistics:
Console> show netstat tcp
tcp:
5122 packets sent
4642 data packets (102292 bytes)
28 data packets (6148 bytes) retransmitted
434 ack-only packets (412 delayed)
0 URG only packets
0 window probe packets
1 window update packet
17 control packets
7621 packets received
4639 acks (for 103883 bytes)
69 duplicate acks
0 acks for unsent data
3468 packets (15367 bytes) received in-sequence
12 completely duplicate packets (20 bytes)
0 packets with some dup. data (0 bytes duped)
4 out-of-order packets (0 bytes)
0 packets (0 bytes) of data after window
0 window probes
0 window update packets
0 packets received after close
0 discarded for bad checksums
0 discarded for bad header offset fields
0 discarded because packet too short
6 connection requests
6 connection accepts
10 connections established (including accepts)
11 connections closed (including 1 drop)
2 embryonic connections dropped
4581 segments updated rtt (of 4600 attempts)
28 retransmit timeouts
0 connections dropped by rexmit timeout
0 persist timeouts
66 keepalive timeouts
63 keepalive probes sent
3 connections dropped by keepalive
Console>
Table 8-13 describes the fields in the show netstat tcp command output.
| Field | Description |
|---|---|
| packets sent | Total number of TCP packets sent. |
| data packets (bytes) | Number of TCP data packets sent and the size of those packets in bytes. |
| data packets (bytes) retranzmitted | Number of TCP data packets that were retransmitted and the size of those packets in bytes. |
| ack-only packets (delayed) | Number of TCP acknowledgment-only packets that were sent and the number of those packets that were delayed. |
| packets received | Total number of TCP packets received. |
| acks (for x bytes) | Number of TCP acknowledgments received and the total bytes acknowledged. |
| duplicate acks | Number of duplicate TCP acknowledgments received. |
| acks for unsent data | Number of TCP acknowledgments received for data that was not sent. |
| packets (bytes) received in-sequence | Number of TCP packets (and the size in bytes) received in sequence. |
| completely duplicate packets (bytes) | Number of duplicate TCP packets (and the size in bytes) received. |
| packets with some dup. data (bytes duped) | Number of TCP packets received that contained some duplicate data (and the number of bytes of duplicated data). |
| out-of-order packets (bytes) | Number of out-of-order TCP packets (and the size in bytes) received. |
| packets (bytes) of data after window | Number of TCP packets (and the size in bytes) received outside of the specified data window. |
| discarded for bad checksums | Number of TCP packets received that were discarded because they failed the checksum. |
| discarded because packet too short | Number of TCP packets received that were discarded because they were truncated. |
| connection requests | Total number of TCP connection requests sent. |
| connection accepts | Total number of TCP connection accepts sent. |
| connections established (including accepts) | Total number of TCP connections established, including those for which a connection accept was sent. |
| connections closed (including x drops) | Total number of TCP connections closed, including the number of dropped connections. |
| retransmit timeouts | Number of timeouts that occurred when a retransmission was attempted. |
| connections dropped by rexmit timeout | Number of connections dropped due to retransmission timeouts. |
| keepalive timeouts | Number of keepalive timeouts that occurred. |
| keepalive probes sent | Number of TCP keepalive probes sent. |
| connections dropped by keepalive | Number of connections dropped. |
This example shows how to display UDP statistics:
Console> show netstat udp
udp:
0 incomplete headers
0 bad data length fields
0 bad checksums
0 socket overflows
1116 no such ports
Console>
Table 8-14 describes the fields in the show netstat udp command output.
| Field | Description |
|---|---|
| incomplete headers | Number of UDP packets received that had incomplete packet headers. |
| bad data length fields | Number of UDP packets received that had a data length field that did not match the actual length of the packet payload. |
| bad checksums | Number of UDP packets received that failed the checksum. |
| socket overflows | Number of socket overflows. |
| no such ports | Number of UDP packets received destined for nonexistent ports. |
This example shows how to display IP statistics:
Console> show netstat ip
ip:
76894 total packets received
0 bad header checksums
0 with size smaller than minimum
0 with data size < data length
0 with header length < data size
0 with data length < header length
0 fragments received
0 fragments dropped (dup or out of space)
0 fragments dropped after timeout
0 packets forwarded
0 packets not forwardable
0 redirects sent
Console>
Table 8-15 describes the fields in the show netstat ip command output.
| Field | Description |
|---|---|
| total packets received | Total number of IP packets received. |
| bad header checksums | Number of IP packets received that failed the checksum. |
| with size smaller than minimum | Number of IP packets received that were smaller than the minimum IP packet size. |
| fragments received | Number of IP packet fragments received. |
| fragments dropped (dup or out of space) | Number of received IP packet fragments that were dropped because they contained duplicate data or because of buffer overflow. |
| fragments dropped after timeout | Number of received IP packet fragments that were dropped. |
| packets forwarded | Number of IP packets that were forwarded. |
| packets not forwardable | Number of IP packets that for some reason were not forwardable by the switch. |
This example shows how to display ICMP statistics:
Console> show netstat icmp
icmp:
Redirect enabled
0 calls to icmp_error
0 errors not generated 'cuz old message was icmp
Output histogram:
echo reply: 1001
1 message with bad code fields
0 messages < minimum length
0 bad checksums
0 messages with bad length
Input histogram:
echo reply: 12
destination unreachable: 3961
echo: 1001
1001 message responses generated
Console>
Table 8-16 describes the fields in the show netstat icmp command output.
| Field | Description |
|---|---|
| Redirect enabled | Status of whether ICMP redirection is enabled or disabled. |
| Output histogram | Begins frequency distribution statistics for output ICMP packets. |
| echo reply | Number of output echo reply ICMP packets. |
| messages with bad code fields | Number of ICMP packets that had an invalid code field. |
| messages < minimum length | Number of ICMP packets that were less than the minimum packet length. |
| bad checksums | Number of ICMP packets that failed the checksum. |
| messages with bad length | Number of ICMP packets that were of invalid length. |
| Input histogram | Frequency distribution statistics for input ICMP packets. |
| echo reply | Number of input echo reply ICMP packets. |
| destination unreachable | Number of input destination unreachable ICMP packets. |
| echo | Number of input echo ICMP packets. |
| message responses generated | Number of ICMP message responses the system generated. |
This example shows how to display the IP routing table:
Console> show netstat routes DESTINATION GATEWAY FLAGS USE INTERFACE default 172.16.1.201 UG 6186 sc0 172.16.0.0 172.16.25.142 U 6383 sc0 default default UH 0 sl0 Console>
Table 8-17 describes the fields in the show netstat routes command output.
| Field | Description |
|---|---|
| DESTINATION | Destination IP address or network. |
| GATEWAY | Next hop to the destination. |
| INTERFACE | Interface out of which packets to the destination should be forwarded. |
This example shows how to display interface statistics:
Console> show netstat interface Interface InPackets InErrors OutPackets OutErrors sl0 0 0 0 0 sc0 368996 0 12624 0 Console>
Table 8-18 describes the fields in the show netstat interface command output.
| Field | Description |
|---|---|
| Interface | Interface number (sl0 is the SLIP interface; sc0 is the in-band interface). |
| InPackets | Number of input packets on the interface. |
| InErrors | Number of input errors on the interface. |
| OutPackets | Number of output packets on the interface. |
| OutErrors | Number of output errors on the interface. |
set interface
set ip permit
set ip route
Use the show ntp command to display the current NTP status.
show ntpThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current NTP status:
Console> show ntp Current time: Mon May 12 1997, 11:19:03 pst Timezone: 'pst', offset from UTC is -8 hours Summertime: 'pst', enabled Last NTP update: Broadcast client mode: enabled Broadcast delay: 3000 microseconds Client mode: disabled NTP-Server ---------------------------------------- time_server.cisco.com Console>
Table 8-19 describes the fields in the show ntp command output.
| Field | Description |
|---|---|
| Current time | Current system time. |
| Timezone | Time zone and the offset in hours from UTC. |
| Summertime | Time zone used for daylight saving time, and whether the daylight saving time adjustment is enabled or disabled. |
| Last NTP update | Time of the last NTP update. |
| Broadcast client mode | Status of whether NTP broadcast client mode is enabled or disabled. |
| Broadcast delay | Configured NTP broadcast delay. |
| Client mode | Status of whether NTP client mode is enabled or disabled. |
| NTP-Server | List of configured NTP servers. |
clear ntp server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp server
Use the show port command to display port status and counters.
show port [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If a number is not specified, the ports on all modules are shown. |
| port_num | (Optional) Number of the port on the module. If a number is not specified, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the status and counters for port 4 on module 3:
Console> (enable) show port 3/4 Port Name Status Vlan Level Duplex Speed Type ----- ------------------ ---------- ---------- ------ ------ ----- ------------ 3/4 inactive 1003 normal auto auto TokenRing Last-Time-Cleared -------------------------- Wed Sep 17 1997, 08:31:20 Console> (enable)
Table 8-20 describes the possible fields in the show port command output.
| Field | Description |
|---|---|
| Port | Module and port number. |
| Name | Name (if configured) of the port. |
| Status | Status of the port (connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor). |
| Vlan | VLANs to which the port belongs. |
| Level | Level setting for the port (normal or high). |
| Duplex | Duplex setting for the port (auto, full, fdx, half, hdx, a-half, a-hdx, a-full, a-fdx). |
| Speed | Speed setting for the port (auto, 10, 100, 155, a-10, a-100, 4, 16, a-4, a-16). |
| Type | Port type (10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, TokenRing, FDDI, CDDI, MLT3 CDDI, SDDI, SMF-FDDI, PreStd CDDI, SCF FDDI, OC3 MMF ATM, OC3 SMF ATM, OC3 UTP ATM, Route Switch). |
| Security | Indicates whether port security is enabled or disabled. |
| Secure-Src-Addr | Shows the secure MAC address for the security enabled port. |
| Last-Src-Addr | Shows the source MAC address of the last packet received by the port. |
| Shutdown | Indicates whether the port was shut down because of security. |
| Trap | Indicates whether port trap is enabled or disabled. |
| Broadcast-Limit | Shows the broadcast threshold configured for the port. |
| Broadcast-Drop | Shows the number of broadcast/nulticast packets dropped because the broadcast limit for the port was exceeded. |
| Align-Err | Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port. |
| FCS-Err | Number of frame check sequence errors that occurred on the port. |
| Xmit-Err | Number of transmit errors that occurred onthe port (indicating that the internal transmit buffer is full). |
| Rcv-Err | Number of receive errors that occurred on the port (indicating that the internal receive buffer is full). |
| UnderSize | Number of frames received that are less than 64 octets long (but are otherwise well-formed). |
| Single-Col | Show how many times one collision occurred before the port successfully transmitted a frame to the media. |
| Multi-Col | Shows how many times multiple collisions occurred before the port successfully transmitted a frame to the media. |
| Late-Col | Number of late collisions (collisions outside the collision domain). |
| Ecxess-Col | Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded). |
| Carri-Sen | Number of times the port has sensed a carrier (to determine whether the cable is currently being used). |
| Runts | Number of runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) received on the port. |
| Giants | Number of giant frames (frames that exceed the maximum IEEE 802.3 frame size) received on the port. |
| CE-State | Connection entity status. |
| Conn-State | Displays the connection state of the port, as follows:
|
|
Type | Specifies the type of port, as follows:
|
|
Neig | Indicates the type of port attached to this port. The neighbor can be one of the following types:
|
|
Ler Con | Indicates whether the port is currently in a LER condition. |
| Est | Estimated LER. |
| Alm | LER at which a link connection exceeds the LER alarm threshold. |
| Cut | LER cutoff value (the LER at which a link connection is flagged as faulty). |
| Lem-Ct | Number of LEM errors received on the port. |
| Lem-Rej-Ct | Number of times a connection was rejected because of excessive LEM errors. |
| Tl-Min | TL-min value (the minimum time to transmit a FDDI PHY line state before advancing to the next PCM state. |
| Last-Time-Cleared | Last time the port counters were cleared. |
Use the show port channel command to display Fast EtherChannel information for a specific module or port.
show port channel [mod_num[/port_num]] [info | statistics]| mod_num | Number of the module for which to return Fast EtherChannel information. |
| port_num | Number of the port on the module for which to return Fast EtherChannel information. |
| info | Keyword used to display port information such as speed, cost, duplex status, priority, secure or dynamic status, trunk status, and associated VLANS. |
| statistics | Keyword used to display statistics about the port (PAgP packets sent and received). |
This command has no default setting.
Switch command.
Normal.
If mod_num or port_num is not specified, Fast EtherChannel information is shown for all channeling ports on all modules.
This example shows how to display Ethernet channeling information for Fast Ethernet module 4:
Console> show port channel 4
Port Status Channel Channel Neighbor Neighbor
mode status device port
----- ---------- ------- ----------- ------------------------- ----------
4/1 connected on channel WS-C5000 012345678 5/5
4/2 connected on channel WS-C5000 012345678 5/6
----- ---------- ------- ----------- ------------------------- ----------
4/3 connected off not channel
4/4 connected off not channel
4/5 notconnect desirable not channel
4/6 notconnect desirable not channel
4/7 notconnect desirable not channel
4/8 notconnect desirable not channel
----- ---------- ------- ----------- ------------------------- ----------
4/9 connected on channel WS-C5000 987654321 3/1
4/10 connected on channel WS-C5000 987654321 3/2
4/11 notconnect on channel
4/12 connected on channel WS-C5000 987654321 3/4
----- ---------- ------- ----------- ------------------------- ----------
Console>
This example shows show port channel with the info parameter:
Console> (enable) show port channel 1 info
Port Speed Duplex Port Port Secure port\ Trunk status VLANs
cost priority Dynamic port
----- ----- ------ ---- -------- ------------ ------------ ---------------------
5/1 100 half 4 32 trunking 1-1005
5/2 100 half 4 32 trunking 1-1005
5/3 100 half 4 32 trunking 1-1005
5/4 100 half 4 32 trunking 1-1005
----- ----- ------ ---- -------- ------------ ------------ ---------------------
5/5 100 half 4 32 trunking 1-1005
5/6 100 half 4 32 trunking 1-1005
5/7 100 half 4 32 trunking 1-1005
5/8 100 half 4 32 trunking 1-1005
----- ----- ------ ---- -------- ------------ ------------ ---------------------
5/9 100 half 4 32 trunking 1-1005
5/10 100 half 4 32 trunking 1-1005
5/11 100 half 4 32 trunking 1-1005
5/12 100 half 4 32 trunking 1-1005
----- ----- ------ ---- -------- ------------ ------------ ---------------------
Port ifIndex Group Neighbor Neighbor Neighbor
capability device-id port-id capability
----- ---------- ---------- ----------------- -------- ----------
5/1 41 1 00-e0-1e-38-46-2c 29 1
5/2 41 1 00-e0-1e-38-46-2c 30 1
5/3 41 1 00-e0-1e-38-46-2c 31 1
5/4 41 1 00-e0-1e-38-46-2c 32 1
----- ---------- ---------- ----------------- -------- ----------
5/5 42 5 00-e0-1e-38-46-30 33 5
5/6 42 5 00-e0-1e-38-46-30 34 5
5/7 42 5 00-e0-1e-38-46-30 35 5
5/8 42 5 00-e0-1e-38-46-30 36 5
----- ---------- ---------- ----------------- -------- ----------
5/9 44 9 00-e0-1e-38-46-34 37 9
5/10 44 9 00-e0-1e-38-46-34 38 9
5/11 44 9 00-e0-1e-38-46-34 39 9
5/12 44 9 00-e0-1e-38-46-34 40 9
----- ---------- ---------- ----------------- -------- ----------
Console> (enable)
This example shows show port channel with the statistics parameter:
Console> (enable) show port channel 1 statistics
Port PAgP Pkts PAgP Pkts
Transmitted Received
----- ----------- ---------
1/1 0 0
1/2 0 0
Console> (enable)
Table 8-21 describes the fields in the show port channel command output.
| Field | Description |
|---|---|
| Port | Module and port number. |
| Status | Channeling status of the port (connected, notconnect). |
| Channel mode | Status of whether Fast EtherChannel is on, off, auto, or desirable on the port. |
| Channel status | Status of whether the port is channeling (channel, not channel). |
| Neighbor device | Neighboring device with which the port is channeling. |
| Neighbor port | Port on the neighboring device with which the port is channeling. |
Use the show port counters command to show all the counters for a port.
show port counters [mod_num/port_num]| mod_num | Number of the module for which to return Fast EtherChannel information. |
| port_num | Number of the port on the module for which to return Fast EtherChannel information. |
This command has no default setting.
Switch command.
Normal.
This example show the output of the show port counters command:
Console> (enable) show port counters
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
1/1 0 0 0 0 0
1/2 0 0 0 0 0
4/1 0 0 0 0 0
4/2 0 0 0 0 0
4/3 0 0 0 0 0
4/4 0 0 0 0 0
4/5 0 0 0 0 0
4/6 0 0 0 0 0
4/7 0 0 0 0 0
4/8 0 0 0 0 0
4/9 0 0 0 0 0
4/10 0 0 0 0 0
4/11 0 0 0 0 0
4/12 0 0 0 0 0
Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
1/1 12 0 0 0 0 0 -
1/2 0 0 0 0 0 0 0
4/1 0 0 0 0 0 0 0
4/2 0 0 0 0 0 0 0
4/3 0 0 0 0 0 0 0
4/4 0 0 0 0 0 0 0
4/5 0 0 0 0 0 0 0
4/6 0 0 0 0 0 0 0
4/7 0 0 0 0 0 0 0
4/8 0 0 0 0 0 0 0
4/9 0 0 0 0 0 0 0
4/10 0 0 0 0 0 0 0
4/11 0 0 0 0 0 0 0
4/12 0 0 0 0 0 0 0
Ler
Port CE-State Conn-State Type Neig Con Est Alm Cut Lem-Ct Lem-Rej-Ct Tl-Min
----- -------- ---------- ---- ---- --------------- ---------- ---------- ------
3/1 isolated connecting A U no 9 9 7 0 0 102
3/2 isolated connecting B U no 9 8 7 0 0 40
Last-Time-Cleared
--------------------------
Sat Oct 11 1997, 14:58:19
Use the show rif command to display RIF information.
show rif [vlan]
Syntax Description
| vlan | (Optional) Number of the vlan for which you want to view RIF information. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display RIF information for the system and for a VLAN:
Console> show rif MAC VLAN RIF -------------------- -------- -------------------- 00:00:30:e2:cf:00 on 401 via 0610.001a.0020 00:05:77:01:bc:4a on 1020 via 0690.00d1.00e2 00:05:77:01:bc:4b on 1020 via 0690.00d1.00e2 00:05:77:01:bc:48 on 1020 via 0690.00d1.00e2 Console> show rif 401 MAC VLAN RIF -------------------- -------- -------------------- 00:00:30:e2:cf:00 on 401 via 0610.001a.0020 Console>
Use the show snmp command to display SNMP information for the system.
show snmp [noalias]| noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal and privileged.
This example shows how to display the community strings:
Console> (enable) show snmp RMON: Enabled Traps Enabled: Chassis Port Traps Enabled: None Community-Access Community-String ---------------- -------------------- read-only public read-write private read-write-all secret Trap-Rec-Address Trap-Rec-Community ---------------------------------------- -------------------- 192.122.173.42 public Console> (enable)
Table 8-22 describes the fields in the show snmp command output.
| Field | Description |
|---|---|
| RMON | Indicates whether RMON is enabled or disabled. |
| Traps Enabled | Lists the trap types that are enabled. |
| Port Traps Enabled | Lists a set of ports whose linkup/linkdown trap is enabled. |
| Community-Access | Lists the configured SNMP communities. |
| Community-String | Lists the SNMP community strings associated with each SNMP community. |
| Trap-Rec-Address | Shows the IP address or IP alias of trap receiver hosts. |
| Trap-Rec-Community | Shows the SNMP community string used for trap messages to the trap receiver. |
Use the show span command to display SPAN information.
show spanThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display SPAN information:
Console> (enable) show span Status : enabled Admin Source: VLAN 1 Oper Source : None Destination : Port 1/1 Direction : transmit/receive Console> (enable)
Table 8-23 describes the possible fields in the show span command output.
| Field | Description |
|---|---|
| Source | Source port or VLAN for SPAN information. |
| Destination | Destination port for SPAN information. |
| Direction | Status of whether transmit, receive, or transmit/receive information is monitored. |
| Status | Status of whether SPAN is enabled or disabled. |
Use the show spantree command to display spanning-tree information for a VLAN.
show spantree [vlan | mod_num/port_num] [blockedports | active | statistics | summary]| vlan | (Optional) Number of the VLAN. If the VLAN number is not specified, the default is VLAN 1. |
| mod_num | (Optional) Number of the module. |
| port_num | (Optional) Number of the port on the module. |
| blockedports | (Optional) Keyword used to display only the blocked ports. |
| active | (Optional) Keyword used to display only the active ports. |
| statistics | (Optional) Keyword used to display spantree statistics. |
| summary | (Optional) Keyword used to display only summary information. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the spanning tree configuration for VLAN 1005:
Console> (enable) show spantree 1005 VLAN 1005 Spanning tree enabled Designated Root 00-40-0b-8f-8b-ec Designated Root Priority 32768 Designated Root Cost 0 Designated Root Port 1/0 Root Max Age 6 sec Hello Time 2 sec Forward Delay 4 sec Bridge ID MAC ADDR 00-40-0b-8f-8b-ec Bridge ID Priority 32768 Bridge Max Age 6 sec Hello Time 2 sec Forward Delay 4 sec Port,Vlan Vlan Port-State Cost Priority Fast-Start Group-method --------- ---- ------------- ----- -------- ---------- ------------ 1003 1005 inactive 80 32 disabled Console> (enable)
Table 8-24 describes the fields in the show spantree command output when issued against a TrBRF.
| Field | Description |
| VLAN | VLAN for which spanning tree information is shown. |
| Spanning tree | Status of whether Spanning-Tree Protocol is enabled or disabled. |
| Designated Root | MAC address of the designated spanning-tree root bridge. |
| Designated Root Priority | Priority of the designated root bridge. |
| Designated Root Cost | Total path cost to reach the root. |
| Designated Root Port | Port through which the root bridge can be reached (shown only on non-root bridges). |
| Root Max Age | Amount of time a BPDU1 packet should be considered valid. |
| Hello Time | Number of times the root bridge sends BPDUs. |
| Forward Delay | Amount of time the port spends in listening or learning mode. |
| Bridge ID MAC ADDR | Bridge MAC address. |
| Bridge ID Priority | Bridge priority. |
| Bridge Max Age | Bridge maximum age. |
| Hello Time | Indicates how often the bridge sends BPDUs. |
| Forward Delay | Indicates how much time the bridge spends in listening or learning mode. |
| Port | Port number. |
| Vlan | VLAN to which the port belongs. |
| Port-State | Spanning tree port state (disabled, inactive, not-connected, blocking, listening, learning, forwarding, bridging). |
| Cost | Cost associated with the port. |
| Priority | Priority associated with the port. |
| Fast-Start | Status of whether the port is configured to use the fast-start feature. |
Use the show spantree portvlancost command to show the path cost for a VLAN.
show spantree portvlancost mod_num/port_num| mod_num | Number of the module. |
| port_num | Number of the port. |
This command has no default setting.
Switch command.
Privileged.
This example shows how to display the path cost for a VLAN.
Console> (enable) show spantree portvlancost 1/1 Port 1/1 VLANs 1-1005 have path cost 10.
Use the show spantree uplinkfast command to show the uplinkfast settings.
show spantree uplinkfastThis command has no default setting.
Switch command.
Privileged and Normal.
This example shows how to display the uplinkfast settings:
console>(enable) show spantree uplinkfast VLAN port list ------------------------------------------------ 1-20 1/1(fwd),1/2-1/5 21-50 1/9(fwd), 1/6-1/8, 1/10-1/12 51-100 2/1(fwd), 2/12
Use the show summertime command to display the current status of the summertime feature.
show summertimeThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current status of the summertime feature:
Console> show summertime Summertime is enabled and set to 'pst' Console>
The output indicates whether the feature is enabled or disabled, and indicates the time zone configured for use with the feature.
Use the show system command to display system information.
show systemThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows the system status and other information:
Console> (enable) show system PS1-Status PS2-Status Fan-Status Temp-Alarm Sys-Status Uptime d,h:m:s Logout ---------- ---------- ---------- ---------- ---------- -------------- --------- ok none ok off ok 3,02:08:53 20 min PS1-Type PS2-Type Modem Baud Traffic Peak Peak-Time ---------- ---------- ------- ----- ------- ---- ------------------------- WS-C5008A none disable 9600 0% 0% Fri May 9 1997, 03:22:20 System Name System Location System Contact ------------------------ ------------------------ ------------------------ Catalyst 5000 San Jose, CA Susan x237 Console> (enable)
Table 8-25 describes the fields in the show system command output.
| Field | Description |
|---|---|
| PS1-Status | Status of power supply 1 (ok, fan failed, faulty, or none). |
| PS2-Status | Status of power supply 2 (ok, fan failed, faulty, or none). |
| Fan-Status | Status of the fan (ok, faulty, or other). |
| Temp-Alarm | Status of whether the temperature alarm is off or on. |
| Sys-Status | System status (ok or faulty). Corresponds to System LED status. |
| Uptime d, h:m:s | Amount of time in days, hours, minutes, and seconds, that the system has been up and running. |
| Logout | Amount of time after which an idle session will be disconnected. |
| PS1-Type | Part number of the power supply. |
| PS2-Type | Part number of the redundant power supply, if present. |
| Modem | Status of the modem status (enable or disable). |
| Baud | Baud rate to which the modem is set. |
| Traffic | Shows current traffic percentage. |
| Peak | Peak percentage of traffic on the backplane. |
| Peak-Time | Time stamp when peak percentage was recorded. |
| System Name | System name. |
| System Location | System location. |
| System Contact | System contact information. |
set system baud
set system contact
set system location
set system modem
set system name
Use the show tacacs command to display the TACACS+ protocol configuration.
show tacacs [noalias]| noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Privileged.
This example shows how to display the TACACS+ protocol configuration:
Console> (enable) show tacacs noaliasLogin authentication tacacs: disabledLogin authentication local: enabledEnable authentication tacacs: disabledEnable authentication local: enabledTacacs key: YappleDappleTacacs login attempts: 3Tacacs timeout: 5 secondsTacacs direct request: disabledTacacs-Server Status---------------------------------------- -------171.69.195.110 primaryConsole> (enable)
Table 8-26 describes the fields in the show tacacs command output.
| Field | Description |
|---|---|
| Login authentication tacacs | Indicates whether login authentication using a TACACS+ server is enabled or disabled. |
| Login authentication local | Indicates whether login authentication using a local password is enabled or disabled. |
| Enable authentication tacacs | Indicates whether enable authentication using a TACACS+ server is enabled or disabled. |
| Enable authentication local | Indicates whether enable authentication using a local password is enabled or disabled. |
| Tacacs key | Identifies the configured TACACS+ key. |
| Tacacs login attempts | Lists the number of failed login attempts allowed. |
| Tacacs timeout | Indicates time in seconds to wait for a response from the TACACS+ server. |
| Tacacs direct request | Indicates whether TACACS+ directed-request option is enabled or disabled. |
| Tacacs-Server | Lists the IP addresses or IP aliases of configured TACACS+ servers. |
| Status | Identifies the primary TACACS+ server. |
set tacacs attempts
set tacacs directedrequest
set tacacs key
set tacacs server
set tacacs timeout
Use the show test command to display the results of diagnostic tests.
show test [mod_num]| mod_num | (Optional) Number of the module. If no number is specified, test statistics are given for the general system as well as for module 1. |
This command has no default setting.
Privileged.
The NMP only applies to module 1; therefore, only the display for module 1 includes the NMP status. If other modules are specified, the NMP status is not displayed.
This example shows how to display general test results for the system and for module 1:
Console> (enable) show test
Environmental Status (. = Pass, F = Fail, U = Unknown)
PS (3.3V): . PS (12V): . PS (24V): . PS1: . PS2: .
Temperature: . Fan: .
Module 1 : 2-port 100BaseTX Supervisor
Network Management Processor (NMP) Status: (. = Pass, F = Fail, U = Unknown)
ROM: . Flash-EEPROM: . Ser-EEPROM: . NVRAM: . MCP Comm: .
EARL Status :
NewLearnTest: .
IndexLearnTest: .
DontForwardTest: .
MonitorTest .
DontLearn: .
FlushPacket: .
ConditionalLearn: .
EarlLearnDiscard: .
EarlTrapTest: .
LCP Diag Status for Module 1 (. = Pass, F = Fail, N = N/A)
CPU : . Sprom : . Bootcsum : . Archsum : N
RAM : . LTL : . CBL : . DPRAM : . SAMBA : N
Saints : . Pkt Bufs : . Repeater : N FLASH : N
MII Status:
Ports 1 2
-----------
N N
SAINT/SAGE Status :
Ports 1 2 3
--------------
. . .
Packet Buffer Status :
Ports 1 2 3
--------------
. . .
Loopback Status :
Ports 1 2 3
--------------
. . .
cat19-lnf> (enable)
Table 8-27 describes the fields in the show test command output.
| Field | Description |
|---|---|
| Environmental Status | Test results that apply to the general system environment. |
| PS (3.3V) | Test results for the 3.3V power supply. |
| PS (12V) | Test results for the 12V power supply. |
| PS (24V) | Test results for the 24V power supply. |
| PS1 | Test results for power supply 1. |
| PS2 | Test results for power supply 2. |
| Temperature | Test results for temperature. |
| Fan | Test results for the fan. |
| Module 1 | Test results that apply to module 1. The module type is indicated as well. |
| Network Management Processor (NMP) Status | Test results that apply to the NMP on the supervisor module. |
| ROM | Test results for ROM. |
| Flash-EEPROM | Test results for the Flash EEPROM. |
| Ser-EEPROM | Test results for serial EEPROM. |
| NVRAM | Test results for the NVRAM. |
| EARL Status | Fields that indicate the EARL status. |
| NewLearnTest | Test results for NewLearn test (EARL). |
| IndexLearnTest | Test results for IndexLearn test (EARL). |
| DontForwardTest | Test results for DontForward test (EARL). |
| MonitorTest | Test results for Monitor test (EARL). |
| DontLearn | Test results for DontLearn test (EARL). |
| FlushPacket | Test results for FlushPacket test (EARL). |
| ConditionalLearn | Test results for ConditionalLearn test (EARL). |
| EarlLearnDiscard | Test results for EarlLearnDiscard test (EARL). |
| EarlTrapTest | Test results for EarlTrap test (EARL). |
| LCP Diag Status for Module 1 | Test results for the specified module. |
| CPU | Test results for the CPU. |
| Sprom | Test results for serial PROM. |
| Bootcsum | Test results for Boot ROM checksum. |
| Archsum | Test results for archive Flash checksum. |
| RAM | Test results for the RAM. |
| LTL | Test results for local target logic. |
| CBL | Test results for color blocking logic. |
| DPRAM | Test results for dual port RAM. |
| SAMBA | Test results for SAMBA chip. |
| Saints | Test results for SAINT chips. |
| Pkt Bufs | Test results for the packet buffers. |
| Repeater | Test results for repeater module. |
| FLASH | Test results for the Flash. |
| MII Status | Test results for MII ports. |
| SAINT/SAGE Status | Test results for individual SAINT/SAGE chip. |
| Packet Buffer Status | Test results for individual packet buffer. |
| Loopback Status | Test results for the loopback test. |
This example shows how to display test results for module 10 (an FDDI module):
Console> (enable) show test 10
Module 10 : 2-port MM MIC FDDI
Module 10 : FDDI Module Status: (. = Pass, F = Fail, U = Unknown)
FDDI Control Processor (FCP) Status:
ROM: . RAM: . Flash-EEPROM: . Dpram: .
Switch Memory Status:
RAM: . Cache-SRAM: . DmpCom: . Loadgen: .
FDDI Status:
Port A Access: . Port B Access: .
Port A Loopback: . Port B Loopback: .
MAC Access: . MAC Buffer R/W: .
MAC Internal LB: . MAC External LB: .
CAM: . . . .
Data Movement Processor (DMP) Status:
Flash-EEPROM: . RAM: . SRAM: . COMM: .
Switch Memory Status:
RAM: . Cache-SRAM: .
FDDI Status:
MAC Access: . MAC Buffer R/W: .
MAC Internal LB: . MAC External LB: . LoadGen:.
FBIGA Access: . FBIGA->MAC Buffer R/W: .
FBIGA->MAC TxDMA: . FBIGA->MAC RxDMA: .
FBIGA->MAC Internal LB:. FBIGA->MAC External LB:. LoadGen:.
Bus Interface Status:
SBIGA Access: . SBIGA->SAGE RxDMA: . SBIGA<-SAGE TxDMA:.
Biga Loop Access: . Biga Loop Rx: . Biga Loop Tx: .
LCP Diag Status for Module 10 (. = Pass, F = Fail, N = N/A)
CPU : . Sprom : . Bootcsum : . Archsum : N
RAM : . LTL : . CBL : . DPRAM : . SAMBA : N
Saints : . Pkt Bufs : . Repeater : N FLASH : N
SAINT/SAGE Status :
Ports 1
--------
.
Packet Buffer Status :
Ports 1
--------
.
Loopback Status :
Ports 1
--------
.
Console> (enable)
Table 8-28 describes the fields in the show test command output for an FDDI module.
| Field | Description |
|---|---|
| Module 10 | Indicates that the subsequent test results apply to the module 10. The module type is indicated as well. |
| FDDI Control Processor (FCP) Status | Fields that indicate the FCP status. |
| ROM | Test results for the ROM. |
| RAM | Test results for the RAM. |
| Flash-EEPROM | Test results for the Flash EEPROM. |
| Dpram | Test results for the dynamic PRAM. |
| Switch Memory Status | Fields that indicate the switch memory status. |
| RAM | Test results for the RAM. |
| Cache-SRAM | Test results for the queue SRAM. |
| DmpCom | Test results for communication block. |
| Loadgen | Test results for MAC LoadGen test. |
| FDDI Status | Fields that indicate FDDI status. |
| Port A Access | Test results for port A PHY register test. |
| Port B Access | Test results for port B PHY register test. |
| Port A Loopback | Test results for port A PHY loopback test. |
| Port B Loopback | Test results for port B PHY loopback test. |
| MAC Access | Test results for MAC register test. |
| MAC Buffer R/W | Test results for MAC buffer memory test. |
| MAC Internal LB | Test results for MAC internal loopback test. |
| MAC External LB | Test results for MAC external loopback test. |
| CAM | Test results for the CAM. |
| Data Movement Processor (DMP) Status | Fields that indicate the DMP status. |
| Flash-EEPROM | Test results for the Flash EEPROM. |
| RAM | Test results for the RAM. |
| SRAM | Test results for the SRAM test. |
| COMM | Test results for communication block. |
| Switch Memory Status | Fields that indicate the switch memory status. |
| RAM | Test results for the RAM. |
| Cache-SRAM | Test results for the queue SRAM. |
| FDDI Status | Fields that indicate FDDI status. |
| MAC Access | Test results for MAC register test. |
| MAC Buffer R/W | Test results for MAC buffer memory test. |
| MAC Internal LB | Test results for MAC internal loopback test. |
| MAC External LB | Test results for MAC external loopback test. |
| LoadGen | Test results for MAC LoadGen test. |
| FBIGA Access | Test results for FBIGA register test. |
| FBIGA->MAC Buffer R/W | Test results for FBIGA buffer memory test. |
| FBIGA->MAC TxDMA | Test results for FBIGA transmit test. |
| FBIGA->MAC RxDMA | Test results for FBIGA receive test |
| FBIGA->MAC Internal LB | Test results for FBIGA internal loopback test. |
| FBIGA->MAC External LB | Test results for FBIGA external loopback test. |
| LoadGen | Test results for FBIGA LoadGen test. |
| Bus Interface Status | Fields that indicate bus interface status. |
Use the show time command to display the current time of day in the system clock.
show timeThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current time:
Console> (enable) show time Mon May 12 1997, 02:54:50 Console> (enable)
The output shows the day of the week, month, day, year, hour, minutes, and seconds.
Use the show timezone command to display the current time zone and offset.
show timezoneThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current time zone and offset:
Console> (enable) show timezone Timezone set to 'pst', offset from UTC is -8 hours Console> (enable)
Use the show trunk command to display trunking information for the switch.
show trunk [mod_num[/port_num]]| mod_num | (Optional) Module number. |
| port_num | (Optional) Port number. |
This command has no default setting.
Switch command.
Normal.
The RSM port displays as a port that is always trunking, with allowed and active VLANs for each VLAN configured on the RSM.
This example shows how to display trunking information for the switch:
Console> (enable) show trunk Port Mode Status -------- --------- ------------ 5/1-2 on trunking Port Vlans allowed on trunk -------- --------------------------------------------------------------------- 5/1-2 1-1000 Port Vlans allowed and active in management domain -------- --------------------------------------------------------------------- 5/1-2 Port Vlans in spanning tree forwarding state and not pruned -------- --------------------------------------------------------------------- 5/1-2 Console> (enable)
Table 8-29 describes the fields in the show trunk command output.
| Field | Description |
|---|---|
| Port | Module and port number(s). |
| Mode | Indicates the trunk administrative status of the port (on, off, auto, or desirable). |
| Status | Indicates whether the port is trunking (trunking or nontrunking). |
| Vlans allowed on trunk | Range of VLANs allowed to go on the trunk (default is 1 to 1000). |
| Vlans allowed and active in management domain | Range of active VLANs within the allowed range. |
| Vlans in spanning tree forwarding state and not pruned | Range of VLANs that actually go on the trunk with Spanning-Tree Protocol forwarding state. |
Use the show users command to show whether the console port is active, and to list all active Telnet sessions with the IP address or IP alias of the originating host.
show users [noalias]| noalias | (Optional) Keyword used to indicate, not to display, the IP alias; the IP address is displayed. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the users of the active Telnet sessions:
Console> (enable) show users Console Port ------------ Active Telnet Sessions User ---------------------------------------- ------------------------------ 172.16.10.75 172.16.10.75 171.31.1.203 Console> (enable)
The output shows the state of the console port (Active or Inactive) and the IP address or IP alias of each active Telnet session.
Use the show version command to display software and hardware version information for switching and supervisor modules only.
show versionThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the software and hardware versions:
Console> (enable) show version
WS-C5000 Software, Version McpSW: 2.3(120) NmpSW: 2.3(120)
Copyright (c) 1995,1996 by Cisco Systems
NMP S/W compiled on May 12 1997, 06:50:40
MCP S/W compiled on May 12 1997, 07:06:41
System Bootstrap Version: 2.2(2)
Hardware Version: 2.0 Model: WS-C5000 Serial #: 004993621
Module Ports Model Serial # Hw Fw Fw1 Sw
------ ----- ---------- --------- ------ ------- ------- --------------------
1 2 WS-X5009 004993621 2.0 2.2(2) 2.2(1) 2.3(120)
2 12 WS-X5213 003630659 1.2 1.4 2.3(120)
3 2 WS-X5101 003389357 1.1 1.1 1.3 2.2(208)
4 2 WS-X5101 002615824 1.0 1.146 1.3 2.1(704)
5 2 WS-X5158 004348990 1.0 1.3 1.3 3.2(3)
DRAM FLASH NVRAM
Module Total Used Free Total Used Free Total Used Free
------ ------- ------ ------ ----- ---- ---- ----- ---- ----
2 32640K 11605K 21035K 8192K 8119K 73K 512K 138K 374K
Table 8-30 describes the fields in the show version command output.
| Field | Description |
|---|---|
| McpSW | Version number of the MCP software. |
| NmpSW | Version number of the NMP software. |
| NMP S/W compiled on | Date and time that the NMP software was compiled. |
| MCP S/W compiled on | Date and time that the MCP software was compiled. |
| System Bootstrap Version | System bootstrap version number. |
| Hardware Version | Hardware version number. |
| Model | Switch model number. |
| Serial # | Switch serial number. |
| Module | Module number. |
| Ports | Number of ports on the module. |
| Model | Model number of the module. |
| Serial # | Serial number of the module. |
| Hw | Hardware version of the module. |
| Fw | Version of the firmware installed on the module. |
| Fw1 | Version of the second firmware image on the module, if present. |
| Sw | Version of the software installed on the module. |
| DRAM | Total dynamic RAM installed on the module. |
| FLASH | Total Flash memory installed on the module. |
| NVRAM | Total NVRAM installed on the module. |
| Used | Amount of NVRAM in use. |
| Available | Amount of NVRAM available. |
| Uptime is | Number of uninterrupted days, hours, minutes, and seconds the system has been up and running. |
Use the show vlan command to display VLAN information.
show vlan [vlan] [trunk | notrunk]| vlan | (Optional) Number of the VLAN. If the VLAN number is not specified, all VLANs are displayed. |
| trunk | (Optional) Keyword that forces the display to show information only on trunk ports. |
| notrunk | (Optional) Keyword that forces the display to show information only on nontrunk ports. |
This command has no default setting.
Switch command.
Normal.
Each Ethernet switch port and Ethernet repeater group belongs to only one VLAN. Trunk, FDDI/CDDI, and ATM ports can be on multiple VLANS.
This example shows how to display information for all VLANs:
Console> (enable) show vlan
VLAN Name Status Mod/Ports, Vlans
---- -------------------------------- --------- ----------------------------
1 default active 1/2
2/1-48
10 ether-test suspend
901 ether-test2 suspend
999 brf-999 suspend
1002 fddi-default active
1003 token-ring-default active 3/7-8,3/10-16
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
901 enet 100901 1500 - - - - - 0 0
999 trbrf 100999 4472 - - 0xe ieee - 0 0
1002 fddi 101002 1500 - 0x0 - - - 0 0
1003 trcrf 101003 1500 0 0x0 - - - 0 0
1004 fdnet 101004 1500 - - 0x0 ieee - 0 0
1005 trbrf 101005 1500 - - 0x0 ibm - 0 0
VLAN AREHops STEHops Backup CRF
---- ------- ------- ----------
1003 7 7 off
Table 8-31 describes the fields in the show vlan command output.
| Field | Description |
|---|---|
| VLAN | VLAN number. |
| Name | Name, if configured, of the VLAN. |
| Status | Status of the VLAN (active or suspend). |
| Mod/Ports, VLANs | Ports that belong to the VLAN. |
| Type | Media type of the VLAN. |
| SAID | Security association ID value for the VLAN. |
| MTU | Maximum transmission unit size for the VLAN. |
| Parent | Parent VLAN, if a parent VLAN exists. |
| RingNo | Ring number for the VLAN, if applicable. |
| BrdgNo | Bridge number for the VLAN, if applicable. |
| Stp | Spanning-Tree Protocol type used on the VLAN. |
| BrdgMode | Bridging mode for this VLAN. Possible values are SRB and SRT. The default is SRB. |
| Trans1 | First translational VLAN used to translate FDDI or Token Ring to Ethernet. |
| Trans2 | Second translational VLAN used to translate FDDI or Token Ring to Ethernet. |
| AREHops | Maximum number of hops for all-routes explorer frames. Possible values are 1 through 13. The default is 7. |
| STEHops | Maximum number of hops for spanning-tree explorer frames. Possible values are 1 through 13. The default is 7. |
| Backup CRF | Whether the TrCRF is a backup path for traffic. |
Use the show vmps command to display VMPS configuration information.
show vmps [noalias]| noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default settings.
Switch command.
Normal.
This example shows how to display VMPS configuration information:
Console> (enable) show vmps VMPS Configuration: ------------------- Management Domain: (null) State: disabled Operational Status: inactive TFTP Server: default TFTP File: vmps-config-database.1 Fallback VLAN: (null) Secure Mode: open VMPS No Domain Req: allow NMP-2.3> (enable)
Table 8-32 describes the fields in the show vmps command output.
| Field | Description |
|---|---|
| Management Domain | Management domain supported by this server. |
| State | Status on whether VMPS is enabled or disabled. |
| Operational Status | VMPS status (active, inactive, or downloading). |
| TFTP Server | IP address of the VMPS server. |
| TFTP File | VMPS configuration filename. |
| Fallback VLAN | VLAN assigned if a VLAN is not assigned to a MAC address in the database. |
| Secure Mode | Secure mode status (open or secure). |
| VMPS No Domain Req | Status on whether the server will accept requests from clients with no domain name. |
Use the show vmps mac command to display the MAC-address-to-VLAN mapping table.
show vmps mac [mac_addr]| mac_addr | (Optional) MAC address for which to see mapping information. If no MAC address is specified, the entire mapping table is displayed. |
This command has no default setting.
Switch command.
Normal.
This example shows the entire MAC-address-to-VLAN mapping table:
Console> show vmps mac MAC Address VLAN Name Last Requestor Port ID Last Accessed Last Response ----------------- --------- --------------- ------- ------------- ------------- 00-00-c0-23-c8-34 Hardware 198.4.222.111 3/5 0, 01:25:30 Success 00-00-c0-25-c9-42 --NONE-- 198.4.222.111 2/1 0, 05:20:00 Denied Console>
Table 8-33 describes the fields in the show vmps mac command output.
| Field | Description |
|---|---|
| MAC Address | MAC address. |
| VLAN Name | VLAN name assigned to the MAC Address. |
| Last Requestor | IP address of the client that last requested VLAN assignment for this MAC address. |
| Port ID | Port ID in the last request. |
| Last Accessed | Time when the last request was processed for this MAC address. |
| Last Response | Response sent by the server for the last request. |
Use the show vmps statistics command to display the VMPS statistics (based on the results of the reconfirm vmps command).
show vmps statisticsThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the VMPS statistics:
Console> show vmps statistics VMPS Statistics: Last Enabled At: 2,01:30:05 Config Requests: 20 Invalid Requests: 0 Status 'Error' Responses: 0 Status 'Deny' Responses: 5 MAC Address of Last Failed Request: 00-60-00-cc-01-02 Console>
Table 8-34 describes the fields in the show vmps statistics command output.
| Field | Description |
|---|---|
| Last Enabled At | Time when the VMPS was enabled. |
| Config Requests | Number of configuration requests. |
| Invalid Requests | Number of invalid requests. |
| Status 'Error' Responses | Number of error responses. |
| Status 'Deny' Responses | Number of "Access Denied" and "Port Shutdown" responses. |
| MAC Address of Last Failed Request | MAC address of the last request for which the response was not successful. |
Use the show vmps vlan command to display all the MAC addresses assigned to a VLAN in the VMPS table.
show vmps vlan vlan_name| vlan_name | Name or number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display all MAC addresses assigned to the Hardware VLAN in the VMPS table:
Console> show vmps vlan Hardware MAC Address VLAN Name Last Requestor Port ID Last Accessed Last Response ----------------- --------- --------------- ------- ------------- ------------- 00-00-c0-23-c8-34 Hardware 198.4.222.111 3/5 0, 01:25:30 Success Console>
Table 8-35 describes the fields in the show vmps vlan command output.
| Field | Description |
|---|---|
| MAC Address | MAC address. |
| VLAN Name | VLAN name assigned to the MAC address. |
| Last Requestor | IP address of the client that last requested VLAN assignment for this MAC address. |
| Port ID | Port ID in the last request. |
| Last Accessed | Time when the last request was processed for this MAC address. |
| Last Response | Response sent by the server for the last request. |
Use the show vmps vlanports command to display ports belonging to a restricted VLAN.
show vmps vlanports vlan_name| vlan_name | Name or number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the VLAN ports in the Engineering VLAN:
Console> show vmps vlanports Engineering VLAN Name Device ID Port ID --------------- --------------- ---------- Engineering 172.20.220.110 2/4 Console>
Table 8-36 describes the fields in the show vmps vlanports command output.
| Field | Description |
|---|---|
| VLAN Name | Restricted VLAN name. |
| Device ID | IP address of the client on which this VLAN is allowed. |
| Port ID | ID of the port on the client on which this VLAN is allowed. |
Use the show vtp domain command to display VTP domain information.
show vtp domainThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display VTP domain information:
Console> (enable) show vtp domain Domain Name Domain Index VTP Version Local Mode -------------------------------- ------------ ----------- ----------- SNMPTEST 1 2 server Vlan-count Max-vlan-storage Config Revision Notifications ---------- ---------------- --------------- ------------- 15 1023 5 disabled Last Updater V2 Mode Pruning PruneEligible on Vlans --------------- ------- -------- ------------------------- 172.20.44.30 enabled disabled 2-1000 Console> (enable)
Table 8-37 describes the fields in the show vtp domain command output.
| Field | Description |
|---|---|
| Domain Name | Name of the VTP domain. |
| Domain Index | Domain index number of the domain. |
| VTP Version | VTP version number. |
| Local Mode | VTP mode (server, client, or transparent). |
| Vlan-count | Total number of VLANs in the domain. |
| Max-vlan-storage | Maximum number of VLANs allowed on the device. |
| Config Revision | VTP revision number, used to exchange VLAN information. |
| Notifications | Notifications to SNMP (enabled or disabled). |
| Last Updater | IP address through which VTP was last updated. |
| V2 Mode | Status on whether VTP V2 mode is enabled or disabled. |
| Pruning | Status on whether VTP pruning is enabled or disabled. |
| PruneEligible on Vlans | VLANs on which pruning is allowed. |
Use the show vtp statistics command to display VTP statistics.
show vtp statisticsThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display VTP statistics:
Console> show vtp statistics
VTP statistics:
summary advts received 0
subset advts received 0
request advts received 0
summary advts transmitted 1
subset advts transmitted 1
request advts transmitted 0
No of config revision errors 0
No of config digest errors 0
VTP pruning statistics:
Trunk Join Trasmitted Join Received Summary advts received from
non-pruning-capable device
-------- --------------- ------------- ---------------------------
5/1-2
Console>
Table 8-38 describes the fields in the show vtp statistics command output.
| Field | Description |
|---|---|
| summary advts received | Total number of summary advt received. |
| subset advts received | Total number of subset advt received. |
| request advts received | Total number of request advts received. |
| summary advts transmitted | Total number of summary advts transmitted. |
| subset advts transmitted | Total number of subset advts transmitted. |
| request advts transmitted | Total number of request advts transmitted. |
| No of config revision errors | Number of config revision errors that have occurred. |
| No of config digest errors | Number of config revision digest errors that have occurred. |
| Trunk | Trunk port participating in VTP pruning. |
| Join Trasmitted | Number of VTP-Pruning Joins transmitted. |
| Join Received | Number of VTP-Pruning Joins received. |
| Summary advts received from nonpruning-capable device | Number of Summary advts received from nonpruning-capable devices. |
|
|