OSPF:open shortest Path first
Administrative distance-110
shortest path calculation algorithm:Dijsktra
OSPF Router Types:
DR-Desginated router
BDR-Backup Designated Router
ABR-Area Borader Router
ASBR-Autonomus SYstem Boundary Router
AREA
NSSA
Totally Stubby area
LSA -Link State Advertisement
Total LSA TYpes-7
LSA1- --LSA7
DR: DR router will send link state information to all routers in the multiaccess network instead of each router send information to each other.
in case DR failure, then BDR will play role for DR.
How to setup priority in ospf:
Router(config)#interface gigabitEthernet 0/0
Router(config-if)#ip ospf priority 100
To refresh ospf:
Router#clear ip ospf process
Trouble shoot
Router#sh ip ospf database
Router#sh ip ospf neighbor
AREA-0 BACKBONE or Transit area
LoopBack Address setup on each router
Router(config)#interface loopback 0
Router(config-if)#ip address 192.168.255.254 255.255.255.255
============================
OSPF configuration:
Router 1
Router(config)#router ospf 100
Router(config-router)#router-id 192.168.255.254
Router(config-router)#network 192.168.11.0.16 0.0.0.3 area 0
Router(config-router)#network 192.168.11.20 0.0.0.3 area 0
Router 2
Router(config)#router ospf 100
Router(config-router)#router-id 192.168.255.252
Router(config-router)#network 192.168.11.16 0.0.0.3 area 0
Router(config-router)#network 192.168.11.24 0.0.0.3 area 0
Router(config-router)#network 192.168.3.0 0.0.0.255 area 0
Router 3
Router(config)#router ospf 100
Router(config-router)#router-id 192.168.255.253
Router(config-router)#network 192.168.11.20 0.0.0.3 area 0
Router(config-router)#network 192.168.11.24 0.0.0.3 area 0
Router(config-router)#network 192.168.4.0 0.0.0.255 area 0