03.02.2014 Views

Medianet Reference Guide - Cisco

Medianet Reference Guide - Cisco

Medianet Reference Guide - Cisco

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 4<br />

<strong>Medianet</strong> QoS Design Considerations<br />

<strong>Cisco</strong> QoS Toolset<br />

Policing and Markdown Tools<br />

Policers are used to monitor traffic flows and to identify and respond to traffic violations. Policers<br />

achieve these objectives by performing ongoing, instantaneous checks for traffic violations and taking<br />

immediate prescribed actions when such violations occur. For example, a policer can determine if the<br />

offered load is in excess of the defined traffic rate and then drop the out-of-contract traffic, as illustrated<br />

in Figure 4-13.<br />

Figure 4-13<br />

A Policing Action<br />

Offered Traffic<br />

Policing<br />

Offered Traffic<br />

Excess traffic is dropped<br />

Policing Rate<br />

Time<br />

Time<br />

226609<br />

Alternatively, policers may be used to remark excess traffic instead of dropping it. In such a role, the<br />

policer is called a marker. Figure 4-14 illustrates a policer functioning as a marker.<br />

Figure 4-14<br />

A Policer as a Marker<br />

Excess traffic is remarked, but transmitted<br />

Offered Traffic<br />

Policing<br />

Offered Traffic<br />

Policing Rate<br />

Time<br />

Time<br />

226610<br />

The rate at which the policer is configured to either drop or remark traffic is called the Committed<br />

Information Rate (CIR). However, policers may police to multiple rates, such as the dual rate policer<br />

defined in RFC 2698. With such a policer, the CIR is the principle rate to which traffic is policed, but an<br />

upper limit, called the Peak Information Rate (PIR), is also set. The action of a dual-rate policer is<br />

analogous to a traffic light, with three conditional states—green light, yellow light, and red light. Traffic<br />

equal to or below the CIR (a green light condition) is considered to conform to the rate. An allowance<br />

for moderate amounts of traffic above this principal rate is permitted (a yellow light condition) and such<br />

traffic is considered to exceed the rate. However, a clearly-defined upper-limit of tolerance (the PIR) is<br />

also set (a red light condition), beyond which traffic is considered to violate the rate. As such, a dual-rate<br />

RFC 2698 policer performs the traffic conditioning for RFC 2597 Assured Forwarding PHBs, as<br />

previously discussed. The actions of such a dual-rate policer (functioning as a three-color marker) are<br />

illustrated in Figure 4-15.<br />

OL-22201-01<br />

<strong>Medianet</strong> <strong>Reference</strong> <strong>Guide</strong><br />

4-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!