Name

match not — class-map

Synopsis

match not match-command
no match not match-command

Configures

QoS class map match line

Default

None

Description

This command specifies the not version of a match-command. For example, if you wanted to match all protocols except IP, you could use the match protocol command combined with a not.

Example

class-map all-but-ip
  match not protocol ip

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.