27
Tasks at a glance
(Optional.) Configuring a priority map
(Required.) Perform one of the following tasks:
• Configuring an interface 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-exp
|
dot1p-lp
|
dscp-dot1p
|
dscp-dp
|
dscp-dscp
|
exp-dot1p
|
exp-dp
}
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 "Appendixes."
Ne
wly configured
mappings overwrite the
old ones.
Configuring an interface to trust packet priority for
priority mapping
You can configure the switch to trust a particular priority field carried in packets for priority mapping
on interfaces.
When you configure the following 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.
• none—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 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.
Use one of these commands.
By default, an interface does not trust
any packet priority.