41 service-policy – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 653

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 653 of 855

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

None

32.41 service-policy

Use this command to configure a policy for interface to match the traffic defined by class-map, do
according actions.

Command Syntax

(no)service-policy (input | output) NAME
Service-policy: Configure QoS Service Policy
input: Assign policy-map to the input of an interface
output: Assign policy-map to the output of an interface
NAME: Specify a policy-map name

Command Mode

Interface configuration

Usage

Use the service-policy interface configuration command to apply a policy map defined by the
policy-map command to the input or output of a particular interface. Use the no form of this command
to remove the policy map and interface association.

Examples

Configure a policy to ingress of a physical interface
Switch(config)#interface eth-0-1
Switch(config-if)#service-policy input plc_map1

Advertising