Configuring a priority map – H3C Technologies H3C S6300 Series Switches User Manual
Page 37
27
Tasks at a glance
(Required.) Perform one of the following tasks:
•
Configuring a port to trust packet priority for priority mapping
•
Changing the port priority of an interface
Configuring a priority map
Step
Command
Remarks
1.
Enter system view.
system-view N/A
2.
Enter priority map
view.
qos map-table { dot1p-dp | dot1p-lp | dscp-dot1p |
dscp-dp | dscp-dscp }
N/A
3.
Configure mappings
for the priority map. import import-value-list export export-value
By default, the default
priority maps are used.
For more information, see
"
Newly configured
mappings overwrite the
old ones.
Configuring a port to trust packet priority for priority
mapping
You can configure the device to trust a particular priority field carried in packets for priority mapping on
ports.
When you configure the trusted packet priority type on an interface, use the following available
keywords:
•
dot1p—Uses the 802.1p priority of received packets for mapping.
•
dscp—Uses the DSCP precedence of received IP packets for mapping.
•
Trust no packet priority—Uses the port priority as the 802.1p priority for mapping.
To configure the trusted packet priority type on an interface:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Enter Ethernet interface
view.
interface interface-type
interface-number
N/A