OSPF is a link-state routing protocol that elects a designated router (DR) and backup designated router (BDR) on each multi-access network. Routers exchange link state advertisements (LSAs) to build a link-state database and independently calculate the shortest path tree to reach all destinations in the autonomous system. OSPF supports various area types including stub, totally stubby, and not-so-stubby areas which control the types of LSAs that are flooded in the area.
OSPF is a link-state routing protocol that elects a designated router (DR) and backup designated router (BDR) on each multi-access network. Routers exchange link state advertisements (LSAs) to build a link-state database and independently calculate the shortest path tree to reach all destinations in the autonomous system. OSPF supports various area types including stub, totally stubby, and not-so-stubby areas which control the types of LSAs that are flooded in the area.
OSPF is a link-state routing protocol that elects a designated router (DR) and backup designated router (BDR) on each multi-access network. Routers exchange link state advertisements (LSAs) to build a link-state database and independently calculate the shortest path tree to reach all destinations in the autonomous system. OSPF supports various area types including stub, totally stubby, and not-so-stubby areas which control the types of LSAs that are flooded in the area.
OSPF is a link-state routing protocol that elects a designated router (DR) and backup designated router (BDR) on each multi-access network. Routers exchange link state advertisements (LSAs) to build a link-state database and independently calculate the shortest path tree to reach all destinations in the autonomous system. OSPF supports various area types including stub, totally stubby, and not-so-stubby areas which control the types of LSAs that are flooded in the area.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online from Scribd
Download as pdf or txt
You are on page 1/ 1
highest loopback IP (up/up)
highest interface IP (up/up)
Change considered when OSPF process restarted Router ID 10 sec LAN If RID changed, SPF is run again Hello keep alive 30 sec T1 or lower Changes on reboot, OSPF proc restart or router-id command Dead Interval - 4 x Hello LSA HDRs w/ SEQ # DBD new LSA 0x80001 to 0x7FFFF Priority Packet Types When reset to 0x80001, flood LSA RID Election LSR asks for missing LSA info from DD RTRs don't preempt LSU in reply to LSR BDR turns DR DR DR failure Ack LSU election for new BDR LSAck can ack with LSAck or same LSU One for each shared segment
Pick Rtr RID
add int. to LSDB Down State send hello Flooded every 30 min if no changes check hello and dead timers, net mask, area id, and stub flag rcv hello Init Type 1 Router Inner area routes reply hello only adj w/ DR passes this point 2way OSPF Type 2 Network Generated by DR LSA Type 3 Summary area routes, from ABR DR/BDR election, or highest IP first Master/Slave determined by priority Type 4 Summary for ASBR Location of ASBR Adjacency States Type 5 External routes from external AS Master sends its DBD then slave sends its DBD Exstart/Exchange Type 7 NSSA generated to pass through NSSA DBD (LSA headers) compare LSA Seq #s LSR, LSU, LSAck Loading DBD can be ack'd with same DBD Full - independently run SPF
No Type 5s (E1, E2)
Stub IA* 0.0.0.0 /0 Fix: subnet Auto sums redist. routes Blocks all LSAs (3,4,5), No IA, E1, or E2 best for multi exits E1 increments cost along the way Totally stubby area IA* 0.0.0.0 /0 best for one exit point E2 same cost (Default) Summarization area 1 stub no-summary @ ABR - area 1 range x.x.x.x 255.255.x.x Areas No type 5 @ ASBR - summary address NSSA Type 7 converts type 5 at ABR subnets must exist area 1 nssa No type 3,4, or 5 LSA NSSA totally stubby area allows type 7 to convert type 5s like total stub, but passes type 7s
Config area with authentication
md5 Config RTRs in area with auth key Authentication clear text 100/BW (Mbps) one subnet
fastethernet or faster is cost of 1 static neighbors
auto-cost Non-Broadcast Solution: auto-cost reference-bandwidth 1000 (max speed) acts like LAN must be same on all OSPF routers DR/BDR Election Prevents LSDB overload No DR/BDR Max LSA P-2-M Neighbors auto form router ospf 1: max-lsa # (per min basis) default route for all OSPF routers if one exists one subnet default-information originate one subnet default-information originate always 12.3(11)T and on Network Types P-2-M non-broadcast No DR/BDR static neighbors int e0/0 Advanced example Config OSPF @ interface one subnet adv secondary address by default ip ospf 1 area 3 no secondary address Full Mesh req Broadcast Mode route-map eigrp2ospf DR/BDR Election match ip address 20 Neighbors auto form set tag 10 route tagging different subnets P-2-P subinterfaces router ospf 1 No DR/BDR
router ospf 1 Route Filtering area 1 filter-list prefix NAME in [out] (of area) set RID sets the area that's doing the linking area 1 virtual-link 2.2.2.2 Virtual Links config on both ABRs