# shared-shaping-rate

#### Syntax

shared-shaping-rate sharedShapingRate [ operator operandValue ]* [ bps | kbps ]
[ burst burstSize [ milliseconds | bytes ] ] { simple | compound | auto }
[ explicit-constituents ]

shared-shaping-rate operandValue [ operator operandValue ]* [ bps | kbps ]
[ burst burstSize [ milliseconds | bytes ] ] { simple | compound | auto }
[ explicit-constituents ]

no shared-shaping-rate

#### Release Information

Command introduced before JunosE Release 7.1.0.
operator and operandValue variables added in 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 shared-shaping rate and burst size for the logical interface. This command must appear in the scheduler profile for either the best-effort queue or the best-effort scheduler node. The no version deletes the shared-shaping rate.

#### Options

- sharedShapingRate—Constant shared-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 shared-shaping rate in bits per second
- kbps—Specifies shared-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
- simple—Specifies the simple form of shared shaping, which does not manage voice and video traffic, but shapes data queue rates to the value of the shared rate minus the combined voice and video traffic rate
- auto—Specifies that the router automatically selects the type of shared shaping depending on the module; compound is selected only for line modules that support it, and simple is selected for all other line modules; this is the default mode
- compound—Specifies the compound form of shared shaping, which actively shapes voice and video traffic so that the shared rate cannot be exceeded, and shapes data queue rates to the value of the shared rate minus the combined voice and video traffic rate; requires special hardware
- explicit-constituents—Overrides automatic selection of compound shared-shaping constituents and enables you to explicitly specify constituents and bandwidth allocation; generates an error message and has no effect when applied to modules that do not support compound shared shaping

#### Mode

Scheduler Profile Configuration

#### Related Topics

- Configuring Simple Shared Shaping
- Configuring Implicit Constituents for Simple or Compound Shared Shaping
- Configuring Explicit Constituents for Simple or Compound Shared Shaping
- Configuring a Basic Parameter Definition for QoS Administrators