This feature is available only for the H3C S5100-EI series switches.
Configuration prerequisites
The ACL rules used for traffic classification have been defined. Refer to the ACL
module of this manual for information about defining ACL rules.
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...
Enter system view
Configure traffic
policing
Clear traffic
policing statistics
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...
Enter system
view
Configure traffic
policing
Clear traffic
policing
statistics
3) Configuring traffic policing for a port group
Use the command...
system-view
traffic-limit inbound acl-rule target-rate
[ conform con-action ] [ exceed
exceed-action ] [ meter-statistic ]
reset traffic-limit inbound acl-rule
Use the command...
system-view
traffic-limit vlan vlan-id inbound
acl-rule target-rate [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
reset traffic-limit vlan vlan-id inbound
acl-rule
1-28
Remarks
—
Required
Disabled by default.
Optional
Remarks
—
Required
Disabled by default.
Optional