Netgear M5300-28G3 (GSM7328Sv2h2) - ProSAFE 24+4 Gigabit Ethernet L3 Managed Stackable Switch 管理者ガイド

ページ / 542
  Chapter 2.  VLANs
 
   
|
     
17
ProSafe Managed Switch 
The Private Edge VLAN feature lets you set protection between ports located on the switch. This 
means that a protected port cannot forward traffic to another protected port on the same switch. 
The feature does not provide protection between ports located on different switches.
The diagram in this section shows a switch with four ports configured to handle the traffic for two 
VLANs. Port 1/0/2 handles traffic for both VLANs, while port 1/0/1 is a member of VLAN 2 only, 
and ports 1/0/3 and 1/0/4 are members of VLAN 3 only. The script following the diagram shows 
the commands you would use to configure the switch as shown in the diagram.
Figure 1. Switch with 4 ports configured for traffic from 2 VLANs
The following examples show how to create VLANs, assign ports to the VLANs, and assign a 
VLAN as the default VLAN to a port.
Create Two VLANs
The example is shown as CLI commands and as a Web interface procedure.
CLI: Create Two VLANS
Use the following commands to create two VLANs and to assign the VLAN IDs while leaving 
the names blank.
(Netgear Switch) #vlan database
(Netgear Switch) (Vlan)#vlan 2
(Netgear Switch) (Vlan)#vlan 3
(Netgear Switch) (Vlan)#exit
Layer 3 switch
Port 1/0/2 VLAN
Router Port 1/3/1
192.150.3.1
Port 1/0/3 VLAN
Router Port 1/3/2
192.150.4.1
Layer 2
Switch
Layer 2
Switch
VLAN 10
VLAN 20
Port 1/0/1