O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required