[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
target-rate argument is committed information rate (CIR), and the burst-bucket-size argument is
committed burst size (CBS).
Configuration prerequisites
The ACL rules used for traffic classification are 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 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
Enter system view
Configure traffic
policing
Clear the traffic
policing statistics
Table 1-19 Configure traffic policing for packets that are of a VLAN and match specific ACL rules
Operation
Enter system view
Configure traffic
policing
Clear the traffic
policing statistics
Traffic Policing and Traffic Shaping
system-view
traffic-limit inbound acl-rule target-rate
[ burst-bucket burst-bucket-size ] [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
reset traffic-limit inbound acl-rule
system-view
traffic-limit vlan vlan-id inbound acl-rule target-rate
[ burst-bucket burst-bucket-size ] [ conform
con-action ] [ exceed exceed-action ]
[ meter-statistic ]
reset traffic-limit vlan vlan-id inbound acl-rule
for information about traffic policing. Note that, the
Command
Command
1-19
Description
—
Required
By default, traffic
policing is disabled.
Optional
Description
—
Required
By default, traffic
policing is disabled.
Optional