OcNOS-RON-6.3.1 : Layer 2 Guide : Layer 2 Command Reference : VLAN and Private VLAN Commands : vlan classifier rule mac
vlan classifier rule mac
Use this command to create a subnet-based VLAN classifier rule 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> mac WORD
no vlan classifier rule <1-256>
Parameters
WORD
Indicate the Mac address classification. Enter the address in HHHH.HHHH.HHHH format.
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 mac fe80::22e::b5ff:fee8:6/64
(config)#no vlan classifier rule 2
Last modified date: 07-13-2023