Description
![]()
The traffic police have been configured to limit the rate of interface VLANif 222 at outward directional to 1 gigabit. But the observed rate has reached over 1 gigabit from the management software.
Key configuration:
traffic classifier AnyIp operator or precedence 10
if-match any
#
traffic behavior 1G
permit
car cir 1000000 pir 1000000 cbs 1000000 pbs 1000000 mode color-blind green pass yellow pass red discard
#
traffic policy 1G match-order config
classifier AnyIp behavior 1G
#
vlan 222
traffic-policy 1G outbound
Rate statistics for interface VLANif 222, from the picture below shows, we could learn that the peak rate is over 1 gigabit.
![]()
Process
a. check the traffic policy configuration, which is normal.
b. after confirming with the R&D, we learn that the traffic statistics and traffic rate limitation have been carried out simultaneously, so the statistics of the traffic rate are the same no matter whether the traffic police had been configured, in which situation, the result displayed on the network management software is not as expected.
Root cause
The traffic statistics and traffic rate limitation have been carried out simultaneously, so the statistics of the traffic rate are the same no matter whether the traffic police had been configured.
Solution
a. if the VLAN 222 is the only VLAN that is allowed to pass through by the interface, the result could be determined by the interface outward directional statistics.
b. if other VLANs have been allowed to pass through besides VLAN 222, we could get the statistics on the downstream devices.
This is what I want to talk about/share with you today, thank you!
