Netgear M4100-12GF (GSM7212F) - ProSAFE Gigabit L2+ Managed Switch Guía De Administador
VLANs
29
ProSAFE M4100 Managed Switches
VLAN is routed. The IP subnet classification feature affects only the VLAN assignment of a
packet. Appropriate 802.1Q VLAN configuration must exist in order for the packet to be
switched.
packet. Appropriate 802.1Q VLAN configuration must exist in order for the packet to be
switched.
PC 1
PC 2
10.100.5.1
10.100.5.30
Switch
1/0/24
1/0/1
Figure 2. IP subnet–based VLAN
CLI: Create an IP Subnet–Based VLAN
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 2000
(Netgear Switch) (Vlan)#vlan association subnet 10.100.0.0 255.255.0.0 2000
(Netgear Switch) (Vlan)#exit
Create an IP subnet–based VLAN 2000.
(Netgear Switch) #config
(Netgear Switch) (Config)#interface range 1/0/1-1/0/24
(Netgear Switch) (conf-if-range-1/0/1-1/0/24)# vlan participation include 2000
(Netgear Switch) (conf-if-range-1/0/1-1/0/24)#exit
(Netgear Switch) (Config)#
Assign all the ports to VLAN 2000.
(Netgear Switch) #show mac-addr-table vlan 2000
MAC Address Interface Status
----------------- --------- ------------
00:00:24:58:F5:56 1/0/1 Learned
00:00:24:59:00:62 1/0/24 Learned