beautypg.com

41 service-policy, 42 qos policer flow-first – CANOGA PERKINS 9175 Command Reference User Manual

Page 567

background image

CanogaOS Command Reference

31-28

None

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

Remove a policy from ingress of a physical interface

Switch(config-if)#no service-policy input

Related Commands

None

31.42 qos policer flow-first

Use this command to configure the order of executing between port-policing and flow-policing

Command Syntax

(no)qos policer flow-first

flow-first: Flow-policing first when there are port-policing and flow-policing at the same time.

Command Mode

Global configuration

Usage