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

Seite von 542
  Chapter 24.  Double VLANs and Private VLAN Groups
 
   
|
     
391
ProSafe Managed Switch 
The following example shows how to configure the NETGEAR switch shown in the preceding 
figure to add a double VLAN tag for traffic going from the subnet domain connected to port 
1/0/24. This example assumes there is a Layer 2 switch connecting all these devices in your 
domain. The Layer 2 switch tags the packet going to the NETGEAR switch port 1/0/24. The 
example is shown as CLI commands and as a Web interface procedure. 
CLI: Enable a Double VLAN
Web Interface: Enable a Double VLAN
1. 
Create static VLAN 200:
Create a VLAN 200.
(Netgear Switch)#vlan database
(Netgear Switch) (Vlan)#vlan 200
(Netgear Switch) (Vlan)#exit
Add interface 1/0/24 to VLAN 200, add pvid 200 to port.
(Netgear Switch) #config 
(Netgear Switch) (Config)#interface 1/0/24 
(Netgear Switch) (Interface 1/0/24)#vlan pvid 200 
(Netgear Switch) (Interface 1/0/24)#vlan participation include 200 
(Netgear Switch) (Interface 1/0/24)#exit
Add interface 1/0/48 to the VLAN 200 in a tagging mode.
(Netgear Switch) (Config)#interface 1/0/48
(Netgear Switch) (Interface 1/0/48)#vlan participation include 200
(Netgear Switch) (Interface 1/0/48)#vlan tagging 200
(Netgear Switch) (Interface 1/0/48)#exit
Select interface 1/0/48 as the provider port.
(Netgear Switch) (Config)#
(Netgear Switch) (Config)#interface 1/0/48
(Netgear Switch) (Interface 1/0/48)#mode dvlan-tunnel
(Netgear Switch) (Interface 1/0/48)#exit