JunosE 11.3.x Quality of Service Configuration Guide
Related
Documentation
Configuring Rate Shaping for a Scheduler Node or Queue
Related
Documentation
Configuring Port Shaping
52
The per-port shaping feature provides the ability to shape the output of a port.
Configuring Rate Shaping for a Scheduler Node or Queue on page 52
Configuring Port Shaping on page 52
The router supports 64,000 rate shapers per line module. Shaping rates are multiples
of 1 Kbps.
To configure a shaping rate for a scheduler node or queue:
Create a scheduler profile.
1.
host1(config)#scheduler-profile video
host1(config-scheduler-profile)#
Specify a shaping rate in the scheduler profile.
2.
host1(config-scheduler-profile)#shaping-rate 128000 burst 32767 milliseconds
host1(config-scheduler-profile)#shaping-rate 5000 x 90
The range for the shared-shaping rate is 1000–1000000000 bps (1 Kbps–1000 Kbps);
the default is the minimum shaping rate (1 Kbps). The router rounds the rate to the
next higher 8 Kbps.
Use the operator and operandValue variables to configure a shaping rate with an
expression.
You can use the bps or kbps keywords to specify the unit of the shaping rate. By
default, the shaping rate is configured in bps.
Use the burst keyword to specify the catch-up number associated with the shaper;
the range is 0–522240. Specifying 0 enables the router to select an applicable default
value.
Use the milliseconds or bytes keywords to specify the unit of the burst size.
Rate Shaping and Port Shaping Overview on page 51
Configuring a Scheduler Profile for a Scheduler Node or Queue on page 48
scheduler-profile
shaping-rate
To configure port-shaping:
Configure the scheduler profile and the shaping rate.
1.
host1(config)#scheduler-profile 80mbps
host1(config-scheduler-profile)#shaping-rate 80000000
host1(config-scheduler-profile)#exit
Copyright © 2010, Juniper Networks, Inc.