NETGEAR 7000 Series Managed Switch Administration Guide
Example 1: Create Two VLANs
The following code sequence shows an example of creating two VLANs with egress frame tagging
enabled.
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 10
(Netgear Switch) (Vlan)#vlan 20
(Netgear Switch) (Vlan)#exit
(Netgear Switch) #config
(Netgear Switch) (Config)#interface 1/2/1
(Netgear Switch) (Interface 1/2/1)#vlan participation include 10
(Netgear Switch) (Interface 1/2/1)#exit
(Netgear Switch) (Config)#interface 1/2/2
(Netgear Switch) (Interface 1/2/2)#vlan participation include 10
(Netgear Switch) (Interface 1/2/2)#exit
(Netgear Switch) (Config)#interface 1/2/3
(Netgear Switch) (Interface 1/2/3)#vlan participation include 20
(Netgear Switch) (Interface 1/2/3)#exit
(Netgear Switch) (Config)#vlan port tagging all 10
(Netgear Switch) (Config)#vlan port tagging all 20
Next specify the VLAN ID assigned to untagged frames received on the ports.
(Netgear Switch) (Config)#interface 1/2/1
(Netgear Switch) (Interface 1/2/1)#vlan pvid 10
(Netgear Switch) (Interface 1/2/1)#exit
(Netgear Switch) (Config)#interface 1/2/2
(Netgear Switch) (Interface 1/2/2)#vlan pvid 10
(Netgear Switch) (Interface 1/2/2)#exit
(Netgear Switch) (Config)#interface 1/2/3
(Netgear Switch) (Interface 1/2/3)#vlan pvid 20
(Netgear Switch) (Interface 1/2/3)#exit
(Netgear Switch) (Config)#exit
5-6
v1.0, March 2006
IP Routing Services