car (QoS profile view)
Function
The car command set the traffic policing parameters in a QoS profile.
The undo car command deletes the traffic policing parameters from a QoS profile.
By default, no traffic policing parameters are set in a QoS profile.
Format
car { inbound | outbound } cir cir-value [ pir pir-value [ cbs cbs-value pbs pbs-value ] ]
undo car { inbound | outbound }
Parameters
Parameter |
Description |
Value |
---|---|---|
inbound | Sets traffic policing parameters for incoming traffic. |
- |
outbound | Sets traffic policing parameters for outgoing traffic. |
- |
cir cir-value | Specifies the committed information rate (CIR), which is the average rate of traffic that can pass through. |
The value is an integer that ranges from 64 to 4294967295, in kbit/s. |
pir pir-value |
Specifies the peak information rate (PIR), which is the maximum rate of traffic that can pass through. |
The value is an integer that ranges from 64 to 4294967295, in kbit/s. The PIR value must be larger than or equal to the CIR value. By default, the PIR value is equal to the CIR value. |
cbs cbs-value | Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through. |
The value is an integer that ranges from 1500 to 4294967295, in bytes. The default setting is as follows:
|
pbs pbs-value | Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through. |
The value is an integer that ranges from 1500 to 4294967295, in bytes. The default setting is as follows:
|
Usage Guidelines
You can run the car command to set traffic policing parameters to limit incoming and outgoing traffic.
Example
# Set traffic policing parameters for incoming traffic in a QoS profile.
<AC6605> system-view [AC6605] qos-profile name name1 [AC6605-qosprofile-name1] car inbound cir 64 pir 128 cbs 1800 pbs 9000
# Set traffic policing parameters for outgoing traffic in a QoS profile.
<AC6605> system-view [AC6605] qos-profile name name1 [AC6605-qosprofile-name1] car outbound cir 64 pir 128 cbs 1800 pbs 9000
# Delete traffic policing parameters for incoming traffic in a QoS profile.
<AC6605> system-view [AC6605] qos-profile name name1 [AC6605-qosprofile-name1] undo car inbound
# Delete traffic policing parameters for outgoing traffic in a QoS profile.
<AC6605> system-view [AC6605] qos-profile name name1 [AC6605-qosprofile-name1] undo car outbound