1-18Configuration examples# Set the IP precedence value of ICMP packets to 3. 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-priorityProtocol: icmpIP-Precedence: flash(3)Configuring Traffic PolicingRefer to Traffic Policing and Traffic Shaping for information about traffic policing.Configuration prerequisitesz The ACL rules used for traffic classification have been defined. Refer to the ACL module of thismanual for information about defining ACL rules.z The rate limit for traffic policing and the actions for the packets exceeding the rate limit have beendetermined.Configuration proceduresYou can configure traffic policing for the incoming packets matching the specific ACL rules globally, in aVLAN, in a port group, or on a port.1) Configuring traffic policing globallyFollow these steps to configure traffic policing for the incoming packets matching the specific ACL rulesglobally:To do… Use the command… RemarksEnter system view system-view —Configure trafficpolicing traffic-limit inbound acl-rule target-rate RequiredDisabled by default.2) Configuring traffic policing for a VLANFollow these steps to configure traffic policing for the incoming packets matching the specific ACL rulesin a VLAN:To do… Use the command… RemarksEnter system view system-view —Configure trafficpolicingtraffic-limit vlan vlan-id inbound acl-ruletarget-rateRequiredDisabled by default.3) Configuring traffic policing for a port groupFollow these steps to configure traffic policing for the incoming packets matching the specific ACL rulesin a port group: