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 (policy-map) — policy-map

Synopsis

               policy-map-name
no service-policy policy-map-name

Configures

policy map

Default

None

Description

This command attaches a policy map directly to a class.

Example

policy-map classes-def
  class gold
    bandwidth percent 50
  class silver
    bandwidth percent 30
  class bronze
    bandwidth percent 10
!
policy-map map1
  class customer1
    shape average 38400
    service-policy classes-def

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