Netgear M5300-28G-POE+ (GSM7228PSv1h2) - 12-Port Managed Gigabit Switch Ratgeber Für Administratoren
![Netgear](https://files.manualsbrain.com/attachments/cf1ad5de25a3f8d6c88ef0ab489c1b137eebe11f/common/fit/150/50/17742d1e0cdacf24edeb88c30757620088415c5f7699f69b4517262e21e0/brand_logo.jpeg)
68
|
Chapter 5. VLAN Routing
ProSafe Managed Switch
shows the commands you would use to configure a 7000 Series Managed Switch to provide
the VLAN routing support shown in the diagram.
the VLAN routing support shown in the diagram.
Figure 8. Layer 3 switch configured for port routing
CLI: Create Two VLANs
The following code sequence shows an example of creating two VLANs with egress frame
tagging enabled.
tagging enabled.
(Netgear Switch) #vlan data
(Netgear Switch) (Vlan)#vlan 10
(Netgear Switch) (Vlan)#vlan 20
(Netgear Switch) (Vlan)#exit
(Netgear Switch) #conf
(Netgear Switch) (Config)#interface range 1/0/1-1/0/2
(Netgear Switch) (conf-if-range-1/0/1-1/0/2)#vlan participation include 10
(Netgear Switch) (conf-if-range-1/0/1-1/0/2)#vlan pvid 10
(Netgear Switch) (conf-if-range-1/0/1-1/0/2)#exit
(Netgear Switch) (Config)#interface 1/0/3
(Netgear Switch) (Interface 1/0/3)#vlan participation include 20
(Netgear Switch) (Interface 1/0/3)#vlan pvid 20
(Netgear Switch) (Interface 1/0/3)#exit
(Netgear Switch) (Config)#exit
Layer 3 switch
Port 1/0/2 VLAN
Router port 1/3/1
192.150.3.1
Router port 1/3/1
192.150.3.1
Port 1/0/3 VLAN
Router port 1/3/2
192.150.4.1
Router port 1/3/2
192.150.4.1
Layer 2
Switch
Switch
Layer 2
Switch
Switch
VLAN 10
VLAN 20
Port 1/0/1