
181
To configure the 802.1p-to-local priority mapping in the MQC method:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a traffic class, specify
the operator of the class as
OR, and enter class view.
traffic classifier
classifier-name
operator
or
By default, no traffic class exists.
3.
Configure the class to match
packets with the specified
service provider network
802.1p priority values.
if-match service-dot1p
8021p-list
By default, no match criterion is
configured for the class to match
packets.
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior and
enter traffic behavior view.
traffic behavior
behavior-name
By default, no traffic behavior
exists.
6.
Configure the behavior to
mark packets with the
specified local precedence
value.
remark local-precedence
local-precedence
By default, no local precedence
marking action is configured.
7.
Return to system view.
quit
N/A
8.
Create a QoS policy and
enter QoS policy view.
qos policy
policy-name
By default, no policy exists.
9.
Associate the class with the
traffic behavior in the QoS
policy, and apply the
association to DCBX.
classifier
classifier-name
behavior behavior-name mode
dcbx
By default, no class-behavior
association exists.
For more information about the
traffic classifier
,
if-match
,
traffic behavior
,
remark
local-precedence
,
qos policy
, and
classifier behavior
commands, see
ACL and QoS Command
Reference
.
To configure the 802.1p priority mapping in the priority mapping table method:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter 802.1p-to-local
priority mapping table view.
qos map-table
dot1p-lp
N/A
3.
Configure the priority
mapping table to map the
specified 802.1p priority
values to a local
precedence value.
import
import-value-list
export
export-value
For information about the default
priority mapping tables, see
ACL
and QoS Configuration Guide
.
For more information about the
qos map-table
and
import
commands, see
ACL and QoS
Command Reference
.
Configuring group-based WRR queuing
You can configure group-based WRR queuing to allocate bandwidth.
To configure group-based WRR queuing:
Step Command Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A