INS_CWGE24MS2_REV–
10/05/16 PAGE 107
INSTALLATION AND OPERATION MANUAL
CWGE24MS2
TECH SUPPORT: 1.888.678.9427
MAC-based VLAN
Introduction
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.
For 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.
Notices: The 802.1Q port base VLAN should be created first.
CLI Configuration
Node
Command
Description
enable
show mac-vlan
This command displays the all of the mac-vlan configurations.
configure
mac-vlan STRINGS vlan
VLANID 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:
CWGE24MS2(config)#mac-vlan 00:01:02:03:04 vlan 111 priority 1
CWGE24MS2(config)#mac-vlan 00:01:02:22:04 vlan 121 priority 1
CWGE24MS2(config)#mac-vlan 00:01:22:22:04:05 vlan 221 priority 1