Netgear M4100-24G-POE+ (GSM7224P) - ProSAFE Gigabit L2+ Managed Switch Guia Do Administrador
Port Routing
59
ProSAFE M4100 Managed Switches
You can then activate RIP or OSPF, used by routers to exchange route information, on top of
IP Routing. RIP is more often used in smaller networks, while OSPF was designed for larger
and more complex topologies.
IP Routing. RIP is more often used in smaller networks, while OSPF was designed for larger
and more complex topologies.
The following figure shows a Layer 3 switch configured for port routing. It connects three
different subnets, each connected to a different port.
different subnets, each connected to a different port.
Subnet 2
Subnet 3
Subnet 5
Port 1/0/3
192.130.3.1
192.130.3.1
Port 1/0/5
192.64.4.1
192.64.4.1
Port 1/0/2
192.150.2.2
192.150.2.2
Layer 3 switch
acting as a router
acting as a router
Figure 7. 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 would use to configure a M4100 Managed
Switch to provide the port routing support shown in
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.
enables IP forwarding by default.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#exit