ProSafe M4100 and M7100 Managed Switches

shows the commands that you would use to configure a M4100 and M7100 Managed Switch to provide the VLAN routing support shown in the diagram.

Layer 3 switch

Port 1/0/2 VLAN

Port 1/0/3 VLAN

Router port 1/3/1

Router port 1/3/2

192.150.3.1

192.150.4.1

 

Port 1/0/1

Layer 2

Layer 2

Switch

Switch

VLAN 10

VLAN 20

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.

(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

Chapter 5. VLAN Routing 69

Page 69
Image 69
NETGEAR M4100, M7100 manual Layer 3 switch configured for port routing