EasyManuals Logo

Cisco ME 3600X User Manual

Cisco ME 3600X
628 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 #204 background imageLoading...
Page #204 background image
2-180
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
match vlan
Before using the match vlan command, you must enter the class-map global configuration command to
specify the name of the class whose match criteria you want to establish.
You can verify your configuration by entering the show class-map privileged EXEC command.
Examples This example shows how to create a class-map called parent-class, which matches incoming traffic with
VLAN IDs in the range from 30 to 40.
Switch(config)# class-map match-any parent-class
Switch(config-cmap)# match vlan 30-40
Switch(config-cmap)# exit
This example shows how to match VLAN and CoS in the same policy. When you attach the service
policy vlan to an interface, packets with the outer VLAN of 2 and an outer CoS of 2 are included in class
map phb.
Switch(config)# class-map vlan
Switch(config-cmap)# match vlan 2
Switch(config-cmap)# exit
Switch(config)# class-map phb
Switch(config-cmap)# match cos 2
Switch(config-cmap)# exit
Switch(config)# policy-map phb
Switch(config-pmap)# class phb
Switch(config-pmap-c)# bandwidth 1000
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# policy-map vlan
Switch(config-pmap)# class vlan
Switch(config-pmap-c)# bandwidth 1000
Switch(config-pmap-c)# service-policy phb
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface gigabitethernet 0/1
Switch(config-if)# service-policy vlan
Switch(config-if)# exit
Related Commands Command Description
class-map Creates a class map to be used for matching packets to a specified class name.
show class-map Displays quality of service (QoS) class maps.

Table of Contents

Other manuals for Cisco ME 3600X

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco ME 3600X and is the answer not in the manual?

Cisco ME 3600X Specifications

General IconGeneral
BrandCisco
ModelME 3600X
CategorySwitch
LanguageEnglish

Related product manuals