OcNOS-RON : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : match vlan
match vlan
Use this command to classify the traffic based on a VLAN.
Use the no command to remove the match configuration.
Note: The match commands which accept range have silent exit which makes removal of these match configurations easier. For example, classify the traffic based on VLAN using the command match vlan 2,4,6 and remove the match configuration using the command no match vlan 2-6.
Command Syntax
match vlan WORD
no match vlan (WORD|all)
Parameters
not
Match all except this.
WORD
Enter VLAN ID <1-4094> or range of VLAN ID's separated by commas. For example, 2 or 2,4-5 or 50,51,52 or 100-120,122-130 etc.
all
Delete all VLAN ID entries.
Default
No default value is specified
Command Mode
Class-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
(config)#class-map type qos C_QOS1
(config-cmap-qos)#match vlan 1
Last modified date: 07/14/2023