Configuring traffic policing, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3100 Series Switches User Manual
Page 598

1-19
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] traffic-priority vlan 2 inbound ip-group 2000 dscp 56
Configuring Traffic Policing
Only H3C S3100-EI series switches support this configuration.
Refer to section
Traffic Policing and Traffic Shaping
for information about traffic policing. Note that, the
target-rate argument is committed information rate (CIR), and the burst-bucket-size argument is
committed burst size (CBS).
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, of a port group, or pass a port.
Table 1-18 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-19 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