尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Fundamental of
IGP Protocols-OSPF
by : Reza Farahani
1
Routing Protocol
 Interior Gateway Protocol (IGP): A routing protocol that was designed and intended for
use inside a single autonomous system (AS).
 Exterior Gateway Protocol (EGP): A routing protocol that was designed and intended for
use between different autonomous systems.
2
Metrics
3
ADMINISTRATIVE DISTANCE
4
IGP ALGORITHMS
 Distance vector (sometimes called Bellman-Ford after its creators)
 Link-state
 Balanced hybrid (sometimes called enhanced distance vector)
5
IGP ALGORITHMS
6
DISTANCE VECTOR
 A distance-vector routing protocol sends a full copy of its routing table to
its directly attached neighbors.
 This is a periodic advertisement, even if there have been no topological
changes, a D.V routing protocol will, re-advertise its full routing table to
its neighbors.
 Layer 3 LOOP
 Split Horizon
 Route poisoning
 Poison Reverse
 Triggered update
 Hold-down timer
7
LINK-STATE
 Routers use this information, stored in RAM inside a data structure called the link-
state database (LSDB), to calculate the currently best routes to each subnet.
 The updates containing information called link-state advertisements (LSA).
8
LINK-STATE(CO)
9
 This process uses something called the Dijkstra Shortest Path First (SPF)
algorithm.
 LSDB works like the map, and the SPF algorithm works like the person reading
the map.
 Each router uses itself as the starting point.
SUMMARY OF CATEGORIES
10
CLASSLESS & CLASSFUL
11
 Some routing protocols must consider the Class and other routing protocols can
ignore Class A,B, and C rules altogether.
OSPF LINK STATE CONCEPTS
 OPSF uses link state (LS) logic, which can be broken into three major branches.
 RFC2328
 The first step, neighbor discovery
 The second step, topology database exchange
 Each router stores topology information in its topology database (LSDB).
 The third major step, route computation
 OSPF uses SPF algorithm to analyze the data, choose the best route for each reachable subnet,
and add the correct information for those routes to the IP routing table
12
HIERARCHICAL DESIGN
13
OSPF TERMS
14
OSPF TERMS CO
15
Router ID
16
 Step 1:
 Use the router ID defined in the router-id x.x.x.x OSPF router subcommand.
 Step 2:
 Use the highest IP address of any up/up loopback interface.
 Step 3:
 Use the highest IP address of any up/up non-loopback interface.
OSPF CONFIGURATION
17
OSPF VERIFICATION
 Command: show ip ospf
 Show information on a variety of general OSPF and area state and configuration information.
 show ip ospf interface [INTERFACE]
 Show state and configuration of OSPF the specified interface, or all interfaces if no interface is given.
 Command: show ip ospf route
 Show the OSPF routing table, as determined by the most recent SPF calculation.
18
OSPF VERIFICATION
19
 Command: show ip ospf neighbor
 Command: show ip ospf neighbor INTERFACE
 Command: show ip ospf neighbor detail
 Command: show ip ospf neighbor INTERFACE detail
OSPF VERIFICATION
 Command: show ip ospf database
 Command: show ip ospf database max-age
20
OSPF VERIFICATION 21
Linux Distributions
22
OSPF FEATURE SUMMARY
23
OSPF FEATURE SUMMARY
24
ADJACENCIES ON LANS
25
 OSPF sends multicast OSPF Hello messages on LAN interfaces, to discover OSPF
neighbors, when two requirements are met:
 OSPF has been enabled
 The interface has not been made passive by the passive-interface router subcommand
Passive Interface
 When a router configures an interface as passive to OSPF, OSPF quits sending OSPF Hellos, so
the router will not discover neighbors.
 The router will still advertise about the interface’s connected subnet if OSPF is enabled on the
interface
26
HELLO MESSAGE FIELDS
 OSPF Router ID
 Hello interval
 Dead interval
 Subnet mask
 List of neighbors reachable on the interface
 Area ID
 Router priority
 Designated Router (DR) IP address
 Backup DR (BDR) IP address
 Authentication digest
27
NEIGHBOR REQUIREMENTS
28
OPTIMIZING CONVERGENCE
 The Dead interval defines how long a router should wait, without hearing any Hello
messages from that neighbor, before deciding that the neighbor failed.
 The neighbor resets its downward-counting Hold timer to 40 upon receiving a Hello from
