– 243 –
C
HAPTER
12
| Quality of Service
Creating QoS Policies
■
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 (BP). Action may taken for
traffic conforming to the maximum throughput, exceeding the maximum
throughput, or exceeding the peak burst size.
◆
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. In
addition to the actions defined by this command to transmit, remark
the DSCP service value, or drop a packet, the switch will also mark the
two color bits which are used to prioritize service to packets of different
colors as described below. A packet is marked red if it exceeds the PIR.
Otherwise it is marked either yellow or green depending on whether it
exceeds or doesn't exceed the CIR.
The trTCM is useful for ingress policing of a service, where a peak rate
needs to be enforced separately from a committed rate.
◆
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, P and C, which are based on the rates PIR and CIR,
Summary of Contents for LGB6026A
Page 6: ...ABOUT THIS GUIDE 4...
Page 40: ...38 CONTENTS...
Page 60: ...58 SECTION I Getting Started...
Page 86: ...84 SECTION II Web Configuration Unicast Routing on page 517 Multicast Routing on page 575...
Page 162: ...160 CHAPTER 5 Interface Configuration VLAN Trunking...
Page 196: ...194 CHAPTER 6 VLAN Configuration Configuring MAC based VLANs...
Page 204: ...CHAPTER 7 Address Table Settings Clearing the Dynamic Address Table 202...
Page 238: ...CHAPTER 11 Class of Service Layer 2 Queue Settings 236...
Page 254: ...252 CHAPTER 12 Quality of Service Attaching a Policy Map to a Port...
Page 448: ...446 CHAPTER 16 Multicast Filtering Multicast VLAN Registration...
Page 470: ...468 CHAPTER 17 IP Configuration Setting the Switch s IP Address IP Version 6...
Page 576: ...574 CHAPTER 21 Unicast Routing Configuring the Open Shortest Path First Protocol Version 2...
Page 606: ...604 CHAPTER 22 Multicast Routing Configuring PIMv6 for IPv6...
Page 620: ...618 CHAPTER 23 Using the Command Line Interface CLI Command Groups...
Page 672: ...670 CHAPTER 25 System Management Commands Time Range...
Page 692: ...690 CHAPTER 26 SNMP Commands...
Page 700: ...698 CHAPTER 27 Remote Monitoring Commands...
Page 854: ...CHAPTER 34 Port Mirroring Commands Local Port Mirroring Commands 852...
Page 862: ...860 CHAPTER 36 Address Table Commands...
Page 958: ...956 CHAPTER 40 Quality of Service Commands...
Page 1034: ...1032 CHAPTER 42 LLDP Commands...
Page 1044: ...1042 CHAPTER 43 Domain Name Service Commands...
Page 1062: ...1060 CHAPTER 44 DHCP Commands DHCP Server...
Page 1206: ...CHAPTER 47 IP Routing Commands Open Shortest Path First OSPFv3 1204...
Page 1250: ...1248 SECTION IV Appendices...
Page 1256: ...1254 APPENDIX A Software Specifications Management Information Bases...
Page 1278: ...1276 COMMAND LIST...