Configuring a qos policy at the cli, Configuring a qos policy, Defining a class – H3C Technologies H3C SecPath F1000-E User Manual

Page 321: Defining a traffic behavior

Advertising
background image

296

Configuring a QoS policy at the CLI

Configuring a QoS policy

Figure 190

shows how to configure a QoS policy.

Figure 190 QoS policy configuration procedure

Defining a class

To define a class, specify its name and then configure the match criteria in class view.
To define a class:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a class and

enter class view.

traffic classifier tcl-name
[ operator { and | or } ]

By default, the operator of a class is AND.
The operator of a class can be AND or OR.

AND—A packet is assigned to a class only when

the packet matches all the criteria in the class.

OR—A packet is assigned to a class if it matches

any of the criteria in the class.

3.

Configure match
criteria.

if-match match-criteria N/A

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

Advertising