Netgear M4100-D12G-POE+ (GSM5212P) - ProSAFE Gigabit L2+ Managed Switch Administrator's Guide

Page of 353
VLANs 
23
 ProSAFE M4100 Managed Switches
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 0 (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 you can configure a MAC 
address mapping to a VLAN that has not been created on the system.
CLI: Create a MAC-Based VLAN
1. 
Create VLAN3
(Netgear Switch)#vlan database
(Netgear Switch)(Vlan)#vlan 3
(Netgear Switch)(Vlan)#exit
.
2. 
Add port 1/0/23 to VLAN3.
(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
3. 
Map MAC 00:00:0A:00:00:02 to VLAN3.
(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
4. 
Add all the ports to VLAN3.
(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