# shaping-rate

#### Syntax

shaping-rate shapingRate [ operator operandValue ]* [ bps | kbps ]
[ burst burstSize [ milliseconds | bytes ] ]

shaping-rate operandValue [ operator operandValue ]* [ bps | kbps ]

no shaping-rate

#### Release Information

Command introduced before JunosE Release 7.1.0.
milliseconds and bytes keywords added in JunosE Release 7.1.0.
bps and kbps keywords added in JunosE Release 8.0.0.

#### Description

Sets the shaping rate and burst size. The no version deletes the shaping rate.

#### Options

- shapingRate—Constant shaping rate in bits per second or kilobits per second; in the range 1–1000000000 bps/kbps. You can set the shaping rate to vary from 1 bps to 1000 gbps (which is denoted by entering 1000000000 kbps in the CLI for this command).
- operator—Mathematical function
- operandValue—Input for the operator; can be a QoS parameter definition name or an integer
- *—Indicates that one or more parameters can be repeated multiple times in a list in the command line
- bps—Specifies shaping rate in bits per second
- kbps—Specifies shaping rate in kilobits per second

  | Note: The lower and higher limits for the shaping rate range apply to both the bps and kbps keywords available with this command. For example, if you want to set the shaping rate to 1 mbps, you can either enter 1000 as the value for the shapingRate argument and suffix it with the kbps keyword, or enter 1000000 as the value for the shapingRate argument and suffix it with the bps keyword. Both the methods of configurations result in the same shaping rate value to be set.

- burstSize—Number, in the range 0–522240 (0–510 KB); 0 enables the router to select an applicable default value
- milliseconds—Specifies burst size in milliseconds
- bytes—Specifies burst size in bytes

#### Mode

Scheduler Profile Configuration

#### Related Documentation

- Configuring Rate Shaping for a Scheduler Node or Queue
- Configuring Port Shaping
- Configuring a Basic Parameter Definition for QoS Administrators