that neighbor
 To tune for faster convergence, you can configure OSPF to set a lower Hello and Dead
timer.
 If the interface fails, OSPF will immediately realize that all neighbors reached through that
interface have also failed and not wait on the Dead timer
29
OPTIMIZING CONVERGENCE
30
 Interface Command: ip ospf dead-interval <1-65535>
 Interface Command: ip ospf dead-interval minimal hello-multiplier <2-20>
OPTIMIZING CONVERGENCE
31
ip ospf hello-interval <1-65535>
Interface Command: no ip ospf hello-interva
Regular Routing Method bottle-necks
32
 Interface Command: ip ospf retransmit-interval <1-65535>
 Interface Command: no ip ospf retransmit interval
OSPF AUTHENTICATION
 Enabling per interface
 Enabling on all interfaces in an area
 Clear text per area
 OSPF Command: area <0-4294967295> authentication
 Enable on interface by : ip ospf authentication-key AUTH_KEY
33
OSPF AUTHENTICATION
 MD5 per area :
 area #n authentication message-digest
 Enable on interface by : ip ospf message-digest-key KEYID md5 KE
 Per Interface
 ip ospf authentication-key AUTH_KEY
 ip ospf authentication message-digest
 Note: The maximum length of the key is 16
 Show ip ospf interface
34
DR AND BDR
 The end result of the DR election is that topology information is
exchanged only between special neighbors not all.
35
DR AND BDR
 The DR concept prevents overloading a subnet with too much OSPF traffic when many
routers are on a subnet.
 Because the DR is so important to the exchange of routing information, the loss of the
elected DR could cause delays in convergence
 OSPF includes the concept of a Backup All routers except the DR and BDR are typically
called “DROther” in IOS show command output.
 on each subnet, so when the DR fails or loses connectivity to the subnet, the BDR can
take over as the DR.
36
DR AND BDR Election
 The router sending the Hello with the highest OSPF priority setting becomes the
DR.
 If two or more routers tie with the highest priority setting, the router sending the
Hello with the highest RID wins.
 The router with the second-highest priority becomes the BDR.
 After the DR and BDR have been elected, the new better candidate does not
preempt the existing DR/BDR
37
DR AND BDR Command
38
 Interface Command: ip ospf priority <0-255>
 The range of priority values that allow a router to be a candidate are 1 ~ 255
OSPF MESSAGES
39
OSPF MESSAGES
40
OSPF NEIGHBOR STATES
41
STATIC DISCOVERY
 For example in NBMA Networks : Frame Relay …
 Interface Command: ip ospf network (broadcast|non-broadcast|point-to-
multipoint|point-to-point)
 In our device like cisco LoopBack advertise by /32 and we can use above
command for change real define subnet loopback interface
42
OSPF NETWORK TYPES
43
LSA TYPES
44
LSA TYPES
45
LSA TYPE 1
 An LSA type 1, called a router LSA, identifies an OSPF router based on its OSPF
router ID (RID).
 Each router creates a Type 1 LSA for itself and floods the LSA throughout the
same area.
 The Type 1 LSA in one area will list only interfaces in that area and only neighbors
in that area.
46
LSA TYPE 2
47
 OSPF defines the Type 2 network LSA, used as a pseudonode
LSA TYPE 3
 ABRs do not forward Type 1 and Type 2 LSAs from one area into another area, and
vice versa
 This convention results in smaller per-area LSDBs, saving memory and reducing
complexity for each run of the SPF algorithm, which saves CPU and improves
convergence time.
 OSPF advertises inter-area routes using the Type 3 summary LSA.
 Type 3 summary LSAs do not contain all the detailed topology information, so in
comparison to Types 1 2, these LSAs summarize the information–hence the name
summary LSA.
48
PERIODIC FLOODING
 OSPF does reflood each LSA every 30 minutes based on each LSA’s age variable.
 If 30 minutes pass with no changes to an LSA resets the timer to 0, and refloods
the LSA.
 Note also that when a router realizes it needs to flush an LSA from the LSDB for an
area, it actually sets the age of the LSA to the MaxAge setting (3600) and refloods
the LSA.
49
BEST OSPF ROUTES
 Analyze the LSDB to find all possible routes to reach the subnet.
 Note that OSPF supports equal-cost load balancing.
 Lower cost but SPECIAL RULES :
 Step 1.When choosing the best route, an intra-area route is always better than a
