beautypg.com

Configuring a single-rate policer 4, Configuring a twin-rate policer 4 – Allied Telesis AT-8100 Series User Manual

Page 1664

background image

Chapter 100: Quality of Service (QoS)

1664

Creating a Single-rate Policer

The following example configures a single-rate policer requiring traffic to
conform to a CIR of 10,000 Kbps, a CBS of 14,000 bytes, and an Excess
burst size of 20,000 bytes. This policer drops traffic that does not conform
to the set conditions.

Creating a Twin-rate Policer

The following example configures a twin-rate policer requiring traffic to
conform to a CIR of 10,000 Kbps, a PIR of 20,000 Kbps, a CBS of 30,000
bytes, and a PBS of 50,000 bytes. This policer remarks traffic if it does not
conform to the set conditions.

Table 213. Configuring a Single-rate Policer

Command

Description

awplus> enable

Enters the Privileged Executive mode from the
User Executive mode.

awplus# configure terminal

Enters the Global Configuration mode.

awplus(config)# policy-map pmap2

Creates a policy map “pmap2” and enters the
Policy Map Configuration mode.

awplus(config-pmap)# class cmap3

Associates an existing class map “cmap3” to the
policy map and enters the Policy Map Class
Configuration mode.

awplus(config-pmap-c)# police
single-rate 10000 14000 20000 action
drop-red

Configures a single-rate meter measuring traffic at
10,000 Kbps and a Committed Burst Size (CBS) of
14,000 bytes that drops traffic bursting over 20,000
bytes.

Table 214. Configuring a Twin-rate Policer

Command

Description

awplus> enable

Enters the Privileged Executive mode from the
User Executive mode.

awplus# configure terminal

Enters the Global Configuration mode.

awplus(config)# policy-map pmap3

Creates a policy map “pmap3” and enters the
Policy Map Configuration mode.

awplus(config-pmap)# class cmap4

Associates an existing class map “cmap4” to the
policy map and enters the Policy Map Class
Configuration mode.