The purpose of OSPF NSSA and NSSA totally stub

In OSPF there are many area types:

Stub area : will block external routes LSA type 5, but allow inter area routes LSA type 3 and 4 and injects default route

Totally Stub area: Block External as well as Inter area routes, and inject default route.

Well if I understand the purpose of creating the above areas is kind of reducing the size of the routing table. if that's the case why not just use the Totally Stub area and that will do the job ? I mean without worrying about creating the stub area .

OSPF also has NSSA and NSSA totally stub, when do we need these areas ? I know that NSSA when receiving the redistributed external routes it will mark them as Type 7, then the ABR will convert them to type 5 LSA, but what purpose it serves if it does not reduce the size of the routing table ? Type 7 or Type5 will not reduce the size if I understand..

Thank you
jskfanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

mikebernhardtCommented:
In answer to your first question, yes you could use totally stubby everywhere. You just get less granularity, where the default route might not be the optimum path to some other OSPF area. Totally stubby is a Cisco-proprietary extension (I think) which goes a step further than the RFC.

NSSA allows an area to redistribute routes directly into the area as you said, while still acting as a normal Stub area when it comes to OSPF. NSSA totally stubby serves the same function as totally Stubby, but also allows the routes redistributed into it.

Also note that in OSPF, it's really the LSA database that gets reduced, and the routing table follows.
0
jskfanAuthor Commented:
instead of NSSA area we can just have a normal area... followed by Stub area or better than that by Totally stub area if we want the database or routing table to be smaller
0
mikebernhardtCommented:
NSSA is only useful if you expect to be redistributing routes into a stub area. And whether or not you even bother with stub areas really depends how big your network is. Unless it's got hundreds of routes, there is not really a good reason to bother other than the automatic injection of a default route. But somewhere you probably already have a default route and that's where it would be injected with "default-information originate."
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jskfanAuthor Commented:
This is part of Learning only....
I just wanted to know when should we resort to NSSA or NSSA Totally Stubby.
Knowing that the normal Totally Stubby area can inject the default route and block LSA 3,4,5,7

Regarding "default-information originate", it does not filter out any LSA

if you create it in Router1, I believe other routers ,(I am not sure if they have to be in the same segment and/or same area ) will have a default route created in their routing table.
0
mikebernhardtCommented:
default-information originate has the sole purpose of injecting a default route into the LSA database and it's distributed throughout. It doesn't filter anything, as you said. It only works if you put it on a router that has an actual route to the internet via static route or BGP. Or you can use "default-information originate always" which will inject it even if there is NO path (not a very good idea in most cases).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jskfanAuthor Commented:
Thanks
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Routers

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.