Configuring Priority Mapping
Configuring a Priority Mapping Table
Follow these steps to configure an uncolored priority mapping table:
To do...
Enter system view
Enter priority mapping table
view
Configure the priority mapping
table
Display the configuration of the
priority mapping table
The 802.1p-to-EXP priority mapping table (dot1p-exp) and the EXP-to-802.1p priority mapping table
(exp-dot1p) are available only for the EB and SD cards.
Configuring the Priority Trust Mode on a Port
Follow these steps to configure the trusted packet priority type on an interface/port group:
To do...
Enter system view
Enter
interface
Enter
view
interface
view or port
Enter port
group view
group view
Trust the
DSCP
priority in
Configure
packets
the priority
Trust the
trust mode
802.1p
priority in
packets
Use the command...
system-view
qos map-table { dot1p-dp |
dot1p-exp | dot1p-lp |
dscp-dot1p | dscp-dp |
dscp-dscp | exp-dot1p |
exp-dp }
import import-value-list export
export-value
display qos map-table
[ dot1p-dp | dot1p-exp |
dot1p-lp | dscp-dot1p |
dscp-dp | dscp-dscp |
exp-dot1p | exp-dp ]
Use the command...
system-view
interface interface-type
interface-number
port-group manual
port-group-name
qos trust dscp
undo qos trust
3-4
Remarks
—
Required
Required
Newly configured mappings
overwrite the old ones.
Optional
Available in any view
Remarks
—
Use either command
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group.
Use either command
By default, the device trusts the
802.1p priority in packets.