1-31Caution:User-defined traffic classification rules configured for traffic policing in the global scopeor for a VLAN take precedence over the default rules used for processing protocolpackets. The device will execute traffic policing preferentially, which may affect devicemanagement implemented through Telnet and so on.III. Configuration example# Configure traffic policing for the packets from network segment 10.1.1.0/24, settingthe rate limit to 128 kbps and marking the inbound packets exceeding the rate limit withDSCP value 56 (assume that GigabitEthernet 1/0/1 carries VLAN 2 and is connected tonetwork segment 10.1.1.0/24).1) Method I system-view[Sysname] acl number 2000[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255[Sysname-acl-basic-2000] quit[Sysname] interface GigabitEthernet1/0/1[Sysname-GigabitEthernet1/0/1] traffic-limit inbound ip-group 2000 128 exceedremark-dscp 562) Method II system-view[Sysname] acl number 2000[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255[Sysname-acl-basic-2000] quit[Sysname] traffic-limit vlan 2 inbound ip-group 2000 128 exceed remark-dscp561.4.7 Configuring Traffic ShapingRefer to Traffic Policing and Traffic Shaping for information about traffic shaping.Note:This feature is available only on the H3C S5100-EI series switches.I. Configuration prerequisitesz The queue for which traffic shaping is to be performed has been determined.