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

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.