match vlan

Matches a VLAN to a class map.

Syntax

match vlan VLAN-number

Parameters

VLAN-number
Specifies a valid VLAN number.

Modes

Class map configuration mode.

Usage Guidelines

The command is used after the class-map command is entered.

Examples

The following example matches a VLAN to a class map.

device(config)# class-map p2
device(config-classmap)# match vlan 500