ProSafe 7000 Managed Switch Software Administration Manual, Release 8.0.3
OSPF
6-37
v1.0, June 2010
E
nable OSPF for the VLAN and physical router ports.
(Netgear Switch) (Config)#interface vlan 10
(Netgear Switch) (Interface vlan 10)#ip ospf areaid 0.0.0.2
(Netgear Switch) (Interface vlan 10)#ip ospf
(Netgear Switch) (Interface vlan 10)#exit
(Netgear Switch) (Config)#interface vlan 20
(Netgear Switch) (Interface vlan 20)#ip ospf areaid 0.0.0.3
(Netgear Switch) (Interface vlan 20)#ip ospf
(Netgear Switch) (Interface vlan 20)#exit
Set the OSPF priority and cost for the VLAN and physical router ports.
(Netgear Switch) (Config)#interface vlan 10
(Netgear Switch) (Interface vlan 10)#ip ospf priority 128
(Netgear Switch) (Interface vlan 10)#ip ospf cost 32
(Netgear Switch) (Interface vlan 10)#exit
(Netgear Switch) (Config)#interface vlan 20
(Netgear Switch) (Interface vlan 20)#ip ospf priority 255
(Netgear Switch) (Interface vlan 20)#ip ospf cost 64
(Netgear Switch) (Interface vlan 20)#exit
(Netgear Switch) (Config)#exit
Web Interface: VLAN Routing OSPF Configuration
To use the Web interface to configure OSPF on the switch, proceed as follows:
1.
Configure a VLAN and include ports 1/0/2 in the VLAN.
a.
From the main menu, select Routing > VLAN > VLAN Routing Wizard. A screen similar to the
following displays.
Figure
6-45