competing interarea route, regardless of metric
 If an ABR learns a Type 3 LSA inside a nonbackbone area, the ABR ignores that LSA
when calculating its own routes
50
METRIC TUNING
51
OSPF Command: auto-cost reference-bandwidth <1-4294967>
Interface Command: ip ospf cost <1-65535>
OSPF Virtual Links
52
 In some cases two backbone areas exist; in other cases, a non-backbone area may not have a point of
connection to the backbone area.
OSPF Virtual Links
53
 Extend Backbone Area but
 Change use unicast packet
 It’s temporary
TYPE 3 LSA FILTERING
 On ABR1, filter subnet 3 from being advertised
 On ABR2, filter both subnet 2 and 3
54
 When “in” is configured, IOS filters prefixes being created and flooded into the
configured area
 When “out” is configured, IOS filters prefixes coming out of the configured area.
55
ROUTE SUMMARIZATION
 OSPF allows summarization at both ABRs and ASBRs but not on other OSPF
routers
 The main reason is again that the LSDB must be the same for all routers in a single
area.
56
END OF PART 1
Next session :
Redistribution
Other LSA Types
OSPF V3
Thanks for your Attention
57

More Related Content

What's hot

OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
Ann Joseph
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
NetProtocol Xpert
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
Ameer Agel
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
APNIC
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
NetProtocol Xpert
 
03 ospf
03 ospf 03 ospf
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
Kashif Latif
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD)
KHNOG
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
APNIC
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
Bertrand Duvivier
 
MPLS
MPLSMPLS
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
Reza Farahani
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
sarasanandam
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
Kashif Latif
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
arpit
 
BGP protocol presentation
BGP protocol  presentationBGP protocol  presentation
BGP protocol presentation
Gorantla Mohanavamsi
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
Jasim Alam
 
Ospf
 Ospf Ospf
BGP
BGP BGP
Eigrp new
Eigrp newEigrp new

What's hot (20)

OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)OPEN SHORTEST PATH FIRST (OSPF)
OPEN SHORTEST PATH FIRST (OSPF)
 
MPLS Layer 3 VPN
MPLS Layer 3 VPN MPLS Layer 3 VPN
MPLS Layer 3 VPN
 
ospf routing protocol
ospf routing protocolospf routing protocol
ospf routing protocol
 
MPLS Traffic Engineering
MPLS Traffic EngineeringMPLS Traffic Engineering
MPLS Traffic Engineering
 
OSPF Overview
OSPF OverviewOSPF Overview
OSPF Overview
 
03 ospf
03 ospf 03 ospf
03 ospf
 
Routing Information Protocol
Routing Information ProtocolRouting Information Protocol
Routing Information Protocol
 
Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD) Bidirectional Forwarding Detection (BFD)
Bidirectional Forwarding Detection (BFD)
 
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
MPLS L3 VPN Tutorial, by Nurul Islam Roman [APNIC 38]
 
Cisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advanceCisco Live Milan 2015 - BGP advance
Cisco Live Milan 2015 - BGP advance
 
MPLS
MPLSMPLS
MPLS
 
Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS) Fundamental of Quality of Service(QoS)
Fundamental of Quality of Service(QoS)
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Border Gateway Protocol
Border Gateway ProtocolBorder Gateway Protocol
Border Gateway Protocol
 
Routing and OSPF
Routing and OSPFRouting and OSPF
Routing and OSPF
 
BGP protocol presentation
BGP protocol  presentationBGP protocol  presentation
BGP protocol presentation
 
An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)An Overview of Border Gateway Protocol (BGP)
An Overview of Border Gateway Protocol (BGP)
 
Ospf
 Ospf Ospf
Ospf
 
BGP
BGP BGP
BGP
 
Eigrp new
Eigrp newEigrp new
Eigrp new
 

Similar to OSPF Fundamental

Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
robertoxe
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
ernestlithur
 
Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
Allwyngeorge4
 
Ospf
OspfOspf
Ospf routing protocol
Ospf routing protocolOspf routing protocol
Ospf routing protocol
Edgardo Scrimaglia
 
Ccna day3
Ccna day3Ccna day3
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
Sachin Morya
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
Ccna day3Ccna day3
Ccna day3
danishrafiq
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
anilinvns
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
AIRTEL
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
anilinvns
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
Reetesh Gupta
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
Denis Rasskazov
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
sarasanandam
 
Ospf
OspfOspf
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
Abdullah Mukhtar
 
13. eigrp and ospf
13. eigrp and ospf13. eigrp and ospf
13. eigrp and ospf
Swarndeep Singh
 
Ospf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationOspf and eigrp concepts and configuration
Ospf and eigrp concepts and configuration
IT Tech
 
ospf.ppt
ospf.pptospf.ppt
ospf.ppt
parthashee3
 

Similar to OSPF Fundamental (20)

Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Chapter7ccna
Chapter7ccnaChapter7ccna
Chapter7ccna
 
Allwyn ospf ppt
Allwyn ospf pptAllwyn ospf ppt
Allwyn ospf ppt
 
Ospf
OspfOspf
Ospf
 
Ospf routing protocol
Ospf routing protocolOspf routing protocol
Ospf routing protocol
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01Ccna day3-140715152337-phpapp01
Ccna day3-140715152337-phpapp01
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Ccna ppt1
Ccna ppt1Ccna ppt1
Ccna ppt1
 
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
 
Ccna day3
Ccna day3Ccna day3
Ccna day3
 
OSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdfOSPFv3_Technology_White_Paper.pdf
OSPFv3_Technology_White_Paper.pdf
 
Cisco ospf
Cisco ospf Cisco ospf
Cisco ospf
 
Ospf
OspfOspf
Ospf
 
OSPF by Abdullah Mukhtar
OSPF by Abdullah MukhtarOSPF by Abdullah Mukhtar
OSPF by Abdullah Mukhtar
 
13. eigrp and ospf
13. eigrp and ospf13. eigrp and ospf
13. eigrp and ospf
 
Ospf and eigrp concepts and configuration
Ospf and eigrp concepts and configurationOspf and eigrp concepts and configuration
Ospf and eigrp concepts and configuration
 
ospf.ppt
ospf.pptospf.ppt
ospf.ppt
 

More from Reza Farahani

USuurey_Presentation__CollaborativeHASSystems.pdf
USuurey_Presentation__CollaborativeHASSystems.pdfUSuurey_Presentation__CollaborativeHASSystems.pdf
USuurey_Presentation__CollaborativeHASSystems.pdf
Reza Farahani
 
IEEE_ICC'23_SARENA.pdf
IEEE_ICC'23_SARENA.pdfIEEE_ICC'23_SARENA.pdf
IEEE_ICC'23_SARENA.pdf
Reza Farahani
 
RAW23-Reza.pdf
RAW23-Reza.pdfRAW23-Reza.pdf
RAW23-Reza.pdf
Reza Farahani
 
MHV_22__RICHTER_POSTER.pdf
MHV_22__RICHTER_POSTER.pdfMHV_22__RICHTER_POSTER.pdf
MHV_22__RICHTER_POSTER.pdf
Reza Farahani
 
MMSys2022-TowardsLLL-Poster.pdf
MMSys2022-TowardsLLL-Poster.pdfMMSys2022-TowardsLLL-Poster.pdf
MMSys2022-TowardsLLL-Poster.pdf
Reza Farahani
 
MMSys'21 DS- RezaFarahani.pdf
MMSys'21 DS- RezaFarahani.pdfMMSys'21 DS- RezaFarahani.pdf
MMSys'21 DS- RezaFarahani.pdf
Reza Farahani
 
IEEEGlobecom'22-OL-RICHTER.pdf
IEEEGlobecom'22-OL-RICHTER.pdfIEEEGlobecom'22-OL-RICHTER.pdf
IEEEGlobecom'22-OL-RICHTER.pdf
Reza Farahani
 
IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...
IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...
IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...
Reza Farahani
 
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
Reza Farahani
 
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
Reza Farahani
 
Basic Security in Routing and Switching
Basic Security in Routing and SwitchingBasic Security in Routing and Switching
Basic Security in Routing and Switching
Reza Farahani
 
Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)
Reza Farahani
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
Reza Farahani
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
Reza Farahani
 

More from Reza Farahani (14)

USuurey_Presentation__CollaborativeHASSystems.pdf
USuurey_Presentation__CollaborativeHASSystems.pdfUSuurey_Presentation__CollaborativeHASSystems.pdf
USuurey_Presentation__CollaborativeHASSystems.pdf
 
IEEE_ICC'23_SARENA.pdf
IEEE_ICC'23_SARENA.pdfIEEE_ICC'23_SARENA.pdf
IEEE_ICC'23_SARENA.pdf
 
