|
This chapter describes the show commands used in the Catalyst 5000 series switch command-line interface (CLI). For a summary of the available switch CLI commands, refer to the "Switch Command Quick Reference" chapter. For more information about using 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.
The following 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 Address Resolution Protocol (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.
The following 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 Media Access Control (MAC) addresses.
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.
The following 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 6-1 describes the fields in the show bridge output.
Field | Description |
---|---|
APaRT Enabled | Indicates whether APaRT1 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 IPX2 packets across various media. |
set bridge apart
set bridge ipx 8022toether
set bridge ipx 8023rawtofddi
set bridge ipx snaptoether
set ip fragmentation
Use the show cam command to display the content-addressable memory (CAM) table.
show cam {dynamic | static | permanent | system} [vlan]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.
The following 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.
The following 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 Cisco Discovery Protocol (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.
The following 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)
The following 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)
The following example shows how to display CDP information for a particular port:
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 Cisco Group Management Protocol (CGMP) statistical information.
show cgmp statistics [vlan_id]vlan_id | (Optional) VLAN number for which to display CGMP statistics. |
This command has no default setting.
Switch command.
Normal.
The following example shows how to display CGMP statistics for VLAN 2:
Console>
show cgmp statistics 8
CGMP enabled
CGMP statistics for vlan 1:
valid rx pkts received 48
invalid rx pkts received 0
valid cgmp joins received 23
valid cgmp leaves received 25
valid igmp leaves received 25
valid igmp queries received 22
igmp gs queries transmitted 25
igmp leaves transmitted 25
failures to add GDA to EARL 0
topology notifications received 0
152> (enable)
Use the show config privileged command to display the current system configuration.
show configThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
The following 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
!
<display truncated>
end
Console> (enable)
Use the show dvlan statistics command to display statistics based on the result of the reconfirm vmps command.
show dvlan statisticsThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The following example shows how to display statistics based on the result of the reconfirm vmps command:
Console> show dvlan statistics Reconfirmation status --------------------- VMPS Action: In Progress VMPS Last Accessed: 172.20.26.150 Last Reconfirmation: Mon May 12 1997, 14:23:10 Console>
Table 6-2 describes the fields shown in the show dvlan statistics command output.
Field | Description |
---|---|
VMPS Action | Result of the last reconfirm vmps command. Possible values are: In Progress, Success, No Response, No Primary VMPS, No Dynamic Port, No Host, or Other. |
VMPS Last Accessed | IP Address of VMPS server accessed. |
Last Reconfirmation | Time at which reconfirmation was performed. |
Use the show fddi command to display the settings for the Fiber Distributed Data Interface (FDDI) and Copper Distributed Data Interface (CDDI) modules.
show fddiThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The following 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 6-3 describes the fields shown 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 | LER1-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 information. |
This command has no default setting.
Switch command.
Normal.
The following 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 6-4 describes the fields shown 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 flashThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The following example shows how to list the Flash information:
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>
download
reset
show version
upload
Use the show help command to list the available show commands.
show helpThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The following example shows how to list the show commands available in privileged mode:
Console> (enable) show help
Show commands:
-----------------------------------------------------------------------
show alias Show aliases for commands
show arp Show ARP table
show bridge Show bridge information
show cam Show CAM table
show cdp Show Cisco Discovery Protocol Information
show cgmp Show CGMP statistics
show config Show system configuration
show dvlan Show dynamic vlan statistics
show fddi Show FDDI module entries
show fddicam Show FDDI module CAM table
show flash Show system flash information
show help Show this message
show interface Show network interfaces
show ip Show IP Information
show log Show log information
show logging Show system logging information
show mac Show MAC information
show module Show module information
show multicast Show multicast information
show netstat Show network statistics
show ntp Show ntp statistics
show port Show port information
show snmp Show SNMP information
show span Show switch port analyzer information
show spantree Show spantree information
show summertime Show state of summertime information
show system Show system information
show tacacs Show TACACS information
show test Show results of diagnostic tests
show time Show time of day
show timezone Show the current timezone offset
show trunk Show trunk ports
show users Show active Admin sessions
show version Show version information
show vlan Show Virtual LAN information
show vmps Show VMPS information
show vtp Show VTP Information
Console> (enable)
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.
The following example shows how to display sl0 and sc0:
Console> show interface
sl0: flags=51<UP,POINTOPOINT,RUNNING>
slip 0.0.0.0 dest 0.0.0.0
sc0: flags=63<UP,BROADCAST,RUNNING>
vlan 1 inet 172.16.25.130 netmask 255.255.0.0 broadcast 172.16.255.255
Console>
Table 6-5 describes the fields shown in the show interface command output.
Field | Description |
---|---|
sl0 | Indicates information on the SLIP1 interface. |
flags | Flags indicating the interface state (decoded in the subsequent field). |
<UP,POINTOPOINT, RUNNNING> | 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 VLAN2 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.
The following 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 Domain Name System (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.
The following 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 6-6 describes the fields shown 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 help command to list the show ip commands.
show ip helpThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The following example shows how to list the show ip commands:
Console> (enable) show ip help
Show ip commands:
----------------------------------------------------------------------
show ip alias Show aliases for IP Addresses
show ip dns Show IP DNS information
show ip route Show IP routing table
show ip permit Show IP Permit List
Console> (enable)
Use the show ip permit privileged 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.
The following 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 6-7 describes the fields shown 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
show snmp
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.
The following 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 6-8 describes the fields shown in the show ip route command output.
Field | Description |
---|---|
Fragmentation | Indicates whether IP fragmentation is enabled or disabled. |
Redirect | Indicates whether ICMP1 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 | 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 fragmentation
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.
The following example shows how to display the error log for a specific module:
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 or keywords.
This command has no default setting.
Switch command.
Normal.
The following example shows the default system message log configuration:
Console <enable>
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 dvlan 2 2 earl 2 2 fddi 2 2 ip 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 6-9 describes the fields shown 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 | 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. | 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.
The following example shows how to display system messages from the internal buffer:
Console <enable>
show logging buffer 4
11/4/96,13:52:46:SYS-5:Module 1 is online
11/4/96,13:52:52:SYS-5:Module 5 is online
11/4/96,13:52:54:SYS-5:Module 3 failed due to CBL0, CBL1, or CBL2 Error
11/4/96,13:52:54:SYS-5:Module 3 failed configuration
Console <enable>
show logging buffer -4
11/4/96,13:52:54:SYS-5:Module 3 failed configuration
11/4/96,13:53:04:SYS-5:Module 4 is online
11/4/96,13:53:31:SNMP-6:Subagent 2 connected
11/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 | Number of the module. If a number is not specified, all modules are shown. |
port_num | Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
The following example shows how to display MAC information:
Console> (enable) show mac 5
MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad
-------- ---------- ---------- ---------- ---------- ---------- ----------
5/1-2 1 2189 0 1 1 2188
MAC Dely-Exced MTU-Exced In-Discard Lrn-Discrd In-Lost Out-Lost
-------- ---------- ---------- ---------- ---------- ---------- ----------
5/1-2 0 0 0 0 0 0
MAC SMT-Address Curr-Path TReq TNeg TMax TVX
------- ----------------- ---------- -------- -------- -------- --------
5/1-2 00:06:7c:b3:b4:74 primary 165000 165000 165004 2509
MAC Upstream-Nbr Downstream-Nbr Old-Upstrm-Nbr Old-Downstrm-Nbr
------- ----------------- ----------------- ----------------- -----------------
5/1-2 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00
MAC Rcv-Smt Xmit-Smt Rcv-llc Xmit-llc Tvx-Exp-Ct RingOp-Ct
------- ---------- ---------- ---------- ---------- ---------- ----------
5/1-2 0 0 1 2189 0 1
Last-Time-Cleared
--------------------------
Thu May 29 1997, 03:24:58
Table 6-10 describes the fields shown 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 MTU1 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). |
Out-Lost | Number of outgoing frames that were lost before being forwarded (due to insufficient buffer space). |
SMT-Address | SMT2 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 LLC3 frames received by the port. |
Xmit-llc | Number of LLC frames transmitted by the port. |
Tvx-Exp-Ct | Number of times the TVX4 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 module command to display module status 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.
The following example shows how to display module status and information:
Console> show module
Mod Module-Name Ports Module-Type Model Serial-Num Status
--- ------------------- ----- --------------------- -------- --------- -------
1 Supervisor 2 100BaseTX Supervisor WS-X5009 002650014 ok
2 Management 24 10BaseT Ethernet WS-X5010 002475046 ok
4 Marketing 48 4 Segment 10BaseT Eth WS-X5020 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
Mod SMT User-Data T-Notify CF-St ECM-St Bypass
--- --------------------------- -------- -------- --------- -------
4 Catalyst-5000 16 c-Wrap-B in absent
Console>
Table 6-11 describes the fields shown in the show module command output.
Field | Description |
---|---|
Mod | Module number. |
Module-Name | Name of the module. |
Ports | Number of ports on the module. |
Module-Type | Module type (such as 10BaseT Ethernet). |
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. |
Hw | Hardware version of the module. |
Fw | Firmware version on 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. |
set fddi tnotify
set fddi userdata
set module disable
set module enable
set module help
set module name
Use the show multicast group privileged 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.
The following 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 6-12 describes the fields shown in the show multicast group command output.
Field | Description |
---|---|
CGMP enabled | Indicates 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 | Shows the 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 router
Use the show multicast router privileged 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.
The following example show how to display the multicast router configuration:
Console> (enable)show multicast router 4/9
CGMP enabled
Port Vlan
--------- ----------------
4/9 * 1,5,200-203
Total Number of Entries = 1
'*' - ConfiguredConsole> (enable)
show multicast router 5
CGMP enabled
Port Vlan
--------- ----------------
3/1 * 5
4/9 * 5
Total Number of Entries = 2
'*' - ConfiguredConsole> (enable)
show multicast router cgmp 5
CGMP enabled
Port Vlan
--------- ----------------
4/9 * 5
Total Number of Entries = 1
'*' - Configured Console> (enable)
Table 6-13 describes the fields shown 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 Transmission Control Protocol/Internet Protocol (TCP/IP) protocol stack.
show netstat [tcp | udp | ip | icmp | routes | stats | interfaces]tcp | (Optional) Keyword used to show TCP statistics. |
udp | (Optional) Keyword used to show User Datagram Protocol (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.
The following 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>
The following 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 6-14 describes the fields shown 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. |
The following 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 6-15 describes the fields shown 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. |
The following 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 6-16 describes the fields shown 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. |
The following 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 6-17 describes the fields shown in the show netstat icmp command output.
Field | Description |
---|---|
Redirect enabled | Indicates 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 | Begins 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. |
The following 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 6-18 describes the fields shown 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. |
The following 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 6-19 describes the fields shown 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 help
set ip route
Use the show ntp command to display the current Network Time Protocol (NTP) status.
show ntpThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
The following 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 6-20 describes the fields shown in the show ntp command output.
Field | Description |
---|---|
Current time | Current system time. |
Timezone | Time zone and the offset in hours from UTC.1 |
Summertime | Time zone used for daylight saving time, and whether the daylight savings time adjustment is enabled or disabled. |
Last NTP update | Time of the last NTP update. |
Broadcast client mode | Indicates whether NTP broadcast client mode is enabled or disabled. |
Broadcast delay | Configured NTP broadcast delay. |
Client mode | Indicates 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. |
port_num | (Optional) Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
The following example shows how to display the status and counters for all ports:
Console> (enable) show port
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
1/1 notconnect 1 normal half 100 100BaseTX
1/2 notconnect 1 normal half 100 100BaseTX
3/1 notconnect 1 normal auto auto 10/100BaseTX
3/2 notconnect 1 normal auto auto 10/100BaseTX
3/3 notconnect 1 normal auto auto 10/100BaseTX
3/4 notconnect 1 normal auto auto 10/100BaseTX
3/5 notconnect 1 normal auto auto 10/100BaseTX
3/6 notconnect 1 normal auto auto 10/100BaseTX
3/7 notconnect 1 normal auto auto 10/100BaseTX
3/8 notconnect 1 normal auto auto 10/100BaseTX
3/9 notconnect 1 normal auto auto 10/100BaseTX
3/10 notconnect 1 normal auto auto 10/100BaseTX
3/11 notconnect 1 normal auto auto 10/100BaseTX
3/12 notconnect 1 normal auto auto 10/100BaseTX
4/1 connected 1 normal a-half a-10 10/100BaseTX
4/2 notconnect 1 normal auto auto 10/100BaseTX
4/3 notconnect 1 normal auto auto 10/100BaseTX
4/4 notconnect 1 normal auto auto 10/100BaseTX
4/5 notconnect 1 normal auto auto 10/100BaseTX
4/6 notconnect 1 normal auto auto 10/100BaseTX
4/7 notconnect 1 normal auto auto 10/100BaseTX
4/8 notconnect 1 normal auto auto 10/100BaseTX
4/9 notconnect 1 normal auto auto 10/100BaseTX
4/10 notconnect 1 normal auto auto 10/100BaseTX
4/11 notconnect 1 normal auto auto 10/100BaseTX
4/12 notconnect 1 normal auto auto 10/100BaseTX
5/1 notconnect 1 normal half 100 CDDI
5/2 notconnect 1 normal half 100 CDDI
Port Security Secure-Src-Addr Last-Src-Addr Shutdown Trap
----- -------- ----------------- ----------------- -------- --------
1/1 disabled No disabled
1/2 disabled No disabled
3/1 disabled No disabled
3/2 disabled No disabled
3/3 disabled No disabled
3/4 disabled No disabled
3/5 disabled No disabled
3/6 disabled No disabled
3/7 disabled No disabled
3/8 disabled No disabled
3/9 disabled No disabled
3/10 disabled No disabled
3/11 disabled No disabled
3/12 disabled No disabled
4/1 disabled No disabled
4/2 disabled No disabled
4/3 disabled No disabled
4/4 disabled No disabled
4/5 disabled No disabled
4/6 disabled No disabled
4/7 disabled No disabled
4/8 disabled No disabled
4/9 disabled No disabled
4/10 disabled No disabled
4/11 disabled No disabled
4/12 disabled No disabled
Port Trap
----- --------
5/1 disabled
5/2 disabled
Port Broadcast-Limit Broadcast-Drop
-------- --------------- --------------
1/1 - -
1/2 - -
3/1 - 0
3/2 - 0
3/3 - 0
3/4 - 0
3/5 - 0
3/6 - 0
3/7 - 0
3/8 - 0
3/9 - 0
3/10 - 0
3/11 - 0
3/12 - 0
4/1 - 0
4/2 - 0
4/3 - 0
4/4 - 0
4/5 - 0
4/6 - 0
4/7 - 0
4/8 - 0
4/9 - 0
4/10 - 0
4/11 - 0
4/12 - 0
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
1/1 0 0 0 0 0
1/2 0 0 0 0 0
3/1 0 0 0 0 0
3/2 0 0 0 0 0
3/3 0 0 0 0 0
3/4 0 0 0 0 0
3/5 0 0 0 0 0
3/6 0 0 0 0 0
3/7 0 0 0 0 0
3/8 0 0 0 0 0
3/9 0 0 0 0 0
3/10 0 0 0 0 0
3/11 0 0 0 0 0
3/12 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 0 0 0 0 0 0 0
1/2 0 0 0 0 0 0 0
3/1 0 0 0 0 0 0 0
3/2 0 0 0 0 0 0 0
3/3 0 0 0 0 0 0 0
3/4 0 0 0 0 0 0 0
3/5 0 0 0 0 0 0 0
3/6 0 0 0 0 0 0 0
3/7 0 0 0 0 0 0 0
3/8 0 0 0 0 0 0 0
3/9 0 0 0 0 0 0 0
3/10 0 0 0 0 0 0 0
3/11 0 0 0 0 0 0 0
3/12 0 0 0 0 0 0 0
4/1 1 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
----- -------- ---------- ---- ---- --------------- ---------- ---------- ------
5/1 isolated connecting A U no 9 8 7 0 0 40
5/2 isolated connecting B U no 9 8 7 0 0 40
Last-Time-Cleared
--------------------------
Fri May 9 1997, 03:22:20
Table 6-21 describes the fields shown 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 | VLAN(s) to which the port belongs. |
Level | Shows the level setting for the port (normal or high). |
Duplex | Duplex setting for the port (auto, full, half, a-half, a-full). |
Speed | Speed setting for the port (auto, 10, 100, 155, a-10, a-100). |
Type | Port type (10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, 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 shutdown 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/multicast 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 CRC1) 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 on the 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 | Shows 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-Coll | Number of late collisions (collisions outside the collision domain). |
Excess-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 an LER2 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 LEM3 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 PHY4 line state before advancing to the next PCM5 state. |
Last-Time-Cleared | Last time the port counters were cleared. |
clear counters
set port
set port level
set port name
set vlan
Use the show port channel command to display Fast EtherChannel information for a specific module or port.
show port channel [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.
If module or port is not specified, Fast EtherChannel information is shown for all channeling ports on all modules.
The following 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 off not channel
4/6 notconnect off not channel
4/7 notconnect off not channel
4/8 notconnect off 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>
Table 6-22 describes the fields shown in the show port channel command output.
Field | Description |
---|---|
Port | Module and port number. |
Status | Channeling status of the port (connected, notconnect). |
Channel mode | Indicates whether Fast EtherChannel is on or off on the port. |
Channel status | Indicates whether the port is channeling (channel, not channel). |
Neighbor device | Lists the neighboring device with which the port is channeling. |
Neighbor port | Lists the port on the neighboring device with which the port is channeling. |
Use the show snmp command to display Simple Network Management Protocol (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.
The following example shows how to display the community strings in normal mode:
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 6-23 describes the fields shown in the show snmp command output.
Field | Description |
---|---|
RMON | Indicates whether RMON1 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. |
set snmp community
set snmp help
set snmp rmon
set snmp trap
Use the show span command to display Switched Port Analyzer (SPAN) information.
show spanThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
The following example shows how to display port monitoring information:
Console> show span Source Destination Direction Status ------------ ------------ ---------------- -------- VLAN 5 Port 3/11 transmit/receive enabled Console>
Table 6-24 describes the fields shown in the show span command output.
Field | Description |
---|---|
Source | Source port or VLAN for SPAN information. |
Destination | Destination port for SPAN information. |
Direction | Indicates whether transmit, receive, or transmit/receive information is monitored. |
Status | Indicates whether SPAN is enabled or disabled. |
Use the show spantree command to display spanning-tree information for a VLAN.
show spantree [vlan]vlan | (Optional) Number of the VLAN. If the VLAN number is not specified, the default is VLAN 1. |
mod_num | Number of the module. |
port_num | Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
The following example shows how to display the spantree configuration for VLAN 5:
Console> (enable) show spantree 1 VLAN 5 Spanning tree enabled Designated Root 00-60-47-ca-ff-04 Designated Root Priority 32768 Designated Root Cost 0 Designated Root Port 1/0 Root Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec Bridge ID MAC ADDR 00-60-47-ca-ff-04 Bridge ID Priority 32768 Bridge Max Age 20 sec Hello Time 2 sec Forward Delay 15 sec Port Vlan Port-State Cost Priority Fast-Start -------- ---- ------------- ----- -------- ---------- 3/9 5 not-connected 10 32 disabled 3/10 5 not-connected 10 32 disabled 3/11 5 not-connected 10 32 disabled 3/12 5 not-connected 10 32 disabled Console> (enable)
Table 6-25 describes the fields shown in the show spantree command output.
Field | Description |
---|---|
VLAN | VLAN for which spanning-tree information is shown. |
Spanning tree enabled | Indicates 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 | Indicates the 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 | Shows how often the root-bridge sends BPDUs. |
Forward Delay | Shows how much time the port should spend 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 | Bridge Hello time. |
Forward Delay | Bridge forward delay. |
Port | Port number. |
Vlan | VLAN to which the port belongs. |
Port-State | Indicates 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 | Indicates whether the port is configured to use the fast-start feature. |
set spantree disable
set spantree enable
set spantree fwddelay
set spantree hello
set spantree maxage
set spantree portcost
set spantree portpri
set spantree priority
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.
The following 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.
The following 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 6-26 describes the fields shown 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 | Indicates 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 | Indicates 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 privileged command to display the Terminal Access Controller Access Control System Plus (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.
The following example shows how to display the TACACS+ protocol configuration:
Console> (enable) show tacacs noaliasLogin authentication tacacs: disabled
Login authentication local: enabled
Enable authentication tacacs: disabled
Enable authentication local: enabled
Tacacs key: YappleDapple
Tacacs login attempts: 3
Tacacs timeout: 5 seconds
Tacacs direct request: disabled
Tacacs-Server Status
---------------------------------------- -------
171.69.195.110 primary
Console> (enable)
Table 6-27 describes the fields shown 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 | Configured TACACS+ key. |
Tacacs login attempts | Number of failed login attempts allowed. |
Tacacs timeout | 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 privileged 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.
There are three possible status codes for each test: . = Pass, F = Fail, U = Unknown.
The Network Management Processor (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.
The following 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 6-28 describes the fields shown in the show test command output.
Field | Description |
---|---|
Environmental Status | Indicates that the subsequent test results apply to the general system environment. |
PS (3.3V) | Test results for the 3.3-V power supply. |
PS (12V) | Test results for the 12-V power supply. |
PS (24V) | Test results for the 24-V 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 | Indicates that the subsequent test results apply to module 1. The module type is indicated as well. |
Network Management Processor (NMP) Status | Indicates that the subsequent test results apply to the NMP on the supervisor module. |
ROM | Test results for ROM. |
Flash-EEPROM | Test results for the Flash EEPROM.1 |
Ser-EEPROM | Test results for serial EEPROM. |
NVRAM | Test results for the NVRAM.2 |
EARL Status | Indicates that the subsequent fields indicate the EARL3 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 | Indicates that the subsequent fields indicate test results for the specified module. |
CPU | Test results for the CPU. |
Sprom | Test results for serial PROM.4 |
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 MII5 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. |
The following example shows how to display test results for module 10 (in this case, a 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 6-29 describes the fields shown 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 | Indicates that the subsequent fields 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 | Indicates that the subsequent fields 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 | Indicates that the subsequent fields 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 BPHY 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 | Indicates that the subsequent fields 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 | Indicates that the subsequent fields indicate the switch memory status. |
RAM | Test results for the RAM. |
Cache-SRAM | Test results for the queue SRAM. |
FDDI Status | Indicates that the subsequent fields 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 | Indicates that the subsequent fields 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.
The following 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.
The following 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)
The display shows the configured time zone and the number of hours the current time is offset from UTC.
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.
The following 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 6-30 describes the fields shown 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 not-trunking). |
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.
The following 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.
show versionThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
The show version command is used for switching and supervisor modules only.
The following 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)
Module DRAM FLASH NVRAM Used Available
------ ------- ------- ------- ------- ---------
1 20480K 4096K 256K 79K 177K
Uptime is 0 day, 4 hours, 22 minutes
Console> (enable)
Table 6-31 describes the fields shown 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 | Shows the 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 | Shows how many uninterrupted days, hours, minutes, and seconds the system has been up and running. |
Use the show vlan command to display virtual LAN information.
show vlan [vlan] [trunk | notrunk]vlan | (Optional) Number of the VLAN to display. |
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 non-trunk 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.
The following example shows how to display VLAN information for all ports:
Console> (enable) show vlan
VLAN Name Status Mod/Ports
---- -------------------------------- --------- ----------------------------
1 default active 1/1-2
2/1-12
3/1-2
4/1-2
10 VLAN0010 active
20 VLAN0020 active
30 VLAN0030 active
40 VLAN0040 active
50 VLAN0050 active
100 VLAN0100 active
120 VLAN0120 active
130 VLAN0130 active
140 VLAN0140 active
150 VLAN0150 active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- ------ ------
1 enet 100001 1500 - - - - 0 0
10 enet 100010 1500 - - - - 0 0
20 enet 100020 1500 - - - - 0 0
30 enet 100030 1500 - - - - 0 0
40 enet 100040 1500 - - - - 0 0
50 enet 100050 1500 - - - - 0 0
100 enet 100100 1500 - - - - 0 0
120 enet 100120 1500 - - - - 0 0
130 enet 100130 1500 - - - - 0 0
140 enet 100140 1500 - - - - 0 0
150 enet 100150 1500 - - - - 0 0
1002 fddi 101002 1500 0 0 - - 0 0
1003 tring 101003 1500 0 0 - - 0 0
1004 fdnet 101004 1500 - - 0 ieee 0 0
1005 trnet 101005 1500 - - 0 ieee 0 0
Console> (enable)
Table 6-32 describes the fields shown in the show vlan command output.
Field | Description |
---|---|
VLAN | VLAN number. |
Name | Name of the VLAN, if configured. |
Status | Indicates the status of the VLAN (active or suspend). |
Mod/Ports | Lists the ports that belong to the VLAN. |
Type | Identifies the media type of the VLAN. |
SAID | SAID1 value for the VLAN. |
MTU | MTU2 size for the VLAN. |
Parent | Shows the parent VLAN, if a parent VLAN exists. |
RingNo | Ring number for the VLAN, if applicable. |
BridgeNo | Bridge number for the VLAN, if applicable. |
Stp | Spanning-Tree Protocol type used on the VLAN. |
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. |
Use the show vmps command to display VLAN Membership Policy Server (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.
The following 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 6-33 describes the fields shown in the show vmps command output.
Field | Description |
---|---|
Management Domain | Management domain supported by this server. |
State | Indicates whether VMPS is enabled or disabled. |
Operational Status | Indicates the 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 | Indicates 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_address]mac_address | (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.
The following 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 6-34 describes the fields shown 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 server command to display the VMPS IP address.
show vmps server [noalias]noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
The following example shows how to display the VMPS IP address:
Console> (enable) show vmps server
VMPS domain server VMPS status
---------------------------------------- -----------
192.0.0.6
192.0.0.1 primary
192.0.0.9
Console> (enable)
The display shows the IP addresses of the configured VMPS servers, and indicates which server is the primary VMPS server.
clear vmps server
set vmps server
Use the show vmps statistics command to display the VMPS statistics.
show vmps statisticsThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
The following 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 6-35 describes the fields shown 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_namevlan_name | Name or number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
The following 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 6-36 describes the fields shown 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_namevlan_name | Name or number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
The following 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 6-37 describes the fields shown 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 Vlan Trunk Protocol (VTP) domain information.
show vtp domainThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
The following example shows how to display VTP domain information:
Console> (enable) show vtp domain
Domain Name Domain Index VTP Version Local Mode
-------------------------------- ------------ ----------- -----------
SNMPTEST 1 1 server
Vlan-count Max-vlan-storage Config Revision Notifications
---------- ---------------- --------------- -------------
15 1023 5 disabled
Last Updater Pruning PruneEligible on Vlans
--------------- -------- -------------------------
172.20.44.30 disabled 2-1000
Console> (enable)
Table 6-38 describes the fields shown 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. |
Pruning | Indicates whether VTP pruning is enabled or disabled. |
PruneEligible on Vlans | VLANs on which pruning is allowed. |
Use the show vtp help command to display the available show vtp commands.
show vtp helpThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display a listing of the show vtp commands:
Console> show vtp help
Show vtp commands:
-----------------------------------------------------------------------------
show vtp domain Show VTP domain information
show vtp help Show this message
show vtp statistics Show VTP statistics
Console>
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.
The following 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 6-39 describes the fields shown 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 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 non-pruning-capable device | Number of Summary advts received from non-pruning-capable devices. |
|