116
6.3.5
MAC-based VLAN
The MAC base VLAN allows users to create VLAN with MAC address. The MAC address can
be the leading three or more bytes of the MAC address.
For example, 00:01:02 or 00:03:04:05 or 00:01:02:03:04:05.
When the Switch receives packets, it will compare MAC-based VLAN configures. If the SA is
matched the MAC-based VLAN configures, the Switch replace the VLAN with user configured
and them forward them.
Example:
Configurations: 00:01:02, VLAN=23, Priority=2.
The packets with SA=00:01:02:xx:xx:xx will be forwarded to VLAN 22 member ports.
Notice:
The 802.1Q port base VLAN should be created first.
6.3.5.1
CLI Configuration
Node
Command
Description
enable
show mac-vlan
This command displays the all of the mac-vlan
configurations.
enable
configure terminal This command changes the node to configure node.
configure mac-vlan
STRINGS vlan <1-
4094> priority
<0-7>
This command creates a mac-vlan entry with the leading
three or more bytes of mac address and the VLAN and
the priority.
configure no mac-vlan entry
STRINGS
This command deletes a mac-vlan entry.
configure no mac-vlan all
This command deletes all of the mac-vlan entries.
Example:
L2SWITCH(config)#mac-vlan 00:01:02:03 vlan 111 priority 1
L2SWITCH(config)#mac-vlan 00:01:02:22:04 vlan 121 priority 1
L2SWITCH(config)#mac-vlan 00:01:22:22:04:05 vlan 221 priority 1
Summary of Contents for NGI-M08C4POE8-2
Page 1: ......
Page 197: ...197 Clear Clear the statistics of the valn ...
Page 298: ...298 9 2 2 Web Configurations ...