ECS4660-28F_Management Guide-R03

Table Of Contents
C
HAPTER
41
| Class of Service Commands
Priority Commands (Layer 3 and 4)
– 1403
Command Usage
This map is only used when the QoS mapping mode is set to “DSCP” by the
qos map trust-mode command, and the ingress packet type is IPv4.
EXAMPLE
The ingress DSCP is composed of “d1” (most significant digit in the left
column) and “d2” (least significant digit in the top row (in other words,
ingress DSCP = d1 * 10 + d2); and the corresponding Internal DSCP and
drop precedence is shown at the intersecting cell in the table.
Console#show qos map dscp-mutation interface ethernet 1/5
Information of Eth 1/5
DSCP mutation map.(x,y),x: PHB,y: drop precedence:
d1: d2 0 1 2 3 4 5 6 7 8 9
-----------------------------------------------------------------
0 : (0,0) (0,1) (0,0) (0,3) (0,0) (0,1) (0,0) (0,3) (1,0) (1,1)
1 : (1,0) (1,3) (1,0) (1,1) (1,0) (1,3) (2,0) (2,1) (2,0) (2,3)
2 : (2,0) (2,1) (2,0) (2,3) (3,0) (3,1) (3,0) (3,3) (3,0) (3,1)
3 : (3,0) (3,3) (4,0) (4,1) (4,0) (4,3) (4,0) (4,1) (4,0) (4,3)
4 : (5,0) (5,1) (5,0) (5,3) (5,0) (5,1) (6,0) (5,3) (6,0) (6,1)
5 : (6,0) (6,3) (6,0) (6,1) (6,0) (6,3) (7,0) (7,1) (7,0) (7,3)
6 : (7,0) (7,1) (7,0) (7,3)
Console#
show qos map
ip-port-dscp
This command shows the ingress TCP/UDP port to internal DSCP map.
SYNTAX
show qos map ip-port-dscp interface interface
interface
ethernet unit/port
unit - Stack unit. (Range: 1)
port - Port number. (Range: 1-28)
COMMAND MODE
Privileged Exec
COMMAND USAGE
The IP Port-to-DSCP mapping table is only used if the protocol type of the
arriving packet is TCP or UDP.
EXAMPLE
Console#show qos map ip-port-dscp interface ethernet 1/5
Information of Eth 1/5
ip-port-dscp map:
(ip protocol,destination port) : phb drop precedence
-----------------------------------------------------------
(TCP, 21) : 0 0
(UDP, 12) : 1 0
Console#