Set Up Vlan Routing For The Vlans And The Switch; Cli: Set Up Vlan Routing For The Vlans And The Switch - NETGEAR ProSAFE M5300 Series Software Administration Manual

Managed switches
Hide thumbs Also See for ProSAFE M5300 Series:
Table of Contents

Advertisement

Set Up VLAN Routing for the VLANs and the Switch

The example is shown as CLI commands and as a web interface procedure.

CLI: Set Up VLAN Routing for the VLANs and the Switch

1.
The following code sequence shows how to enable routing for the VLANs:
(Netgear Switch) #vlan data
(Netgear Switch) (Vlan)#vlan routing 10
(Netgear Switch) (Vlan)#vlan routing 20
(Netgear Switch) (Vlan)#exit
This returns the logical interface IDs that will be used instead of the slot/port in
subsequent routing commands. Assume that VLAN 10 is assigned the ID 3/1, and VLAN
20 is assigned the ID 3/2.
2.
Enable routing for the switch.
(Netgear Switch) #config
(Netgear Switch) (Config)#ip routing
(Netgear Switch) (Config)#exit
3.
The next sequence shows an example of configuring the IP addresses and subnet masks
for the virtual router ports.
(Netgear Switch) (Config)#interface vlan 10
(Netgear Switch) (Interface-vlan 10)#ip address 192.150.3.1 255.255.255.0
(Netgear Switch) (Interface-vlan 10)#exit
(Netgear Switch) (Config)#interface vlan 20
(Netgear Switch) (Interface-vlan 20)#ip address 192.150.4.1 255.255.255.0
(Netgear Switch) (Interface-vlan 20)#exit
(Netgear Switch) (Config)#exit
Managed Switches
VLAN Routing
118

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosafe m6100 seriesProsafe m7100 series

Table of Contents