Step
Enter system view.
1.
Enter Layer 2 Ethernet interface
2.
view or port group view.
Apply the QoS policy to the
3.
interface or interfaces in the port
group in the inbound direction.
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:
Step
Enter system view.
1.
Apply the QoS policy to VLANs in the
2.
inbound direction.
QoS policy routing configuration examples
IPv4 QoS policy routing configuration example
Network requirements
As shown in
of Router A are forwarded out of GigabitEthernet 2/0/3 of Router A.
Figure 119 Network diagram
Configuration procedure
# Configure ACL 2000.
<RouterA> system-view
Figure
119, configure a QoS policy, so that all packets received on GigabitEthernet 2/0/1
Command
system-view
•
Enter Layer 2
Ethernet interface
view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
qos apply policy
policy-name inbound
Command
system-view
qos vlan-policy policy-name vlan vlan-id-list inbound
421
Remarks
N/A
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.
N/A