5-4released, traffic shaping takes out the cached packets and sends them out. In this way, all the trafficsent to Switch B conforms to the traffic specification defined in Switch B.Line RateThe line rate of a physical interface specifies the maximum rate for forwarding packets (includingcritical packets).Line rate also uses token buckets for traffic control. With line rate configured on an interface, allpackets to be sent through the interface are firstly handled by the token bucket at line rate. If there areenough tokens in the token bucket, packets can be forwarded; otherwise, packets are put into QoSqueues for congestion management. In this way, the traffic passing the physical interface is controlled.Figure 5-4 Line rate implementationIn the token bucket approach to traffic control, bursty traffic can be transmitted so long as enoughtokens are available in the token bucket; if tokens are inadequate, packets cannot be transmitted untilthe required number of tokens are generated in the token bucket. Thus, traffic rate is restricted to therate for generating tokens, thus limiting traffic rate and allowing bursty traffic.Line rate can only limit the total traffic rate on a physical port, while traffic policing can limit the rate of aflow on a port. To limit the rate of all the packets on a port, using line rate is easier.Configuring Traffic PolicingConfiguration ProcedureFollow these steps to configure traffic policing:To do… Use the command… RemarksEnter system view system-view —Create a class and enter classviewtraffic classifier tcl-name [ operator { and| or } ] —Configure the match criteria if-match match-criteria —