
2-3
To do…
Use the command…
Remarks
Exit policy view
quit
—
Apply the QoS policy
Required
Applying a QoS Policy
For details about applying a QoS policy, see
QoS Configuration
in the
QoS Volume
.
Apply a QoS policy to an interface
By applying a QoS policy to an interface, you can regulate the traffic sent or received on the interface. A
policy can be applied to multiple interfaces, but in inbound direction of an interface, only one policy can
be applied.
Follow these steps to apply a QoS policy to an interface:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface
view
interface interface-type
interface-number
Enter
interface
view or port
group view
Enter port
group view
port-group manual
port-group-name
Use either command
Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group.
Apply a policy to the interface
or all ports in the port group
qos apply policy policy-name
inbound
Required
For details about the
qos apply policy
command, see
QoS Commands
in the
QoS Volume
.
Apply a QoS policy to a VLAN
You can apply a QoS policy to a VLAN to regulate the traffic sent or received on all ports in the VLAN.
Follow these steps to apply the QoS policy to a VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Apply a QoS policy to a VLAN
qos vlan-policy
policy-name
vlan
vlan-id-list inbound
Required
Summary of Contents for S5120-EI Series
Page 139: ...ii...
Page 578: ...1 21 C...
Page 739: ...1 12 Enable ARP detection based on 802 1X security entries SwitchB arp detection mode dot1x...
Page 926: ...2 8...
Page 942: ...ii Single Device Upgrade 3 4 IRF System Upgrade 3 5...
Page 985: ...1 1...
Page 1018: ...1 6...