Defining a policy, Applying the qos policy to an interface, Displaying and maintaining qos policies – H3C Technologies H3C SecPath F1000-E User Manual

Page 322

Advertising
background image

297

Step Command

Remarks

3.

Configure actions in the traffic
behavior.

See the subsequent chapters, depending on the purpose of the traffic
behavior.

Defining a policy

You associate a behavior with a class in a QoS policy to perform the actions defined in the behavior for

the class of packets.
To associate a class with a behavior in a policy:

Step Command

1.

Enter system view.

system-view

2.

Create a policy and enter policy view.

qos policy policy-name

3.

Associate a class with a behavior in the policy.

classifier tcl-name behavior behavior-name

NOTE:

On some devices, if the ACL contains deny rules, the if-match clause is ignored and the matching
process continues.

On some devices, the ACL is used for classification only and the permit/deny action in ACL rules is
ignored. Actions taken on matching packets are defined in traffic behaviors.

Applying the QoS policy to an interface

A policy can be applied to multiple interfaces, but only one policy can be applied in one direction

(inbound or outbound) of an interface.
To apply the QoS policy to an interface:

Step Command

1.

Enter system view.

system-view

2.

Enter interface view.

interface interface-type interface-number

3.

Apply the policy to the interface.

qos apply policy policy-name { inbound | outbound }

Displaying and maintaining QoS policies

Task Command

Remarks

Display traffic class configuration.

display traffic classifier { system-defined |
user-defined } [ tcl-name ] [ | { begin |

exclude | include } regular-expression ]

Available in any view

Display traffic behavior
configuration.

display traffic behavior { system-defined |
user-defined } [ behavior-name ] [ | { begin |
exclude | include } regular-expression ]

Available in any view

Display user-defined QoS policy
configuration.

display qos policy { system-defined |

user-defined } [ policy-name [ classifier
tcl-name ] ] [ | { begin | exclude | include }

regular-expression ]

Available in any view

Advertising