-
You configure various VLAN parameters such as membership, tagging, and PVID by
using legacy commands.
-
You can enable or disable ingress filtering.
The following figure shows a configuration with access ports and a trunk port.
1/0/1 access port
PC1
in VLAN 1000
PC2
Figure 7. Access and trunk ports
CLI: Configure a VLAN Trunk
1.
Create VLAN 1000 and 2000.
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 1000
(Netgear Switch) (Vlan)#vlan 2000
(Netgear Switch) (Vlan)#exit
2.
Configure port 1/0/1 as an access port.
(Netgear Switch) #config
(Netgear Switch) (Config)#interface 1/0/1
(Netgear Switch) (Interface 1/0/1)#switchport mode access
(Netgear Switch) (Interface 1/0/1)#switchport access vlan 1000
(Netgear Switch) (Interface 1/0/1)#exit
(Netgear Switch) (Config)#
Managed Switches
Switch
1/0/2 access port
in VLAN 2000
VLANs
62
1/0/3 trunk port
that allows
LANs 1000 and 2000
Network
Need help?
Do you have a question about the M4200 and is the answer not in the manual?