Defining a traffic behavior, Defining a policy, Applying the qos policy – H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 27

Advertising
background image

18

Defining a traffic behavior

A traffic behavior is a set of QoS actions (such as traffic filtering, shaping, policing, and priority marking)

to take on a class of traffic. To define a traffic behavior, first create it and then configure QoS actions

(such as priority marking and traffic redirecting) in traffic behavior view.
To define a traffic behavior:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a traffic behavior and

enter traffic behavior view.

traffic behavior behavior-name N/A

3.

Configure actions in the traffic
behavior.

See the subsequent chapters, depending on the purpose of the traffic
behavior: traffic policing, traffic filtering, priority marking, and so on.

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

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a policy and enter
policy view.

qos policy policy-name N/A

3.

Associate a class with a

behavior in the policy.

classifier tcl-name behavior
behavior-name

Repeat this step to create more
class-behavior associations.

NOTE:

If a QoS policy using ACLs as match criteria is applied, the processing varies by device model as follows:

On the WX5002V2, WX5004, the main control board EWPX1WCMB0 of WX6103, and the
LSQM1WCMB0, LSBM1WCM2A0, and LSRM1WCM2A1 access controller modules, 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.

On the WX3024E, the main control board EWPX1WCMD0 of WX6103, and the LSWM1WCM10,
LSWM1WCM20, LSQM1WCMD0, and LSRM1WCM3A1 access controller modules, if the ACL
contains permit rules, the ACL is used for classification; if the ACL contains deny rules, the ACL is not

used for classification.

Applying the QoS policy

You can apply a QoS policy to the following occasions:

An interface—The policy takes effect on the traffic sent or received on the interface.

A user profile—The policy takes effect on the traffic sent or received by the online users of the user

profile.

Advertising