Chapter 10
| Quality of Service
Creating QoS Policies
– 211 –
■
If the packet has been precolored as yellow or green and if
Te(t)-B ≥ 0, the packets is yellow and Te is decremented by B down to the
minimum value of 0, else
■
the packet is red and neither Tc nor Te is decremented.
Parameters
These parameters are displayed:
Add
◆
Policy Name – Name of policy map. (Range: 1-32 characters)
◆
Description – A brief description of a policy map. (Range: 1-64 characters)
Add Rule
◆
Policy Name – Name of policy map.
◆
Class Name – Name of a class map that defines a traffic classification upon
which a policy can act. A policy map can contain up to 32 class maps.
◆
Action – This attribute is used to set an internal QoS value in hardware for
matching packets. The PHB label is composed of five bits, three bits for per-hop
behavior, and two bits for the color scheme used to control queue congestion
with the srTCM and trTCM metering functions.
■
Set CoS – Configures the service provided to ingress traffic by setting an
internal CoS value for a matching packet (as specified in rule settings for a
class map). (Range: 0-7)
See Table 14, “Default Mapping of CoS/CFI to Internal PHB/Drop
Precedence,” on page 202).
■
Set PHB – Configures the service provided to ingress traffic by setting the
internal per-hop behavior for a matching packet (as specified in rule
settings for a class map). (Range: 0-7)
See Table 13, “Default Mapping of DSCP Values to Internal PHB/Drop
Values,” on page 200).
■
Set IP DSCP – Configures the service provided to ingress traffic by setting
an IP DSCP value for a matching packet (as specified in rule settings for a
class map). (Range: 0-63)
◆
Meter – Check this to define the maximum throughput.
■
Meter Mode (Rate) – Defines the committed information rate. Policing is
based on a token bucket, where the average rate tokens that are removed
from the bucket is specified by the “Rate” option. The committed rate is in
kilobits per second. (Range: 16-1000000 kbps at a granularity of 64 kbps or
maximum port speed, whichever is lower)