Mls qos cos, Mls qos enable, Using the – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 1025: Qos enable, Mls qos cos mls qos enable

QoS Commands
Software Reference for x310 Series Switches
C613-50046-01 REV A
AlliedWare Plus
TM
Operating System - Version 5.4.4C
39.19
mls qos cos
This command assigns a CoS (Class of Service) user-priority value to untagged frames
entering a specified interface. By default, all untagged frames are assigned a CoS value of
0.
Use the no variant of this command to return the interface to the default CoS setting for
untagged frames entering the interface.
Syntax
mls qos cos <0-7>
no mls qos cos
Default
By default, all untagged frames are assigned a CoS value of 0. Note that for tagged frames,
the default behavior is not to alter the CoS value.
Mode
Interface Configuration
Example
To assign a CoS user priority value of 2 to all untagged packets entering ports 1.0.1 to
1.0.6, use the commands:
mls qos enable
Use this command to globally enable QoS on the switch or stack.
Use the no variant of this command to globally disable QoS and remove all QoS
configuration. The no variant of this command removes all class-maps, policy-maps,
policers, and queue-sets that have been created. Running the no mls qos command will
therefore remove all pre-existing QoS configurations on the switch.
Mode
Global Configuration
Syntax
mls qos enable
no mls qos
Example
To enable QoS on the switch, use the commands:
Parameter
Description
<0-7>
The Class of Service, user-priority value.
awplus#
configure terminal
awplus(config)#
interface port1.0.1-port1.0.6
awplus(config-if)#
mls qos cos 2
awplus#
configure terminal
awplus(config)#
mls qos enable