1-26Operation Command DescriptionDisplay the configuration of trafficmirroring, traffic policing, priority marking,traffic redirecting, or traffic accountingperformed for packets of a VLANdisplay qos-vlan [ vlan-id ] { all |mirrored-to | traffic-limit |traffic-priority | traffic-redirect |traffic-statistic }QoS Configuration ExampleConfiguration Example of Traffic PolicingNetwork requirementAn enterprise network connects all the departments through an 4210 Ethernet switch. The R&Ddepartment belongs to the network segment 192.168.1.0/24 and connects to the switch throughEthernet 1/0/1; the marketing department belongs to the network segment 192.168.2.0/24 andconnects to the switch through Ethernet 1/0/2.Configure traffic policing to satisfy the following requirements:z Set the maximum rate of outbound IP packets sourced from the marketing department to 64 kbps.Drop the packets exceeding the rate limit.z Set the maximum rate of outbound IP packets sourced from the R&D department to 128 kbps. Dropthe packets exceeding the rate limit.Network diagramFigure 1-8 Network diagram for traffic policing configurationConfiguration procedure1) Define an ACL for traffic classification.# Create ACL 2000 and enter basic ACL view to classify packets sourced from the 192.168.1.0/24network segment. system-view[Sysname] acl number 2000[Sysname-acl-basic-2000] rule permit source 192.168.1.0 0.0.0.255[Sysname-acl-basic-2000] quit# Create ACL 2001 and enter basic ACL view to classify packets sourced from the 192.168.2.0/24network segment.