|
|
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 2-17 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 specific-equivalent queries transmitted by the switch. |
igmp leaves transmitted | Number of IGMP leaves transmitted by the switch. |
failures to add GDA to EARL | Number of times the switch failed to add a multicast entry (GDA) to the EARL table. |
topology notifications received | Number of topology change notifications received by the switch. |
number of CGMP packets dropped | Number of IGMP packets dropped by the switch. |
Use the show config command to display the current system configuration.
show configThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Privileged.
This example shows the (partial) contents of a configuration file:
Console> (enable) show config ... ......... ......... ......... .......... . begin set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70 set prompt cat19-lnf> set length 24 default set logout 20 set banner motd ^C Welcome to the Cat 5000! ^C ! #system set system baud 9600 set system modem disable set system name Catalyst 5000 set system location San Jose, CA set system contact Susan x237 #cgmp set cgmp enable ! #syslog set logging console enable set logging server disable set logging level cdp 2 default set logging level cgmp 2 default set logging level disl 5 default set logging level dvlan 2 default set logging level earl 2 default set logging level fddi 2 default set logging level ip 2 default set logging level pruning 2 default set logging level snmp 2 default set logging level spantree 2 default set logging level sys 5 default set logging level tac 2 default set logging level tcp 2 default set logging level telnet 2 default set logging level tftp 2 default set logging level vtp 2 default set logging level vmps 2 default ! #ntp set ntp broadcastclient disable set ntp broadcastdelay 3000 set ntp client enable set ntp server 172.16.21.83 set timezone PST -7 0 set summertime enable PSST ! #permit list set ip permit disable ! #module 1 : 2-port 100BaseTX Supervisor set module name 1 set vlan 1 1/1-2 set port enable 1/1-2 set port level 1/1-2 normal set port duplex 1/1-2 half set port trap 1/1-2 disable set port name 1/1-2 set port security 1/1-2 disable set port membership 1/1-2 static set cdp enable 1/1-2 set cdp interval 1/1-2 60 set trunk 1/1 auto 1-1000 set trunk 1/2 auto 1-1000 set spantree portfast 1/1-2 disable set spantree portcost 1/1-2 10 set spantree portpri 1/1-2 32 set spantree portvlanpri 1/1 0 set spantree portvlanpri 1/2 0 ! <display truncated> end Console> (enable)
Use the show 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.
Switch command.
Normal.
The Catalyst 2948G 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 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-18 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. |
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. |
| 32-Bit Counters (continued) | |
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. |
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. |
| 32-Bit Counters (continued) | |
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. |
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. |
| 32-Bit Counters (continued) | |
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 or 2948G series switch port, the display is similar to that of a Catalyst 5000 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-19 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.
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.
Normal.
This command is not supported on the Catalyst 4000 and 2948G series switches.
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 on the Catalyst 4000 and 2948G series switches.
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-20 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.
Switch command.
Normal.
This command is not supported on the Catalyst 4000 and 2948G series switches.
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-21 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 and Catalyst 4000 and 2948G series 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 and 2948G series supervisor engine module; valid value is bootflash. |
all | (Optional) Supervisor Engine III and Catalyst 4000 and 2948G series 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 and 2948G series switch supervisor engine modules only; keyword used to show information about the Flash chip. |
filesys | (Optional) Supervisor Engine III and Catalyst 4000 and 2948G series 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.
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 Console>
The following examples show how to list Flash information for Supervisor Engine III (the output is similar to that displayed for Catalyst 4000 and 2948G series 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.
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)
This example shows the display when GMRP is disabled:
Console> (enable) show gmrp configuration Global GMRP Configuration: GMRP Feature is currently disabled 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. |
The default is, if no VLAN is specified, statistics for VLAN 1 are shown.
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.
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.
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.
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-22 describes the fields in the show gvrp statistics output.
| Field | Description |
|---|---|
GVRP Enabled | Status of whether GVRP is enabled or disabled. |
Total valid pkts rcvd | 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 swtich. |
Leaves Xmitted | Total number of GVRP leaves transmitted by the swtich. |
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 history command to list the commands you have entered in the current EXEC session.
show historyThis command has no arguments or keywords.
Cisco IOS ATM command.
EXEC.
This command is not supported on the Catalyst 4000 and 2948G series switches.
The command history feature provides a record of EXEC commands you have entered. The number of commands the history buffer records is determined by the history size line configuration command or the terminal history size EXEC command.
Table 2-23 lists the keys and functions you can use to recall commands from the command history buffer.
| Key | Function |
|---|---|
Up arrow or Ctrl-P 1 | Recalls commands in the history buffer in a backward sequence, beginning with the most recent command. Repeat the key sequence to recall older commands. |
Down arrow or Ctrl-N 1 | Returns to more recent commands in the history buffer after recalling commands with Ctrl-P or the up arrow. Repeat the key sequence to recall more recent commands. |
| 1The arrow keys function only with ANSI-compatible terminals such as VT100s. |
This example shows how to list the command history:
ATM#show history enable show atm traffic show atm vlan show lane show history ATM#
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.
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-15,40-45Ifindex 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.Ifindex 40 is mapped to port 8/5.Ifindex 41 is mapped to port 8/6.Ifindex 42 is mapped to port 8/7.Ifindex 43 is mapped to port 8/8.Ifindex 44 is mapped to port 8/9.Ifindex 45 is mapped to FEC-1/1-2.Console>
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 command is not supported on the Catalyst 4000 and 2948G series switches.
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 2-24 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 multicast router
show multicast router
show multicast group count
Use the show imagemib command to display image information provided in the CISCO-IMAGE-MIB for a particular image.
show imagemib flash | filename
flash | Name of the Flash image on the Supervisor II. |
filename | Name of the Flash device on the Supervisor III or the Catalyst 4000 and 2948G series switch supervisor engine module. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display CISCO-IMAGE-MIB information for the Flash device on the Catalyst 4000 and 2948G series switch supervisor engine module:
Console> show imagemib cat4000.4-4-0-14.binshow mib info for file cat4000.4-4-0-14.binshow_presto_nmp_image_header : open file cat4000.4-4-0-14.bin error code = -3, )Console>
This example shows how to display CISCO-IMAGE-MIB information for the Flash device on the Supervisor Engine III:
Console>show imagemib cat5000-sup3.5-1-1.binshow mib info for file cat5000-sup3.5-1-1.binshow_presto_nmp_image_header : open file cat5000-sup3.5-1-1.bin error code = -3)
Use the show interface command to display information on network interfaces and standard SNMP link trap operation.
show interfaceThis command has no arguments or keywords.
This command has no default setting.
Switch command.
Normal.
This example shows how to display information on all network interfaces:
Console> show interfaceme1:flags=63<UP,BROADCAST,RUNNING>inet 0.0.0.0 netmask 255.0.0.0 broadcast 0.0.0.0sl0:flags=51<UP,POINTOPOINT,RUNNING>slip 0.0.0.0 dest 0.0.0.0sc0:flags=63<UP,BROADCAST,RUNNING>vlan 1 inet 171.69.199.168 netmask 255.255.255.0 broadcast 171.69.199.255Console>
This example shows how to display whether the trap interface is enabled or disabled:
Console> (enable)show interface trapInterface Trap-------- ----sc0 enabledme1 disabledsl0 disabledConsole> (enable)
Table 2-25 describes the fields in the show interface command output.
| Field | Description |
|---|---|
me1 | Information on the me1 interface. |
flags | Flags indicating the interface state (decoded in the subsequent field). |
<UP,BROADCAST, RUNNING> | Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING). |
inet | IP address of the interface. |
netmask | Network mask for the interface. |
broadcast | Broadcast address for the interface. |
sl0 | Information on the SLIP interface. |
<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). |
Interface | Type of interface. |
Trap | Status of whether the trap is enabled or disabled. |
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 serverstatus ---------------------- 172.16.30.32 192.168.2.132primary 172.31.128.70 Console>
Table 2-26 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 to force 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 08/20/98,07:45:20 SNMP 172.31.206.222 08/21/98,14:23:05 Telnet Console>
Table 2-27 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 to force the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the IP route table:
Console> (enable)show ip routeFragmentation Redirect Unreachable------------- -------- -----------enabled enabled enabledDestination Gateway Flags Use Interface----------------------- ----------------------- ------ ---------- ---------default 172.20.59.1 UG 0 sc0default 172.69.199.1 G 0 me1172.20.59.0 172.20.59.25 U 0 sc0171.69.199.0 171.69.199.68 U 0 me1default default UH 0 sl0Console> (enable)
set ip route
clear ip route
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jul 19 13:19:50 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.