Microsens MS453490M Management Guide User Manual

Page 842

Advertising
background image

C

HAPTER

36

| Quality of Service Commands

– 842 –

violate-action - Action to take when rate exceeds the PIR. (There

are not enough tokens in bucket BP to service the packet, the

packet is set red.)
drop - Drops packet as required by exceed-action or violate-action.
transmit - Transmits without taking any action.
new-dscp - Differentiated Service Code Point (DSCP) value.

(Range: 0-63)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Policy Map Class Configuration

C

OMMAND

U

SAGE

You can configure up to 16 policers (i.e., class maps) for ingress ports.

The committed-rate and peak-rate cannot exceed the configured

interface speed, and the committed-burst and peak-burst cannot

exceed 16 Mbytes.

The trTCM as defined in RFC 2698 meters a traffic stream and

processes its packets based on two rates – Committed Information

Rate (CIR) and Peak Information Rate (PIR), and their associated burst

sizes - Committed Burst Size (BC) and Peak Burst Size (BP).

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. 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,

respectively. The maximum size of the token bucket P is BP and the

maximum size of the token bucket C is BC.

The token buckets P and C are initially (at time 0) full, that is, the token

count Tp(0) = BP and the token count Tc(0) = BC. Thereafter, the token

count Tp is incremented by one PIR times per second up to BP and the

token count Tc is incremented by one CIR times per second up to BC.

Advertising