Specifications
B-211
Cisco MWR 2941 Mobile Wireless Edge Router Software Configuration Guide, Release 12.2(33)MRB
OL-21227-02
Appendix B Cisco MWR 2941 Router Command Reference
match vlan (QoS)
match vlan (QoS)
To match and classify traffic on the basis of the VLAN identification number, use the match vlan
command in class-map configuration mode. To remove a previously specified VLAN identification
number as a match criterion, use the no form of this command.
match vlan vlan-id-number
no match vlan vlan-id-number
Syntax Description
Command Default Traffic is not matched on the basis of the VLAN identification number.
Command Modes Class-map configuration
Command History
Usage Guidelines
Specifying VLAN Identification Numbers
You can specify a single VLAN identification number, multiple VLAN identification numbers separated
by spaces (for example, 2 5 7), or a range of VLAN identification numbers separated by a hyphen (for
example, 25-35).
Support Restrictions
The match vlan command is supported for IEEE 802.1q and Inter-Switch Link (ISL) VLAN
encapsulations only.
Examples In the following sample configuration, the match vlan command is enabled to classify and match traffic
on the basis of a range of VLAN identification numbers. Packets with VLAN identification numbers in
the range of 25 to 50 are placed in the class called class1.
Router> enable
Router# configure terminal
Router(config)# class-map class1
Router(config-cmap)# match vlan 25-50
Router(config-cmap)# end
vlan-id-number VLAN identification number, numbers, or range of numbers. Valid
VLAN identification numbers must be in the range of 1 to 4095.
Release Modification
12.2(31)SB2 This command was introduced for use on Cisco 10000 series routers only.
12.4(20)MR This command was integrated into Cisco IOS Release 12.4(20)MR.
12.2(33)MRA This command was integrated into Cisco IOS Release 12.2(33)MRA.