EasyManuals Logo
Home>Edge-Core>Switch>AS5700-54X

Edge-Core AS5700-54X User Manual

Edge-Core AS5700-54X
1116 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #536 background imageLoading...
Page #536 background image
Chapter 20
| Quality of Service Commands
– 536 –
The token buckets C and E are initially full, that is, the token count Tc(0) = BC
and the token count Te(0) = BE. Thereafter, the token counts Tc and Te are
updated CIR times per second as follows:
If Tc is less than BC, Tc is incremented by one, else
if Te is less then BE, Te is incremented by one, else
neither Tc nor Te is incremented.
When a packet of size B bytes arrives at time t, the following happens if srTCM is
configured to operate in color-blind mode:
If Tc(t)-B 0, the packet is green and Tc is decremented by B down to the
minimum value of 0, else
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.
When a packet of size B bytes arrives at time t, the following happens if srTCM is
configured to operate in color-aware mode:
If the packet has been precolored as green and Tc(t)-B 0, the packet is
green and Tc is decremented by B down to the minimum value of 0, else
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.
The metering policy guarantees a deterministic behavior where the volume of
green packets is never smaller than what has been determined by the CIR and
BC, that is, tokens of a given color are always spent on packets of that color.
Refer to RFC 2697 for more information on other aspects of srTCM.
Example
This example creates a policy called “rd-policy,” uses the class command to specify
the previously defined “rd-class,” uses the set phb command to classify the service
that incoming packets will receive, and then uses the police srtcm-color-blind
command to limit the average bandwidth to 100,000 Kbps, the committed burst
rate to 4000 bytes, the excess burst rate to 6000 bytes, to remark any packets
exceeding the committed burst size, and to drop any packets exceeding the excess
burst size.
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set phb 3
Console(config-pmap-c)#police srtcm-color-blind 100000 4000 6000 conform-
action transmit exceed-action 0 violate-action drop
Console(config-pmap-c)#

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Edge-Core AS5700-54X and is the answer not in the manual?

Edge-Core AS5700-54X Specifications

General IconGeneral
BrandEdge-Core
ModelAS5700-54X
CategorySwitch
LanguageEnglish

Related product manuals