SlideShare a Scribd company logo
OSPF Initial
Configuration
www.huawei.com
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
Contents
1. OSPF Features and Configuration
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page1
OSPF Protocol Introduction
OSPF (open shortest path first) is an IGP (interior gateway protocol)
routing protocol and it is based on link state algorithm.
OSPF runs on IP layer directly and the value of IP protocol field is 89
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page2
OSPF Packet Types
OSPF Protocol
Header
Frame
Checksu
m
OSPF Protocol
Packet
IP Packet
Header
Link
Layer
Header
IP protocol value is 89
OSPF Basic Features
Supporting classless inter-domain routing (CIDR)
Dividing the whole routing domain into different areas
Loop-free
Fast route update and convergence
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page3
Fast route update and convergence
Using IP multicast address to send and receive protocol
message
Supporting ECMP (equal cost multi-path)
Supporting authentication
OSPF Multiple Areas
Area 0
Area 1
Area 4
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page4
Area 2
Area 3
Area 0 is backbone area,
all the ABRs have one
interface belongs to Area
0 at least.
Type of Router
ABR
BR
Area 0
Area 1
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page5
IR ASBR
Area 1
Area 2
AS100
AS200
OSPF
RIP
OSPF Multiple Area Configuration
Area 0
RTC
RTB
[RTB]router id 2.2.2.2
[RTB]ospf
[RTB-ospf-1]area 1
[RTB-ospf-1-area-0.0.0.1]network 2.2.2.2 0.0.0.0
[RTB-ospf-1-area-0.0.0.1]network 10.1.1.0 0.0.0.255
[RTB-ospf-1-area-0.0.0.1]quit
[RTB-ospf-1]area 0
[RTB-ospf-1-area-0.0.0.0]network 10.1.2.0 0.0.0.255
[RTB-ospf-1-area-0.0.0.0]return
<RTB>
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page6
Area 0
Area 1 Area 2
RTA
Loopback0
RTC
RTD
2.2.2.2/32
Loopback0
1.1.1.1/32
RTB
E0/0
10.1.1.0/24
E0/0
.2
.1
Loopback0
3.3.3.3/32
Loopback0
4.4.4.4/32
E0/1
10.1.2.0/24
.1 .2
E0/0
E0/1
E0/0
10.1.3.0/24
.1
.2
OSPF Multiple Area Configuration
Area 0 RTC
RTB
[RTC]router id 3.3.3.3
[RTC]ospf
[RTC-ospf-1]area 0
[RTC-ospf-1-area-0.0.0.0]network 10.1.2.0 0.0.0.255
[RTC-ospf-1-area-0.0.0.0]quit
[RTC-ospf-1]area 2
[RTC-ospf-1-area-0.0.0.2]network 3.3.3.3 0.0.0.0
[RTC-ospf-1-area-0.0.0.2]network 10.1.3.0 0.0.0.255
[RTC-ospf-1-area-0.0.0.2]return
<RTC>
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page7
Area 0
Area 1 Area 2
RTA
Loopback0
RTC
RTD
2.2.2.2/32
Loopback0
1.1.1.1/32
RTB
E0/0
10.1.1.0/24
E0/0
.2
.1
Loopback0
3.3.3.3/32
Loopback0
4.4.4.4/32
E0/1
10.1.2.0/24
.1 .2
E0/0
E0/1
E0/0
10.1.3.0/24
.1
.2
OSPF Multiple Area Configuration
Area 0
Area 1 Area 2
Loopback0
RTC
2.2.2.2/32
RTB
10.1.1.0/24
E0/0
.2
Loopback0
3.3.3.3/32
E0/1
10.1.2.0/24
.1 .2
E0/0
E0/1
10.1.3.0/24
.1
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page8
RTA RTD
Loopback0
1.1.1.1/32
E0/0
10.1.1.0/24
.1
Loopback0
4.4.4.4/32
E0/0
10.1.3.0/24
.2
[RTD]router id 4.4.4.4
[RTD]ospf
[RTD-ospf-1]area 2
[RTD-ospf-1-area-0.0.0.2]network 4.4.4.4 0.0.0.0
[RTD-ospf-1-area-0.0.0.2]network 10.1.3.0 0.0.0.255
[RTD-ospf-1-area-0.0.0.2]return
<RTD>
Display Neighbor Relationship
[RTB]display ospf peer
OSPF Process 1 with Router ID 2.2.2.2
Neighbors
Area 0.0.0.0 interface 10.1.2.1(Ethernet0/1)’s neighbor(
(
(
(s)
)
)
)
Router ID: 3.3.3.3 Address: 10.1.2.2 GR State: Normal
State: Full Mode:Nbr is Master Priority: 1
DR: 10.1.2.1 BDR: 10.1.2.2
Router ID
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page9
DR: 10.1.2.1 BDR: 10.1.2.2
Dead timer due in 33 sec
Neighbor is up for 00:00:17
Neighbors
Area 0.0.0.1 interface 10.1.1.2(Ethernet0/1)’s neighbor(
(
(
(s)
)
)
)
Router ID: 1.1.1.1 Address: 10.1.1.1 GR State: Normal
State: Full Mode:Nbr is Slave Priority: 1
DR: 10.1.1.1 BDR: 10.1.1.2
Dead timer due in 35 sec
Neighbor is up for 00:00:27
Neighbor information of
area 0
Neighbor
information of area 0
Validating Routing Table
[RTD]display ip routing-table
Routing Table: public net
Destination/Mask Protocol Pre Cost Nexthop Interface
1.1.1.1/32 OSPF 10 4 10.1.3.1 Ethernet0/0
2.2.2.2/32 OSPF 10 3 10.1.3.1 Ethernet0/0
3.3.3.3/32 OSPF 10 2 10.1.3.1 Ethernet0/0
Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page10
4.4.4.4/32 DIRECT 0 0 127.0.0.1 InLoopBack0
10.1.1.0/24 OSPF 10 3 10.1.3.1 Ethernet0/0
10.1.2.0/24 OSPF 10 2 10.1.3.1 Ethernet0/0
10.1.3.0/24 DIRECT 0 0 10.1.3.2 Ethernet0/0
10.1.3.2/32 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.0/8 DIRECT 0 0 127.0.0.1 InLoopBack0
127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
Thank you
www.huawei.com
www.huawei.com