RAW23-Reza.pdf
RAW23-Reza.pdfRAW23-Reza.pdf
RAW23-Reza.pdf
 
MHV_22__RICHTER_POSTER.pdf
MHV_22__RICHTER_POSTER.pdfMHV_22__RICHTER_POSTER.pdf
MHV_22__RICHTER_POSTER.pdf
 
MMSys2022-TowardsLLL-Poster.pdf
MMSys2022-TowardsLLL-Poster.pdfMMSys2022-TowardsLLL-Poster.pdf
MMSys2022-TowardsLLL-Poster.pdf
 
MMSys'21 DS- RezaFarahani.pdf
MMSys'21 DS- RezaFarahani.pdfMMSys'21 DS- RezaFarahani.pdf
MMSys'21 DS- RezaFarahani.pdf
 
IEEEGlobecom'22-OL-RICHTER.pdf
IEEEGlobecom'22-OL-RICHTER.pdfIEEEGlobecom'22-OL-RICHTER.pdf
IEEEGlobecom'22-OL-RICHTER.pdf
 
IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...
IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...
IEEE ICC'22_ LEADER_ A Collaborative Edge- and SDN-Assisted Framework for HTT...
 
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
CSDN_ CDN-Aware QoE Optimization inSDN-Assisted HTTP Adaptive Video Streaming...
 
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
ACM NOSSDAV'21-ES-HAS_ An Edge- and SDN-Assisted Framework for HTTP Adaptive ...
 
Basic Security in Routing and Switching
Basic Security in Routing and SwitchingBasic Security in Routing and Switching
Basic Security in Routing and Switching
 
Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)Quality of Service(Queuing Methods)
Quality of Service(Queuing Methods)
 
Mpls L3_vpn
Mpls L3_vpnMpls L3_vpn
Mpls L3_vpn
 
MPLS & BASIC LDP
MPLS & BASIC LDPMPLS & BASIC LDP
MPLS & BASIC LDP
 

Recently uploaded

SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdfSELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
Pallavi Sharma
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
yogita singh$A17
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
Ismail Sultan
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
simrangupta87541
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 
Basic principle and types Static Relays ppt
Basic principle and  types  Static Relays pptBasic principle and  types  Static Relays ppt
Basic principle and types Static Relays ppt
Sri Ramakrishna Institute of Technology
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
hotchicksescort
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
kamka4105
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
gapboxn
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
shourabjaat424
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
NaveenNaveen726446
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
Geoffrey Wardle. MSc. MSc. Snr.MAIAA
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
EMERSON EDUARDO RODRIGUES
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
ShivangMishra54
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
DebendraDevKhanal1
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
dulbh kashyap
 
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Dr.Costas Sachpazis
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
Kamal Acharya
 

Recently uploaded (20)

SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdfSELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
 
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl LucknowCall Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
Call Girls In Lucknow 🔥 +91-7014168258🔥High Profile Call Girl Lucknow
 
CSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdfCSP_Study - Notes (Paul McNeill) 2017.pdf
CSP_Study - Notes (Paul McNeill) 2017.pdf
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 
Basic principle and types Static Relays ppt
Basic principle and  types  Static Relays pptBasic principle and  types  Static Relays ppt
Basic principle and types Static Relays ppt
 
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
❣Unsatisfied Bhabhi Call Girls Surat 💯Call Us 🔝 7014168258 🔝💃Independent Sura...
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
 
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptxMODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
MODULE 5 BIOLOGY FOR ENGINEERS TRENDS IN BIO ENGINEERING.pptx
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
Lateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptxLateral load-resisting systems in buildings.pptx
Lateral load-resisting systems in buildings.pptx
 
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
🚺ANJALI MEHTA High Profile Call Girls Ahmedabad 💯Call Us 🔝 9352988975 🔝💃Top C...
 
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
Sachpazis_Consolidation Settlement Calculation Program-The Python Code and th...
 
Data Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdfData Communication and Computer Networks Management System Project Report.pdf
Data Communication and Computer Networks Management System Project Report.pdf
 

