30
To do…
Use the command…
Remarks
Configure match criteria
if-match
match-criteria
Required
For more information, see
the
if-match
command in
QoS
in the
ACL and QoS
Command Reference
.
Display information about a
specific or all classes
display traffic classifier
user-defined
[
tcl-name
]
Optional
Available in any view
Defining a traffic behavior
A traffic behavior is a set of QoS actions (such as traffic filtering, traffic 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 policing) in traffic
behavior view.
Follow these steps to define a traffic behavior:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Create a traffic
behavior and enter
traffic behavior
view
traffic behavior
behavior-name
Required
Configure traffic
accounting
accounting
Optional
Traffic is counted in bytes.
Configure a CAR
action
car cir
committed-information-rate
[
cbs
committed-burst-size
[
ebs
excess-burst-size
] ] [
pir
peak-information-rate
]
[
green
action
] [
red
action
]
Optional
For more information about traffic
policing, see
Traffic policing and
line rate configuration
.
Support for the parameters of the
command varies by AC model. For
more information, see
QoS
in the
ACL and QoS Command
Reference
.
Drop or send
packets
filter
{
deny
|
permit
}
Optional
deny
means dropping packets,
and
permit
means permitting
packets to pass through.
Set the 802.1p
precedence
remark dot1p
8021p
Optional