2-7
To do…
Use the command…
Remarks
group view
Enter port
group view
port-group manual
port-group-name
settings in port group view take
effect on all ports in the port
group.
Apply the policy to the
interface/port group
qos apply policy policy-name
{
inbound
|
outbound
}
Required
If a QoS policy is applied in the outbound direction of an interface, the QoS policy cannot influence local
packets (local packets refer to the important protocol packets that maintain the normal operation of the
device. QoS must not process such packets to avoid packet drop. Commonly used local packets are:
link maintenance packets, IS-IS packets, OSPF packets, RIP packets, BGP packets, LDP packets,
RSVP packets, and SSH packets and so on.)
Configuration example
# Apply QoS policy
test_policy
to the inbound direction of GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos apply policy test_policy inbound
Applying the QoS Policy to a VLAN
You can apply a QoS policy to a VLAN to regulate traffic of the VLAN. Only one QoS policy can be
applied to a VLAN.
Configuration procedure
Follow these steps to apply the QoS policy to a VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Apply the QoS policy to the
specified VLAN(s)
qos vlan-policy
policy-name
vlan
vlan-id-list
{
inbound
|
outbound
}
Required
QoS policies cannot be applied to dynamic VLANs, for example, VLANs created by GVRP.
Содержание S5810 Series
Страница 307: ...ii Configured Multicast Group Policy Fails to Take Effect 1 32...
Страница 648: ...1 8 Return to the upper directory Sysname cd Display the current working directory Sysname pwd flash...
Страница 812: ...1 7 Role Slave Sysname stack_3 DeviceD Device type S5810 50S MAC address 000f e200 1003...