41To configure the rate limit:Step Command Remarks1. Enter system view. system-view N/A2. Enter interface viewor port group view.• Enter interface view:interface interface-typeinterface-number• Enter port group view:port-group manualport-group-nameUse either command.Settings in interface view take effect on thecurrent interface. Settings in port group viewtake effect on all ports in the port group.3. Configure the ratelimit for the interfaceor port group.qos lr outbound circommitted-information-rate[ cbs committed-burst-size ]N/ADisplaying and maintaining traffic policing, GTS,and rate limitOn the S5120-EI Switch Series, you can configure traffic policing in MQC approach. For moreinformation about the displaying and maintaining commands, see "Displaying and maintaining QoSpolicies."Task Command RemarksDisplay interface GTSconfiguration information.display qos gts interface [ interface-type interface-number ][ | { begin | exclude | include } regular-expression ]Available in anyviewDisplay interface rate limitconfiguration information.display qos lr interface [ interface-type interface-number ][ | { begin | exclude | include } regular-expression ]Available in anyviewTraffic policing configuration exampleNetwork requirementsAs shown in Figure 13:• GigabitEthernet 1/0/3 of Device A is connected to GigabitEthernet1/0/1 of Device B.• Server, Host A, and Host B can access the Internet through Device A and Device B.Perform traffic control on GigabitEthernet 1/0/1 of Device A for traffic received from Server and Host A,respectively, to satisfy the following requirements:• Limit the rate of traffic from Server to 1024 kbps: transmit the conforming traffic normally, and markthe excess traffic with DSCP value 0 and then transmit the traffic.• Limit the rate of traffic from Host A to 256 kbps: transmit the conforming traffic normally, and dropthe excess traffic.Perform traffic control on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Device B to satisfy thefollowing requirements:Limit the total incoming traffic rate of GigabitEthernet 1/0/1 to 2048 kbps, and drop the excess traffic.