Match Vlan - Cisco ME 3800X Command Reference Manual

Hide thumbs Also See for ME 3800X:
Table of Contents

Advertisement

Chapter 2
Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands

match vlan

To apply QoS policies to frames carried on a user-specified VLAN for a given interface, use the match
vlan command in class-map configuration mode in the parent policy of a hierarchical policy map. You
can use hierarchical policy maps for per-VLAN classification on trunk ports. To remove the match
criteria, use the no form of this command.
Syntax Description
vlan vlan-list
vlan inner vlan-list
Defaults
No match criteria are defined.
Command Modes
Class-map configuration
Command History
Release
12.2(52)EY
Usage Guidelines
You configure per-VLAN QoS by entering the match vlan vlan-id or match vlan-inner vlan-id
class-map configuration command for one or more VLANs.
The feature is supported 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 use the match vlan vlan-id class-map configuration command to classify based on the outer VLAN.
Use the match vlan inner vlan-id class-map configuration command to classify based on the inner
VLAN
With classification based on VLAN IDs, you can 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. Per-VLAN classification is not required on access ports because access
ports carry traffic for a single VLAN.
Per-port, per-VLAN QoS is supported only on IEEE 802.1Q trunk ports.
OL-28238-01
match vlan {vlan-list | inner vlan-list}
no match vlan {vlan-list | inner vlan-list}
Specifies matching a packet based on the outermost, service-provider VLAN
ID (S-VLAN). For untagged packets, this matches the default VLAN
associated with the packets from the port or EFP.
You can enter a single VLAN ID or a range of VLANs separated by a hyphen.
The range is from 1 to 4094.
Specifies matching a packet based on the C-VLAN, the inner customer
VLAN ID of an 802.1Q tunnel. For packets with less than 2 tags, the
command has no effect.
You can specify a single VLAN identified by a VLAN number or a range of
VLANs separated by a hyphen. The range is 1 to 4094.
Modification
This command was introduced.
Cisco ME 3800X and ME 3600X Switch Command Reference
match vlan
2-179

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3600x

Table of Contents