Netgear M4300-52G (GSM4352S) - Stackable Managed Switch with 48x1G and 4x10G including 2x10GBASE-T and 2xSFP+ Layer 3 管理员指南
Port Routing
73
Managed Switches
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.
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
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
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