|
|
Use the show counters command to display hardware counters for a port.
show counters mod/port
mod/port | Number of the module and the port. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
The Catalyst 2948G switch is a fixed configuration switch. All ports are located on module 2; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.
This example shows how to display the counters for port 1 on module 3 (a Token Ring module) on a Catalyst 5000 family or 2926G series switch:
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 2-17 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. |
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. |
| 32-Bit Counters (continued) | |
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. |
dot1dSrPortDuplicateSegmentDiscards | Number of Explorer frames discarded by this port because the routing descriptor field 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. |
| 32-Bit Counters (continued) | |
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. |
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. |
| 32-Bit Counters (continued) | |
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. |
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. |
When you enter the show counters command against a Catalyst 4000 family or 2948G switch port, the display is similar to that of a Catalyst 5000 family or 2926G series switch.
**GIGABIT PORTConsole>show counters 2/10 rxUnicastPacketCount = 01 txUnicastPacketCount = 02 rxMulticastPacketCount = 03 txMulticastPacketCount = 04 rxBroadcastPacketCount = 05 txBroadcastPacketCount = 06 rxByteCount = 07 txByteCount = 08 pkts64 = 09 pkts65to127 = 010 pkts128to255 = 011 pkts256to511 = 012 pkts512to1023 = 013 pkts1024to1522 = 014 rxNoPacketBufferCount = 015 rxCRCAlignErrorPacketCount = 016 rxUndersizedPacketCount = 017 rxOversizedPacketCount = 018 rxFragmentPacketCount = 019 rxJabberPacketCount = 020 pauseControlFramesRx = 021 pauseControlFramesTx = 022 unsupportedOpcodesRx = 023 txQueueNotAvailable = 024 totalCollisionCount = 025 lateCollisionCount = 026 singleCollisionFrames = 027 multipleCollisionFrames = 028 excessiveCollisionFrames = 029 deferredTransmissions = 030 carrierSenseErrors = 031 falseCarrierDuringIdle = 032 symbolErrorDuringCarrier = 033 sequenceErrorDuringCarrier = 0**10/100 PORTConsole> sh counters 3/30 rxUnicastPacketCount = 01 txUnicastPacketCount = 02 rxMulticastPacketCount = 03 txMulticastPacketCount = 04 rxBroadcastPacketCount = 05 txBroadcastPacketCount = 06 rxByteCount = 07 txByteCount = 08 pkts64 = 09 pkts65to127 = 010 pkts128to255 = 011 pkts256to511 = 012 pkts512to1023 = 013 pkts1024to1522 = 014 rxNoPacketBufferCount = 015 rxCRCAlignErrorPacketCount = 016 rxUndersizedPacketCount = 017 rxOversizedPacketCount = 018 rxFragmentPacketCount = 019 rxJabberPacketCount = 020 pauseControlFramesRx = 021 pauseControlFramesTx = 022 unsupportedOpcodesRx = 023 txQueueNotAvailable = 024 totalCollisionCount = 025 lateCollisionCount = 026 singleCollisionFrames = 027 multipleCollisionFrames = 028 excessiveCollisionFrames = 029 deferredTransmissions = 030 carrierSenseErrors = 031 falseCarrierDuringIdle = 032 symbolErrorDuringCarrier = 033 sequenceErrorDuringCarrier = 0
Table 2-18 describes the additional fields which may be displayed.
| Field | Description |
|---|---|
txUnicastPacketCount (size 64 bits) | Number of transmitted unicast packets (size 64 bits). |
rxUnicastPacketCount (size 64 bits) | Received unicast packets (size 64 bits). |
txMulticastPacketCount (size 64 bits) | Number of transmitted multicast packets (size 64 bits). |
rxMulticastPacketCount (size 64 bits) | Number of received multicast packets (size 64 bits). |
txBroadcastPacketCount (size 64 bits) | Number of transmitted broadcast packets (size 64 bits). |
rxBroadcastPacketCount (size 64 bits) | Number of received broadcast packets (size 64 bits). |
rxNoPacketBufferCount | Number of received no packet buffer packets. |
rxCRCAlignErrorPacketCount | Number of received CRC align error packets. |
rxFragmentPacketCount | Number of received fragment packets (size 64 bits). |
rxJabberPacketCount | Number of received Jabber packets (size 64 bits). |
unsupportedOpcodesRx | Number of unsupported Opcodes received errors. |
txQueueNotAvailable | Number of transmit queue not available errors. |
totalCollisionCount | Total collision count (Fast Ethernet) |
falseCarrierDuringIdle | Number of false carrier duringidle (Fast Ethernet) errors. |
symbolErrorDuringCarrier | Number of symbol error during carrier (Fast Ethernet) errors. |
SequenceErrorDuringCarrier | Number of sequence error during carrier (Gigabit Ethernet) errors. |
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.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
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.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
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.
Catalyst 5000 family switches
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 2-19 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 to cause MAC addresses to display in noncanonical format. |
mac_addr | (Optional) Specific MAC address that displays FDDI CAM table information. |
This command has no default setting.
Catalyst 5000 family switches
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 2-20 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 file command to display the contents of a file.
show file [device:] filename [dump]
device: | (Optional) Supervisor Engine III only: valid devices are bootflash, slot0, and slot1; Catalyst 4000 family and 2948G supervisor engine module: valid value is bootflash. |
filename | Name of the file. |
dump | Keyword to show the hex dump of the file. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Privileged.
A colon (:) is required after the specified device.
This example shows how to use the show file command on Supervisor Engines III, III F, and
Catalyst 4000 family, 2926G series, and 2948G switch:
Console> (enable) show file slot0:cfgfile begin #version 5.3(0.11)BOU-Eng ! set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set prompt Console> set length 24 default ... Console> (enable)
This example shows how to view the hex dump of a file:
Console> (enable) show file slot0:cfgfile dump 8099d140 0A626567 696E0A21 0A237665 7273696F .begin.!.#versio 8099d150 6E20352E 3328302E 31312942 4F552D45 n 5.3(0.11)BOU-E 8099d160 6E670A21 0A736574 20706173 73776F72 ng.!.set passwor 8099d170 64202431 24464D46 51244866 5A523544 d $1$FMFQ$HfZR5D 8099d180 55737A56 48495268 727A3468 36563730 UszVHIRhrz4h6V70 8099d190 0A736574 20656E61 626C6570 61737320 .set enablepass 8099d1a0 24312446 4D465124 48665A52 35445573 $1$FMFQ$HfZR5DUs 8099d1b0 7A564849 5268727A 34683656 37300A73 zVHIRhrz4h6V70.s 8099d1c0 65742070 726F6D70 7420436F 6E736F6C et prompt Consol 8099d1d0 653E0A73 6574206C 656E6774 68203234 e>.set length 24 ... Console> (enable)
This example shows how to use the show file command on Supervisor Engines II G and III G:
Console> (enable) show file cfg2 begin ! # ***** NON-DEFAULT CONFIGURATION ***** ! ! # Wed Apr 21 1999, 22:55:10 ! #version 5.3(0.53-Eng)ASP ! set prompt test> ! #frame distribution method set port channel all distribution mac both ! #ip set interface sc0 1 172.20.25.145/255.255.0.0 172.20.255.255 set ip route 0.0.0.0/0.0.0.0 172.20.25.201 ! #set boot command set boot auto-config non-recurring ! #qos set qos map 1q4t 0 0 cos 0 set qos map 1q4t 0 0 cos 1 set qos map 1q4t 0 0 cos 2 set qos map 1q4t 0 0 cos 3 set qos map 1q4t 0 0 cos 4 set qos map 1q4t 0 0 cos 5 set qos map 1q4t 0 0 cos 6 set qos map 1q4t 0 0 cos 7 set qos wred-threshold 1q4t tx queue 1 0 0 0 0 ! #module 1 : 4-port 10/100BaseTX Supervisor ! #module 2 : 24-port 10BaseF Ethernet ! #module 3 : 12-port 10/100BaseTX Ethernet ! #module 4 empty ! #module 5 empty end Console> (enable)
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 and Catalyst 4000 family and 2948G switch supervisor engine modules only; module number of the supervisor engine containing the Flash device. |
device: | (Optional) Supervisor Engine III only: valid devices are bootflash, slot0, and slot1; Catalyst 4000 family and 2948G switch supervisor engine module: valid value is bootflash. |
all | (Optional) Supervisor Engine III and Catalyst 4000 family and 2948G switch supervisor engine module only: keyword used to list deleted files, undeleted files, and files with errors on a Flash memory device. |
chips | (Optional) Supervisor Engine III and Catalyst 4000 family and 2948G switch supervisor engine modules only: keyword used to show information about the Flash chip. |
filesys | (Optional) Supervisor Engine III and Catalyst 4000 family and 2948G switch supervisor engine modules only: keyword used to show the Device Info Block, the Status Info, and the Usage Info. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
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 FileVersionSectorSizeBuilt -------------- ------------ ------------ ------- ----------------- c5000 nmp3.1(213-Eng)02-11160670906/16/98 00:16:21 epld3.13072920 06/14/98 20:33:06 lcp atm3.112-1523747 06/14/98 12:16:37 lcp tr3.112-1528737 06/14/98 12:22:52 lcp c5ip3.112-1523723 06/14/98 12:27:36 lcp 64k3.112-1557100 06/14/98 12:24:57 atm/fddi3.112-1524502 06/14/98 11:57:58 lcp 3603.1(212)12-15120648 06/14/98 12:32:50 mcp3.112-1526278 06/14/98 11:50:41 cfg17124 04/23/99 09:20:50 cfg2849 04/20/99 13:45:01 Console>
The following examples show how to list Flash information for Supervisor Engine III (the output is similar to that displayed for Catalyst4000 family and 2948G switch supervisor engine modules):
Console> show flash -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1.D 22D6B310A100fc0151052123Aug26 1998 15:43:50 cat5k_r47_1.cbi 2.. 243B312DF201ed8151052608Aug27 1998 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 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 8:B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 16 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 24 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 COMMON MEMORY REGISTERS: Bank 1 Intelligent ID Code : 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 8:B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 16 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 24 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 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= 6887635File System Vers = 10000(1.0) Length= 800000Sector Size= 20000 Programming Algorithm= 4Erased State= FFFFFFFF File System Offset= 20000 Length = 7A0000 MONLIB Offset= 100Length = C730 Bad Sector Map Offset= 1FFF8Length = 8 Squeeze Log Offset= 7C0000Length = 20000 Squeeze Buffer Offset= 7E0000Length = 20000 Num Spare Sectors= 0 Spares: STATUS INFO: Writable NO File Open for Write Complete Stats No Unrecovered Errors USAGE INFO: Bytes Used= 201D9BBytes Available = 5FE265 Bad Sectors= 0Spared Sectors= 0 OK Files= 1Bytes = 100FC0 Deleted Files= 1Bytes = 100DDB Files w/Errors= 0Bytes = 0 Console> show flash all -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1.D 22D6B310A 100fc0151052123Aug26 1998 15:43:50 cat5k_r47_1.cbi 2.. 243B312DF 201ed8151052608Aug27 1998 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= 6887635File System Vers = 10000 (1.0) Length= 800000Sector Size = 20000 Programming Algorithm = 4Erased State = FFFFFFFF File System Offset= 20000Length = 7A0000 MONLIB Offset= 100 Length = C730 Bad Sector Map Offset = 1FFF8Length = 8 Squeeze Log Offset= 7C0000Length = 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= 201D9BBytes Available = 5FE265 Bad Sectors= 0Spared Sectors= 0 OK Files= 1Bytes = 100FC0 Deleted Files= 1Bytes = 100DDB Files w/Errors = 0Bytes = 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 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 8:B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 16 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 24 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 COMMON MEMORY REGISTERS: Bank 1 Intelligent ID Code: 8989A0A0 Compatible Status Reg: 8080 Global Status Reg: B0B0 Block Status Regs: 0 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 8:B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 16 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 24 :B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0B0 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
resetswitch
show versionswitch
upload
Use the show gmrp configuration command to display complete GMRP-related configuration information.
show gmrp configurationThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
If the port list exceeds the available line spaces, the list wraps to the next line.
This example shows the display when GMRP is enabled:
Console> (enable) show gmrp configuration Global GMRP Configuration: GMRP Feature is currently enabled on this switch. GMRP Timers (milliseconds): Join = 200 Leave = 600 LeaveAll = 10000 Port based GMRP Configuration: GMRP StatusRegistrationForward AllPort -------------------------------------------------------------------- EnabledFixedDisabled2/1,3/1-2 DisabledNormalDisabled2/5-6 EnabledNormalDisabled1/1-2 Console> (enable)
Use the show gmrp statistics command to display all the GMRP-related statistics for a specified VLAN.
show gmrp statistics [vlan]
vlan | (Optional) VLAN for which to show GMRP statistics. |
If no VLAN is specified, the default is that statistics for VLAN 1 are shown.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows the display for all the GMRP-related statistics for VLAN 23:
Console> show gmrp statistics 23 GMRP Statistics for vlan <23>:Total valid GMRP Packets Received: 500Join Emptys:200Join INs: 250Leaves:10Leave Alls:35Emptys:5Fwd Alls:0Fwd Unregistered:0Total valid GMRP Packets Transmitted: 600Join Emptys:200Join INs: 150Leaves:45Leave Alls:200Emptys:5Fwd Alls:0Fwd Unregistered:0Total valid GMRP Packets Received: 0Total GMRP packets dropped:0Total GMRP Registrations Failed:0Console>
Use the show gmrp timer command to display all the GMRP timers values.
show gmrp timerThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
You can enter the show multicast group command to display GMRP configuration values.
This example shows how to display all the GMRP timer values:
Console> (enable) show gmrp timer TimerTimer Value(milliseconds) --------------------------------------------- Join200 Leave600 Leave All10000 Console> (enable)
set gmrp timer
set gvrp timer
set garp timer
show multicast group
Use the show gvrp configuration command to display GVRP configuration information, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.
show gvrp configurationThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
If the port list exceeds the available line spaces, the list wraps to the next line.
If no ports are GVRP participants, the message output changes from "GVRP Participants running on port_list" to "GVRP Participants running on no ports."
This example shows how to view GVRP configuration information:
Console> show gvrp configuration Global GVRP Configuration: GVRP Feature is currently enabled on the switch. GVRP dynamic VLAN creation is enabled. GVRP Timers(milliseconds) Join = 200 Leave = 600 LeaveAll = 10000 Port based GVRP Configuration: GVRP Status Registration Port -------------- --------------- ------------------------------------------------------- Enabled Normal2/1-2,3/1-8,7/1-24,8/1-24 GVRP Participants running on 3/7-8. Console>
set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp statistics
Use the show gvrp statistics command to view GVRP statistics for a port.
show gvrp statistics [mod/port]
mod/port | (Optional) Number of the module and port. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
This example shows how to view GVRP statistics for module 2, port 1:
Console> show gvrp statistics 2/1 GVRP enabled GVRP statistics for port 2/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 GVRP packets dropped 0 Console>
Table 2-21 describes the fields in the show gvrp statistics output.
| Field | Description |
|---|---|
GVRP Enabled | Status of whether GVRP is enabled or disabled. |
Total valid pkts recvd | Total number of valid GVRP packets received. |
Total invalid pkts recvd | Total number of invalid GVRP packets received. |
General Queries recvd | Total number of GVRP general queries received. |
Group Specific Queries recvd | Total number of GVRP group-specific queries received. |
MAC-Based General Queries recvd | Total number of MAC-based general queries received. |
Leaves recvd | Total number of GVRP leaves received. |
Reports recvd | Total number of GVRP reports received. |
Queries Xmitted | Total number of GVRP general queries transmitted by the switch. |
GS Queries Xmitted | Total number of GVRP group specific-equivalent queries transmitted by the switch. |
Reports Xmitted | Total number of GVRP reports transmitted by the switch. |
Leaves Xmitted | Total number of GVRP leaves transmitted by the switch. |
Failures to add GDA to EARL | Total number of times the switch failed to add a multicast entry (GDA) to the EARL table. |
Topology Notifications rcvd | Total number of topology change notifications received by the switch. |
GVRP packets dropped | Total number of GVRP packets dropped by the switch. |
Related Commands
set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp configuration
Use the show ifindex command to display the information of the specific ifIndex.
show ifindex number
number | Number of the ifIndex. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Switch command.
Normal.
You can designate multiple ifIndex numbers by separating each number with commas. To specify a range of numbers, use a dash (-) between the low and high numbers.
This example shows how to display ifIndex information:
Console> (enable)show ifindex 1,2,3,4-15Ifindex 1 is mapped to interface sc0.Ifindex 2 is mapped to interface sl0.Ifindex 3 is mapped to port 1/1.Ifindex 4 is mapped to port 1/2.Ifindex 5 is mapped to port 1/3.Ifindex 6 is mapped to port 1/4.Ifindex 7 is mapped to vlan 1.Ifindex 8 is mapped to vlan 1002.Ifindex 9 is mapped to vlan 1004.Ifindex 10 is mapped to vlan 1005.Ifindex 11 is mapped to vlan 1003.Ifindex 12 is mapped to port 9/1.Ifindex 13 is mapped to port 9/2.Ifindex 14 is mapped to port 9/3.Ifindex 15 is mapped to port 9/4.
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.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
This example shows how to view IGMP statistics for VLAN 1:
Console> show igmp statistics 1 IGMP disabled IGMP fastleave 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 2-22 describes the fields in the show igmp statistics output.
| Field | Description |
|---|---|
IGMP Enabled | Status of 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 specific-equivalent queries transmitted by the switch. |
Reports Xmitted | Total number of IGMP reports transmitted by the switch. |
Leaves Xmitted | Total number of IGMP leaves transmitted by the switch. |
Failures to add GDA to EARL | Total number of times the switch failed to add a multicast entry (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 igmp fastleave
set multicast router
show multicast router
show multicast group count
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Oct 5 10:54:09 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.