More Related Content

PPTX
CCNA v6.0 ITN - Chapter 10
PPTX
6 weeks/months project training from CMC Faridabad - Ppt of ccna project from...
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 4
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 8
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 5
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 8
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 4
PDF
Brk 135 t-ccna_switching
CCNA v6.0 ITN - Chapter 10
6 weeks/months project training from CMC Faridabad - Ppt of ccna project from...
CCNA 1 Routing and Switching v5.0 Chapter 4
CCNA 2 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 5
CCNA 1 Routing and Switching v5.0 Chapter 8
CCNA 2 Routing and Switching v5.0 Chapter 4
Brk 135 t-ccna_switching

What's hot (20)

PPT
CCNA Chapter1
DOCX
Ccna topology based projects
PDF
200-125-ccna-v3
PPTX
CCNA PPT
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 9
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 6
PPTX
CCNA v6.0 ITN - Chapter 07
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 6
PPTX
CCNA v6.0 ITN - Chapter 08
PDF
CCNAv5 - S2: Chapter 7 Routing Dynamically
PPTX
Network Design on cisco packet tracer 6.0
PPTX
CCNA 2 Routing and Switching v5.0 Chapter 7
PPTX
ccna project on topic company infrastructure
PPT
CCNA presentation.
PPT
CCNA Exploration 2 - Chapter 6
PPT
CCNA SUMMER TRAINNING PPT
PDF
CCNAv5 - S3: Chapter6 Multiarea OSPF
PPTX
CCNA 1 Routing and Switching v5.0 Chapter 7
PDF
CCNAv5 - S1: Chapter 6 - Network Layer
PPT
CCNA 2
CCNA Chapter1
Ccna topology based projects
200-125-ccna-v3
CCNA PPT
CCNA 1 Routing and Switching v5.0 Chapter 9
CCNA 2 Routing and Switching v5.0 Chapter 6
CCNA v6.0 ITN - Chapter 07
CCNA 1 Routing and Switching v5.0 Chapter 6
CCNA v6.0 ITN - Chapter 08
CCNAv5 - S2: Chapter 7 Routing Dynamically
Network Design on cisco packet tracer 6.0
CCNA 2 Routing and Switching v5.0 Chapter 7
ccna project on topic company infrastructure
CCNA presentation.
CCNA Exploration 2 - Chapter 6
CCNA SUMMER TRAINNING PPT
CCNAv5 - S3: Chapter6 Multiarea OSPF
CCNA 1 Routing and Switching v5.0 Chapter 7
CCNAv5 - S1: Chapter 6 - Network Layer
CCNA 2
Ad

