Name

service-policy (interface) — interface

Synopsis

service-policy {input | output} policy-map-name
no service-policy {input | output} policy-map-name

Configures

policymap

Default

None

Description

This command attaches a policy map to an interface or Virtual Circuit (VC). Use the input or output keyword to apply the policy map to the input or output traffic on an interface.

Example

interface serial 1/1
 service-policy output policy1

Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.