3Com Switch 4200G Configuration Guide

228 CHAPTER 27: QOS CONFIGURATION
Configuration procedure
Configuration example
Set to trust the DSCP precedence of the packets in the default mode and the
DSCP->other priority mapping mode adopts the default value.
<S4200G> system-view
System View: return to User View with Ctrl+Z.
[4200G] interface gigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1] priority-trust dscp
Table 194 Setting to trust the DSCP precedence of the packets
Operation Command Description
Enter system view system-view -
Modify the “DSCP->Local-pre”
mapping relationship
qos
dscp-local-precedence-map
dscp-list : local-precedence
Optional
Refer to for the Table 192 and
Table 193 for the default
value.
Modify the “DSCP->Drop
precedence” mapping
relationship
qos
dscp-drop-precedence-map
dscp-list : drop-precedence
Modify the “DSCP-->801.1p
precedence” mapping
relationship
qos dscp-cos-map dscp-list :
cos-value
Modify the “DSCP-->DSCP
precedence” mapping
relationship
qos dscp-dscp-map dscp-list :
dscp-value
Enter Ethernet port view interface interface-type
interface-number
-
Set to trust the DSCP
precedence of the packets
priority-trust dscp [ automap
| remap ]
Required
In the default mode, the
switch does not replace the
precedence carried in the
packet with the mapped
priority.
In the automap mode, the
switch replaces the
precedence carried in the
packet with the mapped
precedence.
In the remap mode, the
switch firstly gets new DSCP
precedence by the “DSCP-->
DSCP” mapping relationship,
then searches for the
“DSCP-->other precedence”
mapping table through the
new DSCP precedence, and
replaces the precedence
carried in the packet with the
mapped precedence.
Display the
“DSCP-->Drop-precedence”
mapping relationship
display qos
dscp-drop-precedence-map
Optional
You can execute the display
command in any view
Display the
“DSCP-->Local-precedence”
mapping relationship
display qos
dscp-local-precedence-map
Display the “DSCP-->DSCP”
mapping relationship
display qos dscp-dscp-map
Display the “DSCP-->COS”
mapping relationship
display qos dscp-cos-map