OcNOS-RON-6.3.1 : 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 a subnet-based VLAN classifier rule for a protocol and map it to a specific VLAN. If the source IP address matches the IP subnet 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
Ethernet type
ip
IP address
x25
CCITT X.25
arp
Address Resolution Protocol
g8bpqx25
G8BPQ AX.25
ieeepup
Xerox IEEE802.3 PUP
ieeeaddrtrans
Xerox IEEE802.3 PUP Address Translation
dec
DEC Assigned
decdnadumpload
DEC DNA Dump/Load
decdnaremoteconsole
 
DEC DNA Remote Console
decdnarouting
DEC DNA Routing
declat
DEC LAT
decdiagnostics
EC Diagnostics
rarp
Reverse Address Resolution
atalkddp
Appletalk DDP
atalkaarp
Appletalk AARP
ipx
IPX address
ipv6
IPv6 address
atmmulti
MultiProtocol Over ATM
pppdiscovery
PPPoE discovery
pppsession
PPPoE session
atmtransport
Frame-based ATM Transport
deccustom
DEC Customer use
decsyscomm
DEC Systems Comms Arch
xeroxaddrtrans
Xerox PUP Address Translation
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
Last modified date: 07-13-2023