Matching VLANs


match interface vlan vid [vid ...]
no match interface vlan vid [vid ...]

Matches a VLAN interface. The no form of the command deletes the match clause from the sequence.


Specifies the ID number of the VLAN to match.

[vid ...]

Optional additional VLAN identifiers. A single command can specify multiple VLANs. A match succeeds if any of the VLANs matches (logical OR.)