policy qos name <policy-name> shaper bandwidth <limit>
Controls definition of the maximum bandwidth of a QoS policy.
This bandwidth command is at the highest level of three different locations where you can apply a bandwidth command in the scheduling hierarchy.
This bandwidth command defines the maximum values of the bandwidth commands that the lower levels can have. If you do not configure a bandwidth command for the QoS policy then the bandwidth at this level will default to the egress interface's line rate.
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.
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