Objectives:
1)Actual Configuration (Without Stubby and Totally Stubby Area Configuration)
2)Configure Stubby Area (For Area 1) And Compare
3)Configure Totally Stubby Area (For Area 2) And Compare
4)And After All Configuration Configure No So Stubby Area (For Area 2)
5) R4 Must Be Advertise All EX Routes From R5 To All OSPF Network (LSA Type 7)
To See Configuration Click Read More.
Router 1
R1#show running-config
hostname R1
!
interface Loopback0
ip address 10.1.1.1 255.255.255.0
ip ospf network point-to-point
!
interface Serial1/0
ip address 10.0.12.1 255.255.255.0
clock rate 2016000
!
router ospf 1
router-id 1.1.1.1
network 10.0.12.1 0.0.0.0 area 1
network 10.1.1.1 0.0.0.0 area 1
!
end
R1#show ip interface brief | include up
Serial1/0 10.0.12.1 YES manual up up
Loopback0 10.1.1.1 YES manual up up
R1#show ip route ospf
O IA 10.5.5.0 [110/257] via 10.0.12.2, 00:31:44, Serial1/0
O IA 10.4.4.0 [110/193] via 10.0.12.2, 00:35:25, Serial1/0
O IA 10.3.3.0 [110/129] via 10.0.12.2, 00:40:39, Serial1/0
O IA 10.2.2.0 [110/65] via 10.0.12.2, 00:47:46, Serial1/0
O IA 10.0.23.0 [110/128] via 10.0.12.2, 00:40:49, Serial1/0
O IA 10.0.45.0 [110/256] via 10.0.12.2, 00:31:53, Serial1/0
O IA 10.0.34.0 [110/192] via 10.0.12.2, 00:35:35, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.12.2, 00:26:24, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.12.2, 00:26:24, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.12.2, 00:26:24, Serial1/0
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 0 FULL/ - 00:00:39 10.0.12.2 Serial1/0
Router 2
R2#show running-config
hostname R2
!
interface Loopback0
ip address 10.2.2.2 255.255.255.0
ip ospf network point-to-point
!
interface Serial1/0
ip address 10.0.12.2 255.255.255.0
clock rate 2016000
!
interface Serial1/1
ip address 10.0.23.2 255.255.255.0
clock rate 2016000
!
router ospf 1
router-id 2.2.2.2
network 10.0.12.2 0.0.0.0 area 1
network 10.0.23.2 0.0.0.0 area 0
network 10.2.2.2 0.0.0.0 area 0
!
end
R2#show ip interface brief | inc up
Serial1/0 10.0.12.2 YES manual up up
Serial1/1 10.0.23.2 YES manual up up
Loopback0 10.2.2.2 YES manual up up
R2#show ip route ospf
O IA 10.5.5.0 [110/193] via 10.0.23.3, 00:34:57, Serial1/1
O 10.4.4.0 [110/129] via 10.0.23.3, 00:38:37, Serial1/1
O 10.3.3.0 [110/65] via 10.0.23.3, 00:43:51, Serial1/1
O 10.1.1.0 [110/65] via 10.0.12.1, 00:50:59, Serial1/0
O IA 10.0.45.0 [110/192] via 10.0.23.3, 00:35:06, Serial1/1
O 10.0.34.0 [110/128] via 10.0.23.3, 00:38:47, Serial1/1
O E2 192.168.1.0/24 [110/200] via 10.0.23.3, 00:29:41, Serial1/1
O E2 192.168.2.0/24 [110/200] via 10.0.23.3, 00:29:41, Serial1/1
O E2 192.168.3.0/24 [110/200] via 10.0.23.3, 00:29:41, Serial1/1
R2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/ - 00:00:36 10.0.23.3 Serial1/1
1.1.1.1 0 FULL/ - 00:00:36 10.0.12.1 Serial1/0
Router 3
R3#show running-config
hostname R3
!
interface Loopback0
ip address 10.3.3.3 255.255.255.0
ip ospf network point-to-point
!
interface Serial1/0
ip address 10.0.23.3 255.255.255.0
clock rate 2016000
!
interface Serial1/1
ip address 10.0.34.3 255.255.255.0
serial restart-delay 0
clock rate 2016000
!
router ospf 1
router-id 3.3.3.3
redistribute static metric 200 subnets
network 10.0.23.3 0.0.0.0 area 0
network 10.0.34.3 0.0.0.0 area 0
network 10.3.3.3 0.0.0.0 area 0
!
ip route 192.168.1.0 255.255.255.0 Null0
ip route 192.168.2.0 255.255.255.0 Null0
ip route 192.168.3.0 255.255.255.0 Null0
!
end
R3#show ip interface brief | in up
Serial1/0 10.0.23.3 YES manual up up
Serial1/1 10.0.34.3 YES manual up up
Loopback0 10.3.3.3 YES manual up up
R3#show ip route
O IA 10.0.12.0 [110/128] via 10.0.23.2, 00:47:13, Serial1/0
O IA 10.5.5.0 [110/129] via 10.0.34.4, 00:38:16, Serial1/1
O 10.4.4.0 [110/65] via 10.0.34.4, 00:42:07, Serial1/1
C 10.3.3.0 is directly connected, Loopback0
O 10.2.2.0 [110/65] via 10.0.23.2, 00:47:13, Serial1/0
O IA 10.1.1.0 [110/129] via 10.0.23.2, 00:47:13, Serial1/0
C 10.0.23.0 is directly connected, Serial1/0
O IA 10.0.45.0 [110/128] via 10.0.34.4, 00:38:25, Serial1/1
C 10.0.34.0 is directly connected, Serial1/1
S 192.168.1.0/24 is directly connected, Null0
S 192.168.2.0/24 is directly connected, Null0
S 192.168.3.0/24 is directly connected, Null0
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
4.4.4.4 0 FULL/ - 00:00:31 10.0.34.4 Serial1/1
2.2.2.2 0 FULL/ - 00:00:34 10.0.23.2 Serial1/0
Router 4
R4#show running-config
hostname R4
!
interface Loopback0
ip address 10.4.4.4 255.255.255.0
ip ospf network point-to-point
!
interface Serial1/0
ip address 10.0.34.4 255.255.255.0
clock rate 2016000
!
interface Serial1/1
ip address 10.0.45.4 255.255.255.0
clock rate 2016000
!
router ospf 1
router-id 4.4.4.4
network 10.0.34.4 0.0.0.0 area 0
network 10.0.45.4 0.0.0.0 area 2
network 10.4.4.4 0.0.0.0 area 0
!
end
R4#show ip interface brief | inc up
Serial1/0 10.0.34.4 YES manual up up
Serial1/1 10.0.45.4 YES manual up up
Loopback0 10.4.4.4 YES manual up up
R4#show ip route ospf
O IA 10.0.12.0 [110/192] via 10.0.34.3, 00:41:24, Serial1/0
O 10.5.5.0 [110/65] via 10.0.45.5, 00:41:09, Serial1/1
O 10.3.3.0 [110/65] via 10.0.34.3, 00:41:24, Serial1/0
O 10.2.2.0 [110/129] via 10.0.34.3, 00:41:24, Serial1/0
O IA 10.1.1.0 [110/193] via 10.0.34.3, 00:41:24, Serial1/0
O 10.0.23.0 [110/128] via 10.0.34.3, 00:41:24, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.34.3, 00:35:53, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.34.3, 00:35:53, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.34.3, 00:35:53, Serial1/0
R4#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
3.3.3.3 0 FULL/ - 00:00:36 10.0.34.3 Serial1/0
5.5.5.5 0 FULL/ - 00:00:36 10.0.45.5 Serial1/1
Router 5
R5#show running-config
hostname R5
!
interface Loopback0
ip address 10.5.5.5 255.255.255.0
ip ospf network point-to-point
!
interface Serial1/0
ip address 10.0.45.5 255.255.255.0
clock rate 2016000
!
router ospf 1
router-id 5.5.5.5
network 10.0.45.5 0.0.0.0 area 2
network 10.5.5.5 0.0.0.0 area 2
!
end
R5#show ip interface brief | in up
Serial1/0 10.0.45.5 YES manual up up
Loopback0 10.5.5.5 YES manual up up
R5#show ip route ospf
O IA 10.0.12.0 [110/256] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.4.4.0 [110/65] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.3.3.0 [110/129] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.2.2.0 [110/193] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.1.1.0 [110/257] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.0.23.0 [110/192] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.0.34.0 [110/128] via 10.0.45.4, 00:43:46, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.45.4, 00:38:24, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.45.4, 00:38:24, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.45.4, 00:38:24, Serial1/0
R5#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
4.4.4.4 0 FULL/ - 00:00:38 10.0.45.4 Serial1/0
---------------------------------------------------------
Configure Stubby Area (For Area 1)
*** Stubby Area: Blocks Type 5 LSAs From Entering (5-External LSA, ASBR Summary routes)
Router 2
R2#configure terminal
R2(config)#router ospf 1
R2(config-router)#area 1 stub
*Mar 1 01:15:47.255: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial1/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R2(config-router)#end
Router 1
R1#configure terminal
R1(config)#router ospf 1
R1(config-router)#area 1 stub
*Mar 1 01:28:28.035: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on Serial1/0 from LOADING to FULL, Loading Done
R1(config-router)#end
R1#show ip route ospf (Before Stubby Area Configuration)
O IA 10.5.5.0 [110/257] via 10.0.12.2, 00:31:44, Serial1/0
O IA 10.4.4.0 [110/193] via 10.0.12.2, 00:35:25, Serial1/0
O IA 10.3.3.0 [110/129] via 10.0.12.2, 00:40:39, Serial1/0
O IA 10.2.2.0 [110/65] via 10.0.12.2, 00:47:46, Serial1/0
O IA 10.0.23.0 [110/128] via 10.0.12.2, 00:40:49, Serial1/0
O IA 10.0.45.0 [110/256] via 10.0.12.2, 00:31:53, Serial1/0
O IA 10.0.34.0 [110/192] via 10.0.12.2, 00:35:35, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.12.2, 00:26:24, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.12.2, 00:26:24, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.12.2, 00:26:24, Serial1/0
R1#show ip route ospf (After Stubby Area Configuration)
O IA 10.5.5.0 [110/257] via 10.0.12.2, 00:03:08, Serial1/0
O IA 10.4.4.0 [110/193] via 10.0.12.2, 00:03:08, Serial1/0
O IA 10.3.3.0 [110/129] via 10.0.12.2, 00:03:08, Serial1/0
O IA 10.2.2.0 [110/65] via 10.0.12.2, 00:03:08, Serial1/0
O IA 10.0.23.0 [110/128] via 10.0.12.2, 00:03:08, Serial1/0
O IA 10.0.45.0 [110/256] via 10.0.12.2, 00:03:08, Serial1/0
O IA 10.0.34.0 [110/192] via 10.0.12.2, 00:03:08, Serial1/0
O*IA 0.0.0.0/0 [110/65] via 10.0.12.2, 00:03:08, Serial1/0
---------------------------------------------------------
Configure Totally Stubby Area (For Area 2)
Router 4
R4#configure terminal
R4(config)#router ospf 1
R4(config-router)#area 2 stub no-summary (Cisco Propietary)
*Mar 1 01:33:34.323: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on Serial1/1 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R4(config-router)#end
Router 5
R5#configure terminal
R5(config)#router ospf 1
R5(config-router)#area 2 stub (In Standard)
*Mar 1 01:33:09.287: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial1/0 from LOADING to FULL, Loading Done
R5(config-router)#end
R5#show ip route ospf (Before Totally Stubby Area Configuration)
O IA 10.0.12.0 [110/256] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.4.4.0 [110/65] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.3.3.0 [110/129] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.2.2.0 [110/193] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.1.1.0 [110/257] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.0.23.0 [110/192] via 10.0.45.4, 00:43:46, Serial1/0
O IA 10.0.34.0 [110/128] via 10.0.45.4, 00:43:46, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.45.4, 00:38:24, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.45.4, 00:38:24, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.45.4, 00:38:24, Serial1/0
R5#show ip route ospf (After Totally Stubby Area Configuration)
O*IA 0.0.0.0/0 [110/65] via 10.0.45.4, 00:03:03, Serial1/0
---------------------------------------------------------
Configuration Configure Not So Stubby Area (For Area 2)
*** Not-So-Stabby Area: Passes external routes through via type 7 LSAs; These convert back to type 5 once they reach the backbone area
Router 5 Have New Ex Routes Redistributed Into OSPF Network
Router 5
R5#configure terminal
R5(config)#router ospf 1
R5(config-router)#no area 2 stub
*Mar 1 03:37:11.051: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial1/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R5(config-router)#area 2 nssa (Not So Stubby Area)
Router 4R4#configure terminal
R4(config)#router ospf 1
R4(config-router)#no area 2 stub no-summary
R4(config-router)#area 2 nssa no-summary
*Mar 1 03:54:46.243: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on Serial1/1 from LOADING to FULL, Loading Done
R4(config-router)#end
R4#show ip route ospf (Before Configuration) There can not see Ex routes from R5
O IA 10.0.12.0 [110/192] via 10.0.34.3, 01:50:46, Serial1/0
O 10.5.5.0 [110/65] via 10.0.45.5, 01:44:29, Serial1/1
O 10.3.3.0 [110/65] via 10.0.34.3, 01:50:46, Serial1/0
O 10.2.2.0 [110/129] via 10.0.34.3, 01:50:46, Serial1/0
O IA 10.1.1.0 [110/193] via 10.0.34.3, 01:50:46, Serial1/0
O 10.0.23.0 [110/128] via 10.0.34.3, 01:50:46, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.34.3, 01:50:50, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.34.3, 01:50:50, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.34.3, 01:50:50, Serial1/0
O N2 172.16.1.0 [110/200] via 10.0.45.5, 00:04:36, Serial1/1
O N2 172.16.2.0 [110/200] via 10.0.45.5, 00:04:36, Serial1/1
O N2 172.16.3.0 [110/200] via 10.0.45.5, 00:04:36, Serial1/1
Router 3
---------------------------------------------------------
Configuration Configure Not So Stubby Area (For Area 2)
*** Not-So-Stabby Area: Passes external routes through via type 7 LSAs; These convert back to type 5 once they reach the backbone area
Router 5 Have New Ex Routes Redistributed Into OSPF Network
Router 5
R5#configure terminal
R5(config)#router ospf 1
R5(config-router)#no area 2 stub
*Mar 1 03:37:11.051: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4.4 on Serial1/0 from FULL to DOWN, Neighbor Down: Adjacency forced to reset
R5(config-router)#area 2 nssa (Not So Stubby Area)
R5(config-router)#end
R4(config)#router ospf 1
R4(config-router)#no area 2 stub no-summary
R4(config-router)#area 2 nssa no-summary
*Mar 1 03:54:46.243: %OSPF-5-ADJCHG: Process 1, Nbr 5.5.5.5 on Serial1/1 from LOADING to FULL, Loading Done
R4(config-router)#end
O IA 10.0.12.0 [110/192] via 10.0.34.3, 01:50:46, Serial1/0
O 10.5.5.0 [110/65] via 10.0.45.5, 01:44:29, Serial1/1
O 10.3.3.0 [110/65] via 10.0.34.3, 01:50:46, Serial1/0
O 10.2.2.0 [110/129] via 10.0.34.3, 01:50:46, Serial1/0
O IA 10.1.1.0 [110/193] via 10.0.34.3, 01:50:46, Serial1/0
O 10.0.23.0 [110/128] via 10.0.34.3, 01:50:46, Serial1/0
O E2 192.168.1.0/24 [110/200] via 10.0.34.3, 01:50:50, Serial1/0
O E2 192.168.2.0/24 [110/200] via 10.0.34.3, 01:50:50, Serial1/0
O E2 192.168.3.0/24 [110/200] via 10.0.34.3, 01:50:50, Serial1/0
R4#show ip route | include N2 (After Configuration)
N2 - OSPF NSSA external type 2O N2 172.16.1.0 [110/200] via 10.0.45.5, 00:04:36, Serial1/1
O N2 172.16.2.0 [110/200] via 10.0.45.5, 00:04:36, Serial1/1
O N2 172.16.3.0 [110/200] via 10.0.45.5, 00:04:36, Serial1/1
R4#show ip ospf database (Lines Omitted)
OSPF Router with ID (4.4.4.4) (Process ID 1)
Type-7 AS External Link States (Area 2)
Link ID ADV Router Age Seq# Checksum Tag
172.16.1.0 5.5.5.5 1002 0x80000001 0x006D89 0
172.16.2.0 5.5.5.5 1002 0x80000001 0x006293 0
172.16.3.0 5.5.5.5 1002 0x80000001 0x00579D 0
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
172.16.1.0 4.4.4.4 988 0x80000001 0x0020E4 0
172.16.2.0 4.4.4.4 988 0x80000001 0x0015EE 0
172.16.3.0 4.4.4.4 988 0x80000001 0x000AF8 0
***Verify R3 with Show Commands
Router 3
R3#show ip route | include 172.16.
O E2 172.16.1.0 [110/200] via 10.0.34.4, 00:15:57, Serial1/1
O E2 172.16.2.0 [110/200] via 10.0.34.4, 00:15:57, Serial1/1
O E2 172.16.3.0 [110/200] via 10.0.34.4, 00:15:57, Serial1/1
R3#show ip ospf database (Lines Omitted)
OSPF Router with ID (3.3.3.3) (Process ID 1)
Type-5 AS External Link States
Link ID ADV Router Age Seq# Checksum Tag
172.16.1.0 4.4.4.4 1251 0x80000001 0x0020E4 0
172.16.2.0 4.4.4.4 1251 0x80000001 0x0015EE 0
172.16.3.0 4.4.4.4 1251 0x80000001 0x000AF8 0