Similar to ospf initial configuration (20)

DOCX
Lab 9 instructions
PPT
Learn OSPF(Open Short Path First) routing to day
PPT
Day 12 enabling ospf
PDF
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
PPTX
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
PPT
PPTX
Лекц 15
PPT
Routing and OSPF
PDF
Ospf infografia
PPTX
OSPF by Abdullah Mukhtar
PDF
PPTX
Allwyn ospf ppt
PPT
9- Single Area OSPF on in networking.ppt
PPT
CCNA Exploration 2 - Chapter 11
DOCX
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
PPTX
Cisco CCNA OSPF IPV6 Configuration
PPTX
CCNA (R & S) Module 04 - Scaling Networks - Chapter 8
DOCX
OSPF Multiple-Area Configuration Objectives  Configu.docx
PDF
20407473 ospf
PPT
BSCI30S03 OSPF open shortest path first .ppt
Lab 9 instructions
Learn OSPF(Open Short Path First) routing to day
Day 12 enabling ospf
Day 3 ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
ENHANCED IGRP (EIGRP) AND OPEN SHORTEST PATH FIRST (OSPF)
Лекц 15
Routing and OSPF
Ospf infografia
OSPF by Abdullah Mukhtar
Allwyn ospf ppt
9- Single Area OSPF on in networking.ppt
CCNA Exploration 2 - Chapter 11
2.7.1 Packet Tracer - Single-Area OSPFv2 Configuration - ILM.docx
Cisco CCNA OSPF IPV6 Configuration
CCNA (R & S) Module 04 - Scaling Networks - Chapter 8
OSPF Multiple-Area Configuration Objectives  Configu.docx
20407473 ospf
BSCI30S03 OSPF open shortest path first .ppt
Ad

More from RandyDookheran1 (11)

PDF
Technology Tutorial and the basics of What Is SR MPLS
PDF
Technology Tutorial The Basics Of IPv6 SRv6
PPT
4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
PPTX
IPv6 Basis Training Presentation - Huawei
PPT
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
PPT
ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
PDF
HCIA-HNTD Intermediate Training Materials V2.2.pdf
PDF
Exploring IP Routing and Ethernet Bridging.pdf
PDF
2) Routing Protocol Basis.pdf
PDF
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
PDF
acl configuration
Technology Tutorial and the basics of What Is SR MPLS
Technology Tutorial The Basics Of IPv6 SRv6
4) ODC112012 OSPF Special Areas ISSUE1.00.ppt
IPv6 Basis Training Presentation - Huawei
ODC112017 Adjacency Relationship of IS-IS Protocol ISSUE1.00 (2).ppt
ODC010001 MPLS Basic Knowledge ISSUE1.5.ppt
HCIA-HNTD Intermediate Training Materials V2.2.pdf
Exploring IP Routing and Ethernet Bridging.pdf
2) Routing Protocol Basis.pdf
Configuration Guide - IP Multicast(V600R001C00_04) - NE80E40E.pdf
acl configuration

