8-3
Classifier-Based Software Configuration
Traffic Classes
• Quality of Service (policy qos command)
• Port and VLAN mirroring (policy mirror command)
• Policy Based Routing (policy pbr command)
4. Assign the policy to an inbound port or VLAN interface using the interface 
service-policy in or vlan service-policy in command.
Figure 8-1 shows an overview of traffic class-based software configuration.
Figure 8-1.  Traffic Class-Based Configuration Model
ignore Commands
2. Configure a traffic 
class (IPv4 or IPv6)
1. Determine the traffic 
you want to manage
match Commands
QoS (policy qos)
3. Configure a policy 
for one or more traffic 
classes
Mirroring (policy mirror)
rate-limit Command
priority Command
ip-precedence Command
dscp Command
4. Apply a service 
policy to an interface
VLANs
Ports
destination Command
Default class (at end of 
policy configuration)
default-class action 
Command
PBR (Policy Based 
Routing)
next hop or
destination tunnel