Show commands
Use these M4500 CLI commands to display CoS priority and DSCP mappings, trust modes, CoS queue settings, and WRED (random-detect) configuration.
show queue cos-map
This command displays the current Dot1p (802.1p) priority mapping to internal traffic classes for a specific interface. The slot/port parameter is optional and is only valid on platforms that support independent per-port class of service mappings. If specified, the 802.1p mapping table of the interface is displayed. If omitted, the most recent global configuration settings are displayed.
| Default | None |
| Format | show queue cos-map {<slot/port> | port-channel <id>} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| slot/port | The interface number. |
| id | Specified the port channel ID |
Display Message
The following information is repeated for each user priority.
| Fields | Definition |
|---|---|
| User Priority | The 802.1p user priority value. |
| Traffic Class | The traffic class internal queue identifier to which the user priority value is mapped. |
show queue ip-dscp-mapping
This command maps an IP DSCP value to an internal traffic class. The <ipdscp> value is specified as either an integer from 0 to 63, or symbolically through one of the following keywords: af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4, cs5, cs6, cs7, ef.
The <trafficclass> values can range from 0-6, although the actual number of available traffic classes depends on the platform.
| Default | None |
| Format | show queue ip-dscp-mapping |
| Mode | Privileged EXEC |
Display Message
| Fields | Definition |
|---|---|
| IP DSCP | Displays IP DSCP value. |
| Traffic Class | Displays the queue mapping. |
show queue trust
This command displays the current trust mode setting for a specific interface. The slot/port parameter is optional and is only valid on platforms that support independent per-port class of service mappings. If specified, the port trust mode of the interface is displayed. If omitted, the port trust mode of each interface in the system is shown. If the platform does not support independent per-port class of service mappings, the output represents the system-wide port trust mode used for all interfaces.
| Default | None |
| Format | show queue trust {<slot/port> | port-channel <id>} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| slot/port | The interface number. |
| id | Specified the port channel ID |
Display Message
| Fields | Definition |
|---|---|
| Class of Service Trust Mode | The trust mode of this interface. |
| Non-IP Traffic Class | The traffic class used for non-IP traffic. This is only displayed when the COS trust mode is set to either 'trust ip-dscp' or 'trust ip-precedence'. |
| Untrusted Traffic Class | The traffic class used for all untrusted traffic. This is only displayed when the COS trust mode is set to 'untrusted'. |
show queue cos-queue
This command displays the class-of-service queue configuration for the specified interface. The slot/port parameter is optional and is only valid on platforms that support independent per-port class of service mappings. If specified, the class-of-service queue configuration of the interface is displayed. If omitted, the most recent global configuration settings are displayed.
| Default | None |
| Format | show queue trust {<slot/port> | port-channel <id>} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| slot/port | The interface number. |
| id | Specified the port channel ID |
Display Message
| Fields | Definition |
|---|---|
| Interface | This displays the slot/port of the interface. If displaying the global configuration, this output line is replaced with a Global Config indication. |
| Interface Shaping Rate | The maximum transmission bandwidth limit for the interface as a whole. It is independent of any per-queue maximum bandwidth value(s) in effect for the interface. This is a configured value. |
The following information is repeated for each queue on the interface.
| Fields | Definition |
|---|---|
| Queue Id | Interface supports n queues numbered 0 to (n-1). The specific n value is platform dependent. |
| Minimum Bandwidth | The minimum transmission bandwidth guarantee for the queue, expressed as a percentage. A value of 0 means bandwidth is not guaranteed and the queue operates using best-effort. This is a configured value. |
| Scheduler Type | Indicates whether this queue is scheduled for transmission using a strict priority or a weighted scheme. This is a configured value. |
| Queue Mgmt Type | The queue depth management technique used for this queue, either tail drop or weighted random early discard (WRED). This is a configured value. |
show queue random-detect
This command displays the global WRED settings for each CoS queue. If you specify the slot/port, the command displays the WRED settings for each CoS queue on the specified interface.
| Default | None |
| Format | show queue random-detect {<slot/port> | port-channel <id>} |
| Mode | Privileged EXEC |
| Parameter | Description |
|---|---|
| slot/port | The interface number. |
| id | Specified the port channel ID |
Display Message
| Fields | Definition |
|---|---|
| Queue Id | Interface supports n queues numbered 0 to (n-1). The specific n value is platform dependent. |
| WRED Minimum Threshold | The configured minimum threshold the queue depth (as a percentage) where WRED starts marking and dropping traffic. |
| WRED Maximum Threshold | The configured maximum threshold is the queue depth (as a percentage) above which WRED marks/drops all traffic. |
| WRED Drop Probability | The configured percentage probability that WRED will mark/drop a packet, when the queue depth is at maximum threshold. (The drop probability increases linearly from 0 just before the minimum threshold, to this value at the maximum threshold, then goes to 100% for larger queue depths. |