Configuration examples
# Set the IP precedence value of ICMP packets to 3.
<Sysname> system-view
[Sysname] protocol-priority protocol-type icmp ip-precedence 3
# After completing the above configuration, display the list of protocol priorities manually specified.
[Sysname] display protocol-priority
Protocol: icmp
IP-Precedence: flash(3)
Configuring Traffic Policing
Refer to
Traffic Policing and Traffic Shaping
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
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
3)
Configuring traffic policing for a port group
Follow these steps to configure traffic policing for the incoming packets matching the specific ACL rules
in a port group:
for information about traffic policing.
Use the command...
system-view
traffic-limit inbound acl-rule target-rate
Use the command...
system-view
traffic-limit vlan vlan-id inbound acl-rule
target-rate
1-18
Remarks
—
Required
Disabled by default.
Remarks
—
Required
Disabled by default.