28
Configuring a priority map
Configuring priority maps
Ste
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
"Appendix."
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 or globally.
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:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the trusted
packet priority type.
• Configure the interface to trust
the DSCP precedence.
qos trust dscp
• Configure the interface to trust
the 802.1p priority of received
packets.
qos trust dot1p
• Configure the interface not to
trust any packet priority.
undo qos trust
Use one of these commands.
By default, an interface does not trust any
packet priority.