27-32
Software Configuration Guide—Release 12.2(25)SG
OL-7659-03
Chapter 27 Configuring Quality of Service
Configuring QoS
Creating a Policy Map
To create a policy map, perform this task:
Configuring Policy-Map Class Actions
These sections describe policy-map class action configuration:
• Configuring the Policy-Map Class Trust State, page 27-32
• Configuring the Policy Map Class DBL State, page 27-32
• Configuring Policy-Map Class Policing, page 27-33
• Using a Named Aggregate Policer, page 27-33
• Configuring a Per-Interface Policer, page 27-33
Configuring the Policy-Map Class Trust State
To configure the policy-map class trust state, perform this task:
When configuring the policy-map class trust state, note the following:
• You can enter the no trust command to use the trust state configured on the ingress interface (this
is the default).
• With the cos keyword, QoS sets the internal DSCP value from received or interface CoS.
• With the dscp keyword, QoS uses received DSCP.
Configuring the Policy Map Class DBL State
To configure the policy map class DBL state, perform this task:
Command Purpose
Switch(config)# [no] policy-map
policy_name
Creates a policy map with a user-specified name.
Use the no keyword to delete the policy map.
Command Purpose
Switch(config-pmap-c)# [no] trust
{cos | dscp}
Configures the policy-map class trust state, which selects
the value that QoS uses as the source of the internal
DSCP value (see the “Internal DSCP Values” section on
page 27-13).
Use the no keyword to clear a configured value and return
to the default.
Command Purpose
Switch(config-pmap-c)# [no] dbl
Configures the policy-map class DBL state, which tracks
the queue length of traffic flows (see the “Active Queue
Management” section on page 27-14).
Use the no keyword to clear an DBL value and return to
the default.