Step
9.
Associate the class with
the traffic behavior in the
QoS policy.
Applying the QoS policy
When configuring PBR, you can apply a QoS policy to the following occasions:
Applied globally—Affects the traffic sent or received on all ports.
•
Applied to an interface—Affects the traffic sent or received on the interface.
•
Applied to a VLAN—Affects the traffic sent or received on all ports in the VLAN.
•
NOTE:
A QoS policy used for PBR applies only to traffic received on all ports, on an interface, or on all ports in
a VLAN.
To apply the QoS policy globally:
Step
1.
Enter system view.
2.
Apply the QoS policy
globally.
To apply the QoS policy to an interface:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Apply the policy to the
interface.
To apply the QoS policy to a VLAN:
Step
1.
Enter system view.
2.
Apply the QoS policy to
VLANs.
NOTE:
QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.
Displaying and maintaining PBR configuration
Command
classifier tcl-name behavior
behavior-name
Command
system-view
qos apply policy policy-name global inbound
Command
system-view
interface interface-type
interface-number
qos apply policy policy-name
inbound
Command
system-view
qos vlan-policy policy-name vlan
vlan-id-list inbound
294
Remarks
N/A
Remarks
N/A
N/A
N/A
Remarks
N/A
N/A