R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

127
Configuring a QoS policy
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a policy and enter
policy view.
qos policy policy-name By default, no policy exists.
3. Associate a class with a traffic
behavior in the QoS policy.
classifier tcl-name behavior
behavior-name
By default, no traffic behavior is
associated with a class.
For more information about the qos policy and classifier behavior commands, see ACL and QoS
Command Reference.
Applying a QoS policy
For more information about applying a QoS policy, see ACL and QoS Configuration Guide.
Applying a QoS policy to an interface or a port group
By applying a QoS policy to an interface, you can mirror the traffic in a specific direction on the interface.
A policy can be applied to multiple interfaces, but in one direction (inbound or outbound) of an interface,
only one policy can be applied.
To apply a QoS policy to an interface:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view or port
group view.
Enter interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
Use one of the commands.
Settings in interface view take
effect on the current interface.
Settings in port group view take
effect on all ports in the port
group.
3. Apply a policy to the
interface or to all ports in
the port group
qos apply policy policy-name
{ inbound | outbound }
N/A
For more information about the qos
apply policy command, see ACL
and QoS Command Reference.
Applying a QoS policy to a VLAN
You can apply a QoS policy to a VLAN to mirror the traffic in a specific direction on all ports in the
VLAN.
To apply the QoS policy to a VLAN: