NETGEAR 7000 Series Managed Switch Administration Guide Version 7.2

Specify Router ID and Enable OSPF for the Switch. The following sequence specifies the router ID and enables OSPF for the switch. Set disable1583 compatibility to prevent the routing loop.

(Netgear Switch) #config

(Netgear Switch) (Config)#router ospf (Netgear Switch) (Config router)#enable

(Netgear Switch) (Config router)#router-id 192.150.9.9 (Netgear Switch) (Config router)#no 1583compatibility (Netgear Switch) (Config router)#exit

(Netgear Switch) (Config)#exit

Enable and Configure OSPF for the Ports. The following sequence enables OSPF and sets the OSPF priority and cost for the ports.

(Netgear Switch) #config

(Netgear Switch) (Config)#interface 1/0/2 (Netgear Switch) (Interface 1/0/2)#ip ospf

(Netgear Switch) (Interface 1/0/2)#ip ospf areaid 0.0.0.2 (Netgear Switch) (Interface 1/0/2)#ip ospf priority 128 (Netgear Switch) (Interface 1/0/2)#ip ospf cost 32 (Netgear Switch) (Interface 1/0/2)#exit

(Netgear Switch) (Config)#interface 1/0/3 (Netgear Switch) (Interface 1/0/3)#ip ospf

(Netgear Switch) (Interface 1/0/3)#ip ospf areaid 0.0.0.3 (Netgear Switch) (Interface 1/0/3)#ip ospf priority 255 (Netgear Switch) (Interface 1/0/3)#ip ospf cost 64

(Netgear Switch) (Interface 1/0/3)#exit(Netgear Switch) (Config)#exit

7-18

IP Routing Services

v1.0, May 2008

Page 68
Image 68
NETGEAR 7000 Series manual V1.0, May