Table Of Contents
2show channel group
Use the show channel group command to display EtherChannel configuration and statistics information for a channel based on EtherChannel administrative group membership.
show channel group [admin_group] [statistics | info [spantree | trunk | protocol | gmrp | gvrp |
qos]]Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If admin_group is not specified, EtherChannel information is shown for all admin groups.
If you use the info keyword without qualifying it with one of the feature-specific keywords, all configuration information is displayed.
Examples
This example shows how to display EtherChannel information for a specific EtherChannel administrative group:
Console> show channel group 58Admin Port Status Channel Channelgroup Mode id----- ----- ---------- -------------------- --------58 7/5 connected on 83558 7/6 connected on 835Admin Port Device-ID Port-ID Platformgroup----- ----- ------------------------------- ------------------------- ----------58 7/5 069003103(5500) 3/5 WS-C550058 7/6 069003103(5500) 3/6 WS-C5500Console>This example shows how to display PAgP statistics for a specific EtherChannel administrative group:
Console> show channel group 58 statisticsPort Admin PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP PktsGroup Transmitted Received InFlush RetnFlush OutFlush InError----- ------- ----------- --------- --------- --------- --------- ---------7/5 58 194 81 0 0 0 07/6 58 204 85 0 0 0 0Console>This example shows how to display EtherChannel configuration information for a specific EtherChannel administrative group:
Console> show channel group 58 infoAdmin Port Status Channel Ch Speed Duplex Vlangroup mode id----- ----- ---------- -------------------- ----- ----- ------ ----58 7/5 connected on 835 a-100 a-full 158 7/6 connected on 835 a-100 a-full 1Admin Port if- Oper-group Neighbor Chan Oper-Distribution PortSecurity/group Index Oper-group cost Method Dynamic Port----- ----- ----- ---------- ---------- ----- ----------------- -------------58 7/5 379 1 0 mac both58 7/6 379 1 0 mac bothAdmin Port Device-ID Port-ID Platformgroup----- ----- ------------------------------- ------------------------- ----------58 7/5 069003103(5500) 3/5 WS-C550058 7/6 069003103(5500) 3/6 WS-C5500Admin Port Trunk-status Trunk-type Trunk-vlansgroup----- ----- ------------ ------------- -----------------------------------------58 7/5 not-trunking negotiate 1-100558 7/6 not-trunking negotiate 1-1005Admin Port Portvlancost-vlansgroup----- ----- --------------------------------------------------------------------58 7/558 7/6Admin Port Port Portfast Port Portgroup priority vlanpri vlanpri-vlans----- ----- -------- -------- ------- ------------------------------------------58 7/5 32 disabled 058 7/6 32 disabled 0Admin Port IP IPX Groupgroup----- ----- -------- -------- --------58 7/5 on auto-on auto-on58 7/6 on auto-on auto-onAdmin Port GMRP GMRP GMRPgroup status registration forwardAll----- ----- -------- ------------ ----------58 7/5 enabled normal disabled58 7/6 enabled normal disabledAdmin Port GVRP GVRP GVRPgroup status registeration applicant----- ----- -------- ------------- ---------58 7/5 disabled normal normal58 7/6 disabled normal normalAdmin Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCosgroup----- ----- ------ ------ ------------ ----------58 7/5 - - untrusted 058 7/6 - - untrusted 0Console>Table 2-16 describes the fields in the show channel group output.
Table 2-17 describes the fields in the show channel group statistics output.
Table 2-18 describes the fields in the show channel group info output.
Related Commands
set channel cost
set channel vlancost
set port channel
show channel
show port channelshow config
Use the show config command to display the non-default system configuration.
show config {system | mod_num} [all]
Syntax Description
Defaults
By default, this command only shows non-default configurations. To view the entire configuration, use the keyword all.
Command Types
Switch command.
Command Modes
Privileged.
Examples
This example shows how to display the nondefault system and module configuration:
Console> (enable) show configThis command shows non-default configurations only.Use 'show config all' to show both default and non-default configurations...........begin!# ***** NON-DEFAULT CONFIGURATION *****!!#Time: Thu Dec 23 1999, 21:56:01!#version 5.4(0.52)MIA7-Eng#System Web Interface Version 5.0(0.25)!set editing disable!#frame distribution methodset port channel all distribution mac unknown!#snmpset snmp trap 0.0.0.0set snmp trap 0.0.0.0!#kerberosset kerberos server 0.0.0.0 0set kerberos server 0.0.0.0 0set kerberos realmset kerberos realm!#vtpset vtp domain Lab_Networkset vtp v2 enableset vtp pruning enableset vlan 1 name default type ethernet mtu 1500 said 100001 state activeset vlan 2 name VLAN0002 type ethernet mtu 1500 said 100002 state activeset vlan 6 name VLAN0006 type ethernet mtu 1500 said 100006 state activeset vlan 10 name VLAN0010 type ethernet mtu 1500 said 100010 state activeset vlan 20 name VLAN0020 type ethernet mtu 1500 said 100020 state activeset vlan 50 name VLAN0050 type ethernet mtu 1500 said 100050 state active... <truncated display>set vlan 802 name VLAN0802 type trcrf mtu 4472 said 100802 state active parentset vlan 1003 name trcrf-default type trcrf mtu 4472 said 101003 state active pset vlan 3 translation 303 translation 0set vlan 4 translation 304 translation 0set vlan 5 translation 305 translation 0set vlan 303 translation 3 translation 0set vlan 304 translation 4 translation 0set vlan 305 translation 5 translation 0set vlan 351 translation 524 translation 0set vlan 524 translation 351 translation 0!#ipset interface sc0 1 1.10.11.212/255.255.255.0 1.10.11.255set ip route 0.0.0.0/0.0.0.0 172.20.52.126set ip route 0.0.0.0/0.0.0.0 172.20.52.125set ip route 0.0.0.0/0.0.0.0 172.20.52.121!#rcpset rcp username 1!#dnsset ip dns server 171.68.10.70 primaryset ip dns server 171.68.10.140set ip dns enableset ip dns domain cisco.com!#spantreeset spantree fwddelay 4 801set spantree maxage 10 801#portfastset spantree portfast bpdu-guard enable#vlan 802set spantree fwddelay 4 802set spantree maxage 10 802set spantree portstate 802 block 801#vlan 1003set spantree fwddelay 4 1003set spantree maxage 10 1003set spantree portstate 1003 block 1005!#syslogset logging server 172.20.101.182!#set boot commandset boot config-register 0x100set boot system flash bootflash:cat6000-sup.5-4-0-52.bin!#HTTP commandsset ip http server enableset ip http port 1922!# default port status is disable!#mlsset mls nde disable!#qosset qos enableset qos map 1q4t 1 1 cos 2set qos map 1q4t 1 1 cos 3set qos map 1q4t 1 1 cos 4set qos map 1q4t 1 1 cos 5set qos map 1q4t 1 1 cos 6set qos map 1q4t 1 1 cos 7!#Accountingset accounting commands enable config stop-only tacacs+!# default port status is enable!#module 1 : 2-port 1000BaseX Supervisor!#module 2 empty!... <truncated display>set vlan 100 6/1set spantree portcost 6/1 200!#module 7 : 24-port 10/100BaseTX Ethernetset vlan 5 7/5set vlan 100 7/23set vlan 200 7/9set port disable 7/5set port name 7/9 1528 Hubset port security 7/10 enableset port security 7/10 maximum 200set port security 7/10 00-11-22-33-44-55set port security 7/10 00-11-22-33-44-66set port security 7/10 00-11-22-33-44-77set port security 7/10 violation restrictset port security 7/10 age 30set trunk 7/1 desirable isl 1-1005set trunk 7/2 desirable isl 1-1005set trunk 7/3 desirable isl 1-1005set trunk 7/4 desirable isl 1-1005set trunk 7/10 off negotiate 1-1005set trunk 7/23 on isl 1-1005set spantree portcost 7/23 150set spantree portvlancost 7/23 cost 50 100!#module 8 empty!#module 9 empty!#module 15 empty!#module 16 emptyendConsole>This example shows how to display default and nondefault configuration information:
Console> show config allbegin!# ***** ALL (DEFAULT and NON-DEFAULT) CONFIGURATION *****!#Current Time: Thu Dec 23 1999, 14:01:24!#version 5.4(0.52)!set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70set prompt Console>set length 24 defaultset logout 20set banner motd ^C^C!#systemset system baud 9600set system modem disableset system nameset system locationset system contact!... <truncated display>#gvrpset gvrp dynamic-vlan-creation disableset gvrp disableendconsole>This example shows how to display nondefault system configuration information:
Console> show config systembegin!# ***** NON-DEFAULT CONFIGURATION *****!#Current Time: Thu Dec 23 1999, 14:01:24!#version 5.4(0.52)!!#set boot commandset boot config-register 0x2set boot system flash bootflash:kk1endConsole>This example shows how to display all system default and nondefault configuration information:
Console> show config system allbegin!#systemset system baud 9600set system modem disableset system nameset system locationset system contact!endConsole>This example shows how to display module nondefault configuration information:
Console> show config 1..............begin!# ***** NON-DEFAULT CONFIGURATION *****!!#Current Time: Thu Dec 23 1999, 14:01:24!#version 5.4(0.52)!!#module 1 : 4-port 10/100BaseTX Supervisor!endConsole>This example shows how to display default and nondefault configuration information for a specific module:
Console> show config 1 allbegin!#module 1 : 4-port 10/100BaseTX Supervisorset module name 1set vlan 1 1/1-4set port channel 1/1-4 off... <truncated display>set port flowcontrol 1/1-4 receive onset cdp enable 1/1-4set trunk 1/1 auto negotiate 1-1005... <truncated display>set trunk 1/4 auto negotiate 1-1005set spantree portfast 1/1-4 disable... <truncated display>set spantree portvlancost 1/4 cost 99set port gvrp 1/1-4 disableset gvrp registration normal 1/1-4... <truncated display>!endConsole>Related Commands
show cops
Use the show cops commands to display COPS information.
show cops info [noalias]
show cops pib
show cops roles
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The display output of the show cops pib command is a numeric list of the PIB relating to a PRID and its vector of values.
Examples
This example shows how to display COPS status and configuration information:
Console> show cops infoCOPS general configuration---------------------------COPS domain name : -Connection retry intervals : initial = 30 secondsincrement = 30 secondsmax = 300 secondsCOPS Diff-Serv client state---------------------------COPS connection state :not-connectedLast active server :172.20.25.3 [port:3288]Primary configured server :172.20.25.3 [port:3288]Secondary configured server :-Console>This example shows how to display COPS policy tree information:
Console> show cops pibPRC PRI Attr Type Value------------------------------- ------ ---- ----- -----QosDevicePibIncarnationTable 1 0 Unsigned32 11 DisplayStr g1lab-pc4.cisco.com2 OctetStr30.30.30.30.30.30.30.30.39.34.37.32.37.35.35.35.31.30.36.31.23.30.39.34.37.32.37.35.35.35 .31.23.35.62.66.36.32.31.30.32.38.65.37.31.65.38.37.30.23.31.233 Unsigned32 300QosDeviceAttributeTable 1 0 Unsigned32 11 DisplayStr2 IpAddress 172.20.55.31QosInterfaceTypeTable 2 0 Unsigned32 21 Integer 32 DisplayStr inputclass3 OctetStr 60.10.20QosPolicerTable - - - -QosAggregateTable - - - -QosMacClassificationTable - - - -QosIpAceTable 5346 0 Unsigned32 53461 IpAddress 0.0.0.72 IpAddress 255.255.255.255QosIfDropPreferenceTable 3642 0 Unsigned32 36421 DisplayStr inputclass2 Integer 103 Integer 1QosIfTailDropTable - - - -QosIfWeightsTable - - - -(display is truncated)Console>This example shows how to display the ports assigned to each role:
Console> show cops rolesAdmin Roles Mod/Ports------------------------------- ---------------------------------------access_port 1/1-23/1-5,3/8backbone_port 1/1-23/1-5,3/8branch_office_port 3/6-74/1-8net_port -Oper Roles Mod/Ports------------------------------- ---------------------------------------access_port 1/1-23/1-5,3/8backbone_port 1/1-23/8branch_office_port 3/6-74/1-8Console>Related Commands
show counters
Use the show counters command to display hardware counters for a port.
show counters mod/port
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The Catalyst 2948G and 2980G switches are fixed configuration switches. Ports are located on module 2 for the 2948G and on modules 2 and 3 for the 2980G; for this reason, if you enter mod_num/port_num 1/N, an error message will be displayed.
Examples
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:
Note
The counters displayed may change depending on the module type queried.
64 bit counters0 ifHCInOctets = 01 ifHCInUcastPkts = 02 ifHCInMulticastPkts = 03 ifHCInBroadcastPkts = 04 ifHCOutOctets = 05 ifHCOutUcastPkts = 06 ifHCOutMulticastPkts = 07 ifHCOutBroadcastPkts = 032 bit counters0 dot5StatsLineErrors = 01 dot5StatsBurstErrors = 02 dot5StatsACErrors = 03 dot5StatsAbortTransErrors = 04 dot5StatsInternalErrors = 05 dot5StatsLostFrameErrors = 06 dot5StatsReceiveCongestions = 07 dot5StatsFrameCopiedErrors = 08 dot5StatsTokenErrors = 09 dot5StatsSoftErrors = 010 dot5StatsHardErrors = 011 dot5StatsSignalLoss = 012 dot5StatsTransmitBeacons = 013 dot5StatsRecoverys = 014 dot5StatsLobeWires = 015 dot5StatsRemoves = 016 dot5StatsSingles = 017 dot5StatsFreqErrors = 018 dot1dSrPortSpecInFrames = 019 dot1dSrPortSpecOutFrames = 020 dot1dSrPortApeInFrames = 021 dot1dSrPortApeOutFrames = 022 dot1dSrPortSteInFrames = 023 dot1dSrPortSteOutFrames = 024 dot1dSrPortSegmentMismatchDiscards = 025 dot1dSrPortDuplicateSegmentDiscards = 026 dot1dSrPortHopCountExceededDiscards = 027 dot1dSrPortDupLanIdOrTreeErrors = 028 dot1dSrPortLanIdMismatches = 029 tokenRingMLStatsDropEvents = 030 tokenRingMLStatsMacOctets = 031 tokenRingMLStatsMacPkts = 032 tokenRingMLStatsRingPurgeEvents = 033 tokenRingMLStatsRingPurgePkts = 034 tokenRingMLStatsBeaconEvents = 035 tokenRingMLStatsBeaconPkts = 036 tokenRingMLStatsBeaconTime = 037 tokenRingMLStatsClaimTokenEvents = 038 tokenRingMLStatsClaimTokenPkts = 039 tokenRingMLStatsNAUNChanges = 040 tokenRingMLStatsLineErrors = 041 tokenRingMLStatsInternalErrors = 042 tokenRingMLStatsBurstErrors = 043 tokenRingMLStatsACErrors = 044 tokenRingMLStatsAbortErrors = 045 tokenRingMLStatsLostFrameErrors = 046 tokenRingMLStatsCongestionErrors = 047 tokenRingMLStatsFramesCopiedErrors = 048 tokenRingMLStatsFrequencyErrors = 049 tokenRingMLStatsTokenErrors = 050 tokenRingMLStatsSoftErrorReports = 051 tokenRingMLStatsRingPollEvents = 052 tokenRingMLStatsHistoryActiveStations = 053 tokenRingPStatsDropEvents = 054 tokenRingPStatsDataOctets = 055 tokenRingPStatsDataPkts = 056 tokenRingPStatsDataBroadcastPkts = 057 tokenRingPStatsDataMulticastPkts = 058 tokenRingPStatsDataPkts18to63Octets = 059 tokenRingPStatsDataPkts64to127Octets = 060 tokenRingPStatsDataPkts128to255Octets = 061 tokenRingPStatsDataPkts256to511Octets = 062 tokenRingPStatsDataPkts512to1023Octets = 063 tokenRingPStatsDataPkts1024to2047Octets = 064 tokenRingPStatsDataPkts2048to4095Octets = 065 tokenRingPStatsDataPkts4096to8191Octets = 066 tokenRingPStatsDataPkts8192to18000Octets = 067 tokenRingPStatsDataPktsGreaterThan18000Octets(null) = 068 dot1dTpPortInFrames = 069 dot1dTpPortOutFrames = 070 dot1dTpPortInDiscards = 0Console>Table 2-19 describes the fields in the show counters command output when the command is issued against a Token Ring module port.
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 = 0Table 2-20 describes the additional fields which may be displayed.
Related Commands
show default
Use the show default command to check the status of the default port status setting.
show default
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
The command shows whether the set default portstatus command is in disable or enable mode.
Examples
This example shows how to display the status of the default port status:
Console> (enable) show defaultportstatus: disableConsole> (enable)Related Commands
show drip statistics
Use the show drip statistics command to display DRiP statistics.
show drip statistics
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Examples
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)Related Commands
show dvlan statistics
Use the show dvlan statistics command to display DVLAN statistics.
show dvlan statistics
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the DVLAN statistical information:
Console> show dvlan statisticsVMPS Client Statistics----------------------VQP Queries: 0VQP Responses: 0Vmps Changes: 0VQP Shutdowns: 0VQP Denied: 0VQP Wrong Domain: 0VQP Wrong Version: 0VQP Insufficient Resource: 0Console>show fddi
Use the show fddi command to display the settings for FDDI and CDDI modules.
show fddi
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches, except for the three-port Gigabit Ethernet switching module (WS-X5403).
Examples
This example shows how to display the FDDI settings:
Console> show fddiMod SMT User-Data T-Notify TReq--- -------------------------- -------- -------2 Engineering 30 1650005 Marketing 20 150000Port Tlmin Ler-CutOff Ler-Alarm----- -------- ---------- ---------2/1 40 7 82/2 40 7 85/1 40 10 115/2 40 9 12Console>Table 2-21 describes the fields in the show fddi command output.
Related Commands
set fddi alarm
set fddi cutoff
set fddi tlmin
set fddi tnotify
set fddi treq
set fddi userdatashow fddicam
Use the show fddicam command to display the FDDI CAM table for a FDDI module.
show fddicam mod_num [fddi] [mac_addr]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches, except the three-port Gigabit Ethernet switching module (WS-X5403).
Examples
This example shows how to display the FDDI CAM table for module 4:
Console> show fddicam 4MAC Address VLAN Protocol Type----------------- ---- -------------00-40-0b-d0-00-2b 1 FDDI00-40-0b-d0-00-3b 1 FDDITotal FDDI CAM entries = 2Console>Table 2-22 describes the fields in the show fddicam command output.
Related Commands
clear cam
set bridge fddicheck
show configshow file
Use the show file command to display the contents of a file.
show file [device:] filename [dump]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
A colon (:) is required after the specified device.
Examples
This example shows how to use the show file command on Supervisor Engines III, III F, and
Catalyst 4000 family, 2926G series, 2948G, and 2980G switch:Console> (enable) show file slot0:cfgfilebegin#version 5.3(0.11)BOU-Eng!set password $1$FMFQ$HfZR5DUszVHIRhrz4h6V70set enablepass $1$FMFQ$HfZR5DUszVHIRhrz4h6V70set 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 dump8099d140 0A626567 696E0A21 0A237665 7273696F .begin.!.#versio8099d150 6E20352E 3328302E 31312942 4F552D45 n 5.3(0.11)BOU-E8099d160 6E670A21 0A736574 20706173 73776F72 ng.!.set passwor8099d170 64202431 24464D46 51244866 5A523544 d $1$FMFQ$HfZR5D8099d180 55737A56 48495268 727A3468 36563730 UszVHIRhrz4h6V708099d1b0 7A564849 5268727A 34683656 37300A73 zVHIRhrz4h6V70.s8099d1c0 65742070 726F6D70 7420436F 6E736F6C et prompt Consol8099d1d0 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 cfg2begin!# ***** NON-DEFAULT CONFIGURATION *****!!# Wed Apr 21 1999, 22:55:10!#version 5.3(0.53-Eng)ASP!set prompt test>!#frame distribution methodset port channel all distribution mac both!#ipset interface sc0 1 172.20.25.145/255.255.0.0 172.20.255.255set ip route 0.0.0.0/0.0.0.0 172.20.25.201!#set boot commandset boot auto-config non-recurring!#qosset qos map 1q4t 0 0 cos 0set qos map 1q4t 0 0 cos 1set qos map 1q4t 0 0 cos 2set qos map 1q4t 0 0 cos 4set qos map 1q4t 0 0 cos 5set qos map 1q4t 0 0 cos 6set qos map 1q4t 0 0 cos 7set 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 emptyendConsole> (enable)show flash
Use the show flash command to list Flash information, including file code names, version numbers, and sizes.
show flash [[m/]device:] [all | chips | filesys]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
A colon (:) is required after the specified device.
Examples
This example shows how to list the Flash information for Supervisor Engines I or II:
Console> show flashFile Version Sector Size Built-------------- ------------ ------------ ------- -----------------c5000 nmp 3.1(213-Eng) 02-11 1606709 06/16/98 00:16:21epld 3.1 30 72920 06/14/98 20:33:06lcp atm 3.1 12-15 23747 06/14/98 12:16:37lcp tr 3.1 12-15 28737 06/14/98 12:22:52lcp c5ip 3.1 12-15 23723 06/14/98 12:27:36lcp 64k 3.1 12-15 57100 06/14/98 12:24:57atm/fddi 3.1 12-15 24502 06/14/98 11:57:58lcp 360 3.1(212) 12-15 120648 06/14/98 12:32:50mcp 3.1 12-15 26278 06/14/98 11:50:41cfg1 7124 04/23/99 09:20:50cfg2 849 04/20/99 13:45:01Console>The following examples show how to list Flash information for Supervisor Engine III (the output is similar to that displayed for Catalyst 4000 family and 2948G switch supervisor engine modules):
Console> show flash-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name1 .D 2 2D6B310A 100fc0 15 1052123 Aug 26 1998 15:43:50 cat5k_r47_1.cbi2 .. 2 43B312DF 201ed8 15 1052608 Aug 27 1998 10:23:30 cat5k_r47_1.cbi6283877 bytes available (2104731 bytes used)Console> show flash chips******** Intel Series 2+ Status/Register Dump ********ATTRIBUTE MEMORY REGISTERS:Config Option Reg (4000): 2Config Status Reg (4002): 0Card Status Reg (4100): 1Write Protect Reg (4104): 4Voltage Cntrl Reg (410C): 0Rdy/Busy Mode Reg (4140): 2COMMON MEMORY REGISTERS: Bank 0Intelligent ID Code : 8989A0A0Compatible Status Reg: 8080Global Status Reg: B0B0Block Status Regs:0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B08 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B016 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B024 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0COMMON MEMORY REGISTERS: Bank 1Intelligent ID Code : 8989A0A0Compatible Status Reg: 8080Global Status Reg: B0B0Block Status Regs:0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B08 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B016 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B024 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0COMMON MEMORY REGISTERS: Bank 2Intelligent ID Code : FF00FFIID Not Intel -- assuming bank not populatedCOMMON MEMORY REGISTERS: Bank 3Intelligent ID Code : FF00FFIID Not Intel -- assuming bank not populatedCOMMON MEMORY REGISTERS: Bank 4Intelligent ID Code : FF00FFIID Not Intel -- assuming bank not populatedConsole> show flash filesys-------- F I L E S Y S T E M S T A T U S --------Device Number = 0DEVICE INFO BLOCK:Magic Number = 6887635 File System Vers = 10000 (1.0)Length = 800000 Sector Size = 20000Programming Algorithm = 4 Erased State = FFFFFFFFFile System Offset = 20000 Length = 7A0000MONLIB Offset = 100 Length = C730Bad Sector Map Offset = 1FFF8 Length = 8Squeeze Log Offset = 7C0000 Length = 20000Squeeze Buffer Offset = 7E0000 Length = 20000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsUSAGE INFO:Bytes Used = 201D9B Bytes Available = 5FE265Bad Sectors = 0 Spared Sectors = 0OK Files = 1 Bytes = 100FC0Deleted Files = 1 Bytes = 100DDBFiles w/Errors = 0 Bytes = 0Console> show flash all-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name1 .D 2 2D6B310A 100fc0 15 1052123 Aug 26 1998 15:43:50 cat5k_r47_1.cbi2 .. 2 43B312DF 201ed8 15 1052608 Aug 27 1998 10:23:30 cat5k_r47_1.cbi6283877 bytes available (2104731 bytes used)-------- F I L E S Y S T E M S T A T U S --------Device Number = 0DEVICE INFO BLOCK:Magic Number = 6887635 File System Vers = 10000 (1.0)Length = 800000 Sector Size = 20000Programming Algorithm = 4 Erased State = FFFFFFFFFile System Offset = 20000 Length = 7A0000MONLIB Offset = 100 Length = C730Bad Sector Map Offset = 1FFF8 Length = 8Squeeze Log Offset = 7C0000 Length = 20000Squeeze Buffer Offset = 7E0000 Length = 20000Num Spare Sectors = 0Spares:STATUS INFO:WritableNO File Open for WriteComplete StatsNo Unrecovered ErrorsUSAGE INFO:Bytes Used = 201D9B Bytes Available = 5FE265Bad Sectors = 0 Spared Sectors = 0OK Files = 1 Bytes = 100FC0Deleted Files = 1 Bytes = 100DDBFiles w/Errors = 0 Bytes = 0******** Intel Series 2+ Status/Register Dump ********ATTRIBUTE MEMORY REGISTERS:Config Option Reg (4000): 2Config Status Reg (4002): 0Card Status Reg (4100): 1Write Protect Reg (4104): 4Voltage Cntrl Reg (410C): 0Rdy/Busy Mode Reg (4140): 2COMMON MEMORY REGISTERS: Bank 0Intelligent ID Code : 8989A0A0Compatible Status Reg: 8080Global Status Reg: B0B0Block Status Regs:0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B08 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B016 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B024 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0COMMON MEMORY REGISTERS: Bank 1Intelligent ID Code : 8989A0A0Compatible Status Reg: 8080Global Status Reg: B0B0Block Status Regs:0 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B08 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B016 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B024 : B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0 B0B0COMMON MEMORY REGISTERS: Bank 2Intelligent ID Code : FF00FFIID Not Intel -- assuming bank not populatedCOMMON MEMORY REGISTERS: Bank 3Intelligent ID Code : FF00FFIID Not Intel -- assuming bank not populatedCOMMON MEMORY REGISTERS: Bank 4Intelligent ID Code : FF00FFIID Not Intel -- assuming bank not populatedRelated Commands
download
reset—switch
show version—switch
uploadshow gmrp configuration
Use the show gmrp configuration command to display complete GMRP-related configuration information.
show gmrp configuration
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If the port list exceeds the available line spaces, the list wraps to the next line.
Examples
This example shows the display when GMRP is enabled:
Console> (enable) show gmrp configurationGlobal GMRP Configuration:GMRP Feature is currently enabled on this switch.GMRP Timers (milliseconds):Join = 200Leave = 600LeaveAll = 10000Port based GMRP Configuration:GMRP Status Registration Forward All Port--------------------------------------------------------------------Enabled Fixed Disabled 2/1,3/1-2Console> (enable)Related Commands
show gmrp statistics
Use the show gmrp statistics command to display GMRP-related statistics for a specified VLAN.
show gmrp statistics [vlan]
Syntax Description
Defaults
If no VLAN is specified, the default is that statistics for VLAN 1 are shown.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows the display for all the GMRP-related statistics for VLAN 23:
Console> show gmrp statistics 23GMRP 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>Related Commands
show gmrp timer
Use the show gmrp timer command to display all the GMRP timers values.
show gmrp timer
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
You can enter the show multicast group command to display GMRP configuration values.
Examples
This example shows how to display all the GMRP timer values:
Console> (enable) show gmrp timerTimer Timer Value(milliseconds)---------------------------------------------Join 200Leave 600Leave All 10000Console> (enable)Related Commands
set gmrp timer
set gvrp timer
set garp timer
show multicast groupshow gvrp configuration
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 configuration
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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."
Examples
This example shows how to view GVRP configuration information:
Console> show gvrp configurationGlobal GVRP Configuration:GVRP Feature is currently enabled on the switch.GVRP dynamic VLAN creation is enabled.GVRP Timers(milliseconds)Join = 200Leave = 600LeaveAll = 10000Port based GVRP Configuration:GVRP Status Registration Port-------------- --------------- -------------------------------------------------------Enabled Normal 2/1-2,3/1-8,7/1-24,8/1-24GVRP Participants running on 3/7-8.Console>Related Commands
set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp statisticsshow gvrp statistics
Use the show gvrp statistics command to view GVRP statistics for a port.
show gvrp statistics [mod/port]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to view GVRP statistics for module 2, port 1:
Console> show gvrp statistics 2/1GVRP enabledGVRP statistics for port 2/1:Total valid pkts rcvd: 18951Total invalid pkts recvd 0General Queries recvd 377Group Specific Queries recvd 0MAC-Based General Queries recvd 0Leaves recvd 14Reports recvd 16741Queries Xmitted 0GS Queries Xmitted 16Reports Xmitted 0Leaves Xmitted 0Failures to add GDA to EARL 0Topology Notifications rcvd 10GVRP packets dropped 0Console>Table 2-23 describes the fields in the show gvrp statistics output.
Related Commands
set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp configurationshow ifindex
Use the show ifindex command to display the information of the specific ifIndex.
show ifindex number
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
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.
Examples
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.
