Cisco Cisco IOS Software Release 12.2(1c) Manual Técnico

Página de 7
The information in this document was created from the devices in a specific lab environment. All of the 
devices used in this document started with a cleared (default) configuration. If your network is live, 
make sure that you understand the potential impact of any command. 
Conventions  
For more information on document conventions, refer to the 
Cisco Technical Tips Conventions
Common Classification  
Classification is the process of defining traffic classes that sort traffic into categories groups of flows. 
Classification defines the "match criteria" for each class of traffic that is to be treated by a QoS policy. 
More specifically, it defines the "traffic filter" that packets are checked against when a service-policy is 
applied. 
Both distributed and non-distributed platforms match packets to a single class in a policy-map. Matching 
terminates at the first matching class. If two classes within a policy-map match the same IP precedence 
or IP address range, the packet always belongs to the first matching class. For this reason, class order 
within a policy-map is very important. 
This classification approach is called "common classification" and has these benefits: 
Accurate accounting and the avoidance of double-accounting problems that were seen before 
"common classification".  
Reduces the impact of access control lists (ACLs) on the CPU since the ACL is checked once per 
class, rather than once per feature. 
Faster lookup of packet headers because of caching. 
Common classification is enabled automatically when you attach an input or output policy-map with the 
service-policy command. 
The table below
 illustrates the order of operation with common classification. It is important to 
understand from the table when classification occurs in the context of QoS features. On the inbound 
path, a packet is classified before it is switched. On the outbound path, a packet is classified after it is 
switched. 
Inbound 
Outbound 
1. QoS Policy 
Propagation 
through Border 
Gateway Protocol 
(BGP) (QPPB) 
2. Input common 
classification 
1. CEF or Fast Switching 
2. Output common 
classification 
Page 2 of 7
Cisco - Quality of Service Order of Operation
4/11/2005
http://kbase/paws/servlet/ViewFile/22141/qos_orderofop_3.xml?convertPaths=1