0% found this document useful (0 votes)
10 views28 pages

LAB OSPF Multi Area Configuration PDF 1729225085

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views28 pages

LAB OSPF Multi Area Configuration PDF 1729225085

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

LAB – OSPF Multi-Area Configuration

Objectives
Topology
Backbone Area Configuration
Backbone CR-1 CR-2 Area 0
2/0 2/0

1/0 1/1 1/2 1/3 1/0 1/1 1/2 1/3 Standard Area Configuration

Totally Stubby Area Configuration

1/0 1/1 1/0 1/1 1/0 1/1 1/0 1/1 Totally NSSA Configuration
DR-1 DR-2 DR-3 DR-4

Virtual Link
1/2 1/2 Totally NSSA 1/2 1/2
Totally Stubby

Virtual Link Configuration


Area 10 Area 20 Area 30 Area 40

1/0 1/0 1/0 1/0


Path Selection Configuration
Standard

BR-1 BR-2 BR-3 BR-4


1/1

172.16.0.0/24 172.17.0.0/24 172.18.0.0/24 Primary Path


172.16.1.0/24 172.17.1.0/24 172.18.1.0/24 Area 0
Backup Path
172.19.1.0/24
1/0

External External

HQ Site-A Site-B Site-C


IP Address Table
Router Port IP Address Router Port IP Address
CR1 E1/0 10.10.1.1/30 DR-2 E1/0 10.10.1.6/30
E1/1 10.10.1.5/30 E1/1 10.10.2.6/30
E1/2 10.10.1.9/30 E1/2 10.12.1.1/30
E1/3 10.10.1.13/30 Lo 0 192.168.1.4
E2/0 10.10.1.17/30
Lo 0 192.168.1.1
CR2 E1/0 10.10.2.1/30 Router Port IP Address
10.10.2.5/30 DR-3 E1/0 10.10.1.10/30
E1/1
10.10.2.9/30 E1/1 10.10.2.10/30
E1/2
10.10.2.13/30 E1/2 10.13.1.1/30
E1/3
10.10.1.18/30 Lo 0 192.168.1.5
E2/1
Lo 0 192.168.1.2

Router Port IP Address Router Port IP Address


DR-1 E1/0 10.10.1.2/30 DR-4 E1/0 10.10.1.14/30
E1/1 10.10.2.2/30 E1/1 10.10.2.14/30
E1/2 10.11.1.1/30 E1/2 10.14.1.1/30
Lo 0 192.168.1.3 Lo 0 192.168.1.6
IP Address Table
Router Port IP Address Router Port IP Address
BR-1 E1/0 10.11.1.2/30 BR4-1 E1/0 10.19.1.2/30
Lo 0 192.168.1.7 Lo 0 192.168.1.11
Lo 1 172.16.0.1/24
Lo 3 172.16.1.1/24

Router Port IP Address


BR-2 E1/0 10.12.1.2/30
Lo 0 192.168.1.8
Lo 1 172.17.0.1/24
Lo 3 172.17.1.1/24

Router Port IP Address


BR-3 E1/0 10.13.1.2/30
Lo 0 192.168.1.9
Lo 1 172.18.0.1/24
Lo 3 172.18.1.1/24

Router Port IP Address


BR-4 E1/0 10.14.1.2/30
E1/1 172.19.1.1/24
Lo 0 192.168.1.10
CR-1 Configuration (Backbone Router)

CR-1#show run | sec interface


interface Loopback0
ip address 192.168.1.1 255.255.255.255

interface Ethernet1/0
ip address 10.10.1.1 255.255.255.252
ip ospf network point-to-point

interface Ethernet1/1
ip address 10.10.1.5 255.255.255.252
ip ospf network point-to-point

interface Ethernet1/2
ip address 10.10.1.9 255.255.255.252
ip ospf network point-to-point

interface Ethernet1/3
ip address 10.10.1.13 255.255.255.252
ip ospf network point-to-point

interface Ethernet2/0
ip address 10.10.1.17 255.255.255.252
ip ospf network point-to-point
CR-2 Configuration (Backbone Router)

CR-2#show run | sec interface


interface Loopback0
ip address 192.168.1.2 255.255.255.255

