4-4To do… Use the command… RemarksCreate a behavior andenter behavior view traffic behavior behavior-name —Configure a traffic policingactioncar cir committed-information-rate[ cbs committed-burst-size [ ebsexcess-burst-size ] ] [ pirpeak-information-rate ] [ green action ][ red action ] [ yellow action ]RequiredExit behavior view quit —Create a policy and enterpolicy view qos policy policy-name —Associate the class withthe traffic behavior in theQoS policyclassifier tcl-name behaviorbehavior-name —Exit policy view quit —To an interface Applying the QoS policy to an interface —To online users Applying the QoS policy to online users —Apply theQoSpolicy To a VLAN Applying the QoS policy to a VLAN —Configuration ExampleConfigure traffic policing on GigabitEthernet 1/0/1 to limit the rate of received HTTP traffic to 512 kbpsand drop the exceeding traffic.# Enter system view. system-view# Configure advanced ACL 3000 to match HTTP traffic.[Sysname] acl number 3000[Sysname-acl-adv-3000] rule permit tcp destination-port eq 80[Sysname-acl-adv-3000] quit# Create a class named http, and reference ACL 3000 in the class to match HTTP traffic.[Sysname] traffic classifier http[Sysname-classifier-http] if-match acl 3000[Sysname-classifier-http] quit# Configure a traffic policing QoS policy, and apply the QoS policy to the incoming packets ofGigabitEthernet 1/0/1.[Sysname] traffic behavior http[Sysname-behavior-http] car cir 512[Sysname-behavior-http] quit[Sysname] qos policy http[Sysname-qospolicy-http] classifier http behavior http[Sysname-qospolicy-http] quit[Sysname] interface gigabitethernet 1/0/1[Sysname-GigabitEthernet1/0/1] qos apply policy http inbound