Documente Academic
Documente Profesional
Documente Cultură
• LSA Types
o Router LSA – type 1
IntraArea LSA generated by every router in the area. Advertises
link states. The LSID = RID of originator
o Network LSA – type 2
Network LSA generated for Multiaccess networks
Generated by DR – LSID = RID of DR
o Summary LSA – type 3
Summary advertisements generated by ABR
Summarizes type 1 LSAs from one area to another
Describes routes to area’s networks (aggregate routes)
LSID = destination network #
Not flooded to stubby, totally stubby, or not so stubby areas
Routes are NOT automatically summarized
o Summary LSA – type 4
Generated by ABR to advertise the presence of an ASBR. ASBR
sends type 1 with e-bit set to ID itself
Routes to ASBR
LSID = RID of describe ASBR
Not flooded to stubby, totally stubby, or not so stubby areas
Routes are NOT automatically summarized
o AS External LSA – type 5
Generated by ASBRs to advertise external networks and
autonomous systems. LSID = external network #
Contains all routes separately, unless manually summarized
ABRs pass type 5 LSAs on to the rest of the AS
o Multicast OSPF LSA – type 6
o NSSA External LSA – type 7
ASBR in a stubby area that needs to pass external routes back into
the AS. Stubby area needs to be reclassified as NSSA to allow
those routes.
ABR receives type 7 LSAs and forwards them as type 5 to the rest
of the AS
o External LSA for BGP – type 8
• Cost/Metric
o 100mbps/link speed = cost
Example 100mbps interface has cost 1
Unfortunately, 1000mbps interface also has cost 1
• Auto-cost reference-bandwidth {ref bw} interface
command to change this behavior
bandwidth {value} interface command to define actual bandwidth
ip ospf cost {value} interface command
• Route summarization
o Occurs at ABRs, relies on contiguous IP design
o Area # range {addr | mask} advertise/not-advertise cost {#}
o Router will create a summarized route to null 0
o ASBR Summarization
Summary-address {addr | mask } tag router config command
• Default route
o Default-information originate always metric {value}
o Per Cisco, default metric of 10.
• OSPF Area Types
o Standard Area
Accepts link updates, route summaries, and external routes
o Stub Area
Blocks type 5 LSAs. No routes external to the AS. If stubs need
to connect to external AS, they use default routes.
o Totally Stubby Area
Blocks type 3, 4, and 5 LSAs. No external AS, no summary
routes. Uses default route for everything outside of the local area.
o Not So Stubby Area
Acts like a stub/tsa but allows ASBR connected to it
ASBR in an NSSA generates type 7 LSA
ABR to NSSA translates Type 7 to Type 5 before passing along to
the rest of the AS
Routes from Type 7 LSA show in routing table as O N1 or O N2
(type 2 is default)
o Stub/TSA/NSSA configuration
Area # stub router configuration command on all routers in area
Area # stub no-summary router configuration command on ABR
for TSA
area # nssa no-summary
o Virtual Links
Allow extension of Area 0 through another area
Area # virtual-link RID where RID is the RID of the neighbor on
the other side of the VL
sho ip ospf virtual-links
o Helpful commands
Sho ip ospf neighbor
Sho ip ospf database
Sho ip ospf adj this is ADJ, not adjacency!!!!!!