Chapter 10
| Quality of Service
Creating QoS Policies
– 251 –
◆
The meter operates in one of two modes. In the color-blind mode, the meter
assumes that the packet stream is uncolored. In color-aware mode the meter
assumes that some preceding entity has pre-colored the incoming packet
stream so that each packet is either green, yellow, or red. The marker (re)colors
an IP packet according to the results of the meter. The color is coded in the DS
field [RFC 2474] of the packet.
◆
The behavior of the meter is specified in terms of its mode and two token
buckets, C and E, which both share the common rate CIR. The maximum size of
the token bucket C is BC and the maximum size of the token bucket E is BE.
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.
trTCM Police Meter
– Defines an enforcer for classified traffic based on a two rate
three color meter scheme defined in RFC 2698. This metering policy monitors a
traffic stream and processes its packets according to the committed information
rate (CIR, or maximum throughput), peak information rate (PIR), and their
associated burst sizes – committed burst size (BC, or burst rate), and peak burst size
Содержание GTL-2881
Страница 30: ...Figures 30 Figure 450 Showing RIP Peer Information 669 Figure 451 Resetting RIP Statistics 670 ...
Страница 34: ...Section I Getting Started 34 ...
Страница 48: ...Section II Web Configuration 48 Unicast Routing on page 651 ...
Страница 151: ...Chapter 4 Interface Configuration VLAN Trunking 151 Figure 69 Configuring VLAN Trunking ...
Страница 152: ...Chapter 4 Interface Configuration VLAN Trunking 152 ...
Страница 229: ...Chapter 8 Congestion Control Automatic Traffic Control 229 Figure 135 Configuring ATC Interface Attributes ...
Страница 230: ...Chapter 8 Congestion Control Automatic Traffic Control 230 ...
Страница 596: ...Chapter 14 Multicast Filtering Multicast VLAN Registration for IPv6 596 ...
Страница 620: ...Chapter 15 IP Configuration Setting the Switch s IP Address IP Version 6 620 ...
Страница 670: ...Chapter 18 Unicast Routing Configuring the Routing Information Protocol 670 Figure 451 Resetting RIP Statistics ...
Страница 672: ...Section III Appendices 672 ...
Страница 678: ...Appendix A Software Specifications Management Information Bases 678 ...
Страница 688: ...Appendix C License Statement GPL Code Statement Notification of Compliance 688 ...
Страница 696: ...Glossary 696 ...
Страница 706: ...GTL 2881 GTL 2882 E112016 ST R01 ...