Name

match class-map — class-map

Synopsis

match class-map class-map-name
no class-map class-map-name

Configures

QoS class map match line

Default

None

Description

This command tells the current class map to use an entirely different class map as a matching criteria. By using this command, you can nest class maps.

Example

In this example, you can see that class1 uses class2 with this command.

class-map match-any class2
  match protocol ip
  match access-group 101
!
class-map match-all class1
  match class-map class2
  match access-group 102

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.