Table Of Contents
show multicast protocols status
2show multicast protocols status
Use the show multicast protocols status command to display multicast protocol configuration status.
show multicast protocols status
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example show how to display the multicast protocol configuration:
Console> show multicast protocols statusCGMP disabledIGMP enabledIGMP fastleave disabledRGMP enabledGMRP disabledConsole> (enable)Related Commands
clear multicast router
set multicast router
show multicast router
show multicast group countshow multicast router
Use the show multicast router command to display which ports have CGMP-capable routers assigned to them.
show multicast router [cgmp | igmp | rgmp] [mod_num/port_num] [vlan_id]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The igmp keyword is not supported by the Catalyst 4000 family and 2948G switches.
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 show how to display the multicast router configuration:
Console> show multicast routerPort Vlan---------- ----------------Total Number of Entries = 0'*' - Configured'+' - RGMP-capableConsole> (enable)This example show how to display the multicast router configuration for VLAN 99:
Console> show multicast router 99Port Vlan---------- ----------------Total Number of Entries = 0'*' - ConfiguredConsole>This example shows how to display only the configuration information learned through CGMP:
Console> show multicast router cgmpCMGP Feature is enabled.Console>Table 2-38 describes the fields in the show multicast router command output.
Related Commands
clear multicast router
set cgmp
set igmp
set igmp fastleave
set multicast router
show multicast group countshow netstat
Use the show netstat command to display the currently active network connections and to list statistics for the various protocols in the TCP/IP.
show netstat [tcp | udp | ip | icmp | routes | stats | interfaces]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
Counter information for me1 is viewed by entering the show netstat interfaces command.
Examples
This example shows how to display the current active network connections:
Console> show netstatActive Internet connections (including servers)Proto Recv-Q Send-Q Local Address Foreign Address (state)tcp 0 128 172.20.25.142.23 171.68.10.75.44720 ESTABLISHEDtcp 0 0 *.7161 *.* LISTENtcp 0 0 *.23 *.* LISTENudp 0 0 *.* *.*udp 0 0 *.161 *.*udp 0 0 *.123 *.*Console>This example shows how to display TCP statistics:
Console> show netstat tcptcp:5122 packets sent4642 data packets (102292 bytes)28 data packets (6148 bytes) retransmitted434 ack-only packets (412 delayed)0 URG only packets0 window probe packets1 window update packet17 control packets7621 packets received4639 acks (for 103883 bytes)69 duplicate acks0 acks for unsent data3468 packets (15367 bytes) received in-sequence12 completely duplicate packets (20 bytes)0 packets with some dup. data (0 bytes duped)4 out-of-order packets (0 bytes)0 packets (0 bytes) of data after window0 window probes0 window update packets0 packets received after close0 discarded for bad checksums0 discarded for bad header offset fields0 discarded because packet too short6 connection requests6 connection accepts10 connections established (including accepts)11 connections closed (including 1 drop)2 embryonic connections dropped4581 segments updated rtt (of 4600 attempts)28 retransmit timeouts0 connections dropped by rexmit timeout0 persist timeouts66 keepalive timeouts63 keepalive probes sent3 connections dropped by keepaliveConsole>Table 2-39 describes the fields in the show netstat tcp command output.
This example shows how to display UDP statistics:
Console> show netstat udpudp:0 incomplete headers0 bad data length fields0 bad checksums0 socket overflows1116 no such portsConsole>Table 2-40 describes the fields in the show netstat udp command output.
This example shows how to display IP statistics:
Console> show netstat ipip:76894 total packets received0 bad header checksums0 with size smaller than minimum0 with data size < data length0 with header length < data size0 with data length < header length0 fragments received0 fragments dropped (dup or out of space)0 fragments dropped after timeout0 packets forwarded0 packets not forwardable0 redirects sentConsole>Table 2-41 describes the fields in the show netstat ip command output.
This example shows how to display ICMP statistics:
Console> show netstat icmpicmp:Redirect enabled0 calls to icmp_error0 errors not generated 'cuz old message was icmpOutput histogram:echo reply: 10011 message with bad code fields0 messages < minimum length0 bad checksums0 messages with bad lengthInput histogram:echo reply: 12destination unreachable: 3961echo: 10011001 message responses generatedConsole>Table 2-42 describes the fields in the show netstat icmp command output.
This example shows how to display the IP routing table:
Console> show netstat routesDESTINATION GATEWAY FLAGS USE INTERFACEdefault 172.16.1.201 UG 6186 sc0172.16.0.0 172.16.25.142 U 6383 sc0default default UH 0 sl0Console>Table 2-43 describes the fields in the show netstat routes command output.
This example shows how to display interface statistics:
Console> show netstat interfaceInterface InPackets InErrors OutPackets OutErrorssl0 0 0 0 0sc0 33 0 117192 0me1 2 0 57075 0Interface Rcv-Octet Xmit-Octet--------- -------------------- --------------------sc0 2389 0me1 1172 0sl0 0 0Interface Rcv-Unicast Xmit-Unicast--------- -------------------- --------------------sc0 28 0me1 28 0sl0 0 0Console>Table 2-44 describes the fields in the show netstat interface command output.
Related Commands
show ntp
Use the show ntp command to display the current NTP status.
show ntp
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 current NTP status:
Console> show ntpCurrent time: Thu Jan 15 1999, 11:19:03 pstTimezone: 'pst', offset from UTC is -8 hoursSummertime: 'pst', enabledLast NTP update:Broadcast client mode: enabledBroadcast delay: 3000 microsecondsClient mode: disabledAuthentication: enabledNTP-Server Server Key---------------------------------------- ----------172.20.33.140 1722033140172.20.33.114 1722033114Console>The following output appears in the show ntp command output when entered from privileged mode:
Key Number Mode Key String---------- --------- --------------------------------1234 trusted 324234234231722033140 untrusted termserv-amConsole>Table 2-45 describes the fields in the show ntp command output.
Related Commands
clear ntp key
clear ntp server
set ntp broadcastclient
set ntp broadcastdelay
set ntp client
set ntp key
set ntp servershow port
Use the show port command to display port status and counters.
show port [mod_num[/port_num]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
In the status field for the Catalyst 5000 family, 4000 family, 2926G series, 2948G, and 2980G switch ports, the following applies:
•
connected indicates the port is operational.
Note
connected is also displayed for the status of a port that is receiving remote fault indications. Remote fault indications are not sent until the link comes up and both ends can hear each other. This means that the link is up and everything is working correctly. According to the 802.3z Gigabit Ethernet Specification, a link partner is not allowed to send remote fault indications until after the link comes up successfully.
•
notconnected indicates the port is off or there is no GBIC in port.
•
faulty indicates the port failed diagnostics tests.
•
remfault indicates the far end station cannot synchronize with its receive signal.
•
disable indicates the port has been manually disabled.
•
remdisable indicates the far end port has been manually disabled.
•
configerr indicates that this port is not satisfied with the output of flow control and or duplex negotiation.
•
remcfgerr indicates that the far end port is not satisfied with the output of flow control and or duplex negotiation.
•
disagree indicates that the two ports have failed to agree on a duplex condition or that autonegotiation has failed.
For Catalyst 4000 family switches, in the show port command display, the combination of the 32-port module (WS-X4502) and 4-port 100FX daughtercard results in an entry that lists 36 ports. If the uplink daughtercard is not installed, only ports 1 through 32 are listed.
Although me1 resides on the supervisor engine module for the Catalyst 4000 family and 2948G switches, me1 port information is not displayed by the show module or show port CLI commands.
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 status and counters for port 1 on module 3 (Catalyst 5000 family and 2926G series switches):
Console> (enable) show port 3/1Port Name Status Vlan Level Duplex Speed Type----- ------------------ ---------- ---------- ------ ------ ----- ------------3/1 connected 1 normal half 100 100BaseFX MMPort Security Secure-Src-Addr Last-Src-Addr Shutdown Trap IfIndex----- -------- ----------------- ----------------- -------- -------- -------3/1 disabled No disabled 58Port Broadcast-Limit Broadcast-Drop-------- --------------- --------------3/1 - 0Port Status Channel Channel Neighbor Neighbormode status device port----- ---------- --------- ----------- ------------------------- ----------3/1 connected off not channelPort Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize----- ---------- ---------- ---------- ---------- ---------3/1 3384 16 0 0 0Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants----- ---------- ---------- ---------- ---------- --------- --------- ---------3/1 0 0 0 0 0 521 0Last-Time-Cleared--------------------------Fri Apr 16 1999, 10:00:46Console>This example shows how to display the status and counters for port 2 on a Catalyst 4000 family or 2948G switch:
Console> show port 2Port Name Status Vlan Level Duplex Speed Type----- ------------------ ---------- ---------- ------ ------ ----- ------------2/1 connected 1 normal full 1000 1000BaseSX2/2 connected 1 normal full 1000 1000BaseSX2/3 notconnect 1 normal full 1000 No GBIC2/4 notconnect 1 normal full 1000 No GBIC2/5 notconnect 1 normal full 1000 No GBIC2/6 notconnect 1 normal full 1000 No GBICPort Security Secure-Src-Addr Last-Src-Addr Shutdown Trap IfIndex----- -------- ----------------- ----------------- -------- -------- -------2/1 disabled No disabled 902/2 disabled No disabled 912/3 disabled No disabled 922/4 disabled No disabled 932/5 disabled No disabled 942/6 disabled No disabled 95Port Send FlowControl Receive FlowControl RxPause TxPause Unsupportedadmin oper admin oper opcodes----- -------- -------- -------- -------- ------- ------- -----------2/1 desired off off off 0 0 02/2 desired off off off 0 0 02/3 desired off off off 0 0 02/4 desired off off off 0 0 02/5 desired off off off 0 0 02/6 desired off off off 0 0 0Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize----- ---------- ---------- ---------- ---------- ---------2/1 - 0 1 0 02/2 - 8 2 8 02/3 - 0 0 0 02/4 - 0 0 0 02/5 - 0 0 0 02/6 - 0 0 0 0Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants----- ---------- ---------- ---------- ---------- --------- --------- ---------2/1 0 0 0 0 1 0 02/2 0 0 0 0 1 0 02/3 0 0 0 0 0 0 02/4 0 0 0 0 0 0 02/5 0 0 0 0 0 0 02/6 0 0 0 0 0 0 0Last-Time-Cleared--------------------------Fri Apr 9 1999, 18:54:17Console>Table 2-46 describes the possible fields (depending on the port type queried) in the show port command output.
Table 2-46 show port Command Output Fields
Field DescriptionPort
Module and port number.
Name
Name (if configured) of the port.
Status
Status of the port. For the Catalyst 5000 family and 2926G series switches, possible displays are connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor; for the Catalyst 4000 family and 2948G switches, possible displays are connected, notconnected, faulty, remfault, disable, remdisable, configerr, remcfgerr, and disagree.
Vlan
VLANs to which the port belongs.
Duplex
Duplex setting for the port (auto, full, fdx, half, hdx, a-half, a-hdx, a-full, or a-fdx).
Speed
Speed setting for the port (auto, 10, 100, 155, a-10, a-100, 4, 16, a-14,or a-16).
Type1
Port type, for example, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, or RSM.
Security
Status of whether port security is enabled or disabled.
Secure-Src-Addr
Secure MAC address for the security enabled port.
Last-Src-Addr
Source MAC address of the last packet received by the port.
Shutdown
Status of whether the port was shut down because of security.
Trap
Status of whether port trap is enabled or disabled.
IfIndex
Number of the ifIndex.
Broadcast-Limit
Broadcast threshold configured for the port.
Broadcast-Drop
Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded.
Send admin
Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it.
FlowControl oper
Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.
Receive admin
Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control.
FlowControl oper
Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol.
RxPause
Number of Pause frames received.
TxPause
Number of Pause frames transmitted.
Unsupported Opcodes
Number of unsupported operating codes.
Align-Err
Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port.
FCS-Err
The number of valid size frames with FCS errors but no framing errors.
Xmit-Err
Number of transmit errors that occurred on the port (indicating that the internal transmit buffer is full).
Rcv-Err
Number of receive errors that occurred on the port (indicating that the internal receive buffer is full).
UnderSize
Number of received frames less than 64 octets long (but are otherwise well-formed).
Single-Coll
Number of times one collision occurred before the port transmitted a frame to the media successfully.
Multi-Coll
Number of times multiple collisions occurred before the port transmitted a frame to the media successfully.
Late-Coll
Number of late collisions (collisions outside the collision domain).
Excess-Col
Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded).
Carri-Sen
Number of times the port sensed a carrier (to determine whether the cable is currently being used).
Runts
Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port.
Giants
Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port.
Last-Time-Cleared
Last time the port counters were cleared.
Auto-Part
The number of times the port entered the auto-partition state due to excessive consecutive collisions.
Data-rate mismatch
The number of valid size frames experienced overrun or underrun.
Src-addr change
The number of times the last source address changed.
Good-bytes
The total number of octets in frames with no error.
Short-event
The number of times activity with a duration less than the ShortEventMax Time (74-82 bit times) is detected.
1 These fields will change according to the system configuration.
show port auxiliaryvlan
Use the show port auxiliaryvlan command to display the port auxiliary VLAN status for a specific port.
show port auxiliaryvlan vlan
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
This command is supported by the Catalyst 5000 family switches and the Catalyst 4000 family switches.
Examples
This example shows how to display the port information for a specific auxiliary VLAN:
Console> (enable) show port auxiliaryvlan 123AuxiliaryVlan AuxVlanStatus Mod/Ports------------- ------------- -------------------------123 active 1/2,2/1-3Console> (enable)Table 2-47 describes the possible fields (depending on the port type queried) in the show port auxiliaryvlan command output.
Related Commands
show port broadcast
Use the show port broadcast command to display broadcast information.
show port broadcast [mod_num[/port_num]]
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 and the Catalyst 2926G series switches.
On the 1000BaseX switching module, when you specify a port for broadcast suppression, the traffic is suppressed only in the network-to-Catalyst 5000 family and 2926G series switches bus direction.
If you do not specify a mod_num, the ports on all modules are shown.
If you do not specify a /port_num, all the ports on the module are shown.
Examples
This example shows how to display broadcast information for port 2 on module 1:
Console> show port broadcast 1/2Port Broadcast-Limit Broadcast-Drop-------- --------------- --------------1/2 75.25% -Console>Table 2-48 describes the possible fields in the show port broadcast command output.
show port capabilities
Use the show port capabilities command to display the capabilities of the modules and ports in a switch.
show port capabilities [mod_num[/port_num]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a mod_num, the ports on all modules are shown.
If you do not specify a /port_num, all the ports on the module are shown.
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 show the port capabilities for module 1, port 1:
Console> (enable) show port capabilities 1/1Model WS-X5530Port 1/1Type 10/100BaseTXSpeed auto,10,100Duplex half,fullTrunk encap type 802.1Q,ISLTrunk mode on,off,desirable,auto,nonegotiateChannel 1/1-2,1/1-4Broadcast suppression percentage(0-100)Flow control receive-(off,on),send-(off,on)Security yesMembership static,dynamicFast start yesQOS scheduling rx-(none),tx-(none)CoS rewrite yesToS rewrite IP-PrecedenceRewrite yesUDLD CapableVoice vlan noTable 2-49 describes the possible fields (depending on the type of port queried) and the values in the show port capabilities command output.
Table 2-49 show port capabilities Command Output Fields
Field DescriptionModel
Module model number.
Port
Module number and port number.
Type1
Port type, for example, 100BaseFX MM, 100BaseFX SM, or 10/100BaseTX.
Speed1
Port speed setting (for example, auto, 100, or 1000).
Duplex
Duplex mode (half, full, auto, fdx, hdx, or no).
Trunk encap type
Trunk encapsulation type (ISL, 802.1Q, 802.10, or no).
Trunk mode
Trunk administrative status of the port (on, off, auto, desirable, nonegotiate, or no).
Channel
Status of which ports can form a channel group. The ports are shown in mod_num/port_num format. For example, 3/1-2 indicates module 3, ports 1 and 2. Also, any ports in range [mod/1-mod/high_port] or no ports may be indicated.
Broadcast suppression
Number of packets-per-second (pps) of broadcast/multicast traffic allowed on the port (0-150000) or the percentage of total available bandwidth that can be used by broadcast/multicast traffic (0-100).
Flow control
Flow-control options you can set (receive-[off, on, desired], send-[off, on, desired], or no).
Security
Status of whether port security is enabled (yes, no).
Membership
Method of membership assignment of a port or range of ports to a VLAN (static, dynamic).
Fast Start
Status of whether the spanning-tree port fast-start feature on the port is enabled (yes, no).
QoS Scheduling
(rx-(none),tx-(none)).
CoS Rewrite
Status of whether the port supports COS rewrite (yes, no).
ToS Rewrite
Status of whether the port supports TOS rewrite (IP-Precedence).
Rewrite
Status of whether the port supports inline rewrite (yes, no).
UDLD
Status of whether the port supports UDLD (Capable, Not capable).
Voice Vlan
Status of whether the port supports voice or VLAN (yes, no).
1 These fields will change depending on the system configuration.
Related Commands
set port channel
set port broadcast
set port security
set port speed
set spantree portfast
set trunkshow port cdp
Use the show port cdp command to display port CDP enable state and message interval on the port.
show port cdp [mod_num[/port_num]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a mod_num, the ports on all modules are shown.
If you do not specify a /port_num, all the ports on the module are shown.
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 CDP information for all ports:
Console> show port cdpCDP :enabledMessage Interval :60Hold Time :180Port CDP Status-------- ----------2/1 enabled2/2 enabled5/1 enabled5/2 enabled5/3 enabled5/4 enabled5/5 enabled5/6 enabled5/7 enabled5/8 enabledConsole>Table 2-50 describes the fields in the show port cdp command output.
Related Commands
show port channel
Use the show port channel command to display EtherChannel information for a specific module or port.
show port channel [mod_num[/port_num]] [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 the module and port are not specified, EtherChannel information is shown for all channeling ports on all modules.
Examples
This example shows how to display Fast EtherChannel information for port 1/4:
Console> show port channel 1/4Port Status Channel Admin ChMode Group Id----- ---------- -------------------- ----- -----1/1 connected auto silent 22 7691/2 connected auto silent 22 7691/3 connected auto silent 22 7691/4 connected auto silent 22 769----- ---------- -------------------- ----- -----Port Device-ID Port-ID Platform----- ------------------------------- ------------------------- ----------------1/1 069003103(5500) 3/13 WS-C55001/2 069003103(5500) 3/14 WS-C55001/3 069003103(5500) 3/15 WS-C55001/4 069003103(5500) 3/16 WS-C5500----- ------------------------------- ------------------------- ----------------Console>This example shows how to display PAgP packet statistics:
Console> show port channel statisticsPort Admin PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP PktsGroup Transmitted Received InFlush RetnFlush OutFlush InError----- ------- ----------- --------- --------- --------- --------- ---------1/1 22 5063 5073 0 0 0 01/2 22 5062 5075 0 0 0 01/3 22 5068 5077 0 0 0 01/4 22 5076 5066 0 0 0 0----- ------- ----------- --------- --------- --------- --------- ---------Console>This example shows how to display EtherChannel configuration information:
Console> show port channel infoSwitch Frame Distribution Method: mac bothPort Status Channel Admin Channel Speed Duplex Vlanmode group id----- ---------- -------------------- ----- ------- ----- ------ ----1/1 connected auto silent 22 769 a-100 a-full 11/2 connected auto silent 22 769 a-100 a-full 11/3 connected auto silent 22 769 a-100 a-full 11/4 connected auto silent 22 769 a-100 a-full 1----- ---------- -------------------- ----- ------- ----- ------ ----Port ifIndex Oper-group Neighbor Oper-Distribution PortSecurity/Oper-group Method Dynamic port----- ------- ---------- ---------- ----------------- -------------1/1 626 1 mac both1/2 626 1 mac both1/3 626 1 mac both1/4 626 1 mac both----- ------- ---------- ---------- ----------------- -------------Port Device-ID Port-ID Platform----- ------------------------------- ------------------------- ----------------1/1 069003103(5500) 3/13 WS-C55001/2 069003103(5500) 3/14 WS-C55001/3 069003103(5500) 3/15 WS-C55001/4 069003103(5500) 3/16 WS-C5500----- ------------------------------- ------------------------- ----------------Port Trunk-status Trunk-type Trunk-vlans----- ------------ ------------- -----------------------------------------------1/1 trunking n-isl 1-10051/2 trunking n-isl 1-10051/3 trunking n-isl 1-10051/4 trunking n-isl 1-1005----- ------------ ------------- -----------------------------------------------Port Portvlancost-vlans----- --------------------------------------------------------------------------1/11/21/31/4----- --------------------------------------------------------------------------Port Port Portfast Port Portpriority vlanpri vlanpri-vlans----- -------- -------- ------- ------------------------------------------------1/1 32 disabled 01/2 32 disabled 01/3 32 disabled 01/4 32 disabled 0----- -------- -------- ------- ------------------------------------------------Port IP IPX Group----- -------- -------- --------1/1 on auto-on auto-on1/2 on auto-on auto-on1/3 on auto-on auto-on1/4 on auto-on auto-on----- -------- -------- --------Port GMRP GMRP GMRPstatus registration forwardAll----- -------- ------------ ----------1/1 enabled normal disabled1/2 enabled normal disabled1/3 enabled normal disabled1/4 enabled normal disabled----- -------- ------------ ----------Port GVRP GVRP GVRPstatus registeration applicant----- -------- ------------- ---------1/1 disabled normal normal1/2 disabled normal normal1/3 disabled normal normal1/4 disabled normal normal----- -------- ------------- ---------Port Qos-Tx Qos-Rx Qos-Trust Qos-DefCosPortType PortType Type----- -------- -------- ------------ ----------1/1 - - untrusted 01/2 - - untrusted 01/3 - - untrusted 01/4 - - untrusted 0----- -------- -------- ------------ ----------Console>Table 2-51 describes the fields in the show port channel output.
Table 2-52 describes the fields in the show port channel statistics output.
Table 2-53 describes the fields in the show port channel info output.
Related Commands
set channel cost
set channel vlancost
set port channel
show channel
show channel groupshow port counters
Use the show port counters command to show all the counters for a port.
show port counters [mod_num/port_num]
Syntax Description
mod_num
(Optional) Number of the module for which to show port counter information.
/port_num
(Optional) Number of the port on the module for which to show port counter information.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a mod_num, the ports on all modules are shown.
If you do not specify a /port_num, all the ports on the module are shown.
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 the output of the show port counters command:
Console> (enable) show port countersPort Align-Err FCS-Err Xmit-Err Rcv-Err Broad-Limit Broad-Drop---- ---------- ---------- ---------- ---------- ----------- ----------1/1 0 0 0 0 - 01/2 0 0 0 0 - 04/1 0 0 0 0 10000p/s 04/2 0 0 0 0 100p/s 537284/3 0 0 0 0 - 04/4 0 0 0 0 11.50p/s 52Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sens Runts Giants---- ---------- ---------- --------- ---------- ---------- ----- ------1/1 0 0 0 0 0 0 -1/2 0 0 0 0 0 0 -4/1 0 0 0 0 0 0 -4/2 0 0 0 0 0 0 -4/3 0 0 0 0 0 0 -4/4 0 0 0 0 0 0 -LerPort CE-State Conn-State Type Neig Con Est Alm Cut Lem-Ct Lem-Rej-Ct Tl-Min----- -------- ---------- ---- ---- --------------- ---------- ---------- ------3/1 isolated connecting A U no 9 9 7 0 0 1023/2 isolated connecting B U no 9 8 7 0 0 40Last-Time-Cleared--------------------------Wed Apr 10 1996, 14:59:51Console> (enable)Table 2-54 describes the possible fields (depending on the port type queried) in the show port counters command output.
Related Commands
show port filter
Use the show port filter command to view MAC addresses and protocol filters that have been configured on the Token Ring module ports.
show port filter [mod_num] [canonical]
show port filter mod_num/port_num [canonical]
show port filter mac_addr [canonical]
Syntax Description
Defaults
By default, MAC addresses are shown in noncanonical format.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported by the Catalyst 5000 family switches.
Examples
This example shows how to display the filters configured for a port on the Token Ring module:
Console> show port filter 3/1Port Mac-Addr Type----- ----------------- ------3/1 00:00:00:00:00:00 deny00:00:00:00:00:00 deny00:00:00:00:00:00 deny00:00:00:00:00:00 denyPort Protocol Type----- ----------------- ------3/1 0x8038 deny0xf0f0 denyTable 2-55 describes the fields in the show port filter command output.
Related Commands
clear port filter
set port filtershow port flowcontrol
Use the show port flowcontrol command to display per-port status information and statistics related to flow control.
show port flowcontrol [mod_num[/port_num]]
Syntax Description
mod_num
(Optional) Number of the module.
/port_num
(Optional) Number of the port on the module. If you do not specify a number, filters configured on all the ports on the module are shown.
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 flow-control port status and statistics:
Console> show port flowcontrolPort Send-Flowcontrol Receive-Flowcntl RxPause TxPauseAdmin Oper Admin Oper----- ---------------- ---------------- ------- ------3/1 on disagree on disagree 0 03/2 off off off off 0 03/3 desired on desired off 10 10Console>Table 2-56 describes the fields in the show port flowcontrol command output.
Related Commands
show port ifindex
Use the show port ifindex command to view ifIndex information on a per-port or per-module basis.
show port ifindex [mod_num]
show port ifindex mod_num/port_num
Syntax Description
Defaults
This command has no default settings.
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 ifIndex information for all the ports:
Console> show port ifindexPort ifIndex----- -------1/1 31/2 43/1 3833/2 3844/1 3854/2 3864/3 3874/4 3884/5 3894/6 3904/7 3914/8 3924/9 3934/10 3944/11 3954/12 3964/13 397Console>show port negotiation
Use the show port negotiation command to display the link negotiation protocol setting for the specified port.
show port negotiation [mod_num[/port_num]]
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.
This command is supported on Gigabit Ethernet and some Fast Ethernet ports. If the port does not support the command, the following message appears (where N/N is the module and port number):
Feature not supported on Port N/N.Examples
This example shows how to display the link negotiation protocol settings on module 3, port 1:
Console> show port negotiation 3/1Port Link Negotiation------- --------------------3/1 enabledConsole>Related Commands
show port flowcontrol
set port negotiationshow port protocol
Use the show port protocol command to view protocol filters configured on the ports.
show port protocol [mod_num[/port_num]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
If you do not specify a /port_num, filters configured on all the ports on the module are shown.
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 view protocol filters on configured ports:
Console> show port protocolPort Vlan IP IP Hosts IPX IPX Hosts Group Group Hosts-------- ---------- -------- -------- -------- --------- -------- -----------1/1 1 on 0 on 0 on 01/2 1 on 0 on 0 on 02/1 1 on 3 auto-on 0 auto-on 02/2 1 on 0 on 0 on 02/3 1 on 0 on 0 on 02/4 1 on 0 on 0 on 02/5 1 on 0 on 0 on 02/6 1 on 0 on 0 on 02/7 1 on 0 on 0 on 02/8 1 on 0 on 0 on 02/9 1 on 0 on 0 on 02/10 1 on 0 on 0 on 0Console>This example shows how to view protocol filters on port 15 of module 3:
Console> (enable) show port protocol 3/15Port Vlan IP IP Hosts IPX IPX Hosts Group GroupHosts-------- ---------- ------- -------- ----- -------- ----- --------3/15 1000 auto-on 2 auto-off 0 auto-off 0To:Port Vlan AuxVlan IP IP IPX IPX Group GroupStatus Hosts Status Hosts Status Hosts-------- ---------- ------- -------- ----- -------- ----- -------- -----3/15 1000 234 auto-on 2 auto-off 0 auto-off 0Console> (enable)Related Commands
show port qos
Use the show port qos command to display QoS-related information.
show port qos [mod[/port]]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
Note
When a switchover occurs, you cannot view the ACLs and policers deployed using COPS-DS until the COPS-DS client on the new active supervisor engine establishes connection to the PDP and downloads the QoS policy. The runtime fields in the output display will be blank until QoS policy is downloaded to the new active supervisor engine.
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
Examples
This example shows how to display QoS-related information for a specific module and port:
Console> show port qos 2/1QoS is enabled for the switch.QoS policy source for the switch set to local.Port Interface Type Interface Type Policy Source Policy Sourceconfig runtime config runtime----- -------------- -------------- ------------- -------------2/1 vlan-based vlan-based COPS localPort TxPort Type RxPort Type Trust Type Trust Type Def CoS Def CoSconfig runtime config runtime----- ------------ ------------ ------------ ------------ ------- -------2/1 2q2t 1q4t untrusted untrusted 0Config:Port ACL name Type----- -------------------------------- ----No ACL is mapped to port 2/1.Runtime:Port ACL name Type----- -------------------------------- ----No ACL is mapped to port 2/1.Console>This example shows how to display QoS-related information for a single port on a specific module, which, in this example, is connected to a port on a phone device:
Console> (enable) show port qos 3/4QoS is disabled for the switch.Configured settings are not used.QoS policy source for the switch set to local.Port Interface Type Interface Type Policy Source Policy Sourceconfig runtime config runtime----- -------------- -------------- ------------- -------------3/4 - - local localPort TxPort Type RxPort Type Trust Type Trust Type Def CoS Def CoSconfig runtime config runtime----- ------------ ------------ ------------ ------------- ------- -------3/4 2q2t 1q4t untrusted trust-cos 0 0Port Ext-Trust Ext-Cos----- --------- -------3/4 untrusted 0(*)Trust type set to untrusted.Config:Port ACL name Type----- -------------------------------- ----No ACL is mapped to port 3/4.Runtime:Port ACL name Type----- -------------------------------- ----No ACL is mapped to port 3/4.Console> (enable)Related Commands
set qos
set qos ip-filter
set qos mac-cos
set qos map
set port qos
set port qos cos
set port qos trust
set qos router-mac
set qos wred-thresholdshow port security
Use the show port security command to view port security configuration information and statistics.
show port security mod/ports... [statistics]
Syntax Description
mod
Number of the module.
ports...
Number of the ports.
statistics
Keyword that specifies to display security statistics.
Defaults
By default configuration information is displayed.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you issue this command against a Token Ring port, the following message is generated:
Feature not supported for Module x.This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
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 port security configuration information on a secured port and the output:
Console> (enable) show port security 4/1Port Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap IfIndex----- -------- --------- ------------- -------- ------------- -------- -------4/1 enabled shutdown 120 1440 25 disabled 3Port Secure-Src-Addrs Age-Left Last-Src-Addr Shutdown Shutdown-Time-Left---- ----------------- -------- ----------------- -------- ------------------4/1 00-11-22-33-44-55 4 00-11-22-33-44-55 No -00-10-14-da-77-f1 100This example shows the output on a port that has experienced a security violation:
Console> (enable) show port security 4/1Port Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap IfIndex----- -------- --------- ------------- -------- ------------- -------- -------4/1 enabled shutdown 120 600 25 disabled 3Port Secure-Src-Addrs Age-Left Last-Src-Addr Shutdown Shutdown-Time-Left---- ----------------- -------- ----------------- -------- ------------------4/1 00-11-22-33-44-55 60 00-11-22-33-44-77 Yes -00-10-14-da-77-f1 20000-11-22-33-44-66 200This example shows that port 4/1 has been shut down and that the timeout left is 60 minutes before the port will be reenabled:
Console> (enable) show port security 4/1Port Security Violation Shutdown-Time Age-Time Maximum-Addrs Trap IfIndex----- -------- --------- ------------- -------- ------------- -------- -------4/1 enabled restrict 120 600 25 disabled 3Port Secure-Src-Addrs Age-Left Last-Src-Addr Shutdown Shutdown-Time-Left---- ----------------- -------- ----------------- -------- ------------------4/1 00-11-22-33-44-55 60 00-11-22-33-44-77 Yes -00-10-14-da-77-ffRelated Commands
set port security
clear port securityshow port security statistics
Use the show port security command to view port security configuration statistics.
show port security statistics mod | mod/port [system]
Syntax Description
mod
Number of the module.
mod/port
Number of the module and port.
system
(Optional) Keyword that specifies to display systemwide configuration statistics.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
If you issue this command against a Token Ring port, the following message is generated:
Feature not supported for Module x.This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
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 port security configuration information on a secured port and the output:
Console> (enable) show port security statistics systemModule 1:Total ports: 4Total MAC address(es): 4Total global address space used (out of 1024): 0Status: installedModule 3:Total ports: 24Total MAC address(es): 24Total global address space used (out of 1024): 0Status: installedModule 8:Module does not support port security featureModule 10:Module does not support port security featureConsole> (enable)Related Commands
set port security
clear port securityshow port status
Use the show port status command to display port status information.
show port status [mod_num[/port_num]]
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.
If you do not specify a mod_num, the ports on all modules are shown.
If you do not specify a /port_num, all the ports on the module are shown.
Examples
This example shows how to display port status information for all ports:
Console> show port statusPort Name Status Vlan Level Duplex Speed Type----- ------------------ ---------- ---------- ------ ------ ----- ------------1/1 connected 523 normal half 100 100BaseTX1/2 notconnect 1 normal half 100 100BaseTX2/1 connected trunk normal half 400 Route Switch3/1 notconnect trunk normal full 155 OC3 MMF ATM5/1 notconnect 1 normal half 100 FDDI5/2 notconnect 1 normal half 100 FDDIConsole>Table 2-57 describes the fields in the show port status command output.
Table 2-57 show port status Command Output Fields
Field DescriptionPort
Module and port number.
Name
Name (if configured) of the port.
Status
Status of the port (connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor).
Vlan
VLANs to which the port belongs.
Level
Level setting for the port (normal or high).
Duplex
Duplex setting for the port (auto, full, fdx, half, hdx, a-half, a-hdx, a-full, or a-fdx).
Speed
Speed setting for the port (auto, 10, 100,155, a-10, a-100, 4, 16, a-14,or a-16).
Type1
Port type, for example, 10BaseT, 10BaseFL MM, 100BaseTX, 100BaseT4, 100BaseFX MM, 100BaseFX SM, 10/100BaseTX, TokenRing, FDDI, CDDI, or RSM.
1 These fields will change according to the system configuration.
show proc
Use the show proc command to display CPU, memory allocation, and process utilization information.
show proc [cpu | mem] {mod_num}
Syntax Description
cpu
(Optional) Keyword that specifies CPU information.
mem
(Optional) Keyword that specifies malloced memory information.
mod_num
Number of the module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
This command can only be entered in privileged mode. If you do not specify cpu or mem, process information is displayed.
The mem keyword allows you to display malloced memory information, such as how much each process has allocated and how much memory it has freed can be obtained.
Examples
This example shows how to display CPU information:
Console> (enable) show proc cpuCPU utilization for five seconds: 1.44%one minute: 1.96%five minutes: 1.02%PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process--- ----------- ---------- -------- ------- ------- ------- --- ---------------1 0 0 0 98.56% 98.04% 98.98% 0 Kernel and Idle2 4 38 1000 0.00% 0.00% 0.00% 0 Flash MIB Updat3 1421 5547 466000 0.00% 0.00% 0.00% 0 SynDiags4 166212 519822 19000 0.22% 0.00% 0.00% 0 SynConfig5 185 94681 1000 0.00% 0.00% 0.00% 0 Statuspoll6 472 297 0 0.00% 0.00% 0.00% 0 SWPoll64bCnt7 90 3548211 1000 0.00% 0.00% 0.00% 0 SL_TASK8 113 141960 106000 0.00% 0.00% 0.00% 0 RedundantTaskConsole> (enable)This example shows how to display process information:
Console> (enable) show proc memMemory Used: 1281040Freed: 9597104Total: 10878144PID TTY Allocated Freed Holding Process---------- ---------- ---------- ---------- ---------- ---------------1 0 711008 2832 708176 Kernel and Idle2 0 240 0 240 Flash MIB Updat3 0 284128 283712 416 SynDiags4 0 211856 1920 209936 SynConfig5 0 96 0 96 Statuspoll6 0 4944 4352 592 SWPoll64bCnt7 0 80 0 80 SL_TASK8 0 2272 1952 320 RedundantTaskConsole> (enable)This example shows how to display process utilization information:
Console> (enable) show procCPU utilization for five seconds: 0.44%one minute: 1.00%five minutes: 1.00%PID Q T PC Runtime(ms) Invoked uSecs Stacks TTY Process--- -- -- ---------- ----------- -------- ------- --------- --- ---------------1 1 rd 0x8041ab80 0 0 0 1580/6144 0 Kernel and Idle2 1 st 0x8041adfc 4 38 1000 1604/6144 0 Flash MIB Updat3 2 st 0x8041adfc 1421 5547 466000 3364/6144 0 SynDiags4 1 si 0x8041adfc 166438 520543 19000 1764/6144 0 SynConfig5 2 si 0x8041adfc 186 94812 1000 1576/6144 0 Statuspoll6 4 si 0x8041adfc 472 297 0 244/6144 0 SWPoll64bCnt7 2 si 0x8041adfc 92 3553068 1000 904/6144 0 SL_TASK8 2 si 0x8041adfc 113 142157 106000 1172/6144 0 RedundantTaskConsole> (enable)Table 2-58 describes the possible fields in the show proc command outputs.
show protocolfilter
Use the show protocolfilter command to list whether protocol filtering is enabled or disabled.
show protocolfilter
Syntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is not supported by the three-port Gigabit Ethernet switching module (WS-X5403).
Examples
This example shows how to display whether protocol filtering is enabled or disabled:
Console> show protocolfilterProtocol filtering is enabled on this switch.Console>Related Commands
show qos info
Use the show qos info command to display QoS-related information for a specified port.
show qos info {runtime | config} mod_num/port_num
show qos info config port_type tx
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, Catalyst 4000 family switches, and the Catalyst 2948G and 2980G switch.
On the Catalyst 5000 family switches, this command is supported only with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
The mod_num /port_num argument, the port_type argument, and the tx keyword are not supported on the Catalyst 4000 family and 2948G switches.
The show qos info runtime command display shows both the absolute values and the percentages you specified for the drop thresholds, queue sizes, and WRR. However, the absolute values may not exactly match the percentages specified because of the precision limitations of the hardware.
On the Catalyst 5000 family switches, the transmit drop threshold percentages specified select a buffer usage level where each threshold applies. The percentages to buffer usage level shown below are approximate values that depend on the packet buffer size, which depends on the ASIC type.
•
1% is a threshold when 2,044 bytes of the transmit queue buffer have been used
•
2% and 3% = 4,092 bytes have been used
•
4% through 7% = 8,188 bytes have been used
•
8% through 14% = 16,380 bytes have been used
•
15% through 28% = 32,767 bytes have been used
•
29% through 57% = 65,532 bytes have been used
•
58% through 100% = 131,068 bytes have been used
The number preceding the t in the port-type determines the number of threshold values that the hardware supports. For example, with 1q4t, four thresholds are specified. The number preceding the q in the port-type determines the number of the queues that the hardware supports. For example, with 1q4t, one queue is specified.
Examples
This example shows how to display QoS-related NVRAM transmit threshold information (Catalyst 5000 family switches):
Console> (enable) show qos info config 1q4t txQoS setting in NVRAM for 1q4t transmit:QoS is enabledQueue and Threshold Mapping:Queue Threshold CoS----- --------- ---------------1 1 0 11 2 2 31 3 4 51 4 6 7Tx WRED thresholds:Queue # Thresholds in percentage ( in abs values )------- ------------------------------------------1 14% 28% 57% 100%Console>This example shows how to display the current QoS runtime information for a port (Catalyst 5000 family switches):
Console> show qos info runtime 8/1Run time setting of QoS:QoS is enabledPort 8/1 has 1 transmit queue with 4 drop thresholds (1q4t).Default CoS = 0Queue and Threshold Mapping:Queue Threshold CoS----- --------- ---------------1 1 0 11 2 2 31 3 4 51 4 6 7Tx WRED thresholds:Queue # Thresholds in percentage ( in abs values )------- ------------------------------------------1 14% (16380 bytes) 28% (32764 bytes) 57% (65532 bytes) 100% (131068 bytes)Console>This example shows how to display the current QoS configuration information for the switch (Catalyst 4000 family and 2948G switches):
Console> show qos info configQoS setting in NVRAM:QoS is enabledAll ports have 2 transmit queues with 1 drop thresholds (2q1t).Default CoS = 4Queue and Threshold Mapping:Queue Threshold CoS----- --------- ---------------1 1 0 1 2 32 1 4 5 6 7Console>Related Commands
set qosset qos ip-filter
set qos mac-cos
set qos map
set qos router-mac
set qos wred-thresholdshow qos ip
Use the show qos ip command to display the access control list.
show qos ip [runtime]
Syntax Description
runtime
(Optional) Keyword that displays the runtime configuration verses the user configured configuration.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
The runtime and user configured settings are different only if the QoS runtime policy source for the switch is COPS.
Examples
This example shows how to display the access control list and its details when COPS is disabled:
Console> (enable) show qos ip runtimeThere are 1 IP filter(s).ACE# Src IP and Mask Dest IP and Mask---- -------------------------------- --------------------------------1 171.33.22.7 0.0.0.255 172.22.33.5 0.0.255.255Protocol Src Port Dst Port CoS Action-------- -------- -------- --- ------any 0 0 3 -Console> (enable)This example shows how to display the access control list and its details when COPS is enabled:
Console> (enable) show qos ip runtimeACL# ACE# Src IP and Mask Dest IP and Mask---- ---- -------------------------------- --------------------------------1 1 1.2.3.4 0.0.255.255 host 5.6.7.8Protocol Src Port Range Dst Port Range CoS Action-------- -------------- -------------- --- ------any 0 - 65535 0 - 65535 4 permit1 2 any anyProtocol Src Port Range Dst Port Range CoS Action-------- -------------- -------------- --- ------any 0 - 65535 0 - 65535 4 denyACL# ACE# Src IP and Mask Dest IP and Mask---- ---- -------------------------------- --------------------------------2 1 1.2.3.4 0.0.255.255 host 5.6.7.8Protocol Src Port Range Dst Port Range CoS Action-------- -------------- -------------- --- ------any 0 - 65535 0 - 65535 0 permitConsole> (enable)Related Commands
set qos ip-filter
clear qos ip-filtershow qos mac-cos
Use the show qos mac-cos command to display the currently configured QoS-related information for the MAC address and VLAN pair.
show qos mac-cos dest_mac [vlan]
show qos mac-cos all
Syntax Description
dest_mac
MAC address of the destination host.
vlan
(Optional) Number of the VLAN; valid values are 1 to 1005.
all
Keyword that specifies all MAC address and VLAN pairs.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
You can enter the show qos mac-cos command to display the currently configured QoS-related information. You can enter the show qos info config to view the NVRAM setting of QoS. This command might be useful to check if the NVRAM setting is different from the hardware setting. For example, if you configure some settings for QoS while QoS is disabled, the setting is saved in NVRAM but the hardware is operating with a different set of parameters.
Examples
This example shows how to display currently configured QoS-related information for all MAC address and VLAN pairs:
Console> (enable) show qos mac-cos allVLAN Dest MAC CoS---- ------------------ ---1 01-02-03-04-05-06 29 04-05-06-07-08-09 3Console> (enable)This example shows how to display currently configured QoS-related information for a specific MAC address:
Console> (enable) show qos mac-cos 01-02-03-04-05-06VLAN Dest MAC CoS---- ------------------ ---1 01-02-03-04-05-06 2Console> (enable)Related Commands
set qos mac-cos
clear qos mac-cosshow qos policy-source
Use the show qos policy-source command to display the QoS policy source information.
show qos policy-source
Syntax Description
This command has no arguments or keywords.
Defaults
This command has no default settings.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
This command displays whether the QoS policy source is set to local or COPS.
Examples
This example shows how to view the QoS policy source:
Console> show qos policy-sourceQoS policy source for the switch set to local.QoS runtime policy source for the switch is local.Console>Related Commands
show qos router-mac
Use the show qos router-mac command to display QoS router information for the MAC address and VLAN pair.
show qos router-mac [mac_addr | vlan]
Syntax Description
mac_addr
(Optional) MAC address of the router.
vlan
(Optional) Number of the VLAN; valid values are 1 to 1005.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
The Number column displays a number indicating the order in which the entries were configured. This number has no functional significance to the entry.
Examples
This example shows how to display QoS router information for all MAC address and VLAN pairs:
Console> (enable) show qos router-macNumber MAC address Vlan #---------------------------------1 00-40-0b-30-03-48 22 00-40-0b-30-03-48 3Console> (enable)This example shows how to display QoS router information for a specific MAC address:
Console> (enable) show qos router-mac 00-40-0b-30-03-48Number MAC address Vlan #---------------------------------1 00-40-0b-30-03-48 22 00-40-0b-30-03-48 3Console> (enable)Related Commands
set qos router-mac
clear qos router-macshow qos statistics
Use the show qos statistics command to display QoS-related counters for a specified module.
show qos statistics {mod_num[/port_num]}
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command is supported only on Catalyst 5000 family switches with Supervisor Engine II G or III G, or Supervisor Engine III or III F with the NFFC II.
In the output, the Threshold #:Packets dropped field lists each threshold and the number of packets dropped. For example, 1:0 pkt, 2:0 pkts indicates that thresholds 1 and 2 had 0 packets dropped.
Examples
This example shows how to display QoS statistics information for module 2, port 1:
Console> (enable) show qos statistics 2/1On Transmit: Port 2/1 has 2 Queue(s) 2 Threshold(s)Q # Threshold #:Packets dropped--- -----------------------------------------------1 1:0 pkts , 2:0 pkts2 1:0 pkts , 2:0 pktsOn Receive: Port 2/1 has 1 Queue(s) 4 Threshold(s)Rx drop threshold counters are disabled for untrusted ports.Q # Threshold #:Packets dropped--- -----------------------------------------------1 1:0 pkts, 2:0 pkts, 3:0 pkts, 4:0 pktsConsole> (enable)Related Commands
set qos
set qos ip-filter
set qos mac-cos
set qos map
set qos router-mac
set qos wred-thresholdshow radius
Use the show radius command to display configured RADIUS parameters.
show radius [noalias]
Syntax Description
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
This command can be entered in Normal or Privileged mode, but the RADIUS key is displayed only if this command is entered in Privileged mode.
Examples
This example shows how to display RADIUS information:
Console> (enable) show radiusLogin Authentication: Console Session Telnet Session--------------------- ---------------- ---------------tacacs disabled disabledradius enabled(primary) enabled(primary)local enabled enabledEnable Authentication: Console Session Telnet Session---------------------- ---------------- ---------------tacacs disabled disabledradius enabled(primary) enabled(primary)local enabled enabledRadius deadtime: 0 minutesRadius key: helloRadius retransmit: 3Radius timeout: 5 secondsRadius-Server Status Auth-port Acct-port------------------- ------- --------- ---------198.32.67.9 primary 1645 1813172.31.11.12 1645 1646Console> (enable)Related Commands
set qos
set radius key
set radius retransmit
set radius server
set radius timeoutshow rgmp group
Use the show rgmp group command to display all multicast groups or the count of multicast groups that are joined by RGMP-capable routers.
show rgmp group [mac_addr] [vlan_id]
show rgmp group count [vlan_id]
Syntax Description
mac_addr
(Optional) MAC destination address reserved for the use of RGMP packets.
vlan_id
(Optional) Number of the VLAN; valid values are from 1 to 1005.
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.
Examples
This example displays all multicast groups joined by RGMP-capable routers:
Console> show rgmp groupVlan Dest MAC/Route Des RGMP Joined Router Ports---------------------------------------------------------------------1 01-00-5e-00-01-28 5/1,5/151 01-00-5e-01-01-01 5/12 01-00-5e-27-23-70* 3/1,5/1Total Number of Entries=3`*'- Configured manually Console>This example displays the total number of entries of VLAN group 1 that are joined by RGMP-capable routers:
Console> show rgmp group count 1RGMP enabled.Total Number of Entries=2Console>Related Commands
