The cir command sets the CIR for a user group queue.
The undo cir command deletes the CIR of a user group queue.
By default, the CIR for user group queue is not configured.
Parameter | Description | Value |
---|---|---|
cbs cbs-value |
Specifies the CBS. |
The value is an integer ranging from 64 to 2097152, in bytes. If cbs-value is smaller than the MTU or the actual packet length, packet loss occurs. Therefore, set proper values when configuring this command. |
pir pir-value |
Specifies the PIR. |
The value is an integer ranging from 66 to 4294967294, in kbit/s. The minimum value of the PIR can be set to the specified value of the CIR. |
pbs pbs-value |
Specifies the PBS. |
The value is an integer ranging from 64 to 2097152, in bytes. If pbs-value is smaller than the MTU or the actual packet length, packet loss occurs. Therefore, set proper values when configuring this command. |
outbound |
Specifies the outbound direction. |
- |
cir cir-value |
Specifies the CIR. |
The value is an integer ranging from 66 to 4294967294, in kbit/s. |
Usage Scenario
When planning network traffic, you can run this command to implement rate limiting based on user group queues. You can set the CIR and PIR for user group queues to have traffic sent at an even rate.
Precautions
If cbs-value and pbs-value are smaller than the MTU or the actual packet length, packet loss occurs. Therefore, set proper values when configuring this command.
This command is mutually exclusive with the shaping shaping-value [ pbs pbs-value ] outbound command.