User can configure classifier-name for a classifier, and the name is optionally implemented.
The value of trust-mode can be DSCP, IEEE 802.1p, or inet-precedence.


Command Syntax
set class-of–service classifier <classifier-name> trust-mode <trust-mode>
delete class-of–service classifier c1 trust-mode


Parameter
• <classifier-name > Classifier configuration. It is optionally implemented.
• <trust-mode > Priority based. The value of trust-mode can be DSCP, IEEE 802.1p, or inet-precedence.


Example
• This example creates classifier c1 based on the trust-mode of DSCP:

admin@XorPlus# set class-of-service classifier c1 trust-mode dscp
admin@XorPlus# commit

 

• This example creates classifier c2 based on the trust-mode of IEEE 802.1p:

admin@XorPlus# set class-of-service classifier c2 trust-mode ieee 802.1p
admin@XorPlus# commit

 

• This example creates classifier c3 based on the trust-mode of inet-precedence:

admin@XorPlus# set class-of-service classifier c3 trust-mode inet-precedence
admin@XorPlus# commit