Home > OSPF LSA Types Lab

OSPF LSA Types Lab

April 27th, 2014 in Basic Labs Go to comments

LSA Types 5 in Stub Area

In the next part we are going to configure Area 1 as a Stub Area. To configure a stub area we have to type below commands on all routers in that stub area:

R2, R3, R4:
router ospf 1
area 1 stub

A warning message “Warning: Router is currently an ASBR while having only one area which is a stub area” appears when we configure stub area on R3. Remember that R3 is currently an ASBR and redistributed routes are not accepted in stub areas.


We can check to see Area 1 is now a stub area with the “show ip ospf” command:


LSA Type 5 is not allowed in stub area (only Type 1, 2, 3 allowed in Stub area) so we don’t see Type 5 in R4 OSPF database:


As we can see in the output above, R4 has a Link ID of advertised by R2. This is the default route to reach outside networks. It is injected into the area by the ABR (R2)


LSA Types 4 & 5 are also removed from R7:


In conclusion, LSA Type 5 is not supported in Stub area. But remember Stub area does support LSA Type 3.

LSA Type 5 in Not-So-Stubby-Area

Type 5 is not allowed in Stub area so we have to convert Area 1 into Not-So-Stubby-Area (NSSA)

Configure Area 1 as Not-So-Stubby Area:

R2, R3, R4:
router ospf 1
no area 1 stub //Before configuring Area 1 as NSSA we need to disable stub area first
area 1 nssa

When Area 1 becomes NSSA, ASBR is allowed to redistribute external routes but LSAs Type 5 are still not allowed in NSSA areas so the NSSA ASBR (R3) generates a type 7 LSA instead, which remains within the NSSA. This type 7 LSA gets translated back into a type 5 by the NSSA ABR (R2).

OSPF_LSAs_Types_7.jpgLet’s check the OSPF databases of some routers:


On R7 only Type 5 LSA exists. R2 is the only router we can see both Type 5 and Type 7:


Check R4, only Type 7 exists:


Redistributed routes appear as O N2 in NSSA. For example on R4:


while redistributed routes appear as O E2 on R7:


  1. Lalit Sharma
    January 28th, 2017

    Fantabulous, never seen such a great explanation….
    One thing to add after changing Area 1 as NSSA the Link ID in LSA 4 has changed from to on router 7 and also forward address changed to, any guess ?

  2. TT
    February 14th, 2017

    Awesome explanation. I’ve simulated your configuration and was able to follow through.. This ‘s definitely the best Tutorial of LSA Type that I have seen so far.. Thank you so much.

  3. GP
    March 6th, 2017

    very good stuff, well thought out and demonstrated

  4. Red1
    April 21st, 2017

    Excellent explanation thanks.

  5. quest
    June 16th, 2017


  6. Anonymous
    June 20th, 2017

    Thank you !!!

  7. K
    July 3rd, 2017
  8. Ambroz
    July 31st, 2017

    Excellent work

  9. anonymous
    September 4th, 2017

    Great tutorial

  10. KO
    October 23rd, 2017

    Excellent, but I confused little about LSA type 2.

  11. Hazem
    October 28th, 2017

    Great tutorial!

  12. Anonymous
    November 21st, 2017

    good stuff

  13. PHX
    December 27th, 2017

    Nice Explanation,
    Question : Why does RS have both LSA-5 and LSA-7, while it’s configured as NSSA?

  14. PHX
    December 27th, 2017

    Nice Explanation,
    Question : Why does R2* have both LSA-5 and LSA-7, while it’s configured as NSSA?

  15. Przemek
    January 5th, 2018

    PHX, because it its also ABR, has special responsibility for distributing information between Areas and belongs to two areas.

  16. cciedumps
    January 22nd, 2018

    hello latest dumps

    dot com

  17. Jirehnetworker
    February 16th, 2018


  18. airon
    April 1st, 2018

    Excelent!! Great explanation!! Thanks a lot. sometimes I was confused about lsa type 4 and 5

  19. Pass4Sure
    June 6th, 2018

    latest dumps.
    100% Guaranteed VALID passing Material

    CCNA 200-125 LAtest Dumps
    CCNP ROUTE 300-101 Latest Dumps
    CCNP SWITCH 300-115 LAtest Dumps
    CCNP TSHOOT 300-135 LAtest Dumps
    CCIE R&S 400-101 LAtest Dumps


    Call 24/7 for instant help
    001 (347) 696-4896

  20. Fahad
    November 23rd, 2018

    Hello please any one can send me the latest dumps of CCNP Router and Tshoot + Switch who recently pass The NP exam ({email not allowed})

  21. Fahad
    November 23rd, 2018

    email fahadkhan3333 ad the rate outlook dot com

  22. Jack
    November 30th, 2018

    Simply Outstanding and Awesome Tutorial on LSA Types.

  23. SGK
    February 20th, 2019

    Excellent! Very good tutorial

  24. Anonymous
    May 1st, 2019

    I was contemplating on purchasing membership. but the GNS topology file looks very old. Is it possible to have one for the latest GNS3 2.1.x release?

  25. Dusannt
    May 14th, 2020

    thanks for the explanation, very good.

  26. nhema
    April 7th, 2021

    How can I open this .net file?
    Cant anybody let me know how I can use with IOU Web

  1. No trackbacks yet.