H3C LS-3100-52P-OVS-H3 Operation Manual - page 1262
2-7
z
You cannot modify the classification rules, traffic behaviors, and classifier-behavior associations in
a QoS policy already applied. To check whether a QoS policy has been applied successfully, use
the display qos policy global command and the display qos policy interface command.
z
The switch may save the applications of some QoS policies that have failed to be applied due to
insufficient hardware resources in the configuration file. After the switch reboots, these policies
may preempt other user configurations for resources, resulting in loss of configurations. Suppose
that the user-bind command is configured on GigabitEthernet 1/0/2, and the application of a QoS
policy to GigabitEthernet 1/0/1 is saved in the configuration file even though the application has
failed due to insufficient resources. After the switch reboots, it may assign resources to have the
QoS policy take effect preferentially, while the user-bind configuration may be lost due to
insufficient resources.
Applying a QoS policy to a port/port group
A policy can be applied to multiple ports. Only one policy can be applied in one direction (inbound or
outbound) of a port/port group.
Follow these steps to apply the QoS policy to a port/port group:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter port
view
interface interface-type
interface-number
Enter port
view or
port group
view
Enter port
group
view
port-group manual port-group-name
Perform either of the two
operations.
The configuration performed in
Ethernet interface view applies
to the current port only. The
configuration performed in port
group view applies to all the
ports in the port group.
Apply an associated
policy
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.)