26
Applying QoS techniques in a network
Figure 2 Positions of the QoS techniques in a network
WAN
Traffic classification
Traffic policing
Congestion management
Congestion avoidance
Traffic shaping
Traffic policing
Traffic policing
Traffic direction
Congestion management
Congestion avoidance
Traffic shaping
Traffic policing
As shown in Figure 2 , traffic classification, traffic shaping, traffic policing, congestion
management, and congestion avoidance mainly implement the following functions:
Traffic classification uses certain match criteria to assign packets with the same
characteristics to a class. Based on classes, differentiated services can be
provided.
Traffic policing polices flows entering or leaving an AC and can be applied to the
incoming traffic and outgoing traffic of a port. When a flow exceeds the pre-set
threshold, some restriction or punishment measures can be taken to prevent
overconsumption of network resources.
Traffic shaping proactively adapts the output rate of traffic to the network
resources available on the downstream AC to eliminate packet drop and delay.
Traffic shaping is usually applied to the outgoing traffic of a port.
Congestion management provides a resource scheduling policy to arrange the
forwarding sequence of packets when congestion occurs. Congestion
management is usually applied to the outgoing traffic of a port.
Congestion avoidance monitors the usage status of network resources and is
usually applied to the outgoing traffic of a port. As congestion becomes worse, it
actively reduces the queue length by dropping packets.