QoS Commands
©2008 Allied Telesis Inc. All rights reserved.
40.44
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
set bandwidth-class
Use this command to set a bandwidth-class color to assign to classified traffic. The color
represents the traffic’s conformance to the policers allocated bandwidth. Green traffic is
assumed to be conforming, yellow is semi-conforming, and red is non-conforming.
Syntax
set bandwidth-class {green|yellow|red}
no set bandwidth-class
Mode
Policy Map Class Mode
Example
To set the bandwidth class for all traffic classified by this class-map use the command:
Note that the class-map and p-maps should already have been created by using the
class-map
command on page 40.3
and the
policy-map command on page 40.42
.
To turn off the setting of a packets in the green bandwidth-class, for the policy pmap1 and the
class cmap1, use the command:
Related Commands
class-map
set cos
set dscp
set queue
trust dscp
Parameter Description
set
Setting a new value in the packet
bandwidth-class Bandwidth-class
green
Mark the packet as green
yellow
Mark the packet as yellow
red
Mark the packet as red
no
Negate a command or set its defaults
awplus#
configure terminal
awplus(config)#
policy-map pmap1
awplus(config-pmap)#
class cmap1
awplus(config-pmap-c)#
set bandwidth-class green
awplus#
configure terminal
awplus(config)#
policy-map pmap1
awplus(config-pmap)#
class cmap1
awplus(config-pmap-c)#
set bandwidth-class green