1-22
To do… Use the command… Remarks
Enter system view
system-view
—
Configure
DSCP-precedence-to-lo
cal-precedence
mapping table
qos dscp-local-precedence-map
dscp-list : local-precedence
Required
Configure
DSCP-precedence-to-dr
op-precedence mapping
table
qos dscp-drop-precedence-map
dscp-list : drop-precedence
Required
Only the H3C
S5100-EI series
switches support
this configuration.
Configure
DSCP-precedence-to-C
oS-precedence
mapping table
qos dscp-cos-map dscp-list :
cos-value
Required
3) Configuring the DSCP-precedence-to-DSCP-precedence mapping table
Follow these steps to configure the DSCP-precedence-to-DSCP-precedence mapping
table:
To do… Use the command… Remarks
Enter system view
system-view
—
Configure
DSCP-precedence-to-DSCP-prec
edence mapping table
qos dscp-dscp-map dscp-list :
dscp-value
Required
Configuration examples
# Configure the CoS-precedence-to-local-precedence mapping table for an S5100-EI
series switch as follows: 0 to 2, 1 to 3, 2 to 4, 3 to 1, 4 to 7, 5 to 0, 6 to 5, and 7 to 6. Then
display the CoS-precedence-to-local-precedence mapping table.
<Sysname> system-view
[Sysname] qos cos-local-precedence-map 2 3 4 1 7 0 5 6
[Sysname] display qos cos-local-precedence-map
cos-local-precedence-map:
cos(802.1p) : 0 1 2 3 4 5 6 7
--------------------------------------------------------------------------
local precedence(queue) : 2 3 4 1 7 0 5 6
# Configure the DSCP-precedence-to-local-precedence mapping table for an S5100-EI
series switch as follows: 0 through 7 to 2, 8 through 15 to 3, 16 through 23 to 4, 24 through
31 to 1, 32 through 39 to 7, 40 through 47 to 0, 48 through 55 to 5, and 56 through 63 to 6.
Then display the DSCP-precedence-to-local-precedence mapping table.
<Sysname> system-view
[Sysname] qos dscp-local-precedence-map 0 1 2 3 4 5 6 7 : 2