3Com Switch 4200G Configuration Guide
226 CHAPTER 27: QOS CONFIGURATION
Configuration procedure
Configuration example
Set to trust the 802.1p priority of the packets and adopt the default value in the
“COS->other precedence” mapping table. Specify the precedence of
GigabitEthernet1/0/1 to 7.
<S4200G> system-view
System View: return to User View with Ctrl+Z.
[4200G] interface gigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1] priority-trust cos
[4200G-GigabitEthernet1/0/1] priority 7
Table 191 Setting to trust the 802.1p priority of the packets
Operation Command Description
Enter system view system-view -
Modify the “COS->Local-pre”
mapping relationship
qos cos-local-precedence-map
cos0-map-local-prec
cos1-map-local-prec
cos2-map-local-prec
cos3-map-local-prec
cos4-map-local-prec
cos5-map-local-prec
cos6-map-local-prec
cos7-map-local-prec
Optional
Refer to Table 190 The
“COS-->other
precedence” mapping
table and its default value
for the default value
Modify the
“COS->Drop-precedence”
mapping relationship
qos cos-drop-precedence-map
cos0-map-drop-prec
cos1-map-drop-prec
cos2-map-drop-prec
cos3-map-drop-prec
cos4-map-drop-prec
cos5-map-drop-prec
cos6-map-drop-prec
cos7-map-drop-prec
Modify the
“COS->DSCP-precedence”
mapping relationship
qos cos-dscp-map cos0-map-dscp
cos1-map-dscp cos2-map-dscp
cos3-map-dscp cos4-map-dscp
cos5-map-dscp cos6-map-dscp
cos7-map-dscp
Enter Ethernet port view interface interface-type
interface-number
-
Set to trust the 802.1p priority
of the packets
priority-trust cos [ automap ] 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.
Display the
“COS-->Drop-precedence”
mapping relationship
display qos cos-drop-precedence-map Optional
You can execute the
display command in any
view
Display the
“COS-->Local-precedence”
mapping relationship
display qos cos-local-precedence-map
Display the “COS-->DSCP”
mapping relationship
display qos cos-dscp-map