Configuring Hierarchical Traffic Policing
Context
The device supports hierarchical traffic policing. After the system uses MQC to implement traffic policing (level-1 CAR) for service flows matching a traffic classifier in a traffic policy, the system aggregates all the service flows matching the traffic classifiers associated with the level-1 CAR in the same traffic policy and performs traffic policing (level-2 CAR) for the aggregated flow. Hierarchical traffic policing implements statistical multiplexing of traffic and fine-grained service control. For details about level-1 CAR, see Configuring MQC to Implement Traffic Policing.
The CE12800E equipped with FD-X series cards does not support this function.
Procedure
Run system-view
The system view is displayed.
Run qos car car-name { percent percent-value | cir cir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] [ pbs pbs-value [ bytes | kbytes | mbytes ] ] | pir pir-value [ kbps | mbps | gbps ] [ cbs cbs-value [ bytes | kbytes | mbytes ] pbs pbs-value [ bytes | kbytes | mbytes ] ] ] }
A QoS CAR profile is created and CAR parameters are configured.
The CIR in the CAR profile must be larger than the CIR in the traffic behavior.
Run traffic behavior behavior-name
The traffic behavior view is displayed.
Run car car-name share
The aggregated CAR action is configured.
Run commit
The configuration is committed.