Traffic class-based configuration model

Traffic class-based software configuration consists of the following general steps:

  1. Determine the inbound traffic you want to manage and how you want to manage it. For example, you may want to rate limit certain traffic, prioritize it, mirror it, and so on.
  2. Classify the traffic that you want to manage by configuring a class, using match and ignore commands. A traffic class is configured separately from service policies and can be used in various policies.
  3. Configure a service policy for one or more address classes, including an optional, default class. A policy consists of configuration commands executed on specified traffic classes for one of the following software features:
    • 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.

The following figure shows an overview of traffic class-based software configuration:
Traffic class-based configuration model