Changing the port priority of an interface – H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 30

23
•
dscp-dscp: DSCP-to-DSCP mapping table, which applies to only IP packets.
•
dscp-lp: DSCP-to-local mapping table, which applies to only IP packets.
Follow these steps to configure an uncolored priority mapping table:
To do…
Use the command…
Remarks
Enter system view
system-view —
Enter priority mapping table view
qos map-table { dot1p-dot1p |
dot1p-dscp | dot1p-lp | dscp-dot1p |
dscp-dscp | dscp-lp | }
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
available keywords:
•
dot1p: Uses the 802.1p priority of received packets for priority mapping.
•
dscp: Uses the DSCP precedence of received IP packets for priority mapping.
•
untrust: Uses the port priority for priority 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 or port
group view
Enter interface
view
interface interface-type
interface-number
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.
Enter port group
view
port-group manual
port-group-name
Configure the trusted packet priority
type for the interface
qos trust { dot1p | dscp }
Required
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 —
Enter interface
view or port
group view
Enter interface
view
interface interface-type
interface-number
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.
Enter port group
view
port-group manual
port-group-name
Set the port priority of the interface
qos priority
priority-value
Required
The default is 0