OSPF -1
OSPF -1
INTRODUCTION
Open Shortest Path First (OSPF) is an IP routing protocol that uses a mathematical
Based on link-state or shortest path first (SPF) technology, OSPF distributes routing
This capability differentiates OSPF from older TCP/IP routing protocols, which were
OSPF is a link-state routing protocol that sends information about directly connected
The protocol has a full picture of the network topology, which is shared with all the
1|Page
MAHTABPUZESHI
OSPF CONFIGURATION
Router - 1 Description
#interface ethernet 0/0 To select an interface
#ip ospf hello-interval To set how often we send the hello packet
#ip ospf dead-interval To set how long we should wait for the hello packet
before we declare the neighbor dead
2|Page
MAHTABPUZESHI
3|Page
MAHTABPUZESHI
Router - 2 Description
#interface ethernet 0/0 To select an interface
4|Page
MAHTABPUZESHI
#debug ip ospf events Displays all the ospf event messages on the router
ABR _ Area Border Gateway is a router that connects one or more areas to the OSPF backbone .
between areas we need at least one ABR router . we can have one ABR for 3 different area but is not
recommended.
5|Page
MAHTABPUZESHI
ASBR _ Autonomous system border router is a router that is connected to one or more logical
entities (AS), usually through an exterior routing protocol such as BGP. Only ABR & ASBR can
summarization networks .
Redistribution Description
#router ospf 1 Enabling OSPF protocol
classful subnets
6|Page
MAHTABPUZESHI
#ip ospf network point-to-point To advertise loopbacks with their real Mask
#ip prefix-list 100_0 deny 100.0.0.0 /23 ge 24 Will deny every mask >= 24
There will be Conflict if you use both Summarization & Filtering together . so , you wont have
7|Page