R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Configuration Guide

422
Applying the QoS policy to interfaces
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet interface
view or port group view.
Enter Layer 2 Ethernet
interface view:
interface interface-type
interface-number
Enter port group view:
port-group manual
port-group-name
Use either method.
Settings made in interface view take
effect on the current interface only.
Settings made in port group view
take effect on all ports in the port
group.
3. Apply the QoS policy to the
interface or interfaces in the port
group in the inbound direction.
qos apply policy
policy-name inbound
N/A
Applying the QoS policy to VLANs
The following matrix shows the feature and router compatibility:
Feature 6602 HSR6602 6604/6608/6616
Applying the QoS
policy to VLANs
No No
Yes on routers installed with the RPE-X1
or RSE-X1 MPU
QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.
To apply the QoS policy to VLANs:
Ste
p
Command
1. Enter system view.
system-view
2. Apply the QoS policy to VLANs in the
inbound direction.
qos vlan-policy policy-name vlan vlan-id-list inbound
QoS policy routing configuration examples
IPv4 QoS policy routing configuration example
Network requirements
As shown in Figure 116 , redirect all packets received on GigabitEthernet 2/0/1 of Router A to the next
h o p 2 02.1.1. 2.