The document discusses OSPF link-state routing protocol. It describes OSPF's use of link-state databases containing topology information and Dijkstra's algorithm to calculate the shortest path to all destinations. It also explains OSPF's hierarchical area-based network structure and use of link-state advertisements to exchange routing information between neighbors.
The document provides information on configuring the OSPF routing protocol. It discusses OSPF link-state routing concepts, areas, adjacencies, and the SPF algorithm. It also covers configuring OSPF on routers, including enabling OSPF routing, defining network statements, and setting the OSPF router ID using a loopback interface or router-id command. Debugging OSPF packets is demonstrated using the debug ip ospf packet command.
- Open Shortest Path First (OSPF) is a link-state routing protocol that can be used for both small and large networks. It uses areas and hierarchical network design to reduce routing overhead and improve performance as the network scales.
- OSPF establishes neighbor relationships to exchange routing information. It elects a Designated Router and Backup Designated Router to optimize this exchange on multi-access networks. Link-state databases are synchronized between neighbors to calculate the shortest paths.
- Basic OSPF configuration involves enabling OSPF on interfaces and networks, setting authentication, and adjusting metrics and timers. Loopback interfaces ensure router IDs remain stable. Verification commands display neighbor relationships and routing tables.
This document provides an overview and summary of OSPF multi-area concepts including:
- Areas are used to divide large OSPF networks into smaller areas to reduce routing table size and limit SPF calculations.
- There are different types of areas including normal, stub, totally stubby, and NSSA areas. Routing behavior varies between area types.
- Link state advertisements (LSAs) including router LSAs, network LSAs, inter-area LSAs, and AS external LSAs are used to distribute routing information within and between areas.
OSPF is a link-state routing protocol that uses the Shortest Path First algorithm to calculate the shortest path to destinations. It propagates link-state advertisements rather than routing table updates. OSPF supports hierarchical routing to minimize routing updates. Single-area OSPF configurations assign networks to areas using the network command under the OSPF routing process.
This document provides an overview of OSPF including terminology, router types, link state advertisements (LSAs), network types, and the steps of OSPF operation. It discusses establishing adjacencies, electing designated routers, discovering routes, selecting routes, and maintaining routing information. It also covers configuring and verifying OSPF within a single area, over non-broadcast multi-access (NBMA) networks, and across multiple areas. Special area types like stub, totally stubby, and not-so-stubby areas are explained as well as using virtual links.
The document discusses the Open Shortest Path First (OSPF) routing protocol. It describes OSPF configuration, operation, and terminology. Key points include how OSPF uses link state advertisements to exchange routing information, elects a designated router for multi-access networks, and calculates routes based on interface metrics and costs. The document also provides examples for configuring OSPF and verifying its operation.
1. The document discusses various OSPF concepts including DR-BDR election, OSPF areas, router types, virtual links, and NSSA areas. It provides configuration examples and show command outputs to illustrate these concepts.
This slide contains the basic and advanced concept of OSPF routing protocol, according to the latest version of Cisco books, and I presented it at IRAN TIC company. In the next slide, I will upload an attractive advanced feature about OSPF.
OSPF is a link-state interior gateway protocol that uses shortest path first algorithm to calculate routes. It elects a designated router that exchanges link-state advertisements and database information with other routers to choose the best routes. OSPF supports equal cost multi-path routing, uses different types of link-state advertisements, and allows dividing networks into areas to reduce routing overhead. It authenticates messages to prevent routing attacks.
OSPFv3 is a link-state routing protocol that uses link-state advertisements (LSAs) to exchange routing information. Routers running OSPFv3 generate different types of LSAs to advertise IPv6 address prefixes, network links, and routing information between areas. OSPFv3 supports multi-area configurations with a backbone area and regular areas connected via area border routers that generate summary LSAs.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF terminology like link, router ID, neighbors, adjacency, area, backbone area, Area Border Router (ABR), Autonomous System Boundary Router (ASBR). It describes OSPF network types, neighbor tables, topology tables, routing tables, and the link state advertisement (LSA) process. It also covers OSPF configuration, path calculation using the Dijkstra algorithm, and advantages of OSPF like rapid convergence and scalability.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF concepts like link state advertisements (LSAs), neighbor and topology tables, designated routers (DRs), flooding, shortest path first (SPF) algorithm, and areas. It also compares OSPF to distance vector protocols, describes OSPF network types and neighbor relationships, and provides examples of basic OSPF configuration.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
This document describes configuring a basic single-area OSPFv2 network. It includes the topology diagram and addressing tables, and steps to build the network, configure OSPF routing on each router with area 0, and verify OSPF neighbor relationships and routing tables. It also provides sample outputs of show commands to check OSPF settings and interfaces.
OSPF is an IGP routing protocol used to distribute routing information within an autonomous system. The document discusses configuring OSPF, including:
1. Configuring OSPF interface parameters such as cost, hello interval, dead interval, and authentication.
2. Specifying the OSPF network type as either broadcast, nonbroadcast multiaccess, or point-to-multipoint.
3. For nonbroadcast networks, explicitly configuring neighbors using the neighbor command.
The document provides instructions on configuring various OSPF parameters and features, including:
1. Configuring OSPF interface parameters such as cost, authentication, priority, and timers.
2. Configuring different OSPF network types like broadcast, non-broadcast, and point-to-multipoint.
3. Configuring OSPF areas including authentication, stub areas, and assigning costs. Also covers configuring Not So Stubby Areas (NSSA).
4. Configuring route summarization between OSPF areas and when redistributing routes.
5. Additional configuration topics like virtual links, default routes, route calculation timers, and monitoring OSPF.
The document provides instructions on configuring various OSPF parameters and features, including:
1. Configuring OSPF interface parameters such as cost, authentication, priority, and timers.
2. Configuring different OSPF network types like broadcast, non-broadcast, and point-to-multipoint.
3. Configuring OSPF areas including authentication, stub areas, and assigning costs. Features like NSSA and route summarization between areas are also described.
4. Additional OSPF configurations covered include virtual links, default routes, route calculation timers, and redistribution of routes into OSPF. Monitoring and troubleshooting OSPF is also mentioned.
OSPF is a link-state routing protocol that uses LSAs to exchange routing and topology information between routers. Routers must establish neighbor relationships by exchanging Hello packets before sharing LSAs. Routers run the SPF algorithm to calculate the best paths based on the collected link-state database and populate their routing tables. OSPF supports features like equal cost load balancing, VLSM, and manual summarization. It divides large networks into areas to reduce routing overhead.
This chapter describes how to work with the Open Shortest Path First (OSPF) routing protocol. It covers OSPF network types, working with router IDs, administrative states, types of service, router types, link state advertisements, shortest path first methods, hold times, areas, default information origination, and redistribution in OSPF.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes OSPF's message encapsulation, packet types, neighbor discovery process using Hello packets, link state database and shortest path first algorithm, metric and cost calculation, and mechanisms for handling multi-access networks like designated router election. The objectives are to describe OSPF configuration and troubleshooting.
This document provides an overview of a seminar presentation on Open Shortest Path First (OSPF) routing protocol. The presentation covers the basic concepts of OSPF including its use of the Shortest Path First algorithm, areas, router types, header format, and hello packets. It also gives examples of OSPF configuration and important terms like loopback interfaces, designated routers, and authentication. The summary highlights both the processor intensive nature of OSPF but also its advantages like hierarchy, link state design, and support for VLSM.
he Associate level of Cisco Certifications can begin directly with CCNA for network installation, operations and troubleshooting or CCDA for network design. Think of the Associate Level as the foundation level of networking certification.
How to Create a Stage or a Pipeline in Odoo 18 CRMCeline George
In Odoo, the CRM (Customer Relationship Management) module’s pipeline is a visual representation of a company's sales process that helps sales teams track and manage their interactions with potential customers.
More Related Content
Similar to Learn OSPF(Open Short Path First) routing to day (20)
1. The document discusses various OSPF concepts including DR-BDR election, OSPF areas, router types, virtual links, and NSSA areas. It provides configuration examples and show command outputs to illustrate these concepts.
This slide contains the basic and advanced concept of OSPF routing protocol, according to the latest version of Cisco books, and I presented it at IRAN TIC company. In the next slide, I will upload an attractive advanced feature about OSPF.
OSPF is a link-state interior gateway protocol that uses shortest path first algorithm to calculate routes. It elects a designated router that exchanges link-state advertisements and database information with other routers to choose the best routes. OSPF supports equal cost multi-path routing, uses different types of link-state advertisements, and allows dividing networks into areas to reduce routing overhead. It authenticates messages to prevent routing attacks.
OSPFv3 is a link-state routing protocol that uses link-state advertisements (LSAs) to exchange routing information. Routers running OSPFv3 generate different types of LSAs to advertise IPv6 address prefixes, network links, and routing information between areas. OSPFv3 supports multi-area configurations with a backbone area and regular areas connected via area border routers that generate summary LSAs.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF terminology like link, router ID, neighbors, adjacency, area, backbone area, Area Border Router (ABR), Autonomous System Boundary Router (ASBR). It describes OSPF network types, neighbor tables, topology tables, routing tables, and the link state advertisement (LSA) process. It also covers OSPF configuration, path calculation using the Dijkstra algorithm, and advantages of OSPF like rapid convergence and scalability.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It defines key OSPF concepts like link state advertisements (LSAs), neighbor and topology tables, designated routers (DRs), flooding, shortest path first (SPF) algorithm, and areas. It also compares OSPF to distance vector protocols, describes OSPF network types and neighbor relationships, and provides examples of basic OSPF configuration.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes key OSPF concepts like link state routing, areas, neighbor relationships, designated routers, link state advertisements, and shortest path first algorithms. It also provides configuration examples and compares OSPF to other routing protocols.
This document describes configuring a basic single-area OSPFv2 network. It includes the topology diagram and addressing tables, and steps to build the network, configure OSPF routing on each router with area 0, and verify OSPF neighbor relationships and routing tables. It also provides sample outputs of show commands to check OSPF settings and interfaces.
OSPF is an IGP routing protocol used to distribute routing information within an autonomous system. The document discusses configuring OSPF, including:
1. Configuring OSPF interface parameters such as cost, hello interval, dead interval, and authentication.
2. Specifying the OSPF network type as either broadcast, nonbroadcast multiaccess, or point-to-multipoint.
3. For nonbroadcast networks, explicitly configuring neighbors using the neighbor command.
The document provides instructions on configuring various OSPF parameters and features, including:
1. Configuring OSPF interface parameters such as cost, authentication, priority, and timers.
2. Configuring different OSPF network types like broadcast, non-broadcast, and point-to-multipoint.
3. Configuring OSPF areas including authentication, stub areas, and assigning costs. Also covers configuring Not So Stubby Areas (NSSA).
4. Configuring route summarization between OSPF areas and when redistributing routes.
5. Additional configuration topics like virtual links, default routes, route calculation timers, and monitoring OSPF.
The document provides instructions on configuring various OSPF parameters and features, including:
1. Configuring OSPF interface parameters such as cost, authentication, priority, and timers.
2. Configuring different OSPF network types like broadcast, non-broadcast, and point-to-multipoint.
3. Configuring OSPF areas including authentication, stub areas, and assigning costs. Features like NSSA and route summarization between areas are also described.
4. Additional OSPF configurations covered include virtual links, default routes, route calculation timers, and redistribution of routes into OSPF. Monitoring and troubleshooting OSPF is also mentioned.
OSPF is a link-state routing protocol that uses LSAs to exchange routing and topology information between routers. Routers must establish neighbor relationships by exchanging Hello packets before sharing LSAs. Routers run the SPF algorithm to calculate the best paths based on the collected link-state database and populate their routing tables. OSPF supports features like equal cost load balancing, VLSM, and manual summarization. It divides large networks into areas to reduce routing overhead.
This chapter describes how to work with the Open Shortest Path First (OSPF) routing protocol. It covers OSPF network types, working with router IDs, administrative states, types of service, router types, link state advertisements, shortest path first methods, hold times, areas, default information origination, and redistribution in OSPF.
This document provides an overview of the Open Shortest Path First (OSPF) routing protocol. It describes OSPF's message encapsulation, packet types, neighbor discovery process using Hello packets, link state database and shortest path first algorithm, metric and cost calculation, and mechanisms for handling multi-access networks like designated router election. The objectives are to describe OSPF configuration and troubleshooting.
This document provides an overview of a seminar presentation on Open Shortest Path First (OSPF) routing protocol. The presentation covers the basic concepts of OSPF including its use of the Shortest Path First algorithm, areas, router types, header format, and hello packets. It also gives examples of OSPF configuration and important terms like loopback interfaces, designated routers, and authentication. The summary highlights both the processor intensive nature of OSPF but also its advantages like hierarchy, link state design, and support for VLSM.
he Associate level of Cisco Certifications can begin directly with CCNA for network installation, operations and troubleshooting or CCDA for network design. Think of the Associate Level as the foundation level of networking certification.
How to Create a Stage or a Pipeline in Odoo 18 CRMCeline George
In Odoo, the CRM (Customer Relationship Management) module’s pipeline is a visual representation of a company's sales process that helps sales teams track and manage their interactions with potential customers.
Coleoptera, commonly known as beetles, is the largest order of insects, comprising approximately 400,000 described species. Beetles can be found in almost every habitat on Earth, exhibiting a wide range of morphological, behavioral, and ecological diversity. They have a hardened exoskeleton, with the forewings modified into elytra that protect the hind wings. Beetles play important roles in ecosystems as decomposers, pollinators, and food sources for other animals, while some species are considered pests in agriculture and forestry.
"Orthoptera: Grasshoppers, Crickets, and Katydids pptxArshad Shaikh
Orthoptera is an order of insects that includes grasshoppers, crickets, and katydids. Characterized by their powerful hind legs, Orthoptera are known for their impressive jumping ability. With diverse species, they inhabit various environments, playing important roles in ecosystems as herbivores and prey. Their sounds, often produced through stridulation, are distinctive features of many species.
Order: Odonata Isoptera and Thysanoptera.pptxArshad Shaikh
*Odonata*: Odonata is an order of insects that includes dragonflies and damselflies. Characterized by their large, compound eyes and agile flight, they are predators that feed on other insects, playing a crucial role in maintaining ecological balance.
*Isoptera*: Isoptera is an order of social insects commonly known as termites. These eusocial creatures live in colonies with complex social hierarchies and are known for their ability to decompose wood and other cellulose-based materials, playing a significant role in ecosystem nutrient cycling.
*Thysanoptera*: Thysanoptera, or thrips, are tiny insects with fringed wings. Many species are pests that feed on plant sap, transmitting plant viruses and causing damage to crops and ornamental plants. Despite their small size, they have significant impacts on agriculture and horticulture.
Types of Actions in Odoo 18 - Odoo SlidesCeline George
In Odoo, actions define the system's response to user interactions, like logging in or clicking buttons. They can be stored in the database or returned as dictionaries in methods. Odoo offers various action types for different purposes.
Dashboard Overview in Odoo 18 - Odoo SlidesCeline George
Odoo 18 introduces significant enhancements to its dashboard functionalities, offering users a more intuitive and customizable experience. The updated dashboards provide real-time insights into various business operations, enabling informed decision-making.
♥☽✷♥
Make sure to catch our weekly updates. Updates are done Thursday to Fridays or its a holiday/event weekend.
Thanks again, Readers, Guest Students, and Loyalz/teams.
This profile is older. I started at the beginning of my HQ journey online. It was recommended by AI. AI was very selective but fits my ecourse style. I am media flexible depending on the course platform. More information below.
AI Overview:
“LDMMIA Reiki Yoga refers to a specific program of free online workshops focused on integrating Reiki energy healing techniques with yoga practices. These workshops are led by Leslie M. Moore, also known as LDMMIA, and are designed for all levels, from beginners to those seeking to review their practice. The sessions explore various themes like "Matrix," "Alice in Wonderland," and "Goddess," focusing on self-discovery, inner healing, and shifting personal realities.”
♥☽✷♥
“So Life Happens-Right? We travel on. Discovering, Exploring, and Learning...”
These Reiki Sessions are timeless and about Energy Healing / Energy Balancing.
A Shorter Summary below.
A 7th FREE WORKSHOP
REiki - Yoga
“Life Happens”
Intro Reflections
Thank you for attending our workshops. If you are new, do welcome. We have been building a base for advanced topics. Also, this info can be fused with any Japanese (JP) Healing, Wellness Plans / Other Reiki /and Yoga practices.
Power Awareness,
Our Defense.
Situations like Destiny Swapping even Evil Eyes are “stealing realities”. It’s causing your hard earned luck to switch out. Either way, it’s cancelling your reality all together. This maybe common recently over the last decade? I noticed it’s a sly easy move to make. Then, we are left wounded, suffering, accepting endless bad luck. It’s time to Power Up. This can be (very) private and quiet. However; building resources/EDU/self care for empowering is your business/your right. It’s a new found power we all can use for healing.
Stressin out-II
“Baby, Calm down, Calm Down.” - Song by Rema, Selena Gomez (Video Premiered Sep 7, 2022)
Within Virtual Work and VR Sims (Secondlife Metaverse) I love catching “Calm Down” On the radio streams. I love Selena first. Second, It’s such a catchy song with an island feel. This blends with both VR and working remotely.
Its also, a good affirmation or mantra to *Calm down* lol.
Something we reviewed in earlier Workshops.
I rarely mention love and relations but theres one caution.
When we date, almost marry an energy drainer/vampire partner; We enter doorways of no return. That person can psychic drain U during/after the relationship. They can also unleash their demons. Their dark energies (chi) can attach itself to you. It’s SYFI but common. Also, involving again, energy awareness. We are suppose to keep our love life sacred. But, Trust accidents do happen. The Energies can linger on. Also, Reiki can heal any breakup damage...
(See Pres for more info. Thx)
Happy Summer Everyone. This is also timeless for future viewing.
You all have been upgraded from ‘Guest’ Students to ‘Graduate’ Students. Do Welcome Back. For new guests, please see our free weekly workshops from Spring ‘25’
Blessings, Love, and Namaste’.
Do Welcome to Summer ‘25’ for LDMMIA.
TY, for surviving our First Season/Term of our Reiki Yoga Workshops. These presentations/workshop are designed for your energy wellness.
Also, professional expansion for Summer ‘25’. All updates will be uploaded here and digital notes within our Merch Shop. (I am Completely, using the suggestions of AI for my Biz style. Its spooky accurate. So far, AI has been very helpful for office and studio admin. I even updated my AI avatars. Similar to my SL Meta avatar.)
Do take Care of yourselves. This is only a Bonus Checkin. The Next Workshop will be Lecture/Session 8. I will complete by Friday.
https://ldm-mia.creator-spring.com/
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical...wygalkelceqg
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical Management 2nd Ed Klotz
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical Management 2nd Ed Klotz
Active Surveillance For Localized Prostate Cancer A New Paradigm For Clinical Management 2nd Ed Klotz
Stewart Butler - OECD - How to design and deliver higher technical education ...EduSkills OECD
Stewart Butler, Labour Market Economist at the OECD presents at the webinar 'How to design and deliver higher technical education to develop in-demand skills' on 3 June 2025. You can check out the webinar recording via our website - https://oecdedutoday.com/webinars/ .
You can check out the Higher Technical Education in England report via this link 👉 - https://www.oecd.org/en/publications/higher-technical-education-in-england-united-kingdom_7c00dff7-en.html
You can check out the pathways to professions report here 👉 https://www.oecd.org/en/publications/pathways-to-professions_a81152f4-en.html
Pragya Champion's Chalice is the annual Intra Pragya General Quiz hosted by the club's outgoing President and Vice President. The prelims and finals are both given in the singular set.
How to Create Time Off Request in Odoo 18 Time OffCeline George
Odoo 18 provides an efficient way to manage employee leave through the Time Off module. Employees can easily submit requests, and managers can approve or reject them based on company policies.
Introduction to Online CME for Nurse Practitioners.pdfCME4Life
Online CME for nurse practitioners provides a flexible, cost-effective way to stay current with evidence-based practices and earn required credits without interrupting clinical duties. Accredited platforms offer a wide range of self-paced courses—complete with interactive case studies, downloadable resources, and immediate digital certificates—that fit around demanding schedules. By choosing trusted providers, practitioners gain in-depth knowledge on emerging treatments, refine diagnostic and patient-management skills, and build professional credibility. Know more at https://cme4life.com/the-benefits-of-online-cme-for-nurse-practitioners/
RELATIONS AND FUNCTIONS
1. Cartesian Product of Sets:
If A and B are two non-empty sets, then their Cartesian product is:
A × B = {(a, b) | a ∈ A, b ∈ B}
Number of elements: |A × B| = |A| × |B|
2. Relation:
A relation R from set A to B is a subset of A × B.
Domain: Set of all first elements.
Range: Set of all second elements.
Codomain: Set B.
3. Types of Relations:
Empty Relation: No element in R.
Universal Relation: R = A × A.
Identity Relation: R = {(a, a) | a ∈ A}
Reflexive: (a, a) ∈ R ∀ a ∈ A
Symmetric: (a, b) ∈ R ⇒ (b, a) ∈ R
Transitive: (a, b), (b, c) ∈ R ⇒ (a, c) ∈ R
Equivalence Relation: Reflexive, symmetric, and transitive
4. Function (Mapping):
A relation f: A → B is a function if every element of A has exactly one image in B.
Domain: A, Codomain: B, Range ⊆ B
5. Types of Functions:
One-one (Injective): Different inputs give different outputs.
Onto (Surjective): Every element of codomain is mapped.
One-one Onto (Bijective): Both injective and surjective.
Constant Function: f(x) = c ∀ x ∈ A
Identity Function: f(x) = x
Polynomial Function: e.g., f(x) = x² + 1
Modulus Function: f(x) = |x|
Greatest Integer Function: f(x) = [x]
Signum Function: f(x) =
-1 if x < 0,
0 if x = 0,
1 if x > 0
6. Graphs of Functions:
Learn shapes of basic graphs: modulus, identity, step function, etc.
The PDF titled "Critical Thinking and Bias" by Jibi Moses aims to equip a diverse audience from South Sudan with the knowledge and skills necessary to identify and challenge biases and stereotypes. It focuses on developing critical thinking abilities and promoting inclusive attitudes to foster a more cohesive and just society. It defines bias as a tendency or prejudice affecting perception and interactions, categorizing it into conscious and unconscious (implicit) biases. The content highlights the impact of societal and cultural conditioning on these biases, particularly within the South Sudanese context.
Students will research and orally present a Colombian company using a visual tool, in order to develop their communication skills and intercultural understanding through the exploration of identity, innovation, and local culture, in connection with the IB global themes.
2. Characteristics of OSPF’s
hierarchical design
First, let’s start with a review of the characteristics of OSPF’s hierarchical design.
Recall that OSPF allows for the creation of multiple areas so that the network
administrator can:
Reduce the size of routing tables
Isolate topology changes as much as possible to the area in which they occur
Allow only summary Link state advertisements (LSA) updates to cross area
boundaries and Reap all the benefits of using a hierarchical addressing
scheme.
3. Minimizes routing
table entries
Localizes impact of
a topology change
within an area
Detailed Link State
Advertisement (LSA)
flooding stops at
the area boundary
Requires a
hierarchical
network design
OSPF Areas
Review of OSPF area characteristics:
4. Transit Area:
Also known as
Backbone Area 0
Regular Area:
Also known as
Nonbackbone areas
OSPF Areas
New terminology for areas:
5. OSPF Areas
•The backbone area is also referred to as a transit area.
•Another type of transit area is one that is configured with virtual links.
•Virtual links are a temporary solution when an organization has two
backbones that are physically and logically disconnected.
•A virtual link between the two backbones is also called a transit area.
•All other areas are known as regular areas (standard areas, stub areas,
totally stubby areas, and NSSAs)
6. OSPF Database
• OSPF maintains three databases
• Adjacency Database (show ip ospf
neighbor)
• Link-state Database (show ip ospf
database)
• Forwarding Database (show ip route)
7. OSPF Database
• Remember that OSPF uses three databases in its operation:
The Adjacency Database is a table listing all OSPF neighbors with which
the local router has established bidirectional communication. Display
this table with the show ip ospf neighbor command.
The Link-state Database is a table listing all other routers in the network.
This database shows the network topology. All OSPF routers in the
same area have identical Link-state Databases. Display this table with the
show ip ospf database command.
The Forwarding Database is simply the routing table. It includes a list of
all routes generated when the SPF algorithm is calculated on the Link-state
Database. Display this table with the show ip route command.
8. What is LSDB?
• LSDB is an acronym for Link-state Database.
• LSAs and the Link-state Database
9. LSA Sequence Numbering
• Each LSA in the LSDB maintains a sequence number.
• The sequence numbering scheme is a 4-byte number
that begins with 0x80000001 and ends with 0x7…..F.
• OSPF floods each LSA every 30 minutes to maintain
proper database synchronization. Each time the LSA is
flooded, the sequence number is incremented by one.
• Ultimately, an LSA sequence number will wrap around
to 0x80000001. When this occurs, the existing LSA is
prematurely aged to maxage (one hour) and flushed.
• When a router encounters two instances of an LSA, it
must determine which is more recent. The LSA having
the newer (higher) LS sequence number is more recent.
10. The OSPF Link-State Database
• The show ip ospf database
command displays the current LSDB for the
local router.
.
RTC#show ip ospf database
OSPF Router with ID (192.168.1.253) (Process ID 3)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
192.168.1.249 192.168.1.249 1705 0x80000005 0x00D5B0 5
192.168.1.253 192.168.1.253 1578 0x80000006 0x009F91 5
11. RTC#show ip ospf database
OSPF Router with ID (192.168.1.253) (Process ID 3)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
192.168.1.249 192.168.1.249 106 0x80000006 0x00D3B1 5
192.168.1.253 192.168.1.253 58 0x80000007 0x009D92 5
RTC#show ip ospf database
OSPF Router with ID (192.168.1.253) (Process ID 3)
Router Link States (Area 0)
Link ID ADV Router Age Seq# Checksum Link count
192.168.1.249 192.168.1.249 1705 0x80000005 0x00D5B0 5
192.168.1.253 192.168.1.253 1578 0x80000006 0x009F91 5
Verifying LSA Age and Sequence
Number
• In the first output below, notice the age timer will
expire sometime after 1800 seconds or 30 minutes.
A few minutes later, the router has received an LSU for both links. Note
the refreshed age timer and incremented sequence number.
13. Configuring OSPF
• An excellent resource for information on the
many different OSPF configurations is the
Cisco white paper, “Configuring OSPF”, which
can be downloaded from the Cisco website:
http://www.cisco.com/en/US/products/sw/
iosswrel/ps1835/
products_configuration_guide_chapter09186a00
800b3f2e.html
14. router ospf process-id [vrf vpn-name]
Router(config)#
Enable one or more OSPF routing processes.
Configuring Basic OSPF
network ip-address wildcard-mask area area-id
Router(config-router)#
Define the interfaces that OSPF will run on.
Router(config-if)#
ip ospf process-id area area-id [secondaries none]
Optional method to enable OSPF explicitly on an interface.
15. Configuring OSPF for Multiple Areas
Example: Configuring OSPF for Multiple Areas
The figure shows an example of multiarea OSPF configuration. Router A is in area 0, router C is in
area 1, and router B is the area border router (ABR) between the two areas.
The configuration for router A is nothing new. However although Router B has a network
statement for area 0 within the OSPF routing process, notice that the configuration for area 1 uses
the ip ospf 50 area 1 command on the interface.
Alternatively, we could have used a separate network router configuration command in the OSPF
routing process.
16. OSPF Router ID
• The router is known to OSPF by the OSPF router ID number
• LSDBs use the OSPF router ID to differentiate one router from the next.
• By default, the router ID is the highest IP address on an active interface at
the moment of OSPF process startup.
If no interface is up when the OSPF process starts, you will get the following error message:
p5r2(config)#router ospf 1
2w1d: %OSPF-4-NORTRID: OSPF process 1 cannot start.
• A loopback interface can override the OSPF router ID. If a loopback
interface exists, the router ID is the highest IP address on any active
loopback interface.
• The OSPF router-id command can be used to override the OSPF router
ID.
• Using a loopback interface or a router-id command is recommended for
stability.
17. router-id ip-address
This command is configured under the router ospf [process-id]
command.
Any unique arbitrary 32-bit value in an IP address format (dotted decimal)
can be used.
If this command is used on an OSPF process that is already active, then the
new router ID takes effect after the next reload or after a manual restarting
of the OSPF process using:
OSPF router-id Command
Router(config-router)#
Router(config)#router ospf 1
Router(config-router)#router-id 172.16.1.1
Router#clear ip ospf process
Router#clear ip ospf process
19. Virtual Links
• Virtual links are used to connect a discontiguous area to area 0.
• A logical connection is built between router A and router B.
• Virtual links are recommended for backup or temporary
connections.
20. Special Treatment for LSAs on Virtual Links
• LSAs usually age out after 30 minutes
• LSAs learned across virtual links have the DoNotAge (DNA) option set
• Required to prevent excessive flooding over virtual links
21. Configuring Virtual Links
• Creates a virtual link
• Optional parameters are used in place of
interface ip ospf commands
area area-id virtual-link router-id [authentication
[message-digest | null]] [hello-interval seconds]
[retransmit-interval seconds] [transmit-delay seconds]
[dead-interval seconds] [[authentication-key key] |
[message-digest-key key-id md5 key]]
Router(config-router)#
22. RouterA#sh ip ospf virtual-links
Virtual Link OSPF_VL0 to router 10.2.2.2 is up
Run as demand circuit
DoNotAge LSA allowed.
Transit area 1, via interface Serial0/0/1, Cost of using 781
Transmit Delay is 1 sec, State POINT_TO_POINT,
Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
Hello due in 00:00:07
Adjacency State FULL (Hello suppressed)
Index 1/2, retransmission queue length 0, number of retransmission 1
First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0)
Last retransmission scan length is 1, maximum is 1
Last retransmission scan time is 0 msec, maximum is 0 msec
Configuring and Verifying a Virtual Link
24. • OSPF supports 2 types of authentication:
•Simple password authentication (plain text)
•MD5 authentication
• Router generates and checks each packet and authenticates the source
of each update packet it receives
• Configure a “key” (password)
•Note: all participating neighbors must have the same key
configured
OSPF Authentication Types
25. Configuring Simple Password Authentication
ip ospf authentication-key password
Router(config-if)#
• Assign a password to be used with neighboring routers.
Router(config-if)#
ip ospf authentication [message-digest | null]
• Specifies the authentication type for an interface (since IOS
12.0).
Router(config-router)#
area area-id authentication [message-digest]
• Specifies the authentication type for an area (was in IOS before 12.0).
27. R2 Configuration for Simple Password Authentication
<output omitted>
interface Loopback0
ip address 10.2.2.2 255.255.255.0
<output omitted>
interface Serial0/0/1
ip address 192.168.1.102 255.255.255.224
ip ospf authentication
ip ospf authentication-key plainpas
<output omitted>
router ospf 10
log-adjacency-changes
network 10.2.2.2 0.0.0.0 area 0
network 192.168.1.0 0.0.0.255 area 0
28. Verifying Simple Password Authentication
R1#sh ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.2.2.2 0 FULL/ - 00:00:32 192.168.1.102 Serial0/0/1
R1#show ip route
<output omitted>
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O 10.2.2.2/32 [110/782] via 192.168.1.102, 00:01:17, Serial0/0/1
C 10.1.1.0/24 is directly connected, Loopback0
192.168.1.0/27 is subnetted, 1 subnets
C 192.168.1.96 is directly connected, Serial0/0/1
R1#ping 10.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/29/32 ms
29. Configuring OSPF MD5 Authentication
• Specifies the authentication type for an area (was in IOS before 12.0).
area area-id authentication [message-digest]
• Specifies the authentication type for an interface (since IOS
12.0).
ip ospf authentication [message-digest | null]
ip ospf message-digest-key key-id md5 key
Router(config-if)#
• Assign a key ID and key to be used with neighboring routers.
Router(config-if)#
Router(config-router)#
31. R2 Configuration for MD5
Authenticaiton
<output omitted>
interface Loopback0
ip address 10.2.2.2 255.255.255.0
<output omitted>
interface Serial0/0/1
ip address 192.168.1.102 255.255.255.224
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 secretpass
<output omitted>
router ospf 10
log-adjacency-changes
network 10.2.2.2 0.0.0.0 area 0
network 192.168.1.0 0.0.0.255 area 0
32. Verifying MD5 Authentication
R1#sho ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.2.2.2 0 FULL/ - 00:00:31 192.168.1.102 Serial0/0/1
R1#show ip route
<output omitted>
Gateway of last resort is not set
10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
O 10.2.2.2/32 [110/782] via 192.168.1.102, 00:00:37, Serial0/0/1
C 10.1.1.0/24 is directly connected, Loopback0
192.168.1.0/27 is subnetted, 1 subnets
C 192.168.1.96 is directly connected, Serial0/0/1
R1#ping 10.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/28/32 ms
33. Troubleshooting Simple Password Authentication
R1#debug ip ospf adj
OSPF adjacency events debugging is on
R1#
<output omitted>
*Feb 17 18:42:01.250: OSPF: 2 Way Communication to 10.2.2.2 on Serial0/0/1,
state 2WAY
*Feb 17 18:42:01.250: OSPF: Send DBD to 10.2.2.2 on Serial0/0/1 seq 0x9B6 opt
0x52 flag 0x7 len 32
*Feb 17 18:42:01.262: OSPF: Rcv DBD from 10.2.2.2 on Serial0/0/1 seq 0x23ED
opt0x52 flag 0x7 len 32 mtu 1500 state EXSTART
*Feb 17 18:42:01.262: OSPF: NBR Negotiation Done. We are the SLAVE
*Feb 17 18:42:01.262: OSPF: Send DBD to 10.2.2.2 on Serial0/0/1 seq 0x23ED opt
0x52 flag 0x2 len 72
<output omitted>
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.2.2.2 0 FULL/ - 00:00:34 192.168.1.102 Serial0/0/1
• Displays the OSPF adjacency-related events.
debug ip ospf adj
Router#
34. Troubleshooting Simple Password Authentication
Problems
R1#
*Feb 17 18:54:01.238: OSPF: Rcv pkt from 192.168.1.102, Serial0/0/1 :
Mismatch Authentication Key - Clear Text
R2#
*Feb 17 18:53:13.050: OSPF: Rcv pkt from 192.168.1.101, Serial0/0/1 :
Mismatch Authentication Key - Clear Text
Simple authentication on R1 and R2, but different
passwords:
R1#
*Feb 17 18:51:31.242: OSPF: Rcv pkt from 192.168.1.102, Serial0/0/1 :
Mismatch Authentication type. Input packet specified type 0, we use type 1
R2#
*Feb 17 18:50:43.046: OSPF: Rcv pkt from 192.168.1.101, Serial0/0/1 :
Mismatch Authentication type. Input packet specified type 1, we use type 0
Simple authentication on R1, no authentication on R2:
35. Troubleshooting MD5 Authentication
R1#debug ip ospf adj
OSPF adjacency events debugging is on
<output omitted>
*Feb 17 17:14:06.530: OSPF: Send with youngest Key 1
*Feb 17 17:14:06.546: OSPF: 2 Way Communication to 10.2.2.2 on Serial0/0/1,
state 2WAY
*Feb 17 17:14:06.546: OSPF: Send DBD to 10.2.2.2 on Serial0/0/1 seq 0xB37 opt
0x52 flag 0x7 len 32
*Feb 17 17:14:06.546: OSPF: Send with youngest Key 1
*Feb 17 17:14:06.562: OSPF: Rcv DBD from 10.2.2.2 on Serial0/0/1 seq 0x32F opt
0x52 flag 0x7 len 32 mtu 1500 state EXSTART
*Feb 17 17:14:06.562: OSPF: NBR Negotiation Done. We are the SLAVE
*Feb 17 17:14:06.562: OSPF: Send DBD to 10.2.2.2 on Serial0/0/1 seq 0x32F opt
0x52 flag 0x2 len 72
*Feb 17 17:14:06.562: OSPF: Send with youngest Key 1
<output omitted>
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
10.2.2.2 0 FULL/ - 00:00:35 192.168.1.102 Serial0/0/1
36. Troubleshooting MD5 Authentication Problems
MD5 authentication on both R1 and R2, but R1 has key 1 and R2 has key 2, both
with the same passwords:
R1#
*Feb 17 17:56:16.530: OSPF: Send with youngest Key 1
*Feb 17 17:56:26.502: OSPF: Rcv pkt from 192.168.1.102, Serial0/0/1 :
Mismatch Authentication Key - No message digest key 2 on interface
*Feb 17 17:56:26.530: OSPF: Send with youngest Key 1
R2#
*Feb 17 17:55:28.226: OSPF: Send with youngest Key 2
*Feb 17 17:55:28.286: OSPF: Rcv pkt from 192.168.1.101, Serial0/0/1 :
Mismatch Authentication Key - No message digest key 1 on interface
*Feb 17 17:55:38.226: OSPF: Send with youngest Key 2
38. Routing Resources
1. Static Routing Configuration Guide with Examples
2. RIP Protocol configuration Guide with Examples
3. Basic OSPF Configuration
4. OSPF Routing Protocol Overview - Study CCNA
5. How to Configure EIGRP on Cisco Routers (With Example)
Editor's Notes
#14:
Step 1: Enable the OSPF process on the router using the router ospf command. The process-id is an internally used number to identify the OSPF routing process. The process ID does not need to match process IDs on other routers. Running multiple OSPF processes on the same router is not recommended because it creates multiple database instances that add extra overhead.
However, if you are routing for multiple VPN routing and forwarding instances, the each VRF needs its own routing process. The vrf vpn-name option specifies the name of the VPN routing and forwarding (VRF) instance to associate with OSPF VRF processes. For more information on configuring VRF and OSPF refer to the following Cisco link:
http://www.cisco.com/en/US/products/ps6350/products_configuration_guide_chapter09186a008045577b.html
Step 2: Identify which interfaces on the router are part of the OSPF process, using the
network command, as shown in the figure. We are all familiar with this command.
The ip ospf process-id area area-id interface command is a completely new command starting with Cisco IOS Release 12.3(11)T. With this command, you can enable OSPF directly on an interface, which simplifies the configuration of unnumbered interfaces. Because the command is configured explicitly for the interface, it will take precedence over the network area command. The secondaries none option will prevent secondary IP addresses on the interface from being advertised.
#21: We are already familiar with how to configure a basic virtual link. Simply use the area area-id virtual-link router-id router configuration command on each side of the link to define an OSPF virtual link. However, notice all the optional parameters that we can configure for the virtual link. If necessary for the virtual link, authentication and timing intervals must be configured here because the link is virtual. The equivalent ip ospf commands on the physical interface will not apply to traffic on the virtual link.
#26: The figure shows the network used to illustrate the configuration, verification, and troubleshooting of simple password authentication in the next few slides. The configuration of the R1 router is shown in this figure as well.
Simple password authentication is configured on interface serial 0/0/1 with the ip ospf authentication command. The interface is configured with an authentication key of plainpas.
#27: Simple password authentication is configured on interface serial 0/0/1 with the ip ospf authentication command. The interface is configured with an authentication key of plainpas. Notice that the connecting interfaces on both R1 and R2 are configured for the same type of authentication with the same authentication key.
#28: The figure shows the output of the show ip ospf neighbor and show ip route commands.
The neighbor state is FULL, indicating that the two routers have successfully formed an OSPF adjacency. The routing table verifies that the 10.2.2.2 address has been learned via OSPF over the serial connection.
The results of a ping to the R2 loopback interface address is also displayed to illustrate that the link is working.
#29: MD5 authentication involved a 2-step process. To configure OSPF MD5 authentication, complete the following steps:
Assign a key ID and key to be used with neighboring routers that are using the OSPF MD5 authentication, using the ip ospf message-digest-key command, as shown in the figure.
The key and the key-id specified in this command are used to generate a message digest (also called a hash) of each OSPF packet; the message digest is appended to the packet. A separate password can be assigned to each network on a per-interface basis. The key-id allows for uninterrupted transitions between keys, which is helpful for administrators who wish to change the OSPF password without disrupting communication.
The router will stop sending duplicate packets once it detects that all of its neighbors have adopted the new key.
The process of changing keys is as follows. Suppose the current configuration is as follows:
interface FastEthernet 0/0
ip ospf message-digest-key 100 md5 OLD
Change the configuration to the following:
interface FastEthernet 0/0
ip ospf message-digest-key 101 md5 NEW
The system assumes its neighbors do not have the new key yet, so it begins a rollover process. Rollover allows neighboring routers to continue communication while the network administrator is updating them with the new key. Rollover stops once the local system finds that all its neighbors know the new key. The system detects that a neighbor has the new key when it receives packets from the neighbor authenticated by the new key.
Cisco recommends that you not keep more than one key per interface. Every time you add a new key, you should remove the old key to prevent the local system from continuing to communicate with a hostile system that knows the old key.
Specify the authentication type using the ip ospf authentication command as shown in the figure. The parameters for this command are as described in the previous topic. For MD5 authentication, use the ip ospf authentication command with the message-digest parameter. Before using this command, configure the message digest key for the interface with the ip ospf message-digest-key command.
Recall that the ip ospf authentication command was introduced in Cisco IOS Software Release 12.0. As it is for simple password authentication, the MD5 authentication type for an area is still supported using the area area-id authentication message-digest router configuration command, for backward compatibility.
NOTE: Limit to interfaces where attacks are possible