Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren

Seite von 721
VLANs 
64
Managed Switches 
-
You configure various VLAN parameters such as membership, tagging, and PVID by 
using legacy commands. 
-
You can enable or disable ingress filtering. 
PC1
PC2
Switch
Network
1/0/1 access port
in VLAN 1000
1/0/2 access port
in VLAN 2000
1/0/3 trunk port
that allows 
LANs 1000 and 2000
The following figure shows a configuration with access ports and a trunk port.
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)#