R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide

435
Applied to a VLAN, the QoS policy takes effect on the traffic received on all ports in the VLAN.
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
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 119, configure a QoS policy, so that all packets received on GigabitEthernet 2/0/1
of Router A are forwarded out of GigabitEthernet 2/0/3 of Router A.