55
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a class and
enter class view.
traffic classifier
classifier-name
[
operator
{
and
|
or
} ]
By default, the
and
keyword is used, and the
relation between match criteria is logical AND.
3.
Configure match
criteria.
if-match
[
not
]
match-criteria
N/A
Defining a traffic behavior
To define a traffic behavior, create the traffic behavior first and then configure QoS attributes in traffic
behavior view.
Configure AF and the minimum guaranteed bandwidth
When you configure AF and the minimum guaranteed bandwidth, follow these guidelines:
•
You can apply this traffic behavior only to the outgoing traffic of an interface.
•
You cannot configure the
queue ef
command together with the
queue af
command in the same
traffic behavior.
•
To reference both the
queue ef
command and the
queue af
command in a policy, you must
configure them in the same unit (either bandwidth or percentage). If not, your referencing
attempts will fail.
To configure AF and the minimum guaranteed bandwidth:
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
The specified behavior name
cannot be the name of any
system-defined behavior.
3.
Configure AF and the
minimum guaranteed
bandwidth.
queue af bandwidth
{
bandwidth
|
pct
percentage
}
N/A
Configuring EF and the maximum bandwidth
When you configure EF and the maximum bandwidth, follow these guidelines:
•
You cannot configure the
queue ef
command together with the any of the commands
queue af
,
queue-length
, and
wred
for a traffic behavior.
•
The default class cannot be associated with a traffic behavior including EF.
•
To reference both the
queue ef
command and the
queue af
command in a policy, you must
configure them in the same unit (either bandwidth or percentage). If not, your referencing
attempts will fail.
To configure EF and the maximum bandwidth:
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
The specified traffic behavior
name cannot be the name of any
system-defined behavior.