In this lab you will learn how to configure the different types of Open Shortest Path First (OSPF) Stub areas to conserve router resources and ease network management.
Real World Application & Core Knowledge
In Lab 9-1 – Configuring Basic OSPF you learned about Stub area’s and their purpose and how they operate. In this lab you will review those concepts and put the technology to use.
Stub Area – An area that has a single exit point and blocks type 5/7 LSA types and receives type 3/4 LSA’s with a default route (0.0.0.0/0) This type of stub area is an IETF standard. To configure an Area as a stub you’d execute the area # stub in OSPF router configuration mode on the ABR.
Not-So-Stubby-Area (NSSA) – This area allows a stub area to have characteristics of a stub and non stub. External routes advertised into the OSPF autonomous system by am NSSA advertising an LSA type 7 which is translated at the ABR to type 5 and forwarded into the OSPF backbone. This type of stub area is an IETF standard. To configure an area as a NSSA you’d execute the area # nssa in OSPF router configuration mode on the ABR.
Totally Stubby Area – Permits type 1 and 2 LSA’s while blocking types 3*/4/5/7 LSA’s. *TSA’s receive a single type 3 LSA containing a default route to the ABR. This type of stub area is an extension to OSPF created by Cisco. To configure an area as a totally stubby area you’d execute the area # stub no-summary in OSPF router configuration mode on the ABR.
Totally NSSA – Is an area that permits LSA’s 1, 2 and 7 while blocking 3 4 and 5. This stub area receives a default route from the ABR using a type 3 LSA. This type of stub area is an extension to OSPF created by Cisco. To configure an area as a not so totally stubby area area you’d execute the area # nssa no-summary in OSPF router configuration mode on the ABR.
When configuring an area stub type the command is executed on the ABR, however when you specify an area as a stub on the ABR, all routers in that area must have be configured as a stub by using the area # stub
In this lab you will configure and verify area 3 as a stub area and totally stubby area.
Familiarize yourself with the following new command(s);
area # stub – This command is executed in OSPF configuration mode to configure a specific area in OSPF as a stub. All routers in a stub area must have the stub area flag set. This means that all routers in the area must be configure with this command if the ABR has the area configured as a stub.
area # nssa – This command is executed in OSPF configuration mode on the ABR to specify an area as a not so stubby area. This type of area allows for redistributed routes as a type 7 lsa which is translated to a type 5 at the ABR before being propagated through out the autonomous system.
area # stub no-summary – This command is executed in OSPF configuration mode on the ABR to specify an area as a totally stubby area which only allows type 1 and 2 LSA’s and a single type 3 LSA (default route) from the ABR. all other LSA’s are blocked.
area # nssa no-summary – This command is executed in OSPF configuration mode on the ABR in OSPF configuration mode to specify a specific area as a not so totally stubby area which blocks types 3 4 and 5 LSA’s but allows a single type 3 LSA as the default route and type 7 LSA’s internal to the area.
The following logical topology shown below is used in labs found through out Section 9 – Configuring OSPF;
Lab Prerequisites
• If you completed lab 9-8 you can start where you’ve left off or you can load the Free CCNA Workbook GNS3 topology; start and establish a console session with R1, R2, R3, R4, R5 and SW1 then load their initial configurations included below by copying the config from the textbox and pasting it into the routers console.
Initial Configurations
Lab Objectives
• Configure Area 3 as a stub area. Afterward; verify the routing table on R3.
• Configure Area 3 as a totally stubby area. Afterward; verify the routing table on R3.
Lab Instruction
Objective 1. – Configure Area 3 as a stub area. Afterward; verify the routing table on R3.
To complete this objective you must specify Area 3 as a stub area on the ABR and all routers that participate in area 3 as shown below;
R2#configure terminal |
When configuring the are Area Border Router you’ll notice the neighbor relationship will drop as shown above due to the stub flag not matching in the hello packets. However when you configure the neighboring router in area 3 (R3) as a stub area the neighbor relationship will rebuild as shown below;
R3# |
Shown below is the routing table of R3 to verify that R3 is indeed receiving the correct default route from the ABR.
R3#show ip route |
You can also verify that Area 3 is a stub area by using the show ip ospf command on R2 or R3 as this will explicitly tell you rather or not a specific area is a stub area as shown below;
R3#show ip ospf |
Objective 2. – Configure Area 3 as a totally stubby area. Afterward; verify the routing table on R3.
To configure Area 3 as a totally stubby area you only need to change the stub type on the ABR now as R3 already has area 3 specified as a stub due to the previous objective.
R2#configure terminal |
Shown below is the routing table of R3, you’ll notice that R3 is now only receiving a default route from R2 (The ABR) as the ABR is treating area 3 as a totally stubby area, it is only advertising a single type 3 LSA which is the default route shown in the routing table as O*IA 0.0.0.0/0 and blocking type 3 and 4 LSA’s which are the other area routes which would typically be O*IA routes as shown in verification of Objective 1.
R3#show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is 10.1.23.1 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 3 subnets, 3 masks
C 10.1.23.0/30 is directly connected, Serial1/1
C 10.1.23.1/32 is directly connected, Serial1/1
C 10.55.30.0/24 is directly connected, Loopback0
O*IA 0.0.0.0/0 [110/65] via 10.1.23.1, 00:00:29, Serial1/1
R3#
0 komentar:
Posting Komentar
Silahkan isi kesan hati anda di sini !!!