interface Ethernet1/0
ip address 10.10.2.1 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/1
ip address 10.10.2.5 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/2
ip address 10.10.2.9 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/3
ip address 10.10.2.13 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet2/0
ip address 10.10.1.18 255.255.255.252
ip ospf network point-to-point
DR-1 Configuration (ABR Router), Area 10
DR-1#show run | sec interface
interface Loopback0
ip address 192.168.1.3 255.255.255.255

interface Ethernet1/0
ip address 10.10.1.2 255.255.255.252
ip ospf network point-to-point

interface Ethernet1/1
ip address 10.10.2.2 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/2
ip address 10.11.1.1 255.255.255.0

DR-2 Configuration (ABR Router), Area 20 – Totally stubby Area


DR-2#show run | sec interface
interface Loopback0
ip address 192.168.1.4 255.255.255.255

interface Ethernet1/0
ip address 10.10.1.6 255.255.255.252
ip ospf network point-to-point

interface Ethernet1/1
ip address 10.10.2.6 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/2
ip address 10.12.1.1 255.255.255.0
DR-3 Configuration (ABR Router), Area 30 – Totally NSSA
DR-3#show run | sec interface
interface Loopback0 DR-3#show run | sec router
ip address 192.168.1.5 255.255.255.255 router ospf 1
router-id 192.168.1.5
interface Ethernet1/0 area 30 nssa no-summary
ip address 10.10.1.10 255.255.255.252 network 10.10.1.8 0.0.0.3 area 0
ip ospf network point-to-point network 10.10.2.8 0.0.0.3 area 0
network 10.13.1.0 0.0.0.255 area 30
interface Ethernet1/1
ip address 10.10.2.10 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/2
ip address 10.13.1.1 255.255.255.0

DR-4 Configuration (ABR Router), Area 40 , Virtual link (DR-4  → BR-4)


DR-4#show run | sec interface DR-4#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.6 255.255.255.255 router-id 192.168.1.6
area 40 virtual-link 192.168.1.10
interface Ethernet1/0 network 10.10.1.12 0.0.0.3 area 0
ip address 10.10.1.14 255.255.255.252 network 10.10.2.12 0.0.0.3 area 0
ip ospf network point-to-point network 10.14.1.0 0.0.0.255 area 40
interface Ethernet1/1
ip address 10.10.2.14 255.255.255.252
ip ospf network point-to-point
ip ospf cost 100

interface Ethernet1/2
ip address 10.14.1.1 255.255.255.0
BR-1 Configuration (ASBR Router), Area 10, , External Route
BR-1#show run | sec interface BR-1#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.7 255.255.255.255 router-id 192.168.1.7
redistribute connected subnets
interface Loopback1 redistribute static
ip address 172.16.0.1 255.255.255.0 network 10.11.1.0 0.0.0.255 area 10

interface Loopback2
ip address 172.16.1.1 255.255.255.0

interface Ethernet1/0
ip address 10.11.1.2 255.255.255.0
duplex half

BR-2 Configuration , Area 20 – Totally Stubby


BR-2#show run | sec interface BR-2#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.8 255.255.255.255 router-id 192.168.1.8
area 20 stub no-summary
interface Loopback1 network 10.12.1.0 0.0.0.255 area 20
ip address 172.17.0.1 255.255.255.0 network 172.17.0.0 0.0.0.255 area 20
network 172.17.1.0 0.0.0.255 area 20
interface Loopback2
ip address 172.17.1.1 255.255.255.0

interface Ethernet1/0
ip address 10.12.1.2 255.255.255.0
BR-3 Configuration (ASBR Router), Area 30 – Totally NSSA , External Route
BR-3#show run | sec interface BR-3#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.9 255.255.255.255 router-id 192.168.1.9
area 30 nssa no-summary
interface Loopback1 redistribute connected subnets
ip address 172.18.0.1 255.255.255.0 network 10.13.1.0 0.0.0.255 area 30

interface Loopback2
ip address 172.18.1.1 255.255.255.0

interface Ethernet1/0
ip address 10.13.1.2 255.255.255.0
duplex half

BR-4 Configuration ,Area 40 – Totally NSSA , Virtual link (BR-4  → DR-4)


