Netgear M5300-52G-POE+ (GSM7252PSv1h2) - ProSAFE 48+4 L2+ POE Stackable Managed Switch Administrator's Guide

Page of 542
  Chapter 2.  VLANs
 
   
|
     
31
ProSafe Managed Switch 
tagged, the switch associates the packet with any matching IP subnet classification. If no IP 
subnet classification can be made, the packet is subjected to the normal VLAN classification 
rules of the switch. This IP subnet capability does not imply a routing function or that the 
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.
Figure 2. IP subnet–based VLAN
CLI: Create an IP Subnet–Based VLAN
Create an IP subnet–based VLAN 2000.
(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
(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)#
PC 1
PC 2
10.100.5.1
10.100.5.30
Switch
1/0/24
1/0/1