EasyManuals Logo
Home>Cisco>Network Router>ASR 901

Cisco ASR 901 User Manual

Cisco ASR 901
218 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #77 background imageLoading...
Page #77 background image
1-63
Cisco ASR 901 Aggregation Services Router Command Reference Guide
OL-26031-07
Chapter 1 CLI Command Reference
match vlan
match vlan
To match and classify traffic on the basis of the virtual local-area network (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 following restrictions apply to the match vlan command:
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
15.1(2)SNG Support for this command was introduced on the Cisco ASR 901 router.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ASR 901 and is the answer not in the manual?

Cisco ASR 901 Specifications

General IconGeneral
BrandCisco
ModelASR 901
CategoryNetwork Router
LanguageEnglish

Related product manuals