Documente Academic
Documente Profesional
Documente Cultură
OSPF Configuration
Module 8
Objectives
8-2
OSPF Review
OSPF Autonomous System
OSPF AREA 0
LSDB-A0
-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---
DR
BDR
OSPF AREA 1
(NSSA)
Network 10
ODR
LSDB-A1
-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---
DR
ODR
Network 20
BDR
BGP
Autonomous
System
ODR
LSDB-A2
-------- ---------- ---------- ---------- ---------- ---------- ---------- ---------- ---
OSPF AREA 2
8-3
OSPF Concepts
Link State Database (LSDB)
Router ID
Area
Backbone (Area 0)
Normal
Stub
Hello Packets
Stub no summaries
Not So Stubby
NSSA no summaries
Router Types
Internal Router
Area Border Router (ABR)
Autonomous System Boundary
Router (ASBR)
Virtual Links
8-4
Interface States
Designated Router (DR )
Backup Designated Router (BDR)
Other Designated Router (DR
other)
8-5
What is it?
What sends
it?
Link State ID
Field Entry
Router-LSA
All Routers
Originating
Routers ID
A Routers Links
(Neighbor Info.)
Network-LSA
Designated
Routers
DRs Router
Interface (IP
Address)
Information of Networks
present in an Area (all
routers attached to that
network)
Summary-LSA
(IP Network)
ABR
IP Network
Address of the
Network being
advertised
Summary LSA
(ASBRs)
ABR
Router ID of
ASBR
connected to
an External AS
Existence of ASBRs
AS External
LSA
ASBR or the
ABRs in an
NSSA
External AS IP
Network
Address
NSSA External
LSA
ABRs in an
NSSA
External AS IP
Network
Address
8-6
8-7
4.
5.
6. Configure any other process parameters from the ROUTER OSPF mode
(optional)
Force10(conf-router_ospf)# passive-interface {default |
interface}
8-8
Confidential
8-9
Simple Authentication
MD5 Authentication
interface GigabitEthernet 0/4
ip address 192.168.250.1/24
ip ospf auth-change-wait-time 100
ip ospf message-digest-key 1 md5 7 387a7f2df5969da4
no shutdown
8-10
8-11
Show protocols
Debug IP OSPF event
Debug IP OSPF packet
Ping
8-12
Pri
1
1
1
1
State
Dead Time
FULL/BDR 00:00:39
FULL/BDR 00:00:35
FULL/DR
00:00:38
FULL/BDR 00:00:36
Address
Interface
10.11.1.11 Gi 0/1
10.11.2.12 Gi 0/2
10.12.12.20 Gi 0/12
10.13.13.30 Gi 0/13
Area
1
1
0
0
8-13
ADV Router
192.168.1.10
192.168.1.11
192.168.1.12
Age
919
929
916
Seq#
Checksum Link count
0x8000000c 0xa4a2
3
0x8000000a 0xc965
3
0x80000009 0x31f7
3
Network (Area 1)
Link ID
10.11.1.10
10.11.2.10
10.11.12.11
8-14
ADV Router
192.168.1.10
192.168.1.10
192.168.1.11
Age
997
919
929
Seq#
0x80000003
0x80000003
0x80000003
Checksum
0x7860
0x7b5b
0x07c2
OSPF Routes
Step 9
Issue the command <show ip route>
Observe which routes are being learned via OSPF.
Gateway
Dist/Metric
----------------Direct, Gi 0/1
0/0
via 10.11.1.10, Gi 0/1
110/2
via 10.11.12.12, Gi 0/12
C 10.11.12.0/24
Direct, Gi 0/12
0/0
O 192.168.1.10/32 via 10.11.1.10, Gi 0/1
110/2
C 192.168.1.11/32 Direct, Lo 0
0/0
O 192.168.1.12/32 via 10.11.12.12, Gi 0/12 110/2
Last Change
----------01:06:51
00:55:34
01:05:23
00:56:44
01:07:37
00:55:34
8-15
Interface Area
Gi 3/5
0
8-16
We are SLAVE
Neighbor state change from EXSTART to
Neighbor state change from EXCHANGE to
Neighbor state change from LOADING to
8-17
OSPF Troubleshooting
Force10# debug ip ospf packet
OSPF packet debugging is on
13:15:30 : OSPF(1:00):
Xmt. v:2 t:1(HELLO) l:48 rid:100.1.1.1
aid:0 chk:0x89e5 aut:0 auk: keyid:0 to:Gi 3/5 dst:224.0.0.5
netmask:255.255.255.0 pri:1 N-, MC-, E+, T-,
hi:10 di:40 dr:3.3.3.2 bdr:3.3.3.1
Nbr: 192.168.1.1
13:15:33 : OSPF(1:00):
Rcv. v:2 t:1(HELLO) l:48 rid:192.168.1.1
aid:0 chk:0x89e5 aut:0 auk: keyid:0 from:Gi 3/5
netmask:255.255.255.0 pri:1 N-, MC-, E+, T-,
hi:10 di:40 dr:3.3.3.2 bdr:3.3.3.1
Nbr: 100.1.1.1
Force10# debug ip ospf spf
OSPF spf debugging is on
Force10OSPF(1:00): HEADLINE: del_vx_rte. pfx:172.16.0.0 mask:255.255.255.0 Nh:192.168.254.1
OSPF(1:00): HEADLINE: ospfAddRoute. pfx:172.16.0.0 mask:255.255.255.0 Nh1:192.168.254.1
OSPF(1:00): HEADLINE:
type:3(STNET) level:1 aid:0.0.0.0 #Nh:1 cost:2 cost2:0 tag:0
OSPF(1:00): HEADLINE: add_vx_rte. pfx:172.16.0.0 mask:255.255.255.0 Nh:192.168.254.1
8-18
OSPF Troubleshooting
OSPF process not active on router
Valid interface
OSPF adjacency not established with DR/BDR
Verify ip address and subnet configuration on the interface matches the
neighbors configuration
Verify physical connectivity to the network
Verify if OSPF authentication is used on the neighboring router, that the
authentication type and keys match on the two routers
Verify MTU matches on the two routers interfaces
On Ethernet interface, is OSPF configured as broadcast?
Are there any access-lists on the interface that drop OSPF protocol
packets? OSPF hello packets have a destination address of 224.0.0.5
Verify router is in correct area type (stub, nssa)
8-19
8-20
Confidential
8-21
Module
Summary
8-22