56
QoS policy commands
classifier behavior
Use classifier behavior to associate a traffic behavior with a traffic class in a QoS policy.
Use undo classifier to remove a traffic class from the QoS policy.
Syntax
classifier classifier-name behavior behavior-name [ mode dcbx | insert-before before-classifier-name ] *
undo classifier classifier-name
Default
No traffic behavior is associated with a traffic class.
Views
QoS policy view
Predefined user roles
network-admin
Parameters
classifier-name: Specifies a traffic class by its name, a case-sensitive string of 1 to 31 characters.
behavior-name: Specifies a traffic behavior by its name, a case-sensitive string of 1 to 31 characters.
mode dcbx: Specifies that the class-behavior association applies only to DCBX. For more information
about DCBX, see Layer 2—LAN Switching Configuration Guide.
insert-before before-classifier-name: Inserts the new traffic class before an existing traffic class in the QoS
policy. The before-classifier-name argument specifies an existing traffic class by its name, a case-sensitive
string of 1 to 31 characters. If you do not specify the insert-before before-classifier-name option, the new
traffic class is placed at the end of the QoS policy.
Usage guidelines
A traffic class can be associated with only one traffic behavior in a QoS policy.
If the specified traffic class or traffic behavior does not exist, the system defines a null traffic class or traffic
behavior.
You cannot change the position of an existing traffic class in a QoS policy.
Examples
# Associate traffic class database with traffic behavior test in QoS policy user1.
<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1] classifier database behavior test
# Associate the traffic class database with the traffic behavior test in the QoS policy user1, and insert the
traffic class database before an existing traffic class class-a.
<Sysname> system-view
[Sysname] qos policy user1
[Sysname-qospolicy-user1] classifier database behavior test insert-before class-a
Comentários a estes Manuais