40 port-policing – CANOGA PERKINS 9175 Command Reference User Manual

Page 566

Advertising
background image

CanogaOS Command Reference

31-27

Define a aggregated policer for classified traffic.

Examples

Switch(config)#policy-map pm1

Switch(config-pmap)#class cm1

Switch(config-pmap-c)#policer-aggregate agg_plc

Switch(config-pmap-c)#no policer

Related Commands

None

31.40 port-policing

Use this command to configure a port-policer for an interface matching all traffic transmitted or received

in different direction.

Command Syntax

(no|)port-policer (ingress|egress) (color-blind|color-aware|) cir <1-10000000> (cbs <0-4000000>|) (ebs

<0-4000000>|pir <1-10000000> (pbs <0-4000000>|)|) (drop-color (red|yellow)|) (use-l3-length|)

color-blind: Color blind mode policer

color-aware: Color aware mode policer

cir: CIR - Commit Information Rate (kbps)

cbs: commit burst size (bytes)

ebs: EBS - Excess Burst Size (bytes)

pir: PIR - Peak Information Rate (Kbps)

pbs: PBS - peak burst size (bytes)

drop-color: drop color config

use-l3-length: Use l3 length for policing

Command Mode

Interface configuration

Usage

A policer specifies the bandwidth limits for the traffic. Packets that exceed the limits should be out of

profile (exceed CIR) or nonconforming (exceed PIR).

Examples

Configure a port-policing to ingress of eth-0-1

Switch(config)#interface eth-0-1

Switch(config-if)#port-policer ingress color-aware cir 200000 cbs 30000 pir 400000 pbs 40000

drop-color red

Remove port-policing from ingress of eth-0-1

Switch(config-if)#no port-policer ingress

Related Commands

Advertising