1-28
This feature is available only for the H3C S5100-EI series switches.
Configuration prerequisites
z The ACL rules used for traffic classification have been 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
have been determined.
Configuration procedures
You can configure traffic policing for the incoming packets matching the specific ACL rules
globally, in a VLAN, in a port group, or on a port.
1) Configuring traffic policing globally
Follow these steps to configure traffic policing for the incoming packets matching the
specific ACL rules globally:
To do… Use the command… Remarks
Enter system view
system-view
—
Configure traffic
policing
traffic-limit inbound acl-rule target-rate
[ conform con-action ] [ exceed
exceed-action ] [ meter-statistic ]
Required
Disabled by default.
Clear traffic
policing statistics
reset traffic-limit inbound acl-rule
Optional
2) Configuring traffic policing for a VLAN
Follow these steps to configure traffic policing for the incoming packets matching the
specific ACL rules in a VLAN:
To do… Use the command… Remarks
Enter system
view
system-view
—
Configure traffic
policing
traffic-limit vlan vlan-id inbound
acl-rule target-rate [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
Required
Disabled by default.
Clear traffic
policing
statistics
reset traffic-limit vlan vlan-id inbound
acl-rule
Optional
3) Configuring traffic policing for a port group