C
HAPTER
11
| Quality of Service
Creating QoS Policies
– 292 –
count Tp is incremented by one PIR times per second up to BP and the
token count Tc is incremented by one CIR times per second up to BC.
When a packet of size B bytes arrives at time t, the following happens if
trTCM is configured to operate in Color-Blind mode:
â–
If Tp(t)-B < 0, the packet is red, else
â–
if Tc(t)-B < 0, the packet is yellow and Tp is decremented by B, else
â–
the packet is green and both Tp and Tc are decremented by B.
When a packet of size B bytes arrives at time t, the following happens if
trTCM is configured to operate in Color-Aware mode:
â–
If the packet has been precolored as red or if Tp(t)-B < 0, the
packet is red, else
â–
if the packet has been precolored as yellow or if Tc(t)-B < 0, the
packet is yellow and Tp is decremented by B, else
â–
the packet is green and both Tp and Tc are decremented by B.
â—† The trTCM can be used to mark a IP packet stream in a service, where
different, decreasing levels of assurances (either absolute or relative)
are given to packets which are green, yellow, or red. Refer to RFC 2698
for more information on other aspects of trTCM.
CLI REFERENCES
â—† "Quality of Service Commands" on page 1183
COMMAND USAGE
â—† A policy map can contain 512 class statements that can be applied to
the same interface (page 299). Up to 32 policy maps can be configured
for ingress ports.
â—† After using the policy map to define packet classification, service
tagging, and bandwidth policing, it must be assigned to a specific
interface by a service policy (page 299) to take effect.
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-256
characters)
Add Rule
◆ Policy Name – Name of policy map.