How to configure OSPF Totally Stub Area

In the first lesson, I gave an overview of the different OSPF special area types. I also covered the OSPF stub area, and now it’s time to demonstrate the totally stub area.  This is the network topology that we will use:

ospf stub area
Above, you see two areas, 0 and 1. This is the configuration that we will use:

R1(config)#router ospf 1
R1(config-router)#network 192.168.12.0 0.0.0.255 area 0
R1(config-router)#redistribute connected subnets
R2(config)#router ospf 1
R2(config-router)#network 192.168.12.0 0.0.0.255 area 0
R2(config-router)#network 192.168.23.0 0.0.0.255 area 1
R3(config)#router ospf 1
R3(config-router)#network 192.168.23.0 0.0.0.255 area 1

All the networks are advertised in the correct OSPF areas except for the loopback0 interface on R1. We will redistribute it, so it becomes an LSA type 5. Let’s take a look at the routing table of R3:

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now!

  • Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.
  • Try for Just $1. The Best Dollar You’ve Ever Spent on Your Cisco Career!
  • Full Access to our 804 Lessons. More Lessons Added Every Week!
  • Content created by Rene Molenaar (CCIE #41726)
477 Sign Ups in the last 30 days
satisfaction-guaranteed

  • 100% Satisfaction Guaranteed!
  • You may cancel your monthly membership at any time.
  • No Questions Asked!

Forum Replies

  1. Rene, great lesson, learned a lot from you, keep up the great posts

  2. So easy to understand. thank you very much.

  3. keep up the good work

  4. Hi Rene,

    As I read some article about STUB, Stub-Summary, NSSA, NSSA-Summary. It just block External Route or Internal Route or Both to advertise, but it always inject default route to destination. the purpose the new these feature to reduce amount of cpu hit. Am i right ?

    Please explain more about it.

  5. Hi Chheang,

    Not all “stub” types will insert a default route.

    Areas that only have one exit point (area 0) don’t need to know all internal routes. By using the stub areas, we can reduce the size of their routing tables. A smaller routing table means a reduced memory requirement.

    Rene

20 more replies! Ask a question or join the discussion by visiting our Community Forum