OcNOS-SP : Layer 2 Guide : Layer 2 Command Reference : VLAN and Private VLAN Commands : vlan classifier rule proto
vlan classifier rule proto
Use this command to create an Ethertype-based VLAN classifier rule for a protocol and map it to a specific VLAN. If thesource Ethertype matches the Ethertype specified in the VLAN classifier rule, received packets are mapped to the designated VLAN.
Command Syntax
vlan classifier rule <1-256> proto (ETHERTYPE|ip|x25|arp|g8bpqx25|ieeepup|ieeeaddrtrans|dec|decdnadumpload|decdnaremoteconsole|decdnarouting|declat|decdiagnostics|rarp|atalkddp|atalkaarp|ipx|ipv6|atmmulti|pppdiscovery|pppsession|atmtransport)
no vlan classifier rule <1-256>
Parameters
ETHERTYPE
Specify an Ethernet protocol number (0x600-0xFFFF)
arp
Address Resolution Protocol (0x0806)
atalkaarp
Appletalk AARP (0x80F3)
atalkddp
Appletalk DDP (0x809B)
atmmulti
MultiProtocol Over ATM (0x884c)
atmtransport
Frame-based ATM Transport (0x8884)
dec
DEC Assigned (0x6000)
decdiagnostics
DEC Diagnostics (0x6005)
decdnadumpload
DEC DNA Dump/Load (0x6001)
decdnaremoteconsole
 
DEC DNA Remote Console (0x6002)
decdnarouting
DEC DNA Routing (0x6003)
declat
DEC LAT (0x6004)
g8bpqx25
G8BPQ AX.25 (0x08FF)
ieeeaddrtrans
Xerox IEEE802.3 PUP Address Translation (0x0a01)
ieeepup
Xerox IEEE802.3 PUP (0x0a00)
ip
IP (0x0800)
ipv6
IPv6 (0x86DD)
ipx
IPX (0x8137)
pppdiscovery
PPPoE discovery (0x8863)
pppsession
PPPoE session (0x8864)
rarp
Reverse Address Resolution Protocol (0x8035)
x25
CCITT X.25 (0x0805)
Default
By default, vlan classifier rule value is VLAN1
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#vlan classifier rule 2 proto ip
(config)#no vlan classifier rule 2
(config)#vlan classifier rule 3 proto 0x0805
(config)#no vlan classifier rule 3
Last modified date: 07/06/2023