beautypg.com

Match vlan, Match vlan 8 – Allied Telesis AT-8100 Series User Manual

Page 1728

background image

Chapter 101: QoS Commands

1728

MATCH VLAN

Syntax

match vlan <

1-4094

>

Parameters

1-4094

Specifies the VLAN ID number.

Mode

Class Map Configuration mode

Description

Use this command to add the specified VLAN ID as a matching criteria
within a class map. This value is used to match incoming packets.

Use the no form of the command, NO MATCH VLAN, to remove the VLAN
ID from the class map.

Confirmation Command

“SHOW CLASS-MAP” on page 1766

“SHOW RUNNING-CONFIG” on page 170

Examples

The following example configures a class map called “cmap3” to include
traffic from VLAN 5:

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap3
awplus(config-cmap)# match vlan 5

The following example disables the configured VLAN ID as a match
criteria for class map “cmap3:”

awplus> enable
awplus# configure terminal
awplus(config)# class-map cmap3
awplus(config-cmap)# no match vlan