Saturday, July 9, 2016

OSPF area types

For previous post about LSA types in OSPF...Click here lsa-types-in-ospf

OSPF area types:
  1. Backbone area (area 0)
  2. Standard area
  3. Stub area
  4. Totally stubby area
  5. Not-so-stubby area (NSSA)
Note: The concept of Areas is to compress the LSA’s. so as to reduce the Traffic in Network.
     Let's begin by examining a standard area. Note that the backbone area is essentially a standard area which has been designated as the central point to which all other areas connect, so a discussion of standard area behavior largely applies to the backbone area as well.

Standard Areas:


 In the example above, router 2 acts as the area border router (ABR) between a standard area and the backbone. R3 is redistributing routes from an external domain, and is therefore designated as an autonomous system boundary router (ASBR).

As mentioned, type 1 and 2 LSAs are being flooded between routers sharing a common area. This applies to all area types, as these LSAs are used to build an area's shortest-path tree, and consequently only relevant to a single area. Type 3 and 5 LSAs, which describe internal and external IP routes, respectively, are flooded throughout the backbone and all standard areas. External routes are generated by an ASBR, while internal routes can be generated by any OSPF router.
Note the peculiar case of type 4 LSAs. These LSAs are injected into the backbone by the ABR of an area which contains an ASBR. This is to ensure all other routers in the OSPF domain can reach the 
ASBR.
Standard areas work fine and ensure optimal routing since all routers know about all routes. However, there are often situations when an area has limited access to the rest of the network, and maintaining a full link state database is unnecessary. Additionally, an area may contain low-end routers incapable of maintaining a full database for a large OSPF network. Such areas can be configured to block certain LSA types and become lightweight stub areas.

Stub Areas:
  1. We can’t run the stub area in backbone area
  2.  It allows LSA 1, 2, 3
  3.  It filters LSA 4, 5
  4.  It will create one default route to ABR

For an area to become a stub, all routers belonging to it must be configured to operate as such. Stub routers and non-stub routers will not form adjacencies.
Router(config-router)# area 10 stub
This idea of substituting a single default route for many specific routes can be applied to internal routes as well, which is the case of totally stubby areas.

Totally Stubby Areas:

  1.  It will allows only LSA 1, 2
  2. It filters LSA 3, 4, 5
  3. The use of this area is to compress the LSA’s and database, so that overall burden will be low
  4.  In this also one default to ABR, they will never allow LSA 5.

A stub area is extended to a totally stubby area by configuring all of its ABRs with the no-summary parameter:
Router(config-router)# area 10 stub no-summary
Stub and totally stubby areas can certainly be convenient to reduce the resource utilization of routers in portions of the network not requiring full routing knowledge. However, neither type can contain an ASBR, as type 4 and 5 LSAs are not permitted inside the area. To solve this problem, and in what is arguably the worst naming decision ever made, Cisco introduced the concept of a not-so-stubby area (NSSA).

Not-so-stubby Areas:

  1. NSSA area, it will allows LSA 1, 2, 3 and 7(ON1, ON2)
  2. It filters LSA 5
  3. It has ON2 routes are converted as OE2 routes
  4. LSA 7 will be converted as LSA 5

An NSSA can function as either a stub or totally stubby area. To designate a normal (stub) NSSA, all routers in the area must be so configured:
Router(config-router)# area 10 nssa
Type 3 LSAs will pass into and out of the area. Unlike a normal stub area, the ABR will not inject a default route into an NSSA unless explicitly configured to do so. As traffic cannot be routed to external destinations without a default route, you'll probably want to include one by appending default-information-originate.
Router(config-router)# area 10 nssa default-information-originate

Totally stubby Not-so-Stubby Area:
  1. It will allows LSA 1, 2 and 7
  2. It will generate a default route to the side of ABR
  3. It will never allow LSA – 3 and filter LSA 3, 5.

To expand an NSSA to function as a totally stubby area, eliminating type 3 LSAs, all of its ABRs must be configured with the no-summary parameter:
Router(config-router)# area 10 nssa no-summary
The ABR of a totally stubby NSSA (or not-so-totally-stubby area, if you prefer) injects a default route without any further configuration.
Summary
  • Standard areas can contain LSAs of type 1, 2, 3, 4, and 5, and may contain an ASBR. The backbone is considered a standard area.
  • Stub areas can contain type 1, 2, and 3 LSAs. A default route is substituted for external routes.
  • Totally stubby areas can only contain type 1 and 2 LSAs, and a single type 3 LSA. The type 3 LSA describes a default route, substituted for all external and inter-area routes.
  • Not-so-stubby areas implement stub or totally stubby functionality yet contain an ASBR. Type 7 LSAs generated by the ASBR are converted to type 5 by ABRs to be flooded to the rest of the OSPF domain.

2 comments :

  1. Our Networking training will be scheduled in regular weekdays and weekends based on the students request. We do have fast track Networking training and online Networking training with one-to-one premise. We are giving more Networking training for corporates which employees of their company will be benefits with our training.
    For More Info: Networking Course in Delhi

    ReplyDelete
  2. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. Antminer T19

    ReplyDelete