Recently uploaded (20)

PPTX
Geodesy 1.pptx...............................................
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
additive manufacturing of ss316l using mig welding
PDF
PPT on Performance Review to get promotions
PPTX
bas. eng. economics group 4 presentation 1.pptx
DOCX
573137875-Attendance-Management-System-original
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Lecture Notes Electrical Wiring System Components
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Well-logging-methods_new................
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
web development for engineering and engineering
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Geodesy 1.pptx...............................................
Automation-in-Manufacturing-Chapter-Introduction.pdf
R24 SURVEYING LAB MANUAL for civil enggi
additive manufacturing of ss316l using mig welding
PPT on Performance Review to get promotions
bas. eng. economics group 4 presentation 1.pptx
573137875-Attendance-Management-System-original
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Lecture Notes Electrical Wiring System Components
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Well-logging-methods_new................
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Foundation to blockchain - A guide to Blockchain Tech
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
web development for engineering and engineering
Model Code of Practice - Construction Work - 21102022 .pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx

ospf initial configuration

  • 1. OSPF Initial Configuration www.huawei.com Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved.
  • 2. Contents 1. OSPF Features and Configuration Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page1
  • 3. OSPF Protocol Introduction OSPF (open shortest path first) is an IGP (interior gateway protocol) routing protocol and it is based on link state algorithm. OSPF runs on IP layer directly and the value of IP protocol field is 89 Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page2 OSPF Packet Types OSPF Protocol Header Frame Checksu m OSPF Protocol Packet IP Packet Header Link Layer Header IP protocol value is 89
  • 4. OSPF Basic Features Supporting classless inter-domain routing (CIDR) Dividing the whole routing domain into different areas Loop-free Fast route update and convergence Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page3 Fast route update and convergence Using IP multicast address to send and receive protocol message Supporting ECMP (equal cost multi-path) Supporting authentication
  • 5. OSPF Multiple Areas Area 0 Area 1 Area 4 Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page4 Area 2 Area 3 Area 0 is backbone area, all the ABRs have one interface belongs to Area 0 at least.
  • 6. Type of Router ABR BR Area 0 Area 1 Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page5 IR ASBR Area 1 Area 2 AS100 AS200 OSPF RIP
  • 7. OSPF Multiple Area Configuration Area 0 RTC RTB [RTB]router id 2.2.2.2 [RTB]ospf [RTB-ospf-1]area 1 [RTB-ospf-1-area-0.0.0.1]network 2.2.2.2 0.0.0.0 [RTB-ospf-1-area-0.0.0.1]network 10.1.1.0 0.0.0.255 [RTB-ospf-1-area-0.0.0.1]quit [RTB-ospf-1]area 0 [RTB-ospf-1-area-0.0.0.0]network 10.1.2.0 0.0.0.255 [RTB-ospf-1-area-0.0.0.0]return <RTB> Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page6 Area 0 Area 1 Area 2 RTA Loopback0 RTC RTD 2.2.2.2/32 Loopback0 1.1.1.1/32 RTB E0/0 10.1.1.0/24 E0/0 .2 .1 Loopback0 3.3.3.3/32 Loopback0 4.4.4.4/32 E0/1 10.1.2.0/24 .1 .2 E0/0 E0/1 E0/0 10.1.3.0/24 .1 .2
  • 8. OSPF Multiple Area Configuration Area 0 RTC RTB [RTC]router id 3.3.3.3 [RTC]ospf [RTC-ospf-1]area 0 [RTC-ospf-1-area-0.0.0.0]network 10.1.2.0 0.0.0.255 [RTC-ospf-1-area-0.0.0.0]quit [RTC-ospf-1]area 2 [RTC-ospf-1-area-0.0.0.2]network 3.3.3.3 0.0.0.0 [RTC-ospf-1-area-0.0.0.2]network 10.1.3.0 0.0.0.255 [RTC-ospf-1-area-0.0.0.2]return <RTC> Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page7 Area 0 Area 1 Area 2 RTA Loopback0 RTC RTD 2.2.2.2/32 Loopback0 1.1.1.1/32 RTB E0/0 10.1.1.0/24 E0/0 .2 .1 Loopback0 3.3.3.3/32 Loopback0 4.4.4.4/32 E0/1 10.1.2.0/24 .1 .2 E0/0 E0/1 E0/0 10.1.3.0/24 .1 .2
  • 9. OSPF Multiple Area Configuration Area 0 Area 1 Area 2 Loopback0 RTC 2.2.2.2/32 RTB 10.1.1.0/24 E0/0 .2 Loopback0 3.3.3.3/32 E0/1 10.1.2.0/24 .1 .2 E0/0 E0/1 10.1.3.0/24 .1 Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page8 RTA RTD Loopback0 1.1.1.1/32 E0/0 10.1.1.0/24 .1 Loopback0 4.4.4.4/32 E0/0 10.1.3.0/24 .2 [RTD]router id 4.4.4.4 [RTD]ospf [RTD-ospf-1]area 2 [RTD-ospf-1-area-0.0.0.2]network 4.4.4.4 0.0.0.0 [RTD-ospf-1-area-0.0.0.2]network 10.1.3.0 0.0.0.255 [RTD-ospf-1-area-0.0.0.2]return <RTD>
  • 10. Display Neighbor Relationship [RTB]display ospf peer OSPF Process 1 with Router ID 2.2.2.2 Neighbors Area 0.0.0.0 interface 10.1.2.1(Ethernet0/1)’s neighbor( ( ( (s) ) ) ) Router ID: 3.3.3.3 Address: 10.1.2.2 GR State: Normal State: Full Mode:Nbr is Master Priority: 1 DR: 10.1.2.1 BDR: 10.1.2.2 Router ID Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page9 DR: 10.1.2.1 BDR: 10.1.2.2 Dead timer due in 33 sec Neighbor is up for 00:00:17 Neighbors Area 0.0.0.1 interface 10.1.1.2(Ethernet0/1)’s neighbor( ( ( (s) ) ) ) Router ID: 1.1.1.1 Address: 10.1.1.1 GR State: Normal State: Full Mode:Nbr is Slave Priority: 1 DR: 10.1.1.1 BDR: 10.1.1.2 Dead timer due in 35 sec Neighbor is up for 00:00:27 Neighbor information of area 0 Neighbor information of area 0
  • 11. Validating Routing Table [RTD]display ip routing-table Routing Table: public net Destination/Mask Protocol Pre Cost Nexthop Interface 1.1.1.1/32 OSPF 10 4 10.1.3.1 Ethernet0/0 2.2.2.2/32 OSPF 10 3 10.1.3.1 Ethernet0/0 3.3.3.3/32 OSPF 10 2 10.1.3.1 Ethernet0/0 Copyright © 2009 Huawei Technologies Co., Ltd. All rights reserved. Page10 4.4.4.4/32 DIRECT 0 0 127.0.0.1 InLoopBack0 10.1.1.0/24 OSPF 10 3 10.1.3.1 Ethernet0/0 10.1.2.0/24 OSPF 10 2 10.1.3.1 Ethernet0/0 10.1.3.0/24 DIRECT 0 0 10.1.3.2 Ethernet0/0 10.1.3.2/32 DIRECT 0 0 127.0.0.1 InLoopBack0 127.0.0.0/8 DIRECT 0 0 127.0.0.1 InLoopBack0 127.0.0.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0