beautypg.com

Police twin-rate action – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1032

background image

QoS Commands

Software Reference for x310 Series Switches

39.26

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

police twin-rate action

Configures a twin-rate policer for a class-map.

Syntax

police twin-rate <cir> <pir> <cbs> <pbs> action

{drop-red|remark-transmit}

Mode

Policy Map Class Configuration

Usage

A policer can be used to meter the traffic classified by the class-map and as a result will be
given one of three bandwidth classes. These are green (conforming), yellow (partially-
conforming), and red (non-conforming).

A twin-rate policer is based on four values. These are the minimum rate, minimum burst
size, maximum rate, and maximum burst size.

Using an action of drop-red means that any packets classed as red will be discarded.

When using an action of remark-transmit the packet will be remarked with the values
configured in the policed-dscp map. The index into this map is determined by the DSCP in
the packet.

Parameter

Description

<cir>

Specify the Committed Information Rate (CIR) (1-16000000 kbps).

<pir>

Specify the Peak Information Rate (PIR) (kbps).

<pbs>

Specify the Peak Burst Size (PBS) (0-16777216 bytes).

action

Specify the action if rate is exceeded.

drop-red

Drop the red packets.

remark-transmit

Modify the packets using the remark map, then
transmit. You can configure the remark map
using the

remark-map command on page

39.30

.

Bandwidth
Class

Definition

green

The sum of the number of existing (buffered) bytes plus those arriving
at the port per unit time results in a value that is less than that set for
the CBS.

yellow

The sum of the number of existing (buffered) bytes plus those arriving
at the port per unit time results in a value that is between those set for
the CBS and the PBS.

red

The sum of the number of existing (buffered) bytes plus those arriving
at the port per unit time, result in a value that exceeds that set for the
PBS.