OSPF Fundamental

  • 2. Routing Protocol  Interior Gateway Protocol (IGP): A routing protocol that was designed and intended for use inside a single autonomous system (AS).  Exterior Gateway Protocol (EGP): A routing protocol that was designed and intended for use between different autonomous systems. 2
  • 5. IGP ALGORITHMS  Distance vector (sometimes called Bellman-Ford after its creators)  Link-state  Balanced hybrid (sometimes called enhanced distance vector) 5
  • 7. DISTANCE VECTOR  A distance-vector routing protocol sends a full copy of its routing table to its directly attached neighbors.  This is a periodic advertisement, even if there have been no topological changes, a D.V routing protocol will, re-advertise its full routing table to its neighbors.  Layer 3 LOOP  Split Horizon  Route poisoning  Poison Reverse  Triggered update  Hold-down timer 7
  • 8. LINK-STATE  Routers use this information, stored in RAM inside a data structure called the link- state database (LSDB), to calculate the currently best routes to each subnet.  The updates containing information called link-state advertisements (LSA). 8
  • 9. LINK-STATE(CO) 9  This process uses something called the Dijkstra Shortest Path First (SPF) algorithm.  LSDB works like the map, and the SPF algorithm works like the person reading the map.  Each router uses itself as the starting point.
  • 11. CLASSLESS & CLASSFUL 11  Some routing protocols must consider the Class and other routing protocols can ignore Class A,B, and C rules altogether.
  • 12. OSPF LINK STATE CONCEPTS  OPSF uses link state (LS) logic, which can be broken into three major branches.  RFC2328  The first step, neighbor discovery  The second step, topology database exchange  Each router stores topology information in its topology database (LSDB).  The third major step, route computation  OSPF uses SPF algorithm to analyze the data, choose the best route for each reachable subnet, and add the correct information for those routes to the IP routing table 12
  • 16. Router ID 16  Step 1:  Use the router ID defined in the router-id x.x.x.x OSPF router subcommand.  Step 2:  Use the highest IP address of any up/up loopback interface.  Step 3:  Use the highest IP address of any up/up non-loopback interface.
  • 18. OSPF VERIFICATION  Command: show ip ospf  Show information on a variety of general OSPF and area state and configuration information.  show ip ospf interface [INTERFACE]  Show state and configuration of OSPF the specified interface, or all interfaces if no interface is given.  Command: show ip ospf route  Show the OSPF routing table, as determined by the most recent SPF calculation. 18
  • 19. OSPF VERIFICATION 19  Command: show ip ospf neighbor  Command: show ip ospf neighbor INTERFACE  Command: show ip ospf neighbor detail  Command: show ip ospf neighbor INTERFACE detail
  • 20. OSPF VERIFICATION  Command: show ip ospf database  Command: show ip ospf database max-age 20
  • 25. ADJACENCIES ON LANS 25  OSPF sends multicast OSPF Hello messages on LAN interfaces, to discover OSPF neighbors, when two requirements are met:  OSPF has been enabled  The interface has not been made passive by the passive-interface router subcommand
  • 26. Passive Interface  When a router configures an interface as passive to OSPF, OSPF quits sending OSPF Hellos, so the router will not discover neighbors.  The router will still advertise about the interface’s connected subnet if OSPF is enabled on the interface 26
  • 27. HELLO MESSAGE FIELDS  OSPF Router ID  Hello interval  Dead interval  Subnet mask  List of neighbors reachable on the interface  Area ID  Router priority  Designated Router (DR) IP address  Backup DR (BDR) IP address  Authentication digest 27
  • 29. OPTIMIZING CONVERGENCE  The Dead interval defines how long a router should wait, without hearing any Hello messages from that neighbor, before deciding that the neighbor failed.  The neighbor resets its downward-counting Hold timer to 40 upon receiving a Hello from that neighbor  To tune for faster convergence, you can configure OSPF to set a lower Hello and Dead timer.  If the interface fails, OSPF will immediately realize that all neighbors reached through that interface have also failed and not wait on the Dead timer 29
  • 30. OPTIMIZING CONVERGENCE 30  Interface Command: ip ospf dead-interval <1-65535>  Interface Command: ip ospf dead-interval minimal hello-multiplier <2-20>
  • 31. OPTIMIZING CONVERGENCE 31 ip ospf hello-interval <1-65535> Interface Command: no ip ospf hello-interva
  • 32. Regular Routing Method bottle-necks 32  Interface Command: ip ospf retransmit-interval <1-65535>  Interface Command: no ip ospf retransmit interval
  • 33. OSPF AUTHENTICATION  Enabling per interface  Enabling on all interfaces in an area  Clear text per area  OSPF Command: area <0-4294967295> authentication  Enable on interface by : ip ospf authentication-key AUTH_KEY 33
  • 34. OSPF AUTHENTICATION  MD5 per area :  area #n authentication message-digest  Enable on interface by : ip ospf message-digest-key KEYID md5 KE  Per Interface  ip ospf authentication-key AUTH_KEY  ip ospf authentication message-digest  Note: The maximum length of the key is 16  Show ip ospf interface 34
  • 35. DR AND BDR  The end result of the DR election is that topology information is exchanged only between special neighbors not all. 35
  • 36. DR AND BDR  The DR concept prevents overloading a subnet with too much OSPF traffic when many routers are on a subnet.  Because the DR is so important to the exchange of routing information, the loss of the elected DR could cause delays in convergence  OSPF includes the concept of a Backup All routers except the DR and BDR are typically called “DROther” in IOS show command output.  on each subnet, so when the DR fails or loses connectivity to the subnet, the BDR can take over as the DR. 36
  • 37. DR AND BDR Election  The router sending the Hello with the highest OSPF priority setting becomes the DR.  If two or more routers tie with the highest priority setting, the router sending the Hello with the highest RID wins.  The router with the second-highest priority becomes the BDR.  After the DR and BDR have been elected, the new better candidate does not preempt the existing DR/BDR 37
  • 38. DR AND BDR Command 38  Interface Command: ip ospf priority <0-255>  The range of priority values that allow a router to be a candidate are 1 ~ 255
  • 42. STATIC DISCOVERY  For example in NBMA Networks : Frame Relay …  Interface Command: ip ospf network (broadcast|non-broadcast|point-to- multipoint|point-to-point)  In our device like cisco LoopBack advertise by /32 and we can use above command for change real define subnet loopback interface 42
  • 46. LSA TYPE 1  An LSA type 1, called a router LSA, identifies an OSPF router based on its OSPF router ID (RID).  Each router creates a Type 1 LSA for itself and floods the LSA throughout the same area.  The Type 1 LSA in one area will list only interfaces in that area and only neighbors in that area. 46
  • 47. LSA TYPE 2 47  OSPF defines the Type 2 network LSA, used as a pseudonode
  • 48. LSA TYPE 3  ABRs do not forward Type 1 and Type 2 LSAs from one area into another area, and vice versa  This convention results in smaller per-area LSDBs, saving memory and reducing complexity for each run of the SPF algorithm, which saves CPU and improves convergence time.  OSPF advertises inter-area routes using the Type 3 summary LSA.  Type 3 summary LSAs do not contain all the detailed topology information, so in comparison to Types 1 2, these LSAs summarize the information–hence the name summary LSA. 48
  • 49. PERIODIC FLOODING  OSPF does reflood each LSA every 30 minutes based on each LSA’s age variable.  If 30 minutes pass with no changes to an LSA resets the timer to 0, and refloods the LSA.  Note also that when a router realizes it needs to flush an LSA from the LSDB for an area, it actually sets the age of the LSA to the MaxAge setting (3600) and refloods the LSA. 49
  • 50. BEST OSPF ROUTES  Analyze the LSDB to find all possible routes to reach the subnet.  Note that OSPF supports equal-cost load balancing.  Lower cost but SPECIAL RULES :  Step 1.When choosing the best route, an intra-area route is always better than a competing interarea route, regardless of metric  If an ABR learns a Type 3 LSA inside a nonbackbone area, the ABR ignores that LSA when calculating its own routes 50
  • 51. METRIC TUNING 51 OSPF Command: auto-cost reference-bandwidth <1-4294967> Interface Command: ip ospf cost <1-65535>
  • 52. OSPF Virtual Links 52  In some cases two backbone areas exist; in other cases, a non-backbone area may not have a point of connection to the backbone area.
  • 53. OSPF Virtual Links 53  Extend Backbone Area but  Change use unicast packet  It’s temporary
  • 54. TYPE 3 LSA FILTERING  On ABR1, filter subnet 3 from being advertised  On ABR2, filter both subnet 2 and 3 54
  • 55.  When “in” is configured, IOS filters prefixes being created and flooded into the configured area  When “out” is configured, IOS filters prefixes coming out of the configured area. 55
  • 56. ROUTE SUMMARIZATION  OSPF allows summarization at both ABRs and ASBRs but not on other OSPF routers  The main reason is again that the LSDB must be the same for all routers in a single area. 56
  • 57. END OF PART 1 Next session : Redistribution Other LSA Types OSPF V3 Thanks for your Attention 57
  翻译: