The following figure shows a Layer 3 switch configured for port routing. It connects three
different subnets, each connected to a different port.
Subnet 2
Figure 9. Layer 3 switch configured for port routing
Enable Routing for the Switch
The example is shown as CLI commands and as a web interface procedure.
CLI: Enable Routing for the Switch
The following script shows the commands that you use to configure the switch to provide the
port routing support shown in
Use the following command to enable routing for the switch. Execution of the command
enables IP forwarding by default.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#exit
Managed Switches
Layer 3 switch
acting as a router
Port 1/0/2
192.150.2.2
Subnet 3
Figure 9, Layer 3 switch configured for port routing
Port Routing
Port 1/0/5
192.64.4.1
Port 1/0/3
192.130.3.1
73
Subnet 5
on page 73.