QOS - Policers and Shapers Flashcards

1
Q

What do Policers do?

A

They drop or re-mark incoming or outgoing traffic that goes beyond a desired traffic rate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do Shapers do?

A

They buffer and delay egress traffic rates that momentarily peak above the desired rate until the egress traffic rate drops below the defined traffic rate.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Where is the best place to put Policers for incoming traffic?

A

At the edge of the network to keep traffic from wasting valuable bandwidth in the core of the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Where is the best place to put Policers for outgoing traffic?

A

On core-facing interfaces on network edge devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a downside to using a Policer?

A

It causes TCP retransmissions when it drops traffic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Where is a typical place to put a Shaper?

A

Typically deployed by enterprise networks on service provider– facing interfaces if the service provider is policing or if there are monetary penalties when a certain rate is exceeded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What 2 actions does a Policer take?

A
  • Drops traffic
  • Marks down traffic with a lower priority
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What congestion avoidance method should be used when a Policer marks down traffic?

A

WRED

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Committed Information Rate (CIR)?

A

The policed traffic rate, in bits per second (bps), defined in the traffic contract.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Committed Time Interval (Tc)

A

The time interval, in milliseconds (ms), over which the committed burst (Bc) is sent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is Committed Burst Size (Bc)?

A

The maximum size of the CIR token bucket, measured in bytes, and the maximum amount of traffic that can be sent within a Tc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Token?

A

A single token represents 1 byte or 8 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a Token Bucket?

A

A bucket that accumulates tokens until a maximum predefined number of tokens is reached.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What rate are Tokens added to the Token Bucket?

A

The CIR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What 3 actions can be taken if there aren’t enough tokens in the token bucket?

A
  • Buffer the packets while waiting for more tokens to be added to the bucket (shaping)
  • Drop the packet (policing)
  • Mark down the packet (policing)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are 3 different Policing algorithms?

A
  • Single-rate Two Color Marker/Policer
  • Single-rate Three Color Marker/Policer (srTCM)
  • Two-rate Three Color Marker/Policer (trTCM)
17
Q

When defining Policers what are the 3 colors?

A
  • Conform
  • Exceed
  • Violate
18
Q

When defining Policers what are the rates?

A
  • Single-rate is CIR
  • Two-rate is CIR and PIR (Peak Information Rate)
19
Q

What is a Single-rate Two Color Policer

A

A single bucket policer algorithm with a single rate (CIR) and 2 states (colors) of Conform or Exceed.

20
Q

What is a Single-rate Three Color Policer?

A

A two token bucket policer algorithm with a single rate (CIR) and 3 states (colors) of Conform, Exceed, or Violate

21
Q

In a Two-bucket algorithm what is the 2nd bucket for?

A
  • During quiet times any left over tokens in the first bucket are moved to the second bucket
  • Tokens in the second bucket are used for temporary bursts that may exceed the CIR
  • Tokens in the second bucket are referred to as Burst Exceeded (Be)
22
Q

What is Burst Exceeded (Be)?

A

The maximum number of bits that can exceed the Bc burst size.

23
Q

What are the 6 parameters used to meter traffic by Single-rate Three-color Marker/Policer?

A
  • CIR
  • Bc
  • Be
  • Bc Bucket Token Count (Tc)
  • Be Bucket Token Count (Te)
  • Incoming packet length (B)
24
Q

What policer should be used with AF classes?

A

Single-rate Three-color policer but only if the actions for each color differ.

25
Q

What makes the srTCM variable and somewhat unpredictable?

A

It relies on tokens spilling over into the second bucket which may or may not happen.

26
Q

What is the Two-rate Three Color Marker/Policer?

A

A two token bucket policer algorithm with two rates (CIR and PIR) and three colors (Conform, Exceed, Violate)

27
Q

How is the two bucket algorithm in trTCM different than in srTCM?

A
  • Each bucket has its own tokens - Bc bucket filled with CIR tokens and Be bucket filled with PIR tokens
  • Logic differs - PIR tokens checked first for Violate, then Bc Bucket for Exceed, lastly Conform