ProSafe 7000 Managed Switch Software Administration Manual, Release 8.0.3
Virtual LANs
1-9
v1.0, June 2010
MAC based VLAN feature allows incoming untagged packets to be assigned to a VLAN and thus classify
traffic based on the source MAC address of the packet.
A MAC to VLAN mapping is defined by configuring an entry in the MAC to VLAN table. An entry is
specified via a source MAC address and the desired VLAN ID. The MAC to VLAN configurations are
shared across all ports of the device (i.e. there is a system wide table that has MAC address to VLAN ID
mappings).
When untagged or priority tagged packets arrive at the switch and entries exist in the MAC to VLAN table,
the source MAC address of the packet is looked up. If an entry is found the corresponding VLAN ID is
assigned to the packet. If the packet is already priority tagged it will maintain this value, otherwise the
priority will be set to zero. The assigned VLAN ID is verified against the VLAN table, if the VLAN is valid
ingress processing on the packet continues, otherwise the packet is dropped. This implies that the user is
allowed to configure a MAC address mapping to a VLAN that has not been created on the system.
CLI: Creating a MAC-Based VLAN
Create a VLAN 3
(Netgear Switch)#vlan database
(Netgear Switch)(Vlan)#vlan 3
(Netgear Switch)(Vlan)#exit
Add the port 1/0/23 to the VLAN 3.
(Netgear Switch)#config
(Netgear Switch)(Config)#interface 1/0/23
(Netgear Switch)(Interface 1/0/23)#vlan participation include 3
(Netgear Switch)(Interface 1/0/23)#vlan pvid 3
(Netgear Switch)(Interface 1/0/23)#exit
Map the MAC 00:00:0A:00:00:02 to the VLAN 3.
(Netgear Switch)(Config)#exit
(Netgear Switch)#vlan data
(Netgear Switch)(Vlan)#vlan association mac 00:00:00A:00:00:02 3
(Netgear Switch)(Vlan)#exit
Add all the ports to VLAN 3.
(Netgear Switch)#config
(Netgear Switch)(Config)#interface range 1/0/1-1/0/28
(Netgear Switch)(conf-if-range-1/0/1-1/0/28)#vlan participation include 3
(Netgear Switch)(conf-if-range-1/0/1-1/0/28)#exit
(Netgear Switch)(Config)#exit