policy qos name <policy-name> shaper traffic-class <tc-id> bandwidth <limit>
Controls the definition of the bandwidth rate for a QoS traffic class.
This is the lowest level of the scheduling hierarchy. It defines how much of the parent profile's bandwidth the traffic class will use.
If you do not configure a traffic-class <traffic-class> bandwidth <limit>
command, then the traffic class is able to use up to 100% of the parent profile's bandwidth.
policy
- This keyword exists for 'organizational' purposes only, to structure the configuration path for relevant command strings.
qos
- This keyword exists for 'organizational' purposes only, to structure the configuration path for relevant command strings.
name <policy-name>
- Specifies the name of a QoS policy.
shaper
- This keyword exists for 'organizational' purposes only, to structure the configuration path for relevant command strings.
traffic-class <tc-id>
- Specifies a traffic class identifier.
bandwidth <limit>
The maximum bandwidth. Vyatta uses a 'maximum bandwidth' model of QoS, rather than a 'guaranteed bandwidth' model.
Depending on your QoS configuration, you can set a maximum bandwidth limit for a shaper, profile or traffic class.
- To define the limit with the default units of kilobits per second, you may use a number only.
- To define the limit with other units, use a number plus a suffix. No space. For example:
10mbit
;40%
.
Vyatta NOS supports these suffixes:
- No suffix: Kilobits (1000 bits) per second
gbit
: Gigabits (1000 megabits) per secondgbps
: Gigabytes (1000 megabytes) per secondgi
: Gibibits (1024 mebibits) per secondkbit
: Kilobits (1000 bits) per secondkbps
: Kilobytes (1000 bytes) per secondki
: Kibibits (1024 bits) per secondmbit
: Megabits (1000 kilobits) per secondmbps
: Megabytes (1000 kilobytes) per secondmi
: Mebibits (1024 kibibits) per second%
: Percentage of the total bandwidth