0% found this document useful (0 votes)
501 views1 page

OSPF Cheat Sheet

Link state routing protocol OSPF uses link state advertisements (LSAs) to share routing information between routers. There are 5 main LSA types: Type 1 shares links and costs within an area, Type 2 lists attached routers within an area, Type 3 and 4 advertise routes between areas, and Type 5 advertises external routes throughout the autonomous system. OSPF establishes neighbor relationships using Hello packets and maintains the link state database using Link State Updates and Acknowledgements.

Uploaded by

juan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
501 views1 page

OSPF Cheat Sheet

Link state routing protocol OSPF uses link state advertisements (LSAs) to share routing information between routers. There are 5 main LSA types: Type 1 shares links and costs within an area, Type 2 lists attached routers within an area, Type 3 and 4 advertise routes between areas, and Type 5 advertises external routes throughout the autonomous system. OSPF establishes neighbor relationships using Hello packets and maintains the link state database using Link State Updates and Acknowledgements.

Uploaded by

juan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Packet Types Basic Configuration Link State Advertisements (LSA) Types

Key Features
commands
Hello Discover and maintain neighbors
Router ospf <process id> Type 1 (Router • list all router’s links / interfaces + cost
Link State Routing Protocol Database Description
Summary of database LSA) • flooded only within the area
(DD) Network <network > <Wildcard
Dijkstra Algorithm
Link State Request mask> area <area id> • produced by the DR
Database download Type 2 (Network
Multicast Address for OSPF (LSR)
area area-id virtual-link router-id • list all attached routers
LSA)
communication – • flooded only within area
Link State Update
• 224.0.0.5 to all OSPF routers Database upload area area-id range ip-address
(LSU)
• 224.0.0.6 to DR and BDR mask Type 3 • originated by ABRs
Link State Ack (LSAck) Flooding acknowledgment (Summary LSA) • Advertised among areas
Administrative Distance = 110 router-id ip-address

VLSM support and CIDR support Adjacency States • originated by ABRs


area area-id stub [no-summary] Type 4 (ASBR-
• Used to advertise the presence of an ASBR
Down ExStart: established M/S relation Summary LSA )
Plaintext and MD5 Authentication within an area
Status & Troubleshooting
Protocol no 89 Attempt (only NBMA) Exchange: sends DD
show ip [route | protocols] • Originated by an ASBR
Type 5 (External
Cost as metric • flooded throughout the AS to advertise a
Init: hello has been LSA )
show ip ospf interface route external to OSPF
seen Loading: sends link state request
Metric
show ip ospf neighbor • originated by ASBRs within not-so-stubby
Type 7 (NSSA areas (NSSAs)
Cost = 2-way: has seen its External LSA) • flooded only within the not-so-stubby area in
10^8 (bps)/link Bandwidth Full: full adjacent debug ip ospf
own ID which it was originated

Router Types Network Types


Area Type LSA 1 &2 LSA 3 & 4 LSA 5 LSA 7
Neighbor Hello / Dead DR/BDR
Area border router (ABR) Connects 2 or more areas Network Type
Discovery Interval Election Backbone Yes Yes Yes No
Broadcast Yes 10/40 Yes
Autonomous system boundary Non-Backbone Yes Yes Yes No
Connects 2 or more AS
router (ASBR) Non-Broadcast No 30/120 Yes
Stub Yes Yes No No
Point-to-Point Yes 10/40 No
Internal router (IR) All interfaces are in the same area
Point-to-Multipoint Yes 30/120 No Totally Stub Yes No No No

Point-to-Multipoint
Backbone router (BR) Atleast 1 interface in the area 0 No 30/120 No Not-so-Stubby Yes Yes No Yes
Non-Broadcast

You might also like