|
|
Use the show port command to display port status and counters.
show port [mod_num[/port_num]]
mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
/port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the status and counters for port 1 on module 1:
Console> show port 1/1
Port Name Status Vlan Duplex Speed Type
----- ------------------ ---------- ---------- ------ ----- ------------
1/1 connected 1 full 1000 1000BaseSX
Port Security Secure-Src-Addr Last-Src-Addr Shutdown Trap IfIndex
----- -------- ----------------- ----------------- -------- -------- -------
1/1 disabled No disabled 3
Port Broadcast-Limit Broadcast-Drop
-------- --------------- --------------------
1/1 - 0
Port Send FlowControl Receive FlowControl RxPause TxPause
admin oper admin oper
----- -------- -------- -------- -------- ---------- ----------
1/1 desired on off off 0 0
Port Status Channel Admin Ch Neighbor Neighbor
Mode Group Id Device Port
----- ---------- --------- ----- ----- ----------------------------------- -----
1/1 connected auto 123 0
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
1/1 0 0 0 0 0
Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
1/1 0 0 0 0 23 0 0
Last-Time-Cleared
--------------------------
Fri Feb 25 2000, 20:41:52
Table 2-27 describes the possible fields (depending on the port type queried) in the show port command output.
| Field | Description |
|---|---|
Port | Module and port number. |
Name | Name (if configured) of the port. |
Status | Status of the port (connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor). |
Vlan | VLANs to which the port belongs. |
Duplex | Duplex setting for the port (auto, full, half). |
Speed | Speed setting for the port (auto, 10, 100, 1000). |
Type1 | Port type, for example, 1000BaseSX or 100BaseFX. |
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. |
Align-Err | Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port. |
FCS-Err | Number of 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. |
CE-State | Connection entity status. |
Conn-State | Connection state of the port, as follows:
|
Type | Type of port, such as A---A port and B---B port. |
Neig | Type of port attached to this port. The neighbor can be one of these types:
|
Ler Con | Status of whether the port is currently in a LER condition. |
Est | Estimated LER. |
Alm | LER at which a link connection exceeds the LER alarm threshold. |
Cut | LER cutoff value (the LER at which a link connection is flagged as faulty). |
Lem-Ct | Number of LEM errors received on the port. |
Lem-Rej-Ct | Number of times a connection was rejected because of excessive LEM errors. |
Last-Time-Cleared | Last time the port counters were cleared. |
Auto-Part | Number of times the port entered the auto-partition state due to excessive consecutive collisions. |
Data-rate mismatch | Number of valid size frames that experienced overrun or underrun. |
Src-addr change | Number of times the last source address changed. |
Good-bytes | Total number of octets in frames with no error. |
Short-event | Number of short events received. |
| 1These fields will change according to the system configuration. |
Use the show port broadcast command to display broadcast information.
show port broadcast [mod_num[/port_num]]
mod_num | (Optional) Number of the module. If you do not specify a number, the ports on all modules are shown. |
/port_num | (Optional) Number of the port on the module. If you do not specify a number, all the ports on the module are shown. |
This command has no default setting.
Switch command.
Privileged.
On the 1000BaseX switching module, when you specify a port for broadcast suppression, the traffic is suppressed only in the network-to-Catalyst 6000 and 6500 series switch bus direction.
This example shows how to display broadcast information for port 2 on module 1:
Console> show port broadcast 1/2 Port Broadcast-Limit Broadcast-Drop -------- --------------- -------------------- 1/2 20 % 532 Console>
Table 2-28 describes the possible fields (depending on the port type queried) in the show port broadcast command output.
| Field | Description |
|---|---|
Port | Module and port number. |
Broadcast-Limit | Broadcast threshold configured for the port. |
Broadcast-Drop | Number of broadcast/multicast packets dropped because the broadcast limit for the port was exceeded. |
Use the show port capabilities command to display the capabilities of the modules and ports in a switch.
show port capabilities [mod_num[/port_num]]
mod_num | (Optional) Number of the module. |
/port_num | (Optional) Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
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.
This example shows how to list the port capabilities for module 2, port 1:
Console> show port capabilities 2/1
Model WS-X6K-SUP1-2GE
Port 2/1
Type 1000BaseSX
Speed 1000
Duplex full
Trunk encap type 802.1Q,ISL
Trunk mode on,off,desirable,auto,nonegotiate
Channel yes
Broadcast suppression percentage(0-100)
Flow control receive-(off,on,desired),send-(off,on,desired)
Security yes
Membership static
Portfast yes
QOS rx-(1q4t),tx-(2q2t)
Rewrite no
UDLD Capable
Console> (enable)
Table 2-29 describes the possible fields (depending on the type of port queried) and the values in the show port capabilities command output.
| Field | Description |
|---|---|
Model | Module model number. |
Port | Module number and port number. |
Type1 | Port type, for example, 1000BaseSX or 100BaseFX. |
Speed1 | Speed setting for the port (auto, 10, 100, 1000). |
Duplex | Duplex mode (half, full, auto). |
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 | Percentage of total available bandwidth that can be used by broadcast 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). |
Portfast | Status of whether the spanning-tree port fast-start feature on the port is enabled (yes, no). |
Qos | Port type of the transmit and receive drop thresholds. |
Rewrite | Status of whether the port supports inline rewrite (yes, no). |
UDLD | Status of whether the port is UDLD capable or not. |
| 1These fields will change depending on the system configuration. |
set port channel
set port broadcast
set port security
set port speed
set spantree portfast
set trunk
Use the show port cdp command to display port CDP enable state and message interval on the port.
show port cdp [mod_num[/port_num]]
mod_num | (Optional) Number of the module. |
/port_num | (Optional) Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
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.
This example shows how to display CDP information for all ports:
Console> show port cdp CDP :enabled Message Interval :60 Hold Time :180 CDP Enhancement :disabled Port CDP Status -------- ---------- 1/1 enabled 1/2 enabled Console>
Table 2-30 describes the fields in the show port cdp command output.
| Field | Description |
|---|---|
CDP | Status of whether CDP is enabled or not. |
Message-Interval | Interval between CDP message exchange with neighbor. |
Hold Time | Hold time setting. |
CDP Enhancement | Status of whether CDP enhancement is enabled or not. |
Port | Module and port number. |
CDP Status | CDP status of the port (enabled, disabled). |
Use the show port channel command to display EtherChannel information for a specific module or port.
show port channel [mod[/port]] [info | statistics]
mod | (Optional) Number of the module. |
/port | (Optional) Number of the port on the module. |
info | (Optional) Keyword to display port information such as speed, cost, duplex status, priority, secure or dynamic status, trunk status, and associated VLANs. |
statistics | (Optional) Keyword to display statistics about the port (PAgP packets sent and received). |
This command has no default setting.
Switch command.
Normal.
If mod_num or /port_num is not specified, EtherChannel information is shown for all channeling ports on all modules.
This example shows how to display Ethernet channeling information for module 4:
Console> show port channel 4Port Status Channel Admin Ch Neighbor NeighborMode Group Id Device Port----- ---------- --------- ----- ----- ----------------------------------- -----4/1 notconnect desirable 69 04/2 disabled desirable 69 04/3 connected on 151 769 WS-C6006 12345678 4/74/4 connected on 151 769 WS-C6006 12345678 4/84/5 notconnect desirable 70 04/6 notconnect desirable 70 04/7 connected on 152 770 WS-C6006 12345678 4/34/8 connected on 152 770 WS-C6006 12345678 4/44/7 connected on 152 770 WS-C6006 12345678 4/34/8 connected on 152 770 WS-C6006 12345678 4/4Console>
These examples show the show port channel command with the statistics parameter:
Console>show port channel 4/7 statisticsPort Admin PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP PktsGroup Transmitted Received InFlush RetnFlush OutFlush InError----- ------- ----------- --------- --------- --------- --------- ---------4/7 152 0 0 0 0 0 0Console>Console>show port channel 4 statisticsPort Admin PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP Pkts PAgP PktsGroup Transmitted Received InFlush RetnFlush OutFlush InError----- ------- ----------- --------- --------- --------- --------- ---------4/1 69 20 0 0 0 0 04/2 69 105 60 0 0 0 04/3 151 0 0 0 10 0 04/4 151 0 5 0 0 0 04/5 70 0 0 0 0 0 04/6 70 42 0 0 2 0 04/7 152 0 92 0 0 0 04/8 152 0 0 0 0 0 0Console>
This example shows show port channel with the info parameter:
Console>show port channel 4/7 infoPort Speed Duplex Vlan Trunk status Port Port PortSecurity/ VLANsCost Priority Dynamic port----- ----- ------ ---- ------------ ----- -------- ------------- --------------4/7 1000 full 1 not-trunking 4 32 1-1005Port Admin Channel_id ifIndex Oper-group Neighbor Neighbor NeighborGroup device-id port-id Oper-group----- ----- ---------- ------- ---------- ----------------- -------- ----------4/7 152 770 31 1Console>
Table 2-31 describes the possible fields (depending on the type of port queried) and the values in the show port channel command outputs.
| Field | Description |
|---|---|
Port | Module and port number. |
Status | Channeling status of the port (connected, notconnect). |
Channel mode | Status of whether EtherChannel is on, off, auto, or desirable on the port. |
Admin Group | Number of the admin group. |
Channel ID | Number of the channel group. |
Neighbor device | Neighboring device with which the port is channeling. |
Neighbor port | Port on the neighboring device with which the port is channeling. |
Speed | Speed setting for the port (auto, 10, 100, 1000). |
Duplex | Duplex setting for the port (auto, full, half). |
Vlan | VLAN to which the port belongs. |
Port priority | Priority associated with the port. |
Secure port/Dynamic port | Status of whether the port is secure or dynamic. |
Trunk status | Status of whether the port is trunking or not. |
VLANs | VLANs to which the port belongs. |
ifIndex | Interface number to which the port belongs. |
Oper-group | Capability of the group. |
Neighbor device-id | Device ID of the neighboring device with which the port is channeling. |
Neighbor port-id | Port ID of the neighboring device with which the port is channeling. |
Neighbor Oper-group | Capability of the neighboring device. |
PAgP Pkts Transmitted | Number of PAgP packets transmitted. |
PAgP Pkts Received | Number of PAgP packets received. |
PAgP Pkts InFlush | Number of PAgP flush packets received. |
PAgP Pkts RetnFlush | Number of PAgP flush packets returned. |
PAgP Pkts OutFlush | Number of PAgP flush packets transmitted. |
PAgP Pkts InError | Number of PAgP error packets received. |
set port channel
show channel
show channel group
Use the show port counters command to show all the counters for a port.
show port counters [mod_num/port_num]
mod_num | (Optional) Number of the module for which to show port counter information. |
/port_num | (Optional) Number of the port on the module for which to show port counter information. |
This command has no default setting.
Switch command.
Normal.
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.
This example shows the output of the show port counters command:
Console> show port counters Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize ----- ---------- ---------- ---------- ---------- --------- 1/1 0 0 0 0 0 1/2 0 0 0 0 0 4/1 0 0 0 0 0 4/2 0 0 0 0 0 4/3 0 0 0 0 0 4/4 0 0 0 0 0 Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants ----- ---------- ---------- ---------- ---------- --------- --------- --------- 1/1 12 0 0 0 0 0 - 1/2 0 0 0 0 0 0 0 4/1 0 0 0 0 0 0 0 4/2 0 0 0 0 0 0 0 4/3 0 0 0 0 0 0 0 4/4 0 0 0 0 0 0 0 Last-Time-Cleared -------------------------- Wed Sep 30 1998, 14:58:19
Table 2-32 describes the possible fields (depending on the port type queried) in the show port counters command output.
| Field | Description |
|---|---|
Port | Module and port number. |
Align-Err | Number of frames with alignment errors (frames that do not end with an even number of octets and have a bad CRC) received on the port. |
FCS-Err | Number of frame check sequence errors that occurred on the port. |
Xmit-Err | Number of transmit errors that occurred on the port (indicating that the internal transmit buffer is full). |
Rcv-Err | Number of receive errors that occurred on the port (indicating that the internal receive buffer is full). |
UnderSize | Number of received frames less than 64 octets long (but are otherwise well formed). |
Single-Coll | Number of times one collision occurred before the port successfully transmitted a frame to the media. |
Multi-Coll | Number of times multiple collisions occurred before the port successfully transmitted a frame to the media. |
Late-Coll | Number of late collisions (collisions outside the collision domain). |
Excess-Col | Number of excessive collisions that occurred on the port (indicating that a frame encountered 16 collisions and was discarded). |
Carri-Sen | Number of times the port sensed a carrier (to determine whether the cable is currently being used). |
Runts | Number of received runt frames (frames that are smaller than the minimum IEEE 802.3 frame size) on the port. |
Giants | Number of received giant frames (frames that exceed the maximum IEEE 802.3 frame size) on the port. |
Last-Time-Cleared | Last time the port counters were cleared. |
Use the show port flowcontrol command to display per-port status information and statistics related to flow control.
show port flowcontrol [mod_num[/port_num]]
mod_num | (Optional) Number of the module. |
/port_num | (Optional) Number of the port on the module. If you do not specify a number, flow-control information on all the ports on the module are shown. |
This command has no default setting.
Switch command.
Normal.
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.
This example shows how to display the flow-control port status and statistics for module 6:
Console> show port flowcontrol 6Port Send FlowControl Receive FlowControl RxPause TxPauseadmin oper admin oper----- -------- -------- -------- -------- ---------- ----------6/1 desired off off off 0 06/2 desired off off off 0 06/3 desired off off off 0 06/4 desired off off off 0 06/5 desired off off off 0 06/6 desired off off off 0 06/7 desired off off off 0 06/8 desired off off off 0 0Console>
Table 2-33 describes the fields in the show port flowcontrol command output.
| Field | Description |
Port | Module and port number. |
Send-Flowcontrol- | Flow-control administration. Possible settings: on indicates the local port sends flow control to the far end; off indicates the local port does not send flow control to the far end; desired indicates the local end sends flow control to the far end if the far end supports it. |
Send-Flowcontrol- | Flow-control operation. Possible setting: disagree indicates the two ports could not agree on a link protocol. |
Receive-Flowcntl- | Flow-control administration. Possible settings: on indicates the local port requires the far end to send flow control; off indicates the local port does not allow the far end to send flow control; desired indicates the local end allows the far end to send flow control. |
Receive-Flowcntl- | 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. |
Use the show port negotiation command to display the link negotiation protocol setting for the specified port.
show port negotiation [mod_num[/port_num]]
mod_num | (Optional) Number of the module. |
/port_num | (Optional) Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display the link negotiation protocol settings on module 3, port 1:
Console> show port negotiation 3/1 Port Link Negotiation ------- -------------------- 3/1 enabled Console>
show port flowcontrol
set port negotiation
Use the show port protocol command to view protocol filters configured on the ports on the EtherChannel ports.
show port protocol [mod_num[/port_num]]
mod_num | (Optional) Number of the module. |
/port_num | (Optional) Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
If you do not specify a port_num, filters configured on all the ports on the module are shown.
This example shows how to view protocol filters on configured ports:
Console> show port protocol Port Vlan IP IP Hosts IPX IPX Hosts Group Group Hosts -------- ---------- -------- -------- -------- --------- -------- ----------- 1/1 1 on 0 on 0 on 0 1/2 1 on 0 on 0 on 0 2/1 1 on 3 auto-on 0 auto-on 0 2/2 1 on 0 on 0 on 0 2/3 1 on 0 on 0 on 0 2/4 1 on 0 on 0 on 0 2/5 1 on 0 on 0 on 0 2/6 1 on 0 on 0 on 0 2/7 1 on 0 on 0 on 0 2/8 1 on 0 on 0 on 0 2/9 1 on 0 on 0 on 0 2/10 1 on 0 on 0 on 0 2/11 1 on 0 on 0 on 0 2/12 1 on 0 on 0 on 0 Console>
Use the show port qos command to display QoS-related information for a specific port.
show port qos mod_num/port_num
mod_num/port_num | Number of the module and port. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display QoS-related information for module 1, port 2:
Console> show port qos 2/1 QoS is disabled on 2/1 Port 2/1 has 2 transmit queue with 2 drop thresholds. Port 2/1 has 1 receive queue with 4 drop thresholds. QoS setting in NVRAM: The qos trust type is set to trustcos. Default CoS = 2 (no force) Run time setting of QoS: The qos trust type is set to untrusted. Default CoS = 0 (force) Console>
set qos
set qos drop-threshold
set qos mac-cos
set qos map
set qos txq-ratio
set qos wrr
Use the show port status command to display port status information.
show port status [mod_num[/port_num]]
mod_num | (Optional) Number of the module. |
/port_num | (Optional) Number of the port on the module. |
This command has no default setting.
Switch command.
Normal.
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.
This example shows how to display port status information for all ports:
Console> show port status Port Name Status Vlan Duplex Speed Type ----- ------------------ ---------- ---------- ------ ------ ------------ 1/1 connected 52 half 100 100BaseTX 1/2 notconnect half 100 100BaseTX Console>
Table 2-34 describes the fields in the show port status command output.
| Field | Description |
|---|---|
Port | Module and port number. |
Name | Name (if configured) of the port. |
Status | Status of the port (connected, notconnect, connecting, standby, faulty, inactive, shutdown, disabled, or monitor). |
Vlan | VLANs to which the port belongs. |
Duplex | Duplex setting for the port (auto, full, half). |
Speed | Speed setting for the port (auto, 10, 100, 1000). |
Type1 | Port type (100BaseTX) |
| 1These fields will change according to the system configuration. |
Use the show protocolfilter command to list whether protocol filtering is enabled or disabled.
show protocolfilterThis command has no keywords or arguments.
This command has no default setting.
Switch command.
Normal.
This example shows how to display whether protocol filtering is enabled or disabled:
Console> show protocolfilter Protocol filtering is enabled on this switch. Console>
Use the show qos info command to display QoS-related information for a specified port.
show qos info {runtime | config} {mod_num/port_num}
runtime | Keyword to show the current QoS run time information. |
config | Keyword to show the NVRAM setting of QoS. |
mod_num /port_num | Number of the module and the port. |
port_type | Only valid values for port_type is 2q2t for transmit and 1q4t for receive. |
tx | Keyword to specify the transmit drop threshold. |
rx | Keyword to specify the receive drop threshold. |
This command has no default setting.
Switch command.
Normal.
The display of show qos info runtime mod_num/port_num 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 due to the granularity of permitted settings in hardware.
The number preceding the t in the port-type determines the number of threshold values that the hardware supports. For example, with 2q2t, two thresholds are specified; 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 2q2t, two queues are specified; with 1q4t, four queues are specified.
This example shows how to display QoS-related NVRAM transmit threshold information:
Console> (enable) show qos info config 2q2t tx QoS setting in NVRAM for 2q2t transmit: QoS is disabled Default CoS = 0 Queue and Threshold Mapping: Queue Threshold CoS ----- --------- --------------- 1 1 0 1 1 2 2 3 2 1 4 5 2 2 6 7 Tx drop thresholds: Queue # Thresholds - percentage (abs values ) ------- ------------------------------------- 1 40% 100% 2 40% 100% Queue Sizes: Queue # Sizes - percentage (abs values ) ------- ------------------------------------- 1 80% 2 20% WRR Configuration: Ports with speed 100Mbps have transmit ratios between queue 1 and 2 of 100:256
This example shows how to display QoS-related NVRAM receive threshold information:
Console> (enable) show qos info config 1q4t rx QoS setting in NVRAM for 1q4t receive: QoS is disabled Rx drop thresholds: Queue # Thresholds - percentage (abs values ) ------- ------------------------------------- 1 20% 40% 75% 100%
This example shows how to display all QoS-related NVRAM threshold information:
Console> (enable)show qos info config 2q2t txQoS setting in NVRAM for 2q2t transmit:QoS is enabledQueue and Threshold Mapping:Queue Threshold CoS----- --------- ---------------1 1 0 11 2 2 32 1 4 52 2 6 7Tx drop thresholds:Queue # Thresholds - percentage (abs values )------- -------------------------------------1 85% 90%2 85% 95%Queue Sizes:Queue # Sizes - percentage (abs values )------- -------------------------------------1 99%2 1%WRR Configuration:Ports with 2q2t have ratio of 1:2 between transmit queue 1 and 2Console> (enable)
This example shows how to display the current QoS runtime information:
Console> (enable)show qos info runtime 1/1Run time setting of QoS:QoS is enabled on 1/1Port 1/1 has 2 transmit queue with 2 drop thresholds (2q2t).Port 1/1 has 1 receive queue with 4 drop thresholds (1q4t).The qos trust type is set to untrusted.Default CoS = 0Queue and Threshold Mapping:Queue Threshold CoS----- --------- ---------------1 1 0 11 2 2 32 1 4 52 2 6 7Rx drop thresholds:Rx drop thresholds are disabled for untrusted ports.Tx drop thresholds:Queue # Thresholds - percentage (abs values )------- -------------------------------------1 85% (752096 bytes) 90% (796256 bytes)2 85% (12256 bytes) 95% (12256 bytes)Queue Sizes:Queue # Sizes - percentage (abs values )------- -------------------------------------1 99% (884704 bytes)2 1% (16352 bytes)WRR Configuration:Ports with speed 1000Mbps have ratio of 1:2 between transmit queue 1 and 2 (21845:43690 bytes)Console> (enable)
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]
dest_mac | MAC address of the destination host. |
vlan | (Optional) Number of the VLAN; valid values are 1 to 1005. |
all | Keyword to specify all MAC address and VLAN pairs. |
This command has no default setting.
Switch command.
Normal.
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 at a different set of parameters.
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)
set qos mac-cos
clear qos mac-cos
Use the show qos statistics command to display the various QoS-related counters for a specified port.
show qos statistics {mod_num[/port_num]}
mod_num /port_num | Number of the module and the port (the port number is optional), but the module number is required. |
This command has no default setting.
Switch command.
Normal.
In the show qos statistics output, the Threshold #:Packets dropped field lists each threshold and the number of packets dropped. For example, 1:0 pkt, 2:0 pkts means that threshold 1 and threshold 2 had 0 packets dropped.
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)
set qos
set qos drop-threshold
set qos mac-cos
set qos txq-ratio
set qos wrr
Use the show rif command to display RIF information.
show rif [vlan_num]
vlan_num | (Optional) Number of the VLAN that you want to view RIF information on. |
This command has no default setting.
Switch command.
Normal.
These examples show how to display RIF information for the system and for a VLAN:
Console> show rif MAC VLAN RIF -------------------- -------- -------------------- 00:00:30:e2:cf:00 on 401 via 0610.001a.0020 00:05:77:01:bc:4a on 1020 via 0690.00d1.00e2 00:05:77:01:bc:4b on 1020 via 0690.00d1.00e2 00:05:77:01:bc:48 on 1020 via 0690.00d1.00e2 Console> show rif 401 MAC VLAN RIF -------------------- -------- -------------------- 00:00:30:e2:cf:00 on 401 via 0610.001a.0020 Console>
Use the show snmp command to display SNMP information.
show snmp [noalias]
noalias | (Optional) Keyword that forces the display to show IP addresses, not IP aliases. |
This command has no default setting.
Switch command.
Normal.
This example shows how to display SNMP information:
Console> show snmp RMON: Enabled Extended Rmon: Extended RMON module is not present Traps Enabled: Chassis Port Traps Enabled: None Community-Access Community-String ---------------- -------------------- read-only public read-write private read-write-all secret Trap-Rec-Address Trap-Rec-Community ---------------------------------------- -------------------- 192.122.173.42 public Console>
Table 2-35 describes the possible fields (depending on the port type queried) in the show snmp command output.
| Field | Description |
|---|---|
RMON | Status of whether RMON is enabled or disabled. |
Extended RMON | Status of whether extended RMON is enabled or disabled. |
Traps Enabled | Trap types that are enabled. |
Port Traps Enabled | Set of ports whose linkup/linkdown trap is enabled. |
Community-Access | Configured SNMP communities. |
Community-String | SNMP community strings associated with each SNMP community. |
Trap-Rec-Address | IP address or IP alias of trap receiver hosts. |
Trap-Rec-Community | SNMP community string used for trap messages to the trap receiver. |
|
|