background image
1-14
Cisco AVVID Network Infrastructure Enterprise Quality of Service Design
956467
Chapter 1 Overview
What is the Quality of Service Toolset?
Per-Hop Behaviors
The Internet Engineering Task Force (IETF) has defined certain Per-Hop Behaviors (PHBs) in
RFC 2597 and RFC 2598 to identify consistent service levels to be provided by each node in the network
infrastructure to packets with DSCP markings.
Tip
For more information on RFC 2597, see Assured Forwarding PHB Group. And for more information on
RFC 2598, see An Expedited Forwarding PHB.
There are three broad classes of PHBs: Best Effort (BE or DSCP 0), Assured Forwarding (AFxy), and
Expedited Forwarding (EF or DSCP 46).
Assured Forwarding has 4 sub-classes within it (corresponding to IP Precedence values) and also 3
levels of drop-preference within each class. For example, AF31 would refer to Assured Forwarding
Class 3 drop-preference 1.
DSCP values can be expressed in decimal form or with their PHB keywords; for example DSCP EF is
synonymous with DSCP 46, also DSCP AF31 is synonymous with DSCP 26. In this document the DSCP
values will be referred to by their PHB keywords.
Network-Based Application Recognition
Although the majority of data applications can be identified by using Layer 3 or Layer 4 criteria (such
as discrete IP addresses or well-known TCP/UDP ports), there are applications that cannot be identified
such criteria alone. This may be due to legacy limitations, but more likely due to deliberate design. For
example, peer-to-peer media-sharing applications deliberately negotiate dynamic ports with the
objective of penetrating firewalls. When Layer 3 or 4 parameters are insufficient to positively identify
an application, then Network-Based Application Recognition (NBAR) may be a viable alternative
solution. It should be noted that NBAR is a more CPU intensive classification mechanism than matching
traffic by DSCP or access-lists.
NBAR identifies application layer protocols by matching them against a Protocol Description Language
Module (PDLM), which is essentially an application signature. NBAR's deep-packet classification
engine examines the data payload of stateless protocols against PDLMs. There are over 70 PDLMs
embedded into IOS 12.2 code. Furthermore, since PDLMs are modular, they can be added to system
without upgrading requiring an IOS upgrade.
NBAR is dependent on Cisco Express Forwarding (CEF) and performs deep-packet classification only
on the first packet of a flow. The remainder of the packets belonging to the flow is then CEF switched.
Tip
For more information, see Network-Based Application Recognition and the NBAR Performance white
paper (internal).
Classification Equivalents
Table 1-3
shows the recommended DSCP traffic classifications (in PHB and decimal) and how they
relate to IP Precedence and MPLS experimental values.