Configuring priority mapping, Configuring a priority mapping table, Changing the port priority of an interface – H3C Technologies H3C S10500 Series Switches User Manual
Page 37
29
Configuring priority mapping
Configuring a priority mapping table
Follow these steps to configure a priority mapping table:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enter priority
mapping table view
qos map-table { dot1p-dp | dot1p-exp | dot1p-lp |
dscp-dot1p | dscp-dp | dscp-dscp | exp-dot1p |
exp-dp }
Required
Configure the priority
mapping table
import import-value-list export export-value
Required
Newly configured
mappings overwrite the
old ones.
Configuring a port to trust packet priority for priority mapping
When configuring the trusted packet priority type on an interface or port group, use the following priority
trust modes:
•
Using the 802.1p priority of received packets for mapping.
•
Using the DSCP precedence of received IP packets for mapping.
Follow these steps to configure the trusted packet priority type on an interface or port group:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enter interface view
interface interface-type
interface-number
Enter
interface
view or port
group view
Enter port group view
port-group manual
port-group-name
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.
Trust the DSCP
priority in packets
qos trust dscp
Configure
the trusted
packet
priority type
for the
interface
Trust the 802.1p
priority in packets
undo qos trust
Use either command
By default, the device trusts the 802.1p
priority in packets.
Changing the port priority of an interface
Follow these steps to change the port priority of an interface:
To do…
Use the command…
Remarks
Enter system view
system-view —