The rate-limit command configures the inbound and outbound rate for the service policy template.
The undo rate-limit command restores the default configuration.
By default, no inbound and outbound rate for the service policy template is configured.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
pir pir-value |
specifies the peak information rate. |
It is an integer that ranges from 0 to 4294967294, in kbit/s. The rate is not restricted by default. If the CIR or PIR is set to 0, traffic is interrupted. |
cbs cbs-value |
Specifies the committed burst size. |
It is an integer that ranges from 0 to 4294967294, in byte. |
pbs pbs-value |
Configure the peak burst size in CAR rate limit mode. |
It is an integer that ranges from 0 to 4294967294, in byte. |
flow-queue-pbs flow-queue-pbs |
Configure the peak burst size in queue rate limit mode. |
The value is an integer ranging from 1 to 4194304, in byte. |
inbound |
Indicates traffic policing in the inbound direction. |
- |
outbound |
Indicates traffic policing in the outbound direction. |
- |
cir cir-value |
Specifies committed information rate. |
It is an integer that ranges from 0 to 4294967294, in kbit/s. The rate is not restricted by default. If the CIR or PIR is set to 0, traffic is interrupted. |
Usage Scenario
This command configures the inbound and outbound rate for the service policy template.
Prerequisites
This service policy template has been created.
Configuration Impact
A service is generated according to a service policy template. The rate-limit determines the bandwidth of a service.
Precautions
This command is supported only on the admin VS.
<HUAWEI> system-view [~HUAWEI] service-policy name test edsg [*HUAWEI-service-policy-test] commit [~HUAWEI-service-policy-test] rate-limit cir 100 pir 500 inbound [*HUAWEI-service-policy-test] commit [~HUAWEI-service-policy-test] rate-limit cir 200 pir 2000 outbound