# weight

#### Syntax

weight weightValue [ operator operandValue ]*

no weight

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Sets the weighted round-robin weight of the scheduler node or queue. A queue weight of 0 (zero) gives the queue infinite weight. The no version restores the default value, 8.

#### Options

- weightValue—Number in the range 0–4080; default value is 8
- 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

#### Mode

Scheduler Profile Configuration

#### Related Documentation

- Configuring the HRR Weight for a Scheduler Node or Queue