|
|
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 Quick Reference" chapter.
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> show alias shint show interface cc clear config shf show flash sip show ip route Console>
Use the show arp command to display the ARP table.
show arp [ip_addr | hostname][noalias]| ip_addr | (Optional) Number of the IP address. |
| hostname | (Optional) Name of the host. |
| noalias | (Optional) Keyword that forces the display to show only IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
"ARP Aging time" is the period of time that indicates when an ARP entry is removed from the ARP table. Set this value by entering the set arp agingtime command. The remaining lines of the display show the mappings of IP addresses (or IP aliases) to MAC addresses.
Use the ip_addr or the hostname options to specify a specific IP host when the ARP cache is large.
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>
clear arp
set arp
set arp agingtime
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 | (Optional) 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> 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>
Table 6-1 describes the fields in the show bridge output.
| Field | Description |
|---|---|
| APaRT Enabled | Status of whether APaRT is enabled or disabled. |
| FDDICHECK Enabled | Status of whether FDDICHECK is enabled or disabled. |
| IP fragmentation Enabled | Status of whether IP fragmentation is enabled or disabled. |
| Default IPX translations | 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) Keyword used to display only the number of CAM entries. |
| 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.
If you display the output associated with the MAC address of an ATM dual PHY OC-12 module, additional information is displayed, including: VCD, VPI, VCI, and VC type.
This example shows how to display dynamic CAM entries for all VLANs:
Console> show cam dynamic * = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry. VLAN Dest MAC/Route Des Destination Ports or VCs / [Protocol Type] ---- ------------------ ---------------------------------------------------- 1 00-60-5c-86-5b-81 4/1 [ALL] 1 00-60-2f-35-48-17 4/1 [ALL] 1 00-80-24-f3-47-20 1/2 [ALL] 1 00-60-09-78-96-fb 4/1 [ALL] 1 00-80-24-1d-d9-ed 1/2 [ALL] 1 00-80-24-1d-da-01 1/2 [ALL] 1 08-00-20-7a-63-01 4/1 [ALL] Total Matching CAM Entries Displayed = 7 Console>
This example shows the output associated with the MAC address of an ATM dual PHY OC-12 module, which includes the dynamic CAM entries for all VLANs:
Console> show cam dynamic VLAN Dest MAC/Route Des Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 12 00-14-14-14-14-1c 6/1 12 00-14-14-14-14-1d 6/1 12 00-14-14-14-14-1a 6/1 12 00-14-14-14-14-1b 6/1 12 00-14-14-14-14-18 6/1 12 00-14-14-14-14-19 6/1 12 00-14-14-14-14-16 6/1 12 00-14-14-14-14-17 6/1 12 00-14-14-14-14-14 6/1 12 00-14-14-14-14-15 6/1 6 00-14-14-14-14-16 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-17 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-14 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-15 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-1a 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-1b 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-18 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-19 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-1c 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 6 00-14-14-14-14-1d 4/1 VCD:98 VPI:0 VCI:127 Type: LANE Data Direct 3 00-14-14-14-14-14 4/1 VCD:101 VPI:0 VCI:130 Type: LANE Data Direct 3 00-14-14-14-14-15 4/1 VCD:101 VPI:0 VCI:130 Type: LANE Data Direct Do you wish to continue y/n [n]? q Total Matching CAM Entries Displayed = 21 Console>
Table 6-2 describes the fields in the ATM dual PHY OC-12 module show cam dynamic output.
| Field | Description |
|---|---|
| VCD | VCD of the VC. |
| VPI | VPI of the VC. |
| VCI | VCI of the VC. |
| Type | Type of virtual circuit ( LANE Data Direct, LANE bus, or AAL5SNAP PVC). |
This example shows routers listed as the CAM entries. If the MAC address belongs to a router, it is shown by appending an "R" to the MAC address. If a VLAN is specified, then only those CAM entries matching the VLAN number are displayed.
Console> show cam 00-00-81-01-23-45 * = Static Entry. + = Permanent Entry. # = System Entry. R = Router Entry Router Watergate with IP address 172.25.55.1 has CAM entries: VLAN Dest MAC/Route Des Destination Ports or VCs ---- ------------------ ---------------------------------------------------- 1 00-00-81-01-23-45R 2/9 [IP] 2 00-00-81-01-23-45R 2/10 [IP] Total Matching CAM Entries = 2 Console>
clear cam
set cam
show config
show cam agingtime
show cam router
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> 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>
Use the show cam mlsrp command to display the specified router entries in the multilayer switching forwarding table. If you can specify a VLAN number, only the router MAC addresses corresponding to the VLAN are displayed.
show cam mlsrp {ip_addr} [vlan]| ip_addr | IP address of the router, or name of the router if DNS is enabled. |
| vlan | (Optional) Number of the VLAN. If you do not specify a VLAN, all VLANs are displayed. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display all CAM entries for the specified router:
Console>(enable) show cam mlsrp 172.20.22.1 VLAN Destination MAC Destination Ports or VCs Xtag Status ---- ------------------- ------------------------------------- 1 00-00-81-01-23-45R 2/9 5 H 2 00-00-81-01-23-45R 2/10 5 H Total Matching CAM Entries Displayed = 2 Console>(enable)
show cam
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> 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>
This example shows how to display detailed CDP information:
Console> 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 Mar 12 1998 15:03:03 NMP S/W compiled on Mar 12 1998 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>
This example shows how to display CDP information for port 1 on module 2:
Console> show cdp port 2/1 Port CDP Status Message-Interval ---- ---------- ---------------- 2/1 enabled 60 Console>
Use the show cgmp leave command to display the status of the CGMP leave feature.
show cgmp leaveThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display the status of the CGMP leave feature:
Console> show cgmp leave CGMP: enabled CGMP leave: enabled Console>
Use the show cgmp statistics command to display CGMP statistics.
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.
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 211915 invalid rx pkts received 0 valid cgmp joins received 211729 valid cgmp leaves received 186 valid igmp leaves received 0 valid igmp queries received 3122 igmp gs queries transmitted 0 igmp leaves transmitted 0 failures to add GDA to EARL 0 topology notifications received 80 number of CGMP packets dropped 2032227Console>
Table 6-3 describes the fields in the show cgmp statistics output.
| Field | Description |
|---|---|
| Valid rx pkts received | Number of valid CGMP packets received. |
| Invalid rx pkts received | Number of invalid CGMP packets received. |
| valid cgmp joins received | Number of CGMP group-specific queries received. |
| valid cgmp leaves received | Number of CGMP leaves received. |
| valid igmp leaves received | Number of IGMP leaves received. |
| valid igmp queries received | Number of IGMP reports received. |
| igmp gs queries transmitted | Number of IGMP Group Specifc-equivalent queries transmitted by the switch. |
| igmp leaves transmitted | Number of IGMP leaves transmitted by the swtich. |
| failures to add GDA to EARL | Number of times the switch failed to add a multicast entry (Group Destination Address, or GDA) to the EARL table. |
| topology notifications received | Number of topology change notifications received by the switch. |
| number of CGMP packets dropped | Number of IGMP packets dropped by the switch. |
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.
Normal.
This example shows the (partial) contents of a configuration file:
Console> 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>
Use the show counters command to display hardware counters for a port.
show counters mod_num/port_num| mod_num | Number of the module. |
| port_num | Number of the port. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the counters for port 1 on module 3:
64 bit counters 0 ifHCInOctets = 0 1 ifHCInUcastPkts = 0 2 ifHCInMulticastPkts = 0 3 ifHCInBroadcastPkts = 0 4 ifHCOutOctets = 0 5 ifHCOutUcastPkts = 0 6 ifHCOutMulticastPkts = 0 7 ifHCOutBroadcastPkts = 0 32 bit counters 0 dot5StatsLineErrors = 0 1 dot5StatsBurstErrors = 0 2 dot5StatsACErrors = 0 3 dot5StatsAbortTransErrors = 0 4 dot5StatsInternalErrors = 0 5 dot5StatsLostFrameErrors = 0 6 dot5StatsReceiveCongestions = 0 7 dot5StatsFrameCopiedErrors = 0 8 dot5StatsTokenErrors = 0 9 dot5StatsSoftErrors = 0 10 dot5StatsHardErrors = 0 11 dot5StatsSignalLoss = 0 12 dot5StatsTransmitBeacons = 0 13 dot5StatsRecoverys = 0 14 dot5StatsLobeWires = 0 15 dot5StatsRemoves = 0 16 dot5StatsSingles = 0 17 dot5StatsFreqErrors = 0 18 dot1dSrPortSpecInFrames = 0 19 dot1dSrPortSpecOutFrames = 0 20 dot1dSrPortApeInFrames = 0 21 dot1dSrPortApeOutFrames = 0 22 dot1dSrPortSteInFrames = 0 23 dot1dSrPortSteOutFrames = 0 24 dot1dSrPortSegmentMismatchDiscards = 0 25 dot1dSrPortDuplicateSegmentDiscards = 0 26 dot1dSrPortHopCountExceededDiscards = 0 27 dot1dSrPortDupLanIdOrTreeErrors = 0 28 dot1dSrPortLanIdMismatches = 0 29 tokenRingMLStatsDropEvents = 0 30 tokenRingMLStatsMacOctets = 0 31 tokenRingMLStatsMacPkts = 0 32 tokenRingMLStatsRingPurgeEvents = 0 33 tokenRingMLStatsRingPurgePkts = 0 34 tokenRingMLStatsBeaconEvents = 0 35 tokenRingMLStatsBeaconPkts = 0 36 tokenRingMLStatsBeaconTime = 0 37 tokenRingMLStatsClaimTokenEvents = 0 38 tokenRingMLStatsClaimTokenPkts = 0 39 tokenRingMLStatsNAUNChanges = 0 40 tokenRingMLStatsLineErrors = 0 41 tokenRingMLStatsInternalErrors = 0 42 tokenRingMLStatsBurstErrors = 0 43 tokenRingMLStatsACErrors = 0 44 tokenRingMLStatsAbortErrors = 0 45 tokenRingMLStatsLostFrameErrors = 0 46 tokenRingMLStatsCongestionErrors = 0 47 tokenRingMLStatsFramesCopiedErrors = 0 48 tokenRingMLStatsFrequencyErrors = 0 49 tokenRingMLStatsTokenErrors = 0 50 tokenRingMLStatsSoftErrorReports = 0 51 tokenRingMLStatsRingPollEvents = 0 52 tokenRingMLStatsHistoryActiveStations = 0 53 tokenRingPStatsDropEvents = 0 54 tokenRingPStatsDataOctets = 0 55 tokenRingPStatsDataPkts = 0 56 tokenRingPStatsDataBroadcastPkts = 0 57 tokenRingPStatsDataMulticastPkts = 0 58 tokenRingPStatsDataPkts18to63Octets = 0 59 tokenRingPStatsDataPkts64to127Octets = 0 60 tokenRingPStatsDataPkts128to255Octets = 0 61 tokenRingPStatsDataPkts256to511Octets = 0 62 tokenRingPStatsDataPkts512to1023Octets = 0 63 tokenRingPStatsDataPkts1024to2047Octets = 0 64 tokenRingPStatsDataPkts2048to4095Octets = 0 65 tokenRingPStatsDataPkts4096to8191Octets = 0 66 tokenRingPStatsDataPkts8192to18000Octets = 0 67 tokenRingPStatsDataPktsGreaterThan18000Octets(null) = 0 68 dot1dTpPortInFrames = 0 69 dot1dTpPortOutFrames = 0 70 dot1dTpPortInDiscards = 0 Console>
Table 6-4 describes the fields in the show counters command output when the command is issued against a Token Ring module port.
| Field | Description |
| 64-Bit Counters | |
| ifHCInOctets: | Total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. |
| ifHCInUcastPkts: | Number of packets delivered by this sublayer to a higher sublayer not addressed to a multicast or broadcast address. This object is a 64-bit version of ifInUcastPkts. |
| ifHCInMulticastPkts: | Number of packets delivered by this sublayer to a higher sublayer addressed to a multicast address at this sublayer. For a MAC-layer protocol, these addresses include both Group and Functional addresses. This object is a 64-bit version of ifInMulticastPkts. |
| ifHCInBroadcastPkts: | Number of packets delivered by this sublayer to a higher sublayer addressed to a broadcast address at this sublayer. This object is a 64-bit version of ifInBroadcastPkts. |
| ifHCOutOctets: | Total number of octets transmitted out the interface, including framing characters. This object is a 64-bit version of ifOutOctets. |
| ifHCOutUcastPkts: | Total number of packets that higher-level protocols requested be transmitted, and were not addressed to a multicast or broadcast address at this sublayer, including those that were discarded or not sent. This object is a 64-bit version of ifOutUcastPkts. |
| ifHCOutMulticastPkts: | Total number of packets that higher-level protocols requested be transmitted, and were addressed to a multicast address at this sublayer, including those that were discarded or not sent. For a MAC-layer protocol, these addresses include both Group and Functional addresses. This object is a 64-bit version of ifOutMulticastPkts. |
| ifHCOutBroadcastPkts: | Total number of packets that higher-level protocols requested be transmitted, and were addressed to a broadcast address at this sublayer, including those that were discarded or not sent. This object is a 64-bit version of ifOutBroadcastPkts. |
| 32-Bit Counters | |
| dot5StatsLineErrors | Number of times a frame or token was copied or repeated by a station. |
| dot5StatsBurstErrors | Number of times a station detected the absence of transitions for five half-bit timers (burst-five error). |
| dot5StatsACErrors | Number of times a station received an AMP frame or an SMP frame where the AC bits were both set to 0. This indicates that no station recognized the destination address and copied the frame, and then received another SMP frame where both AC-bits were set to 0 without first receiving an AMP frame. This condition indicates a station that cannot set the A bit and the C bit properly. |
| dot5StatsAbortTransErrors | Number of times a station transmitted an abort delimiter while transmitting. |
| dot5StatsInternalErrors | Number of times a station recognized an internal error. |
| 32-Bit Counters | |
| dot5StatsLostFrameErrors | Number of times a station was transmitting and its return-to-repeat timer expired. This condition indicates that a transmitting station in strip mode did not receive the frame trailer before the return-to-repeat timer went off. |
| dot5StatsReceiveCongestions | Number of times a station recognized a frame addressed to its specific address, but had no available buffer space. This condition indicates a congested station. |
| dot5StatsFrameCopiedErrors | Number of times a station recognized a frame addressed to its specific address and detected that the frame status field A-bits were set to 1. This condition indicates a possible line hit or duplicate address. |
| dot5StatsTokenErrors | Number of times a station acting as the active monitor recognized an error condition that required a token to be transmitted. |
| dot5StatsSoftErrors | Number of soft errors the port detected. Soft errors are recoverable by the MAC-layer protocols. The soft error number directly corresponds to the number of report error MAC frames that this port has transmitted. |
| dot5StatsHardErrors | Number of times the port detected an immediately recoverable fatal error. This denotes the number of times this port has either transmitted or received a beacon MAC frame. |
| dot5StatsSignalLoss | Number of times the port detected a loss of signal condition from the ring. |
| dot5StatsTransmitBeacons | Number of times the port transmitted a beacon frame. |
| dot5StatsRecoverys | Number of claim token MAC frames received or transmitted after the port received a ring-purge MAC frame. This counter signifies the number of times the ring was purged and had recovered back into a normal operating state. |
| dot5StatsLobeWires | Number of times the port detected an open or short circuit in the lobe data path. The adapter is closed and the ring state signifies this condition. |
| dot5StatsRemoves | Number of times the port received a remove ring station MAC frame request. When the port receives this, it enters the closed state. |
| dot5StatsSingles | Number of times the port sensed that it is the only station on the ring. This occurs if the port is the first one up on a ring, or if there is a hardware problem. |
| dot5StatsFreqErrors | Number of times the port detected that the incoming signal frequency differs from the expected frequency specified by the IEEE 802.5 standard. |
| dot1dSrPortSpecInFrames | Number of Specifically-Routed frames received. |
| dot1dSrPortSpecOutFrames | Number of Specifically-Routed frames transmitted. |
| dot1dSrPortApeInFrames | Number of All-Paths (All-Routes) Explorer frames received. |
| dot1dSrPortApeOutFrames | Number of All-Paths (All-Routes) Explorer frames transmitted. |
| dot1dSrPortSteInFrames | Number of Spanning-Tree Explorer frames received. |
| dot1dSrPortSteOutFrames | Number of Spanning-Tree Explorer frames transmitted. |
| dot1dSrPortSegmentMismatchDiscards | Number of Explorer frames discarded by this port because the route descriptors field contained an invalid adjacent segment value. |
| 32-Bit Counters | |
| dot1dSrPortDuplicateSegmentDiscards | Number of Explorer frames discarded by this port because the routing descriptor filed contained a duplicate segment value. |
| dot1dSrPortHopCountExceededDiscards | Number of Explorer frames discarded because the number of routing descriptors in the RIF exceeded the specified maximum hop count. |
| dot1dSrPortDupLanIdOrTreeErrors | Number of duplicate LAN IDs or Tree errors. This helps to detect problems in networks containing older IBM Source Routing Bridges. |
| dot1dSrPortLanIdMismatches | Number of discarded All-Routes Explorer and Spanning-Tree Explorer frames because the last LAN ID in the routing information field did not equal the LAN-in ID. This error can occur in implementations that do only a LAN-in ID and Bridge Number check instead of a LAN-in ID, Bridge Number, and LAN-out ID check before forwarding broadcast frames. |
| tokenRingMLStatsDropEvents | Number of events when packets were dropped by the probe due to lack of resources. This number is not necessarily the number of packets dropped; it is the number of times this condition was detected. This value is the same as the corresponding tokenRingPStatsDropEvents. |
| tokenRingMLStatsMacOctets | Number of octets of data in MAC packets (excluding those that were not good frames) received on the network. This excludes framing bits but includes FCS octets. |
| tokenRingMLStatsMacPkts | Number of MAC packets (excluding packets that were not good frames) received. |
| tokenRingMLStatsRingPurgeEvents | Number of times that the ring entered the ring-purge state from a normal ring state. The ring-purge state that occurs in response to the claim token or beacon state is not counted. |
| tokenRingMLStatsRingPurgePkts | Number of ring-purge MAC packets detected by the probe. |
| tokenRingMLStatsBeaconEvents | Number of times that the ring entered a beaconing state (beaconFrameStreamingState, beaconBitStreamingState, beaconSetRecoveryModeState, or beaconRingSignalLossState) from a non-beaconing state. A change of the source address of the beacon packet does not constitute a new beacon event. |
| tokenRingMLStatsBeaconPkts | Number of beacon MAC packets detected by the probe. |
| tokenRingMLStatsBeaconTime | Amount of time that the ring was in the beaconing state. |
| tokenRingMLStatsClaimTokenEvents | Number of times the ring entered the claim token state from the normal ring state or ring-purge state. The claim token state that comes in response to a beacon state is not counted. |
| tokenRingMLStatsClaimTokenPkts | Number of claim token MAC packets detected by the probe. |
| tokenRingMLStatsNAUNChanges | Number of NAUN changes detected by the probe. |
| tokenRingMLStatsLineErrors | Number of line errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsInternalErrors | Number of adapter internal errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsBurstErrors | Number of burst errors reported in error reporting packets detected by the probe. |
| 32-Bit Counters | |
| tokenRingMLStatsACErrors | Number of AC (Address Copied) errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsAbortErrors | Number of abort delimiters reported in error reporting packets detected by the probe. |
| tokenRingMLStatsLostFrameErrors | Number of lost frame errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsCongestionErrors | Number of receive congestion errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsFramesCopiedErrors | Number of frame-copied errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsDropEvents | Number of events where packets were dropped by the probe due to lack of resources. This number is not necessarily the number of packets dropped; it indicates the number of times this condition was detected. This value is the same as the corresponding tokenRingPStatsDropEvents. |
| tokenRingMLStatsFrequencyErrors | Number of frequency errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsTokenErrors | Number of token errors reported in error reporting packets detected by the probe. |
| tokenRingMLStatsSoftErrorReports | Number of soft error report frames detected by the probe. |
| tokenRingMLStatsRingPollEvents | Number of ring poll events detected by the probe. |
| tokenRingMLStatsHistoryActiveStations | Maximum number of active stations on the ring detected by the probe during this sampling interval. |
| tokenRingPStatsDropEvents | Number of events where packets were dropped by the probe due to lack of resources. This number is not necessarily the number of packets dropped; it indicates the number of times this condition was detected. This value is the same as the corresponding tokenRingMLStatsDropEvents. |
| tokenRingPStatsDataOctets | Number of octet data in good frames received on the network (excluding framing bits but including FCS octets) in non-MAC packets. |
| tokenRingPStatsDataPkts | Number of non-MAC packets in good frames received. |
| tokenRingPStatsDataBroadcastPkts | Number of good non-MAC frames received that were directed to an LLC broadcast address (0xFFFFFFFFFFFF or 0xC000FFFFFFFF). |
| tokenRingPStatsDataMulticastPkts | Number of good non-MAC frames received that were directed to a local or global multicast or functional address. This number does not include packets directed to the broadcast address. |
| tokenRingPStatsDataPkts18to63Octets | Number of good non-MAC frames received between 18 and 63 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts64to127Octets | Number of good non-MAC frames received between 64 and 127 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts128to255Octets | Number of good non-MAC frames received between 128 and 255 octets in length inclusive, excluding framing bits, but including FCS octets. |
| 32-Bit Counters | |
| tokenRingPStatsDataPkts256to511Octets | Number of good non-MAC frames received between 256 and 511 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts512to1023Octets | Number of good non-MAC frames received between 512 and 1023 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts1024to2047Octets | Number of good non-MAC frames received between 1024 and 2047 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts2048to4095Octets | Number of good non-MAC frames received between 2048 and 4095 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts4096to8191Octets | Number of good non-MAC frames received between 4096 and 8191 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPkts8192to18000Octets | Number of good non-MAC frames received between 8192 and 18000 octets in length inclusive, excluding framing bits, but including FCS octets. |
| tokenRingPStatsDataPktsGreaterThan18000Octets(null) | Number of good non-MAC frames received that were greater than 18000 octets in length, excluding framing bits but including FCS octets. |
| dot1dTpPortInFrames | Number of frames received by this port from its segment. Frames received on the interface corresponding to this port are counted by this object only if they are for a protocol being processed by the local bridging function, including bridge management frames. |
| dot1dTpPortOutFrames | Number of frames transmitted by this port to its segment. Frames transmitted on the interface corresponding to this port are counted by this object only if they are for a protocol being processed by the local bridging function, including bridge management frames. |
| dot1dTpPortInDiscards | Number of valid frames received that were discarded (for example, filtered) by the forwarding process. |
clear counters
Use the show drip statistics command to display DRiP statistics.
show drip statisticsThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This example shows how to display the DRiP settings:
Console> (enable)show drip statisticsDRiP statistics:DRiP is DisabledARE reduction is EnabledCRF distribution is DisabledInput queue drops = 0. Output drops = 0Console> (enable)
Use the show dvlan statistics command to display DVLAN statistics.
show dvlan statisticsThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This example shows how to display the DVLAN statistical information:
Console> show dvlan statistics VMPS Client Statistics ---------------------- VQP Queries: 0 VQP Responses: 0 Vmps Changes: 0 VQP Shutdowns: 0 VQP Denied: 0 VQP Wrong Domain: 0 VQP Wrong Version: 0 VQP Insufficient Resource: 0 Console>
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 command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
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 6-5 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 display in noncanonical format. |
| mac_addr | (Optional) Specific MAC address that display FDDI CAM table information. |
This command has no default setting.
Switch command.
Normal.
This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
This example shows how to display the FDDI CAM table for module 4:
Console> show fddicam 4 MAC Address VLAN Protocol Type ----------------- ---- ------------- 00-40-0b-d0-00-2b 1 FDDI Total FDDI CAM entries = 1 Console>
Table 6-6 describes the fields in the show fddicam command output.
| Field | Description |
|---|---|
| MAC Address | MAC address of the FDDI module. |
| VLAN | VLAN that the MAC address was learned on. |
| Protocol Type | Protocol type learned for the MAC address. |
| Total FDDI CAM entries | 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:] [all | chips | filesys]| m/ | (Optional) Supervisor Engine III only; module number of the supervisor engine containing the Flash device. |
| device: | (Optional) Supervisor Engine III only; valid devices are bootflash, slot0, and slot1. |
| all | (Optional) Supervisor Engine III only; keyword used to list deleted files, undeleted files, and files with errors on a Flash memory device. |
| chips | (Optional) Supervisor Engine III only; keyword used to show information about the Flash chip. |
| filesys | (Optional) Supervisor Engine III only; keyword used to show the Device Info Block, the Status Info, and the Usage Info. |
This command has no default setting.
Switch command.
Normal.
A colon (:) is required after the specified device.
This example shows how to list the Flash information for Supervisor Engines I or II:
Console> show flash File Version Sector Size Built -------------- ------------ ------------ ------- ----------------- c5000 nmp 3.1(213-Eng) 02-11 1606709 02/06/98 00:16:21 epld 3.1 30 72920 02/02/98 20:33:06 lcp atm 3.1 12-15 23747 02/02/98 12:16:37 lcp tr 3.1 12-15 28737 02/02/98 12:22:52 lcp c5ip 3.1 12-15 23723 02/02/98 12:27:36 lcp 64k 3.1 12-15 57100 02/02/98 12:24:57 atm/fddi 3.1 12-15 24502 02/02/98 11:57:58 lcp 360 3.1(212) 12-15 120648 02/02/98 12:32:50 mcp 3.1 12-15 26278 02/02/98 11:50:41 Console>
The following examples show how to list Flash information for Supervisor Engine III:
Console> show flash -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .D 2 2D6B310A 100fc0 15 1052123 Nov 26 1996 15:43:50 cat5k_r47_1.cbi 2 .. 2 43B312DF 201ed8 15 1052608 Nov 27 1996 10:23:30 cat5k_r47_1.cbi 6283877 bytes available (2104731 bytes used) Console> show flash chips ******** Intel Series 2+ Status/Register Dump ******** ATTRIBUTE MEMORY REGISTERS: Config Option Reg (4000): 2 Config Status Reg (4002): 0 Card Status Reg (4100): 1 Write Protect Reg (4104): 4 Voltage Cntrl Reg (410C): 0 Rdy/Busy Mode Reg (4140): 2 COMMON MEMORY REGISTERS: Bank 0 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 COMMON MEMORY REGISTERS: Bank 1 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 COMMON MEMORY REGISTERS: Bank 2 Intelligent ID Code : FF00FF IID Not Intel -- assuming bank not populated COMMON MEMORY REGISTERS: Bank 3 Intelligent ID Code : FF00FF IID Not Intel -- assuming bank not populated COMMON MEMORY REGISTERS: Bank 4 Intelligent ID Code : FF00FF IID Not Intel -- assuming bank not populated Console> show flash filesys -------- F I L E S Y S T E M S T A T U S -------- Device Number = 0 DEVICE INFO BLOCK: Magic Number = 6887635 File System Vers = 10000 (1.0) Length = 800000 Sector Size = 20000 Programming Algorithm = 4 Erased State = FFFFFFFF File System Offset = 20000 Length = 7A0000 MONLIB Offset = 100 Length = C730 Bad Sector Map Offset = 1FFF8 Length = 8 Squeeze Log Offset = 7C0000 Length = 20000 Squeeze Buffer Offset = 7E0000 Length = 20000 Num Spare Sectors = 0 Spares: STATUS INFO: Writable NO File Open for Write Complete Stats No Unrecovered Errors USAGE INFO: Bytes Used = 201D9B Bytes Available = 5FE265 Bad Sectors = 0 Spared Sectors = 0 OK Files = 1 Bytes = 100FC0 Deleted Files = 1 Bytes = 100DDB Files w/Errors = 0 Bytes = 0 Console> show flash all -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .D 2 2D6B310A 100fc0 15 1052123 Nov 26 1996 15:43:50 cat5k_r47_1.cbi 2 .. 2 43B312DF 201ed8 15 1052608 Nov 27 1996 10:23:30 cat5k_r47_1.cbi 6283877 bytes available (2104731 bytes used) -------- F I L E S Y S T E M S T A T U S -------- Device Number = 0 DEVICE INFO BLOCK: Magic Number = 6887635 File System Vers = 10000 (1.0) Length = 800000 Sector Size = 20000 Programming Algorithm = 4 Erased State = FFFFFFFF File System Offset = 20000 Length = 7A0000 MONLIB Offset = 100 Length = C730 Bad Sector Map Offset = 1FFF8 Length = 8 Squeeze Log Offset = 7C0000 Length = 20000 Squeeze Buffer Offset = 7E0000 Length = 20000 Num Spare Sectors = 0 Spares: STATUS INFO: Writable NO File Open for Write Complete Stats No Unrecovered Errors USAGE INFO: Bytes Used = 201D9B Bytes Available = 5FE265 Bad Sectors = 0 Spared Sectors = 0 OK Files = 1 Bytes = 100FC0 Deleted Files = 1 Bytes = 100DDB Files w/Errors = 0 Bytes = 0 ******** Intel Series 2+ Status/Register Dump ******** ATTRIBUTE MEMORY REGISTERS: Config Option Reg (4000): 2 Config Status Reg (4002): 0 Card Status Reg (4100): 1 Write Protect Reg (4104): 4 Voltage Cntrl Reg (410C): 0 Rdy/Busy Mode Reg (4140): 2 COMMON MEMORY REGISTERS: Bank 0 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 COMMON MEMORY REGISTERS: Bank 1 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 8 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 16 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 24 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 COMMON MEMORY REGISTERS: Bank 2 Intelligent ID Code : FF00FF IID Not Intel -- assuming bank not populated COMMON MEMORY REGISTERS: Bank 3 Intelligent ID Code : FF00FF IID Not Intel -- assuming bank not populated COMMON MEMORY REGISTERS: Bank 4 Intelligent ID Code : FF00FF IID Not Intel -- assuming bank not populated
download
reset
show version
upload
Use the show igmp statistics command to view IGMP statistics for a particular VLAN.
show igmp statistics [vlan_id]| vlan_id | (Optional) VLAN for which to show IGMP statistics. |
If no VLAN is specified, statistics for VLAN 1 are shown.
Switch command.
Normal.
This example shows how to view IGMP statistics for VLAN 1:
Console> show igmp statistics 1 IGMP enabled IGMP statistics for vlan 1: Total valid pkts rcvd: 18951 Total invalid pkts recvd 0 General Queries recvd 377 Group Specific Queries recvd 0 MAC-Based General Queries recvd 0 Leaves recvd 14 Reports recvd 16741 Queries Xmitted 0 GS Queries Xmitted 16 Reports Xmitted 0 Leaves Xmitted 0 Failures to add GDA to EARL 0 Topology Notifications rcvd 10 IGMP packets dropped 0 Console>
Table 6-7 describes the fields in the show igmp statistics output.
| Field | Description |
|---|---|
| IGMP Enabled | Indicates whether IGMP snooping is enabled or disabled. |
| Total valid pkts rcvd | Total number of valid IGMP packets received. |
| Total invalid pkts recvd | Total number of invalid IGMP packets received. |
| General Queries recvd | Total number of IGMP general queries received. |
| Group Specific Queries recvd | Total number of IGMP group-specific queries received. |
| MAC-Based General Queries recvd | Total number of MAC-based general queries received |
| Leaves recvd | Total number of IGMP leaves received. |
| Reports recvd | Total number of IGMP reports received. |
| Queries Xmitted | Total number of IGMP general queries transmitted by the switch. |
| GS Queries Xmitted | Total number of IGMP Group Specifc-equivalent Queries transmitted by the switch. |
| Reports Xmitted | Total number of IGMP reports transmitted by the swtich. |
| Leaves Xmitted | Total number of IGMP leaves transmitted by the swtich. |
| Failures to add GDA to EARL | Total number of times the switch failed to add a multicast entry (Group Destination Address, or GDA) to the EARL table. |
| Topology Notifications rcvd | Total number of topology change notifications received by the switch. |
| IGMP packets dropped | Total number of IGMP packets dropped by the switch. |
clear igmp statistics
clear multicast router
set igmp
set multicast router
show multicast router
show multicast group
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=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-8 describes the fields in the show interface command output.
| Field | Description |
|---|---|
| sl0 | Information on the SLIP interface. |
| flags | Flags indicating the interface state (decoded in the subsequent field). |
| <UP,POINTOPOINT, RUNNING> | Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING). |
| slip | IP address of the SLIP interface. |
| dest | IP address of the host to which the console port will be connected. |
| sc0 | Information on the in-band interface. |
| vlan | Number of the VLAN to which the sc0 interface has been assigned (known as the management VLAN). |
| inet | IP address of the interface. |
| netmask | Network mask for the interface. |
| broadcast | 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> 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>
Use the show ip dns command to show the DNS name servers and the default DNS 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 servers and the default DNS domain name:
Console> 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>
Table 6-9 describes the fields in the show ip dns command output.
| Field | Description |
|---|---|
| DNS is currently enabled | Status of whether DNS is enabled or disabled. |
| default DNS domain name | Default DNS domain name. |
| DNS name server | IP addresses or IP aliases of the configured DNS servers. |
| status | 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.
Normal.
This example shows how to display IP permit list information:
Console> 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>
Table 6-10 describes the fields in the show ip permit command output.
| Field | Description |
|---|---|
| IP permit list feature enabled | Status of whether the IP permit list feature is enabled or disabled. |
| Permit List | IP addresses and IP aliases that are allowed to access the switch. |
| Mask | Subnet masks of permitted IP addresses. |
| Denied IP Address | IP addresses and IP aliases that are not allowed to access the switch. |
| Last Accessed Time | Date and time of the last attempt to log in to the switch from the address. |
| Type | Login-attempt type. |
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> show ip route Fragmentation Redirect Unreachable ------------- -------- ----------- enabled enabled enabled Destination Gateway Flags Use Interface ----------------------- ----------------------- ------ ---------- --------- default 172.20.22.201 UG 2907 sc0 default 172.20.22.202 U 788 sc0 172.20.0.0 172.20.22.96 U 788 sc0 default default UH 0 sl0 Console>
Table 6-11 describes the fields in the show ip route command output.
| Field | Description |
|---|---|
| Fragmentation | Status of whether IP fragmentation is enabled or disabled. |
| Redirect | Status of whether ICMP redirect messages are enabled or disabled. |
| Unreachable | Status of whether ICMP unreachable messages are enabled or disabled. |
| Destination | Destination IP addresses contained in the route table. |
| Gateway | Gateway through which the destination is reachable (next hop). |
| Flags | Flags for the route. Possible values are: U=up, G=gateway, H=host. |
| Use | Number of times the route was used to direct a packet. |
| Interface | 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: Mar 11 1998 07:25:31 0, Mar 11 1998 01:55:07 3
Mar 10 1998 14:54:32 3, Mar 10 1998 14:37:56 3
Mar 10 1998 14:30:17 3, Mar 10 1998 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: Wed Mar 11 1998, 08:38:55
Wed Mar 11 1998, 01:28:43
Wed Mar 11 1998, 00:57:02
Tue Mar 10 1998, 14:56:37
Module 4 Log:
Reset Count: 1
Reset History: Wed Mar 11 1998, 10:09:55
Module 5 Log:
Reset Count: 6
Reset History: Wed Mar 11 1998, 08:39:03
Wed Mar 11 1998, 00:57:10
Tue Mar 10 1998, 14:56:45
Tue Mar 10 1998, 14:43:15
Console>
Table 6-12 describes the fields in the show log command output.
| Field | Description |
|---|---|
| Network Management Processor (ACTIVE NMP) Log | Log that applies to the NMP on the supervisor engine module. |
| Reset Count | Number of time the system has reset. |
| Re-boot History | Date and times the system has rebooted. |
| Bootrom Checksum Failures | Number of bootrom checksum failures. |
| UART Failures | Number of times the UART has failed. |
| Flash Checksum Failures | Number of times the Flash Checksum has failed. |
| Flash Program Failures | Number of times the Flash Program has failed. |
| Power Supply 1 Failures | Number of times Power Supply 1 has failed. |
| Power Supply 2 Failures | Number of times Power Supply 2 has failed. |
| DRAM Failures | Number of times the DRAM has failed. |
| Exceptions: | Exceptions log |
| NVRAM log | Number of times NVRAM errors have occurred. |
| Reset History | Date and times the system has reset. |
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 <enable> show logging
Logging console: enabled
Logging server: disabled
Current Logging Session: enabled
Facility Server/Default Severity Current Session Severity
------------- ----------------------- ------------------------
cdp 2 2
mcast 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
kernel 2 2
filesys 2 2
drip 2 2
pagp 2 2
mgmt 5 5
mls 5 5
protfilt 2 2
0(emergencies) 1(alerts) 2(critical)
3(errors) 4(warnings) 5(notifications)
6(information) 7(debugging)
Console>
Table 6-13 describes the fields in the show logging command output.
| Field | Description |
|---|---|
| Logging console | Status of whether logging to the console is enabled or disabled. |
| Logging server | Status of whether logging to the logging server is enabled or disabled. |
| Current Logging Session | Status of whether system logging messages are sent to the current login session. |
| Facility | Name of the facility to be logged. |
| Server/Default Severity | Default severity level at which point an error from that facility is logged. |
| Current Session Severity | Severity level at which point an error from that facility is logged during the current session. |
| 0 (emergencies), 1 (alerts)... | 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 are displayed.
This example shows how to display the first four system messages from the internal buffer:
Console <enable>show 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 configurationConsole <enable>
This example shows how to display the last four system messages from the internal buffer:
Console <enable>show 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 TrapConsole <enable>
Use the show mac command to display MAC counters.
show mac [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If you do not specify a number, all modules are shown. |
| /port_num | (Optional) Number of the port on the module. If you do not specify a number, 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> 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
MAC SMT-Address Curr-Path TReq TNeg TMax TVX
------- ----------------- ---------- -------- -------- -------- --------
3/4 00:06:7c:b3:bc:98 primary 165000 165000 165004 2509
00-60-3e-cd-3d-19
MAC Upstream-Nbr Downstream-Nbr Old-Upstrm-Nbr Old-Downstrm-Nbr
------- ----------------- ----------------- ----------------- -----------------
3/4 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00 00:00:1f:00:00:00
00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00 00-00-f8-00-00-00
MAC Rcv-Smt Xmit-Smt Rcv-llc Xmit-llc Tvx-Exp-Ct RingOp-Ct
------- ---------- ---------- ---------- ---------- ---------- ----------
3/4 0 0 1 61 0 1
Port Rcv-Unicast Rcv-Multicast Rcv-Broadcast
-------- -------------------- -------------------- --------------------
3/4 0 0 0
Port Xmit-Unicast Xmit-Multicast Xmit-Broadcast
-------- -------------------- -------------------- --------------------
3/4 0 0 0
Port Rcv-Octet Xmit-Octet
-------- -------------------- --------------------
3/4 0 0
Last-Time-Cleared
--------------------------
Wed Mar 11 1998, 08:31:20
Console>
Table 6-14 describes possible fields displayed in the show mac command output.
| Field | Description |
|---|---|
| MAC | Module and port. |
| Rcv-Frms | Frames received on the port. |
| Xmit-Frms | Frames transmitted on the port. |
| Rcv-Multi | Multicast frames received on the port. |
| Xmit-Multi | Multicast frames transmitted on the port. |
| Rcv-Broad | Broadcast frames received on the port. |
| Xmit-Broad | Broadcast frames transmitted on the port. |
| Dely-Exced | Total transmit frames aborted due to excessive deferral. |
| MTU-Exced | Frames for which the MTU size was exceeded. |
| In-Discard | Incoming frames that were discarded because the frame did not need to be switched. |
| Lrn-Discard | CAM entries discarded due to page full in EARL. |
| In-Lost | Incoming frames that were lost before being forwarded (due to insufficient buffer space). |
| On-Lost | 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 NSMT frames transmitted by the port. |
| Rcv-llc | Number of NLLC frames received by the port. |
| Xmit-llc | Number of LLC frames transmitted by the port. |
| Rcv-Octet | Number of octet frames received on the port. |
| Xmit-Octet | Number of octet frames transmitted on the port. |
| Rcv-Unicast | Number of unicast frames received on the port. |
| Rcv-Multicast | Number of multicast frames received on the port. |
| Rcv-Broadcast | Number of broadcast frames received on the port. |
| Xmit-Unicast | Number of unicast frames transmitted on the port. |
| Xmit-Multicast | Number of multicast frames transmitted on the port. |
| Xmit-Broadcast | Number of broadcast frames transmitted on the port. |
| Tvx-Exp-Ct | Number of times the TVX timer expired. |
| RingOp-Ct | Number of times the ring became 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 you run 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 I or II:
Console> sh microcode EARL EPLDs FLASH/BOOT SRAM ------------ ---------- ---------- EPLD_7K 8.0 - EPLD_10K 0.0 3.0 Console>
Table 6-15 describes possible fields in the show microcode command output.
| Field | Description |
|---|---|
| EARL EPLDs | Version of EARL EPLDs. |
| FLASH/BOOT | Version of FLASH/BOOT. |
| SRAM | Version of SRAM. |
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>
Table 6-16 describes possible fields in the show microcode command output.
| Field | Description |
|---|---|
| EARL EPLDs | Version of EARL EPLDs. |
| FLASH/BOOT | Version of FLASH/BOOT. |
| SRAM | Version of SRAM. |
| Bundled Images | Name of the bundled image. |
| Version | Version of the image. |
| Size | Size of the image. |
| Built | Date image was built. |
Use the show mls command set to display Multilayer Switching Layer 3 packet information in the multilayer switching-based Catalyst 5000 series switch.
show mls| rp | Keyword used to specify a route processor the MLS entry will be displayed. |
| ip_addr | Route-processor IP address, or route-processor name if DNS is used. |
| noalias | (Optional) Keyword used to specify all route processors are present in IP format, rather than their names. |
| entry | Keyword used to specify the MLS packet entry. |
| destination | (Optional) Keyword used to specify the destination IP address. |
| ip_addr_spec | (Optional) Full IP address or a subnet address in the following formats: ip_subnet_addr, ip_addr/subnet_mask, ip_addr/#subnet_mask_bits. |
| source | (Optional) Keyword used to specify the source IP address. |
| flow | (Optional) Keyword used to specify additional flow information (protocol family and protocol port pair) to be matched. |
| protocol | (Optional) Keyword used to specify flow information; valid values include: tcp, udp, icmp, or a decimal number for other protocol families. |
| src_port | (Optional) Source port IP address; used with port_num to specify the port pair if protocol is tcp or udp. |
| port_num | (Optional) TCP/UDP port number (decimal); used with src_num to specify the port pair if protocol is tcp or udp. |
| dst_port | (Optional) Destination port IP address. |
| include | Keyword used to display all route processors currently included to run multilayer switching. |
| nde | Keyword used to display NDE information. |
Switch command.
Normal.
If you are entering any of the show mls commands on a Catalyst 5000 series switch without MLS, the following warning message is displayed:
MLS not supported on feature card.
If you enter the show mls commands with no arguments, general MLS information and all MLS-RP information is displayed.
If DNS is disabled, no name can be specified or shown. If noalias is specified, all route-processors are present in IP format, rather than their names if DNS is enabled.
A value 0 for src_port and dst_port means "don't care."
Use the following syntax to specify an IP subnet address:
When you enter the show mls entry command, the keyword destination option specifies the entries matching this destination IP address specification. The keyword source option specifies the entries matching this source IP address specification. An ip_addr_spec can be a full IP address or a subnet address. If you do not specify a keyword, it is treated as a wildcard, and all entries are displayed.
These examples show how to use the show mls command set:
Console>(enable) show mls
Multilayer switching enabled
Multilayer switching aging time = 1800 seconds
Multilayer switching fast aging time = 0 seconds, packet threshold = 1
Destination flow
Total packets switched = 101892
Active entries = 2153
Netflow data export enabled
Netflow data export configured for port 8010 on host 10.0.2.15
Total packets exported = 20
MLS-RP IP MLS-RP ID Xtag MLS-RP MAC-Vlans
-------------- ------------------- ------ -------------------------------
172.20.25.2 0000808cece0 2 00-00-80-8c-ec-e0 1-20
00-00-80-8c-ec-e1 21-30
00-00-80-8c-ec-e2 31-40
00-00-80-8c-ec-e3 41-50
00-00-80-8c-ec-e4 51-60
172.20.27.1 0000808c1214 3 00-00-80-8c-12-14 1-20,31-40
00-00-80-8c-12-15 21-30
00-00-80-8c-12-16 41-50
Console>(enable)
Console>(enable) show mls entry rp 172.20.27.1
Destination IP Source IP Pr DstPt SrcPt Destination Mac Vlan Port
-------------- ------------ ---- ------- ------ ---------------------- ---- ----
MLS-RP 172.20.27.1:
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24 4 2/3
172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-25 3 2/4
Console>
Console> show mls entry
Destination IP Source IP Pr DstPt SrcPt Destination Mac Vlan Port
-------------- ------------ ---- ------- ------ ---------------------- ---- ----
MLS-RP 172.20.25.1:
172.20.22.14 172.20.25.10 UDP 80 50648 00-60-70-6c-fc-22 4 2/1
MLS-RP 172.20.26.1:
172.20.20.15 172.20.25.148 UDP 50650 80 00-60-70-6c-fc-23 2 2/2
MLS-RP 172.20.27.1:
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24 4 2/3
172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-25 3 2/4
Console>
Console>(enable) show mls entry destination 172.20.22.14/24
Destination IP Source IP Pr DstPt SrcPt Destination Mac Vlan Port
-------------- ------------ ---- ------- ------ ---------------------- ---- ----
MLS-RP 172.20.25.1:
172.20.22.14 172.20.25.10 UDP 80 50648 00-60-70-6c-fc-22 4 2/1
MLS-RP 172.20.27.1:
172.20.22.16 172.20.27.139 TCP DNS DNS 00-60-70-6c-fc-24 4 2/3
Console>
Console>(enable) show mls entry rp 172.20.27.1
Destination IP Source IP Pr DstPt SrcPt Destination Mac Vlan Port
-------------- ------------ ---- ------- ------ ---------------------- ---- ----
MLS-RP 172.20.27.1:
172.20.22.16 172.20.27.139 TCP DNS NS 00-60-70-6c-fc-24 4 2/3
172.20.21.17 172.20.27.138 TCP 7001 7003 00-60-70-6c-fc-25 3 2/4
Console>
Console>(enable) show mls include
Included MLS-RP
---------------------------------------
170.67.2.13
170.67.2.12
Console>(enable)
Console>(enable) show mls nde
Netflow data export enabled.
Netflow data export configured for UDP port 1098 on host 172.20.15.1
Source filter is 171.69.194.140/255.255.255.0
Destination port filter is 23
Total Netflow Data Export packets = 26784
Console>(enable)
set mls
clear mls
show mls statistics
Use the show mls debug command to generate a list of all MLS-related debugging information.
show mls debugThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This list should be sent to technical support representatives for analysis.
This example shows how to generate a list of all MLS-related debugging information. The display generated contains detailed system statistics useful for troubleshooting:
Console>(enable) show mls debug
Use the show mls statistics command set to display multilayer switching statistics information in the multilayer switching-based Catalyst 5000 series switch.
show mls statistics protocol| protocol | Keyword used to display the statistics based on protocol category, such as TELNET, FCP, or WWW. |
| rp | Keyword used to specify a route processor. |
| ip_addr | (Optional) Route-processor IP address or route-processor name if DNS is enabled. |
| noalias | (Optional) Keyword used to specify that all route processors are present in IP format, rather than their names. |
| entry | Keyword used to display statistics based on the specified option. |
| destination | (Optional) Keyword used to specify the destination IP address. |
| ip_addr_spec | (Optional) IP subnet address or a full IP address. |
| source | (Optional) Keyword used to specify the source IP address. |
| flow | (Optional) Keyword used to specify additional flow information (protocol family and protocol port pair) to be matched. |
| protocol | (Optional) Keyword used to specify flow information; valid values include: tcp, udp, icmp, or a decimal number for other protocol families. |
| src_port | (Optional) Source port IP address. |
| dst_port | (Optional) Destination port IP address. |
Switch command.
Normal.
If you are entering any of the show mls statistics commands on a Catalyst 5000 series switch without MLS, the following warning message is displayed:
MLS not supported on feature card.
If you enter the show mls statistics protocol command, the statistics in the protocol category, such as TELNET, FTP, or WWW are displayed. Note that this applies for "full flowmask" only.
A value 0 for src_port and dst_port means "don't care." Note that this applies for "full flowmask" only.
Use the following syntax to specify an IP subnet address:
These examples show how to use the show mls statistics command set:
console>(enable) show mls statistics protocol
Protocol TotalFlows TotalPackets Total Bytes
------- --------- -------------- ------------
Telnet 900 630 4298
FTP 688 2190 43105
WWW 389 42679 623686
SMTP 802 4966 2873
X 142 2487 6870
DNS 580 52 1046
Others 82 1 73
Total 6583 53005 801951
Console>
Console>(enable) show mls statistics rp
Total Switched
MLS-RP IP MLS-RP ID packets bytes
-------------- ------------------ ---------------- -------------------
172.20.25.2 0000808cece0 3152 347854
172.20.27.1 000080a36c32 4332 532456
Console>
Console> show mls statistics entry destination 172.20.22.14
Last Used Last Used Total Switched
Destination IP Source IP Pr SrcPt DstPt Packets Bytes
-------------- -------------- ----- ------- ------- ---------------- --------------------
172.20.22.14 172.20.25.10 6 50648 80 3152 347854
Console>
Use the show module command to display module status and information. For Supervisor Engine III modules, the show module command displays the supervisor engine'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 you do not specify a number, 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 2 10/100BaseTX Supervis WS-X5530 007451586 ok 3 2 MM MIC FDDI WS-X5101 003489788 ok 4 12 100BaseTX Ethernet WS-X5113 003152544 ok 5 16 Token Ring WS-X5030 900000002 ok Mod MAC-Address(es) Hw Fw Sw ------------------------------------- ----- ----- ----- 1 00-10-29-b5-30-00 to 00-10-29-b5-33-ff 1.3 3.1.2 4.1(1) 3 00-40-0b-4c-92-58 thru 00-40-0b-4c-92-6f 1.0 1.1 2.1(7) 4 00-40-0b-14-00-20 thru 00-40-0b-14-00-23 1.6 1.2 2.106 5 00:40:0b:01:bc:64 thru 00:40:0b:01:bc:74 3.0 1.0(108) 3.2(1)Mod Sub-Type Sub-Model Sub-Serial Sub-Hw--- -------- --------- ---------- ------1 EARL 1+ WS-F5520 0007418874 1.01 uplink WS-U5531 0007464204 1.1Console>
This example shows how to display status and information for module 3:
Console> show module 3 Mod Module-Name Ports Module-Type Model Serial-Num Status --- ------------------- ----- --------------------- --------- --------- ------- 3 2 MM MIC FDDI WS-X5101 003489788 ok Mod MAC-Address(es) Hw Fw Sw --- ---------------------------------------- ------ ------- ---------------- 3 00-40-0b-4c-92-58 thru 00-40-0b-4c-92-6f 1.0 1.1 2.1(7) Mod SMT User-Data T-Notify CF-St ECM-St Bypass --- -------------------------- -------- ---------- --------- ------- 3 WorkGroup Stack 30 isolated in absent Console>
Table 6-17 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 noncanonical 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 | Status of whether an optical bypass switch is present. |
| Sub-Type1 | Sub-module type. |
| Sub-Model1 | Model number of the sub-module. |
| Sub-Serial1 | Serial number of the sub-module. |
| Sub-Hw1 | Hardware version of the sub-module. |
Use the show multicast group command to display the multicast group configuration.
show multicast group [cgmp | igmp] [mac_addr] [vlan_id]| cgmp | (Optional) Keyword used to display only the information learned via CGMP. |
| igmp | (Optional) Keyword used to display only the information learned via IGMP. |
| mac_addr | (Optional) Destination MAC address. |
| vlan_id | (Optional) Number of the VLAN. |
There is no default setting for this command.
Switch command.
Normal.
If you specify the cgmp or igmp keyword, an error message displays if CGMP or IGMP is not enabled.
This example shows how to display the multicast group configuration for VLAN 1:
Console> show multicast group cgmp 1 CGMP enabled VLAN Dest MAC/Route Des Destination Ports or VCs / [Protocol Type] ---- ------------------ ---------------------------------------------------- 1 01-00-5e-00-01-28* 3/1,12/9 1 01-00-5e-63-7f-6f* 3/1,12/5,12/9 Total Number of Entries = 2 Console>
This example shows how to display the multicast group configuration for a specific MAC address on VLAN 5:
Console> show multicast group 01-00-5E-00-00-5C 5 CGMP enabled VLAN Dest MAC/Route Des Destination Ports or VCs / [Protocol Type] ---- ------------------ ---------------------------------------------------- 5 01-00-5E-00-00-5C 3/1, 3/9 Total Number of Entries = 1 Console>
This example shows the error message displayed if the cgmp keyword is entered and CGMP is not enabled:
Console> sh multicast group cgmp CGMP feature is disabled.
This example shows the error message displayed if the igmp keyword is entered and IGMP is not enabled:
Console> sh multicast group igmp IGMP Snooping feature is disabled.
Table 6-18 describes the fields in the show multicast group command output.
| Field | Description |
|---|---|
| CGMP enabled | Status of whether CGMP (or IGMP) is enabled or disabled. |
| VLAN | VLAN number. |
| Dest MAC/Route Des | Group destination MAC address. |
| * | Status of whether the port was manually configured as a multicast router port. |
| Destination Ports or VCs | List of all the ports that belong to this Multicast Group. Traffic destined to this Group Address will be forwarded on all these ports. |
| 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 igmp
set multicast router
show multicast router
Use the show multicast group count command to show the total count of multicast addresses (groups) in a VLAN.
show multicast group count [cgmp | igmp] [vlan_id]| cgmp | (Optional) Keyword used to display only the information learned via CGMP. |
| igmp | (Optional) Keyword used to display only the information learned via IGMP. |
| vlan_id | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
If you specify the cgmp or igmp keyword, an error message displays if CGMP or IGMP is not enabled.
This example shows how to display the total count of multicast groups in VLAN 5:
Console> show multicast group 5 CGMP enabled IGMP disabled Total Number of Entries = 2 Console>
This example shows the error message displayed if the cgmp keyword is entered and CGMP is not enabled:
Console> sh multicast group count cgmp CGMP feature is disabled Console>
This example shows the error message displayed if the igmp keyword is entered and IGMP is not enabled:
Console> sh multicast group count igmp IGMP Snooping feature is disabled Console>
clear multicast router
set cgmp
set igmp
set multicast router
show multicast group count
Use the show multicast router command to display which ports have CGMP-capable routers assigned to them.
show multicast router [cgmp | igmp] [mod_num/port_num] [vlan_id]| cgmp | (Optional) Keyword used to display only the configuration information learned through CGMP. |
| igmp | (Optional) Keyword used to display only the configuration information learned through IGMP. |
| 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.
Normal.
This example show how to display the multicast router configuration:
Console> show multicast router CGMP enabled IGMP disabled Port Vlan --------- ---------------- 2/1 99 2/2 255 3/1 * 1 7/9 2,99 11/1 99 12/9 1 Total Number of Entries = 6 '*' - Configured Console>
This example show how to display the multicast router configuration for VLAN 99:
Console>show multicast router 99 CGMP enabledPort Vlan--------- ----------------2/1 997/9 2,9911/1 99Total Number of Entries = 3'*' - Configured Console>
This example shows how to display only the configuration information learned through CGMP:
Console> show multicast router cgmp
CGMP enabled
IGMP disabled
Port Vlan
--------- ----------------
2/1 99
2/2 255
7/9 2,99
11/1 99
12/9 1
Total Number of Entries = 6
'*' - Configured
Console>
Table 6-19 describes the fields in the show multicast router command output.
| Field | Description |
|---|---|
| CGMP enabled | Status of whether CGMP is enabled or disabled. |
| IGMP enabled | Status of whether IGMP is enabled or disabled. |
| Port | Port through which a multicast router can be reached. |
| * | Indicates the port was manually configured as a multicast router port. |
| Vlan | VLAN associated with the port. |
| Total Number of Entries | Total number of entries in the table that match the criteria specified by the command. |
clear multicast router
set cgmp
set igmp
set multicast router
show multicast group count
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 6-20 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 retransmitted and the size of those packets in bytes. |
| ack-only packets (delayed) | Number of TCP acknowledgment-only packets sent and the number of those packets 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 with 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 and discarded that failed the checksum. |
| discarded because packet too short | Number of TCP packets received and discarded that 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 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 6-21 describes the fields in the show netstat udp command output.
| Field | Description |
|---|---|
| incomplete headers | Number of UDP packets received with incomplete packet headers. |
| bad data length fields | Number of UDP packets received with 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 6-22 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 received IP packets that failed the checksum. |
| with size smaller than minimum | Number of received IP packets 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 of duplicate data or buffer overflow. |
| fragments dropped after timeout | Number of received IP packet fragments that were dropped. |
| packets forwarded | Number of forwarded IP packets. |
| packets not forwardable | Number of IP packets that the switch did not forward. |
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 6-23 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 | 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 with an invalid code field. |
| messages < minimum length | Number of ICMP packets with less than the minimum packet length. |
| bad checksums | Number of ICMP packets that failed the checksum. |
| messages with bad length | Number of ICMP packets with an 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 6-24 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> Interface Rcv-Octet Xmit-Octet --------- -------------------- -------------------- sc0 182786 0 sl0 0 0 Interface Rcv-Unicast Xmit-Unicast --------- -------------------- -------------------- sc0 3002 1314 sl0 0 0 Console>
Table 6-25 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. |
| Rcv-Octet | Number of octet frames received on the port. |
| Xmit-Octet | Number of octet frames transmitted on the port. |
| Rcv-Unicast | Number of unicast frames received on the port. |
| Xmit-Unicast | Number of unicast frames transmitted on the port. |
set interface
set ip route
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: Thu Mar 12 1998, 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-26 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 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 server
set ntp client
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 you do not specify a number, the ports on all modules are shown. |
| port_num | (Optional) Number of the port on the module. If you do not specify a number, 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> show port 3/4 Port Name Status Vlan Level Duplex Speed Type ----- ------------------ ---------- ---------- ------ ------ ----- ------------ 3/4 inactive 1003 normal auto auto TokenRing Last-Time-Cleared -------------------------- Wed Mar 11 1998, 08:31:20 Console>
Table 6-27 describes the possible fields (depending on the port type queried) 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-14, a-16). |
| Type1 | Port type, for example, 10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, TokenRing, FDDI, CDDI, and RSM. |
| Security | Status of whether port security is enabled or disabled. |
| Secure-Src-Addr | Secure MAC address for the security enabled port. |
| Last-Src-Addr | Source MAC address of the last packet received by the port. |
| Shutdown | Status of whether the port was shut down because of security. |
| Trap | Status of whether port trap is enabled or disabled. |
| Broadcast-Limit | Broadcast threshold configured for the port. |
| Broadcast-Drop | 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 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 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 received frames less than 64 octets long (but are otherwise well-formed). |
| Single-Coll | Number of times one collision occurred before the port successfully transmitted a frame to the media. |
| Multi-Coll | Number of 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 sensed a carrier (to determine whether the cable is currently being used). |
| Runts | Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port. |
| Giants | Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port. |
| CE-State | Connection entity status. |
| Conn-State | Connection state of the port, as follows:
|
|
Type | Type of port, such as A--A port and B--B port. |
| Neig | Type of port attached to this port. The neighbor can be one of these types:
|
|
Ler Con | Status of 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 broadcast command to display broadcast information.
show port broadcast [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
| port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display broadcast information for port 2 on module 1:
Console> show port broadcast 1/2 Port Broadcast-Limit Broadcast-Drop -------- --------------- -------------- 1/2 - - 1/2 - - Console>
Table 6-28 describes the possible fields (depending on the port type queried) in the show port broadcast command output.
| Field | Description |
|---|---|
| Port | Module and port number. |
| Broadcast-Limit | Broadcast threshold configured for the port. |
| Broadcast-Drop | Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded. |
Use the show port capabilities command to display the capabilities of the modules and ports in a switch.
show port capabilities [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
| port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to show the port capabilities for module 2, port 1:
Console> show port capabilities 2/1 Model WS-X5310 Port 2/1 Type 100BaseTX Speed 100 Duplex half,full Trunk encap type ISL Trunk mode on,off,desirable,auto,nonegotiate Channel no Broadcast suppression percentage(0-100),pps(0-150000) Flow control receive(off,on,desired),send(off,on,desired) Security yes Membership static,dynamic Fast start yes Console>
Table 6-29 describes the possible fields (depending on the type of port queried) and the values in the show port capabilities command output.
| Field | Description |
|---|---|
| Model | Module model number. |
| Port | Module number and port number. |
| Type1 | Port type, for example, 10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, TokenRing, FDDI, CDDI, and RSM. |
| Speed1 | Port speed setting (for example, auto, 155, and 1000). |
| Duplex | Duplex mode (half, full, auto, fdx, hdx, no). |
| Trunk encap type | Trunk encapsulation type (ISL, 802.1Q, 802.10, LANE, no). |
| Trunk mode | Trunk administrative status of the port (on, off, auto, desirable, nonegotiate, no). |
| Channel | Status of which ports can form a channel group. The ports are shown in mod_num/port_num format. For example, 3/1-2 indicates module 3, ports 1 and 2. Also, any ports in range [mod/1-mod/high_port], or no ports may be indicated. |
| Broadcast suppression | Number of packets-per-second (pps) of broadcast/multicast traffic allowed on the port (0-150000), or the percentage of total available bandwidth that can be used by broadcast/multicast traffic (0-100). |
| Flow control | Flow control options you can set (receive-[off, on, desired], send-[off, on, desired], no). |
| Security | Status of whether port security is enabled (yes, no). |
| Membership | Method of membership assignment of a port or range of ports to a VLAN (static, dynamic). |
| Fast start | Status of whether the spanning-tree port fast-start feature on the port is enabled (yes, no). |
set port channel
set port broadcast
set port security
set port speed
set spantree portfast
set trunk
Use the show port cdp command to display port CDP information.
show port cdp [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
| port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display CDP information for all ports:
Console> show port cdp Port CDP Status Message-Interval -------- ---------- ---------------- 1/1 enabled 60 1/2 enabled 60 2/1 enabled 60 3/1 enabled 60 5/1-2 enabled 60 Console>
Table 6-30 describes the possible fields (depending on the port type queried) in the show port cdp command output.
| Field | Description |
|---|---|
| Port | Module and port number. |
| CDP Status | CDP status of the port (enabled, disabled). |
| Message-Interval |
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 command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
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 statistics parameter:
Console> show port channel 1 statistics
Port PAgP Pkts PAgP Pkts
Transmitted Received
----- ----------- ---------
1/1 0 0
1/2 0 0
Console>
This example shows show port channel with the info parameter:
>Console> show port channel 5/1 info >Port Speed Duplex Vlan Port Secure port\ Trunk status VLANs > priority Dynamic port >----- ----- ------ ---- -------- ------------ ------------ ------------------ > > 5/1 a-100 a-full 1 32 trunking 1-1005 > 5/2 a-100 a-full 1 32 trunking 1-1005 >----- ----- ------ ---- -------- ------------ ------------ ------------------ > >Port ifIndex Group Neighbor Neighbor Neighbor > capability device-id port-id capability >----- ---------- ---------- ----------------- -------- ---------- > 5/1 530 1 00-e0-1e-52-1a-44 17 1 > 5/2 530 1 00-e0-1e-52-1a-44 18 1 >----- ---------- ---------- ----------------- -------- ---------- Console>
Table 6-31 describes various fields displayed 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. |
| Speed | Speed setting for the port. |
| Duplex | Duplex setting for the port (auto, full, fdx, half, hdx, a-half, a-hdx, a-full, a-fdx). |
| Vlan | VLAN to which the port belongs. |
| Port priority | Priority associated with the port. |
| Secure port/Dynamic port | Status of whether the port is secure or dynamic. |
| Trunk status | Status of whether the port is trunking or not. |
| VLANs | VLANs to which the port belongs. |
| ifIndex | Interface number to which the port belongs. |
| Group capability | Capability of the group. |
| Neighbor device-id | Device ID of the neighboring device with which the port is channeling. |
| Neighbor port-id | Port ID of the neighboring device with which the port is channeling. |
| Neighbor capability | Capability of the neighboring device. |
| PAgP Pkts Transmitted | Number of PAgP packets transmitted. |
| PAgP Pkts Received | Number of PAgP packets received. |
Use the show port counters command to show all the counters for a port.
show port counters [mod_num/port_num]| mod_num | (Optional) Number of the module for which to show port counter information. |
| port_num | (Optional) Number of the port on the module for which to show port counter information. |
This command has no default setting.
Switch command.
Normal.
This example shows the output of the show port counters command:
Console> 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
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
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
--------------------------
Wed Mar 11 1998, 14:58:19
Table 6-32 describes the possible fields (depending on the port type queried) in the show port counters command output.
| Field | Description |
|---|---|
| Port | Module and port number. |
| 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 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 received frames less than 64 octets long (but are otherwise well-formed). |
| Single-Coll | Number of times one collision occurred before the port successfully transmitted a frame to the media. |
| Multi-Coll | Number of 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 sensed a carrier (to determine whether the cable is currently being used). |
| Runts | Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port. |
| Giants | Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port. |
| CE-State | Connection entity status. |
| Conn-State | Connection state of the port, as follows:
|
|
Type | Type of port, such as A--A port and B--B port. |
| Neig | Type of port attached to this port. The neighbor can be one of these types:
|
|
Ler Con | Status of 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 filter command to view MAC addresses and protocol filters that have been configured on the Token Ring module ports.
show port filter [mod_num] [canonical]| mod_num | (Optional) Number of the module. |
| canonical | (Optional) Keyword used to specify the MAC address display in canonical format. |
| mod_num/ port_num | Module and port numbers. |
| mac_addr | MAC address contained in the packets to be filtered. You need to enter this address in canonical format (00-11-33-44-55) or in noncanonical (00:11:22:33:44:55) format. |
By default, MAC addresses are shown in noncanonical format.
Switch command.
Normal.
This example shows how to display the filters configured for a port on the Token Ring module:
Console> show port filter 3/1
Port Mac-Addr Type
----- ----------------- ------
3/1 00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
00:00:00:00:00:00 deny
Port Protocol Type
----- ----------------- ------
3/1 0x8038 deny
0xf0f0 deny
Table 6-33 describes the fields in the show port filter command output.
| Field | Description |
| Port | Module and port number. |
| MAC-Addr | MAC address contained in packets to be filtered. |
| Type | Type of MAC address filter configured. Possible types are deny (block any packet containing a specific MAC address) or permit (allow any packet containing a specific MAC address). |
| Protocol | Types of protocols that you want to filter. |
| Type | Type of protocol filter configured. Possible types are deny (block any packet containing a specific protocol type) or permit (allow any packet containing a specific protocol type). |
clear port filter
set port filter
Use the show port flowcontrol command to display per-port status information and statistics related to flow control.
show port flowcontrol [mod_num[/port_num]| mod_num | (Optional) Number of the module. |
| /port_num | (Optional) Number of the port on the module. If you do not specify a number, filters configured on all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the flow control port status and statistics:
Console> show port flowcontrol Port Send-Flowcontrol Receive-Flowcntl RxPause TxPause Admin Oper Admin Oper ----- ---------------- ---------------- ------- ------ 3/1 on disagree on disagree 0 0 3/2 off off off off 0 0 3/3 desired on desired off 10 10
Table 6-34 describes the fields in the show port flowcontrol command output.
| Field | Description |
| Port | Module and port number. |
| Send-Flowcontrol- Admin | Flow control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it. |
| Send-Flowcontrol- Oper | Flow control operation. Possible settings: disagree indicates the two ports could not agree on a link protocol. |
| Receive-Flowcntl- Admin | Flow control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control. |
| Receive-Flowcntl- Oper | Flow control operation. Possible settings: disagree indicates the two ports could not agree on a link protocol. |
| RxPause | Time in seconds during which the port does not receive packets. |
| TxPause | Time in seconds during which the port does not transmit packets. |
Use the show port negotiation command to display the link negotiation protocol setting for the specified port.
show port negotiation [mod_num[/port_num]| mod_num | (Optional) Number of the module. |
| /port_num | (Optional) Number of the port on the module. |
The default is link negotiation protocol enabled.
Switch command.
Normal.
This command only applies to ports on the three-port Gigabit Ethernet switching module (WS-X5403).
This example shows how to display the link negotiation protocol settings on module 3, port 1:
Console> show port negotiation 3/1 Port Link Negotiation ------- -------------------- 3/1 enabled Console>
show port flowcontrol
set port negotiation
Use the show port protocol command to view protocol filters configured on the ports on your Token Ring module ports.
show port protocol [mod_num[/port_num]| mod_num | (Optional) Number of the module. |
| port_num | (Optional) Number of the port on the module. If you do not specify a number, filters configured on all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to view protocol filters on configured ports:
Console> show port protocol Port Vlan IP IP Hosts IPX IPX Hosts Group Group Hosts -------- ---------- -------- -------- -------- --------- -------- ----------- 1/1 1 on 0 on 0 on 0 1/2 1 on 0 on 0 on 0 2/1 1 on 3 auto-on 0 auto-on 0 2/2 1 on 0 on 0 on 0 2/3 1 on 0 on 0 on 0 2/4 1 on 0 on 0 on 0 2/5 1 on 0 on 0 on 0 2/6 1 on 0 on 0 on 0 2/7 1 on 0 on 0 on 0 2/8 1 on 0 on 0 on 0 2/9 1 on 0 on 0 on 0 2/10 1 on 0 on 0 on 0 2/11 1 on 0 on 0 on 0 2/12 1 on 0 on 0 on 0 2/13 1 on 0 on 0 on 0 2/14 1 on 0 on 0 on 0 Console>
Use the show port status command to display port status information.
show port status [mod_num[/port_num]]| mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
| port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display port status information for all ports:
Console> show port status Port Name Status Vlan Level Duplex Speed Type ----- ------------------ ---------- ---------- ------ ------ ----- ------------ 1/1 connected 523 normal half 100 100BaseTX 1/2 notconnect 1 normal half 100 100BaseTX 2/1 connected trunk normal half 400 Route Switch 3/1 notconnect trunk normal full 155 OC3 MMF ATM 5/1 notconnect 1 normal half 100 FDDI 5/2 notconnect 1 normal half 100 FDDI Console>
Table 6-35 describes the possible fields (depending on the port type queried) in the show port status 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-14, a-16). |
| Type1 | Port type, for example, 10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, TokenRing, FDDI, CDDI, and RSM. |
Use the show protocolfilter command to list whether protocol filtering is enabled or disabled.
show protocolfilterThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
This example shows how to display whether protocol filtering is enabled or disabled:
Console> show protocolfilter Protocol filtering is enabled on this switch. Console>
Use the show rif command to display RIF information.
show rif [vlan_num]| vlan_num | (Optional) Number of the VLAN that you want to view RIF information on. |
This command has no default setting.
Switch command.
Normal.
These examples show 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 rsmautostate command to display the current status of line protocol state determination of the RSM(s) due to Catalyst 5000 series port state change.
show rsmautostate mod_num| mod_num | Number of the module. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current status of RSM line protocol state determination:
Console> show rsmautostate RSM Auto port state: enabled Console>
Use the show snmp command to display SNMP information.
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.
This example shows how to display community string information:
Console> 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>
Table 6-36 describes the fields in the show snmp command output.
| Field | Description |
|---|---|
| RMON | Status of whether RMON is enabled or disabled. |
| Traps Enabled | Trap types that are enabled. |
| Port Traps Enabled | Set of ports whose linkup/linkdown trap is enabled. |
| Community-Access | Configured SNMP communities. |
| Community-String | SNMP community strings associated with each SNMP community. |
| Trap-Rec-Address | IP address or IP alias of trap receiver hosts. |
| Trap-Rec-Community | 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.
SPAN in the context of a single module is the only possible configuration for Token Ring modules.
This example shows how to display SPAN information:
Console> show span Status : enabled Admin Source: VLAN 1 Oper Source : None Destination : Port 1/1 Direction : transmit/receive Console>
Table 6-37 describes the fields in the show span command output.
| Field | Description |
|---|---|
| Admin Source | Source port or VLAN for SPAN information. |
| Oper Source | Operator 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] [active | backbonefast | blockedports | portstate | 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. |
| active | (Optional) Keyword used to display only the active ports. |
| backbonefast | (Optional) Keyword used to show whether the Spanning-Tree Backbone Fast Convergence feature is enabled. |
| blockedports | (Optional) Keyword used to display only the blocked ports. |
| portstate | (Optional) Keyword used to display the port state. |
| 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>show spantree 1005VLAN 1005Spanning 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>
Table 6-38 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 nonroot 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 | Amount of time the bridge sends BPDUs. |
| Forward Delay | Amount of 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, type-pvid-inconsistent). |
| 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 backbonefast command to display whether the Spanning-Tree Backbone Fast Convergence feature is enabled.
show spantree backbonefastThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display whether the Spanning-Tree Backbone Fast Convergence feature is enabled:
Console> show spantree backbonefast Backbonefast is enabled. Console>
Use the show spantree blockedports command to display only the blocked ports.
show spantree blockedports [vlan_num]| vlan_num | (Optional) Number of the VLAN. |
This command has no default setting.
Switch command.
Normal.
If you do not specify a VLAN number, all blocked ports in the system are displayed.
This example shows how to display the blocked ports for VLAN 1002:
Console> show spantree blockedports 1002 Number of blocked ports (segments) in VLAN 1002 : 0 Console>
Use the show spantree portstate command to determine the current spanning-tree state of a Token Ring port within a spanning tree.
show spantree portstate [trcrf ]| trcrf | (Optional) Token Ring concentrator relay function statistical information. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the current spanning-tree state of a Token Ring port within a spanning tree:
Console> show spantree portstate 1003 Port,Vlan Vlan Port-State Cost Priority Fast-Start Group-method --------- ---- ------------- ----- -------- ---------- ------------ 1003 1005 inactive 80 4 disabled * = portstate set by user configuration Console>
Use the show spantree portvlancost command to show the path cost for the VLANs on a port.
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.
Normal.
This example shows how to display the path cost for the VLANs on port 2/12:
Console> show spantree portvlancost 2/12 Port 2/12 VLANs 1-1005 have path cost 19. Console>
Use the show spantree statistics command to show spanning-tree statistical information.
show spantree statistics mod_num/port_num [vlan]| mod_num | Number of the module. |
| port_num | Number of the port. |
| vlan | (Optional) Number of the VLAN. |
| trcrf | Number of the Token Ring concentrator relay function VLAN. |
| trbrf | Number of the Token Ring bridge relay function VLAN. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display Token Ring concentrator relay function statistical information:
Console> (enable) show spantree statistics 1003 1005
TR CRF 1003, TR BRF 1005
SpanningTree enabled for vlanNo = 1005
BPDU-related parameters
port spanning tree enabled
state disabled
port_id 0xcccf
port number 0x7eb
path cost 80
message age (port/VLAN) 0(10)
designated_root 00-10-2f-52-eb-ec
designated_cost 0
designated_bridge 00-10-2f-52-eb-ec
designated_port 0xcccf
top_change_ack FALSE
config_pending FALSE
PORT based information & statistics
config bpdu's xmitted (port/VLAN) 0(0)
config bpdu's received (port/VLAN) 0(0)
tcn bpdu's xmitted (port/VLAN) 0(0)
tcn bpdu's received (port/VLAN) 0(0)
forward trans count 0
Status of Port Timers
forward delay timer INACTIVE
forward delay timer value 0
message age timer INACTIVE
message age timer value 0
topology change timer INACTIVE
topology change timer value 0
hold timer INACTIVE
hold timer value 0
delay root port timer INACTIVE
delay root port timer value 0
VLAN based information & statistics
spanningtree type ibm
spanningtree multicast address c0-00-00-00-01-00
bridge priority 32768
bridge mac address 00-10-2f-52-eb-ec
bridge hello time 2 sec
bridge forward delay 4 sec
topology change initiator: 1/0
topology change FALSE
topology change time 14
topology change detected FALSE
topology change count 0
Other port-specific info
dynamic max age transitions 0
port bpdu ok count 0
msg age expiry count 0
link loading 1
bpdu in processing FALSE
num of similar bpdus to process 0
next state 0
src mac count: 0
total src mac count 0
curr_src_mac 00-00-00-00-00-00
next_src_mac 00-00-00-00-00-00
channel_src_mac 00-00-00-00-00-00
channel src count 0
channel ok count 0
Console> (enable)
Use the show spantree summary command to display a summary of spanning-tree information.
show spantree summaryThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display a summary of spanning-tree information:
Console> show spantree summary
Summary of connected spanning tree ports by vlan
Uplinkfast disabled for bridge.
Backbonefast enabled for bridge.
Vlan Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
1 0 0 0 1 1
Blocking Listening Learning Forwarding STP Active
----- -------- --------- -------- ---------- ----------
Total 0 0 0 1 1
BackboneFast statistics
-----------------------
Number of inferior BPDUs received (all VLANs) : 0
Number of RLQ req PDUs received (all VLANs) : 0
Number of RLQ res PDUs received (all VLANs) : 0
Number of RLQ req PDUs transmitted (all VLANs) : 0
Number of RLQ res PDUs transmitted (all VLANs) : 0
Console>
Use the show spantree uplinkfast command to show the uplinkfast settings.
show spantree uplinkfastThis command has no arguments or keywords.
This 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 Console>
Use the show station controltable command to display a collection of statistics and status information associated with each Token Ring station on the local ring. In addition, this command provides status information for each ring being monitored.
show station controltable [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.
This command is only supported on Token Ring modules.
The following example shows how to display a collection of statistics and status information associated with each Token Ring station on Token Ring module 3:
Console> show station controltable 3 Port TableSize ActiveStation RingState ----- ----------------- ----------------- ----------------- 3/1 0 0 Normal Operation 3/2 0 0 Normal Operation 3/3 0 0 Normal Operation 3/4 0 0 Normal Operation 3/5 0 0 Normal Operation 3/6 0 0 Normal Operation 3/7 0 0 Normal Operation 3/8 0 0 Normal Operation 3/9 0 0 Normal Operation 3/10 0 0 Normal Operation 3/11 0 0 Normal Operation 3/12 0 0 Normal Operation 3/13 0 0 Normal Operation 3/14 0 0 Normal Operation 3/15 0 2 Normal Operation 3/16 0 0 Normal Operation Port BeaconSender BeaconNAUN OrderChanges ----- ----------------- ----------------- ----------------- 3/1 00:00:00:00:00:00 00:00:00:00:00:00 0 3/2 00:00:00:00:00:00 00:00:00:00:00:00 0 3/3 00:00:00:00:00:00 00:00:00:00:00:00 0 3/4 00:00:00:00:00:00 00:00:00:00:00:00 0 3/5 00:00:00:00:00:00 00:00:00:00:00:00 0 3/6 00:00:00:00:00:00 00:00:00:00:00:00 0 3/7 00:00:00:00:00:00 00:00:00:00:00:00 0 3/8 00:00:00:00:00:00 00:00:00:00:00:00 0 3/9 00:00:00:00:00:00 00:00:00:00:00:00 0 3/10 00:00:00:00:00:00 00:00:00:00:00:00 0 3/11 00:00:00:00:00:00 00:00:00:00:00:00 0 3/12 00:00:00:00:00:00 00:00:00:00:00:00 0 3/13 00:00:00:00:00:00 00:00:00:00:00:00 0 3/14 00:00:00:00:00:00 00:00:00:00:00:00 0 3/15 00:00:00:00:00:00 00:00:00:00:00:00 1 3/16 00:00:00:00:00:00 00:00:00:00:00:00 0 Console>
Table 6-39 describes the fields in the show station controltable command output.
| Field | Description |
| Port | Module and port number. |
| TableSize | Number of Token Ring station entries in the table associated with this port. |
| ActiveStation | Number of active Token Ring station entries in the table associated with this port. |
| RingState | Current status of the ring. |
| BeaconSender | Address of the sender of the last beacon frame received on this ring. If no beacon frames have been received, this object shall be equal to six octets of zero. |
| BeaconNAUN | Address of the nearest upstream neighbor in the last beacon frame received on this ring. If no beacon frames have been received, this object shall be equal to six octets of zero. |
| OrderChanges | Number of add and delete events in the table associated with this port. |
show counters
show station ordertable
Use the show station ordertable command to display a listing of the order of stations on the monitored rings.
show station ordertable [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.
This command is only supported on Token Ring modules.
The following example shows how to display a listing of the order of stations on the monitored rings of Token Ring module 3:
Console> show station ordertable 3
Port OrderIndex Address
----- --------------- -----------------
3/15 1 00:05:77:05:40:63
2 00:00:30:cf:a0:98
Console>
Table 6-40 describes the fields in the show station ordertable command output.
| Field | Description |
| Port | Module and port number. |
| OrderIndex | Location of the station with respect to other stations on the ring. |
| Address | Physical address of the station. |
show counters
show station controltable
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.
In a Token Ring module, the values shown for Traffic and Peak are the average of three switching buses.
This example shows the system status and other information:
Console> 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% Wed Mar 11 1998, 03:22:20 System Name System Location System Contact ------------------------ ------------------------ ------------------------ Catalyst 5000 San Jose, CA Susan x237 Console>
Table 6-41 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 is 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 | 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.
Normal.
This example shows how to display the TACACS+ protocol configuration:
Console> 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>
Table 6-42 describes the fields in the show tacacs command output.
| Field | Description |
|---|---|
| Login authentication tacacs | Status of whether login authentication using a TACACS+ server is enabled or disabled. |
| Login authentication local | Status of whether login authentication using a local password is enabled or disabled. |
| Enable authentication tacacs | Status of whether enable authentication using a TACACS+ server is enabled or disabled. |
| Enable authentication local | Status of 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 | Status of whether TACACS+ directed-request option is enabled or disabled. |
| Tacacs-Server | IP addresses or IP aliases of configured TACACS+ servers. |
| Status | 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 you do not specify a number, test statistics are given for the general system as well as for module 1. |
This command has no default setting.
Normal.
The NMP only applies to module 1; therefore, only the display for module 1 includes the NMP status. If you specify other modules, the NMP status is not displayed.
This example shows how to display general test results for the system and for module 1:
Console> show test
Environmental Status (. = Pass, F = Fail, U = Unknown)
PS (3.3V): . PS (12V): . PS (24V): . PS1: . PS2: .
Temperature: . Fan: .
Module 1 : 2-port 10/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 : .
RAM : . LTL : . CBL : . DPRAM : . SAMBA : .
Saints : . Pkt Bufs : . Repeater : N FLASH : .
Phoenix : . TrafficMeter: . UplinkSprom : . PhoenixSprom: .
MII Status:
Ports 1 2
-----------
N N
SAINT/SAGE Status :
Ports 1 2
-----------
. .
PHOENIX Port Status :
Ports 9 17 18 19 20 21 22
INBAND A->B B->A B->C C->B A->C C->A
------------------------------------------
. . . . . . .
Packet Buffer Status :
Ports 1 2
-----------
. .
PHOENIX Packet Buffer Status :
Ports INBAND A<->B B<->C A<->C
------------------------------
. . . .
Loopback Status [Reported by Module 1] :
Ports 1 2 9
--------------
. . .
Channel Status :
Ports 1 2
-----------
. .
Console>
Table 6-43 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 display the EARL status information. |
| 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. |
| Phoenix | Test results for the Phoenix. |
| TrafficMeter | Test results for the TrafficMeter. |
| UplinkSprom | Test results for the UplinkSprom. |
| PhoenixSprom | Test results for the Phoenix. |
| MII Status | Test results for MII ports. |
| SAINT/SAGE Status | Test results for individual SAINT/SAGE chip. |
| Phoenix Port Status | Test results for Phoenix ports. |
| Packet Buffer Status | Test results for individual packet buffer. |
| Phoenix Packet Buffer Status | Test results for Phoenix packet buffer. |
| Loopback Status | Test results for the loopback test. |
| Channel Status | Test results for the channel test. |
This example shows how to display test results for module 10 (an FDDI module):
Console> 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>
Table 6-44 describes the fields in the show test command output for an FDDI module.
| Field | Description |
|---|---|
| Module 10 | Field that indicates the subsequent test results apply to 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> show time Wed Mar 11 1998, 02:54:50 Console>
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> show timezone Timezone set to 'pst', offset from UTC is -8 hours Console>
Use the show tokenring command to display the current values of various Token Ring-specific configuration parameters.
show tokenringThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This command is only supported on Token Ring modules.
This example shows how to display the Token Ring settings for port 4 on module 3:
Console> show tokenring 3/4 Ports Crf/Brf Ring# Port-Mode Early-Token AC-bits ----- --------- ----- ------------- ----------- -------- 3/4 1003/0 3276 auto enabled disabled Ports Prior-Thresh Min-Xmit MAC-Address ----- ------------ -------- ----------------- 3/4 3 4 00:05:77:01:bb:11 Ports Cfg-Loss-Thresh Cfg-Loss-Intvl Cfg-Loss-Count Cfg-Loss-Reason ----- --------------- -------------- -------------- --------------- 3/4 8 1 0 none Console>
Table 6-42 describes the fields in the show tokenring command output.
| Field | Description |
| Ports | Module and port number. |
| Crf/Brf | TrCRF to which a port is assigned and the parent BRF associated with the CRF. |
| Ring | Logical ring number (in hexadecimal format) assigned to the TrCRF. Possible values are auto and 01 through FFF. |
| Port-Mode | Operation mode of the port. Possible values are auto, fdxcport, fdxstation, hdxcport, hdxstation, passive, and riro. Only FDX and HDX modes are automatically detected. The operation mode of riro applies to fiber ports only. |
| Early-Token | Status of whether the port is enabled for early token release. Possible values are yes and no; the default is yes. Early token release is valid for 16-Mbps media only. If the early token release is enabled and the media speed is 4 Mbps, the switch forces early token release to be disabled. |
| AC-bits | Status of whether the AC-bits should be set unconditionally on repeated source-routed LLC frames. These include source-routed frames with RIF length greater than 2 and all Spanning-Tree Explorer and All-Routes Explorer frames; the default is no. If you set this parameter to no, the setting of these bits is based on whether the frame was actually forwarded. |
| Prior-Thresh | Highest Token Ring frame priority in the Frame Control field of the frame that the switch should place in the low-priority transmit queue. Possible values are 0 through 7; the default is 3. |
| Min-Xmit | Minimum reservation priority used when requesting a token on a busy ring. Possible values are 0 through 6; the default is 4. |
| MAC-Address | MAC address of the port. |
| Cfg-Loss-Thresh | Value used to control the number of configuration losses that can occur within the configuration loss sampling interval. Configuration loss occurs when a port completes a connection, allows data traffic to flow, and subsequently closes. When the threshold is exceeded, the port is disabled and you must enable it via this panel or an SNMP manager. Possible values are 1 through 100; the default is 8. |
| Cft-Loss-Intvl | Sampling period (in minutes) for measuring the number of configuration losses. Possible values are 1 through 60; the default is 1. |
| Cfg-Loss-Count | Number of Token Ring configuration loss events after the port has completed the join process and then lost communication. |
| Cfg-Loss-Reason | Error code of the latest configuration loss event. Possible values are None, Wire Fault, Lobe Test Fail, TKP Frame Error, Heart Beat Fail, TXI New Station, TXI Prot Error, Speed Error, Remove Received. |
Use the show top command to start the TopN process.
show top [N] [metric] [interval interval] [port_type] [background]| N | (Optional) Number of ports displayed. Valid values are 1 to a maximum number of physical ports. |
| metric | (Optional) Port statistic to sort on. Valid values are as follows:
util--utilization bytes--in/out bytes pkts--in/out packets bcst--in/out broadcast packets mcst--in/out multicast packets in-errors--in errors buf-ovflw--buffer overflow |
| interval | (Optional) Keyword used to specify duration of sample (in seconds). |
| interval | (Optional) Number of seconds for sample. Valid values include 0, 10...999 seconds. If the value is 0, the N topmost ports by absolute counter values are displayed. |
| port_type | (Optional) Type of switch ports to use for report. Valid values are as follows:
all--all port types are used eth--Ethernet port types are used fe--Fast Ethernet port types are used ge--Gigabit Ethernet port types are used tr--Token Ring port types are used fddi--FDDI port types are used |
| background | (Optional) Keyword that specifies the TopN report not to print to the screen when the task is done. Instead, it sends a notification out when the reports are ready. |
The defaults are as follows:
Switch command.
Normal.
You can terminate TopN processes with the background option specified only by using the clear top [report_num] command. You cannot terminate TopN processes by pressing Ctrl-C.
TopN reports with the background option specified are not displayed on the screen unless you enter a show top report [report_num] command.
If you do not specify the background option, the output TopN results are dumped to the screen when the task is done, and the results are printed one time only and are not saved.
You can terminate TopN processes (without the background option) by pressing Ctrl-C in the same Telnet/console session, or by entering a clear top [report_num] command from a separate Telnet/console session. The prompt is not printed before the TopN report completely displays. Other commands are blocked until the report has displayed.
This example shows how to start the TopN process with the background option:
Console> show top 10 util interval 600 background 03/18/1998,14:05:38:MGMT-5: TopN report 2 started by telnet/172.20.22.7/. Console> 03/18/1998,14:15:38:MGMT-5: TopN report 2 available.
This example shows how to start the TopN process without the background option:
Console> show top 10 util interval 600
Start Time: 03/18/1998,12:04:16
End Time: 03/18/1998,12:14:18
PortType: all
Metric: util
Port Band- Uti Tx/Rx-bytes Tx/Rx-pkts Tx/Rx-bcst Tx/Rx-mcst In- Buf-
width % err Ovflw
----- ----- --- -------------------- ---------- ---------- ---------- ---- -----
1/1 100 0 65433 824 0 719 0 0
5/48 10 0 3543 45 0 34 0 0
5/47 10 0 45367 124 0 219 0 0
5/46 10 0 23456 49 0 108 0 0
5/45 10 0 2314 218 0 701 0 0
Console>
Use the show top report command to list all TopN processes and specific TopN report.
show top report [report_num]| report_num | (Optional) TopN report number for each process. |
This command has no default setting.
Switch command.
Normal.
If you do not specify report_num, this command lists all the active TopN processes and all the available TopN reports for the switch. Each process is associated with a unique report number. All TopN processes (both with and without background option) are shown in the list.
An asterisk displayed after the pending status field indicates that it is not a background TopN and the results are not saved.
This example shows how to display all the active TopN processes and all the available TopN reports for the switch:
Console> show top report Rpt Start time Int N Metric Status Owner (type/machine/user) --- ------------------- --- --- ---------- -------- ------------------------- 1 03/18/1998,11:34:00 60 20 Tx/Rx-Bytes done telnet/172.20.22.7/ 2 03/18/1998,11:34:08 600 10 Util done telnet/172.34.39.6/ 4 03/18/1998,11:35:17 300 20 In-Errors pending Console// 5 03/18/1998,11:34:26 60 20 In-Errors pending* Console// Console>
This example shows an attempt to display a TopN report 5 (shown in the first example) that is still in pending status:
Console> show top report 5 Rpt Start time Int N Metric Status Owner (type/machine/user) --- ------------------- --- --- ---------- -------- ------------------------- 5 03/18/1998,11:34:26 60 20 In-Errors pending* Console// Console>
This example shows how to display the available TopN report 2 (shown in the first example) for the switch:
Console> show top report 2
Start Time: 03/18/1998,11:34:00
End Time: 03/18/1998,11:34:33
PortType: all
Metric: util
Port Band- Uti Tx/Rx-bytes Tx/Rx-pkts Tx/Rx-bcst Tx/Rx-mcst In- Buf-
width % err Ovflw
----- ----- --- -------------------- ---------- ---------- ---------- ---- -----
/15 100 88 98765432109876543210 9876543210 98765 12345 123 321
5/48 10 75 44532 5389 87 2 0 0
5/47 10 67 5432 398 87 2 0 0
5/46 10 56 1432 398 87 2 0 0
5/45 10 54 432 398 87 2 0 0
5/44 10 48 3210 65 10 10 15 5
5/43 10 45 432 5398 87 2 2 0
5/42 10 37 5432 398 87 2 0 0
5/41 10 36 1432 398 87 2 0 0
5/40 10 14 2732 398 87 2 0 0
Console>
Use the show traffic command to display Traffic/Peak information for each switching bus.
show trafficThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display Traffic/Peak information for each switching bus on Catalyst 5500 and Catalyst 5505 switches:
Console> show traffic Switching-Bus Traffic Peak Peak-Time ------------- ------- ---- ------------------------- A 5% 10% Tue Mar 10 1998, 22:45:20 B 4% 15% Mon Mar 16 1998, 09:59:31 C 6% 8% Mon Mar 16 1998, 11:30:13 Console>
Use the show trunk command to display trunking information for the switch.
show trunk [mod_num[/port_num]]| mod_num | (Optional) Number of the module. |
| port_num | (Optional) Number of the port. |
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> show trunk Port Mode Encapsulation Status Native vlan -------- ----------- ------------- ------------ ----------- 4/9 auto isl trunking 1 4/10 desirable isl trunking 1 Port Vlans allowed on trunk -------- --------------------------------------------------------------------- 4/9 1-1005 4/10 1-1005 Port Vlans allowed and active in management domain -------- --------------------------------------------------------------------- 4/9 1,4-5,1003,1005 4/10 1,4-5,1003,1005 Port Vlans in spanning tree forwarding state and not pruned -------- --------------------------------------------------------------------- 4/9 1005 4/10 1005 Console>
This example shows how to display trunking information for a specific port:
Console> show trunk 4/5 Port Mode Encapsulation Status Native vlan -------- ----------- ------------- ------------ ----------- 4/5 nonegotiate dot1q trunking 1 Port Vlans allowed on trunk -------- --------------------------------------------------------------------- 4/5 1-1005 Port Vlans allowed and active in management domain -------- --------------------------------------------------------------------- 4/5 1-3,1003,1005 Port Vlans in spanning tree forwarding state and not pruned -------- --------------------------------------------------------------------- 4/5 1005 Console>
Table 6-46 describes the fields in the show trunk command output.
| Field | Description |
|---|---|
| Port | Module and port number(s). |
| Mode | Trunk administrative status of the port (on, off, auto, or desirable). |
| Encapsulation | Trunking type configured by administration. |
| Status | Status of whether the port is trunking or nontrunking. |
| Native VLAN | Number of the native VLAN for the trunk link (the VLAN for which untagged traffic can be transmitted and received over the trunk). |
| 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> show users Console Port ------------ Active Telnet Sessions User ---------------------------------------- ------------------------------ 172.16.10.75 172.16.10.75 171.31.1.203 Console>
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> show version
WS-C5002 Software, Version McpSW: 4.1(0.38) NmpSW: 4.1(0.38)
Copyright (c) 1995-1998 by Cisco Systems
NMP S/W compiled on Mar 19 1998, 18:44:24
MCP S/W compiled on Mar 19 1998, 18:40:44
System Bootstrap Version: 3.1.2
Hardware Version: 1.3 Model: WS-C5002 Serial #: 007451586
Mod Port Model Serial # Versions
--- ---- ---------- --------- ----------------------------------------
1 2 WS-X5530 007451586 Hw : 1.3
Fw : 3.1.2
Fw1: 3.1(2)
Sw : 4.1(0.38)
2 12 WS-X5113 003158171 Hw : 1.6
Fw : 1.2
Sw : 4.1(0.38)
DRAM FLASH NVRAM
Module Total Used Free Total Used Free Total Used Free
------ ------- ------- ------- ------- ------- ------- ----- ----- -----
1 32640K 12485K 20155K 8192K 6798K 1394K 512K 111K 401K
Uptime is 0 day, 16 hours, 17 minutes
Console>
Table 6-47 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. |
| Module | Module number. |
| DRAM Total | Total dynamic RAM installed on the module. |
| Used | Amount of DRAM in use. |
| Free | Amount of available DRAM. |
| FLASH Total | Total Flash memory installed on the module. |
| Used | Amount of FLASH in use. |
| Free | Amount of available FLASH. |
| NVRAM Total | Total NVRAM installed on the module. |
| Used | Amount of NVRAM in use. |
| Free | Amount of available NVRAM. |
| 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 belong 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>show vlanVLAN 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 Console>
Table 6-48 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 one 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 | Status of 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> show vmps VMPS Server Status: ------------------- 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 VMPS Client Status: --------------------- VMPS VQP Version: 1 Reconfirm Interval: 60 min Server Retry Count: 3 VMPS domain server: No dynamic ports configured. Console>
Table 6-49 describes the fields in the show vmps command output.
| Field | Description |
|---|---|
| VMPS Server Status | |
| 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 accepts requests from clients with no domain name. |
| VMPS Client Status | |
| VMPS VQP Version | Version of VMPS VQP. |
| VMPS domain server | VMPS domain server 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 that allows you to see mapping information. If you do not specify a MAC address, 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 6-50 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 6-51 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 6-52 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 6-53 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> show vtp domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
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>
Table 6-54 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). |
| Password | Password required or not. |
| 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 6-55 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. |
|
|