Specifications

2-243
Cisco ME 3400 Ethernet Access Switch Command Reference
OL-9640-07
Chapter 2 Cisco ME 3400 Ethernet Access Switch Cisco IOS Commands
match vlan
match vlan
Use the match vlan class-map configuration command in the parent policy of a hierarchical policy map
to apply QoS policies to frames carried on a user-specified VLAN for a given interface. You can use
hierarchical policy maps for per-VLAN classification on trunk ports Use the no form of this command
to remove the match criteria.
match vlan vlan-list
no match vlan vlan-list
This command is available only if your switch is running the metro IP access or metro access image.
Syntax Description
Defaults No match criteria are defined.
Command Modes Class-map configuration
Command History
Usage Guidelines The feature is supported only using a 2-level hierarchical input policy map, where the parent-level
defines the VLAN-based classification, and the child-level defines the QoS policy to be applied to the
corresponding VLAN(s).
You can configure multiple service classes at the parent-level to match different combinations of
VLANs, and you can apply independent QoS policies to each parent-service class using any child-policy
map
A policy is considered a parent policy map when it has one or more of its classes associated with a child
policy-map. Each class within a parent policy map is called a parent class. You can configure only the
match vlan command in parent classes. You cannot configure the match vlan command in classes
within the child policy map.
A per-port, per-VLAN parent-level class map supports only a child-policy association; it does not allow
any actions to be configured. In addition, for a parent-level class map, you cannot configure an action or
a child-policy association for the class class-default.
You cannot configure a mixture of Layer 2 and Layer 3 class maps in a child policy map. When you
attempt to associate such a child policy map with a parent policy, the configuration is rejected. However,
you can associate Layer 2 child policies and Layer 3 child policies with different parent-level class maps.
Per-port, per-VLAN QoS is supported only on IEEE 802.1Q trunk ports.
vlan-list Specify a VLAN ID or a range of VLANs to match against incoming packets
in a parent policy map for per-port, per-VLAN QoS on a trunk port. You can
enter up to 30 VLAN IDs. Use a hyphen for a range of VLANs. A VLAN
range is counted as two VLAN IDs. Use a space to separate individual
VLANs. The range is 1 to 4094.
Release Modification
12.2(25)SEG This command was introduced.