BR-4#show run | sec interface BR-4#show run | sec router
interface Loopback0 router ospf 1
ip address 192.168.1.10 255.255.255.255 router-id 192.168.1.10
area 40 virtual-link 192.168.1.6
interface Ethernet1/0 network 10.14.1.0 0.0.0.255 area 40
ip address 10.14.1.2 255.255.255.0 network 172.19.1.0 0.0.0.255 area 0

interface Ethernet1/1
ip address 172.19.1.1 255.255.255.0
BR4-1 Configuration ,Area 0 – Discontinuous Aera 0

BR4-1#show run | sec interface BR4-1#show run | sec router


interface Loopback0 router ospf 1
ip address 192.168.1.11 255.255.255.255 router-id 192.168.1.11
network 172.19.1.0 0.0.0.255 area 0
interface Ethernet1/0
ip address 172.19.1.2 255.255.255.0
Verification

#show ip ospf neighbor

#show ip ospf database

#show ip ospf virtual-links

#show ip ospf interface brief

#show ip ospf border-routers

#show ip route ospf


Verify the OSPF neighbor relationships

Neighbor ID
→The router ID of the OSPF neighbor
Pri
→The priority of the neighbor
State
→The OSPF state between your
router and the neighbor.
Dead Time
→The amount of time left before
declaring the neighbor down if no
OSPF hello packets are received.
Address
→The IP address of the OSPF
neighbor on the directly connected
interface.
Interface
→The local interface through which
the OSPF neighbor is connected.
Verify the OSPF neighbor relationships
Verify the OSPF Database (LSDB)

Router ID & Process ID



Router Link State s
→Type 1 LSA
Net Link States
→Tye 2 LSA
Summery Net Link States
→Type 3 LSA
Summary ASB Link States
→Type 4 LSA
Type-5 AS External Link States
→Type 5 LSA
--------------------------------
Link ID
→The router ID of the router that originated this LSA.
(Type 1 LSA)
→The IP address of the Designated Router (DR) for the
network. (Type 2 LSA)
→The network address of the advertised destination.
(Type 3 LSA)
→The Router ID of the Autonomous System Boundary
Router (ASBR) (Type 4 LSA)
→Type 5 LSA represents the Network Address of the
external destination being advertised. (Type 5 LSA)
ADV Router
→The router advertising this LSA.
Age
→The time since this LSA was generated or refreshed.
Seq#:
→The sequence number to ensure routers have the
latest LSA.
Checksum
→Used for data integrity of the LSA.
Verify the Routing Table - OSPF

O: →Intra-Area Route
O IA: →Inter-Area Route
O E1: →External Type 1
O E2: →External Type 2
O N1: →NSSA Type 1
O N2: →NSSA Type 2
--------------
10.10.2.0/30: The destination network.
[110/20]:
→ 110 is the administrative distance for OSPF.
→ 20 is the OSPF cost/metric to reach the
destination network.
via 10.1.1.1:
→The next-hop IP address, which is the OSPF router
providing this route.
01:19:21:
→The time since this route was added or refreshed.
Ethernet2/0:
→The interface through which the router sends
packets to reach the next hop.
Verify the OSPF Database (LSDB)
Verify the Routing Table - OSPF
Verify the OSPF Database (LSDB)

DR-2
Verify the Routing Table - OSPF
Verify the OSPF Database (LSDB)

Verify the Routing Table - OSPF


Verify the OSPF Database (LSDB)
Verify the Routing Table - OSPF
Verify the OSPF Database (LSDB)

Verify the Routing Table - OSPF


Verify the OSPF Virtual Links

Verify the OSPF Virtual Links


Verify the OSPF Interface Status

Interface:
→The name of the interface.
PID
→ OSPF Process ID
Area:
→The OSPF area to which the
interface belongs.
IP Address:
→The assigned IP address for the
interface.
Cost:
→The OSPF cost associated with the
interface, which affects route
selection.
OSPF State:
→ The current state of the OSPF
process on the interface (e.g., DR,
BDR, P2P – point-to-point).
Nbrs:
→The number of OSPF neighbors
currently established on this interface.
Verify the OSPF Interface Status
Verify the OSP Border Router (ABR / ASBR)

You might also like