1-17
Configuration prerequisites
z The ACL rules used for traffic classification are defined. Refer to the ACL module of this manual for
information about defining ACL rules.
z The rate limit for traffic policing, and the actions for the packets exceeding the rate limit are
determined.
Configuration procedure
You can configure traffic policing for all the packets matching specific ACL rules, or for the packets that
match specific ACL rules and are of a VLAN, or pass a port.
Table 1-15 Configure traffic policing for all the packets matching specific ACL rules
Operation Command Description
Enter system view
system-view
—
Configure traffic
policing
traffic-limit inbound acl-rule target-rate
[ burst-bucket burst-bucket-size ] [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
Required
By default, traffic
policing is disabled.
Clear the traffic
policing statistics
reset traffic-limit inbound acl-rule
Optional
Table 1-16 Configure traffic policing for packets that are of a VLAN and match specific ACL rules
Operation Command Description
Enter system view
system-view
—
Configure traffic
policing
traffic-limit vlan vlan-id inbound acl-rule target-rate
[ burst-bucket burst-bucket-size ] [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
Required
By default, traffic
policing is disabled.
Clear the traffic
policing statistics
reset traffic-limit vlan vlan-id inbound acl-rule
Optional
Table 1-17 Configure traffic policing for packets passing a port and matching specific ACL rules
Operation Command Description
Enter system view
system-view
—
Enter Ethernet port
view
interface interface-type interface-number
—
Configure traffic
policing
traffic-limit inbound acl-rule target-rate
[ burst-bucket burst-bucket-size ] [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
Required
By default, traffic
policing is disabled.
Clear the traffic
policing statistics
reset traffic-limit inbound acl-rule
Optional