2-2The IntServ model demands high storage and processing capabilities, because it requires that allnodes along the transmission path maintain resource state information for each flow. The model issuitable for small-sized or edge networks, but not large-sized networks, for example, the core layer ofthe Internet, where billions of flows are present.DiffServ ModelThe differentiated service (DiffServ) model is a multiple-service model that can satisfy diverse QoSrequirements. Unlike IntServ, DiffServ does not require an application to signal the network to reserveresources before sending data. DiffServ is easy to implement and extend.All QoS techniques in this document are based on the Diff-Serv model.QoS Techniques OverviewThe QoS techniques fall into traffic classification, traffic policing, traffic shaping, line rate, congestionmanagement, and congestion avoidance. The following part briefly introduces these QoS techniques.Applying QoS Techniques in a NetworkFigure 2-1 Positions of the QoS techniques in a networkAs shown in Figure 2-1, traffic classification, traffic shaping, traffic policing, congestion management,and congestion avoidance mainly implement the following functions:z Traffic classification uses certain match criteria to assign packets with the same characteristics toa class. Based on classes, you can provide differentiated services.z Traffic policing polices flows entering or leaving a device, and imposes penalties on traffic flowsthat exceed the pre-set threshold to prevent aggressive use of network resources. You can applytraffic policing to both incoming and outgoing traffic of a port.z Traffic shaping proactively adapts the output rate of traffic to the network resources available onthe downstream device to eliminate packet drops. Traffic shaping usually applies to the outgoingtraffic of a port.