OSPF (Open Shortest Path First) is an Interior Routing Protocol. It Is A Open Standard Protocol, Which Can Be Configured In Any Router .It Is A Link Static Routing Protocol. It Uses Process ID In its Configuration , The Process ID Range Is 1 To 65535. Process ID Can Be Same Or Different On Any Router.It Uses WCM (Wild Card Mask) To Configure it. WCM Is Just Opposite Of Subnet Mask.It Also Uses Areas , Areas Range is 0-65535.It Is Represented By 'O' .
Commands To Configure OSPF Are :
Router 1 -
Commands To Configure OSPF Are :
Router 1 -
Router>en Router#conf t Router(config)#int s1/0 Router(config-if)#ip add 11.0.0.1 255.0.0.0 Router(config-if)#clock rate 64000 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#int fa0/0 Router(config-if)#ip add 10.0.0.1 255.0.0.0 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#router ospf 1 Router(config-router)#network 10.0.0.0 255.0.0.0 area 1 Router(config-router)#network 11.0.0.0 255.0.0.0 area 1 Router(config-router)#exitRouter 2 -
Router>en Router#conf t Router(config)#int s1/1 Router(config-if)#ip add 11.0.0.2 255.0.0.0 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#int fa0/0 Router(config-if)#ip add 12.0.0.1 255.0.0.0 Router(config-if)#no shutdown Router(config-if)#exit Router(config)#router ospf 2 Router(config-router)#network 11.0.0.0 255.0.0.0 area 1 Router(config-router)#network 12.0.0.0 255.0.0.0 area 1 Router(config-router)#exit
Post a Comment