Name

class (policy-map) — policy-map

Synopsis

class name
no class name

Configures

The name of a class within a policy

Default

None

Description

This command identifies the name of the class to change or modify within a policy. The policy-map command must be used to enter the policy map configuration mode before entering this command. The maximum number of classes that can be configured for a router is 64.

Example

policy-map policy1
  class class1
    bandwidth 1000
    queue-limit 50
  class class2
    bandwidth 2000
    random-detect

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.