! R1 Configuration hostname R1 interface Loopback0 ip address 10.1.1.1 255.255.255.255 interface Serial0/0 ip address 1.1.1.1 255.255.255.252 no shut interface Serial0/1 ip address 2.2.2.1 255.255.255.252 no shut interface Serial0/2 ip address 3.3.3.1 255.255.255.252 no shut router ospf 10 network 1.1.1.0 0.0.0.3 area 0 network 2.2.2.0 0.0.0.3 area 1 network 3.3.3.0 0.0.0.3 area 2 area 1 stub area 2 stub no-summary redistribute connected subnets ! R4 Configuration hostname R4 interface Loopback0 ip address 40.1.1.1 255.255.255.255 interface Serial0/0 ip address 2.2.2.2 255.255.255.252 no shut router ospf 10 network 2.2.2.0 0.0.0.3 area 1 area 1 stub redistribute connected subnets ! R6 Configuration hostname R6 interface Loopback0 ip address 60.1.1.1 255.255.255.255 ! interface Serial0/0 ip address 4.4.4.2 255.255.255.252 no shut ! router ospf 10 network 4.4.4.0 0.0.0.3 area 3 area 3 nssa redistribute connected subnets | ! R2 Configuration hostname R2 interface Loopback0 ip address 20.1.1.1 255.255.255.255 interface Serial0/0 ip address 1.1.1.2 255.255.255.252 no shut interface Serial0/1 ip address 4.4.4.1 255.255.255.252 no shut interface Serial0/2 ip address 5.5.5.1 255.255.255.252 no shut router ospf 10 network 1.1.1.0 0.0.0.3 area 0 network 4.4.4.0 0.0.0.3 area 3 network 5.5.5.0 0.0.0.3 area 4 area 3 nssa default-information-originate area 4 nssa no-summary redistribute connected subnets ! R5 Configuration hostname R5 interface Loopback0 ip address 50.1.1.1 255.255.255.255 interface Serial0/0 ip address 3.3.3.2 255.255.255.252 no shut router ospf 10 network 3.3.3.0 0.0.0.3 area 2 area 2 stub no-summary redistribute connected subnets ! R7 Configuration hostname R7 interface Loopback0 ip address 70.1.1.1 255.255.255.255 ! interface Serial0/0 ip address 5.5.5.2 255.255.255.252 no shut router ospf 10 network 5.5.5.0 0.0.0.3 area 4 area 4 nssa no-summary redistribute connected subnets |
Verification commands:
Show ip route
Show ip ospf border-router
Show ip ospf interface s0/0
show ip ospf neighbor
show ip ospf database
Debug ip ospf adj
Debug ip ospf packet
Show ip route
Show ip ospf border-router
Show ip ospf interface s0/0
show ip ospf neighbor
show ip ospf database
Debug ip ospf adj
Debug ip ospf packet