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

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

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