HC110110017 Link State Routing With OSPF
HC110110017 Link State Routing With OSPF
HC110110017 Link State Routing With OSPF
Page 1 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Objectives
Upon completion of this section, you will be able to:
Explain the OSPF convergence process.
Page 2 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Open Shortest Path First(OSPF)
RTA
RTB Site B
OSPF
Site A
RTC
OSPF
Scalable
Page 3 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
OSPF Convergence Behavior
RTB RTA
LSDB
OSPF LSA Flooding
LSA of RTA
Page 4 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Router ID
2.2.2.2 1.1.1.1
RTB RTA
RTC
3.3.3.3
A router ID is a 32-bit value used to identify each router running the OSPF protocol.
Page 5 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
OSPF Supported Network Types
2.2.2.2 1.1.1.1
RTB RTA
Broadcast
3.3.3.3 4.4.4.4
RTC RTD
2.2.2.2 1.1.1.1
RTB RTA
Broadcast
2.2.2.2 1.1.1.1
RTB RTA
Point-to-Point
Serial technologies such as PPP and HDLC will default to the Point-to-Point
network type.
Page 7 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
OSPF Supported Network Types
DR
ATM/FR ATM/FR
1.1.1.1 2.2.2.2
RTA RTB
BDR DR
RTC RTD
3.3.3.3 4.4.4.4
Page 9 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Neighbor States
1.1.1.1 2.2.2.2
RTA RTB
Neighbor
Adjacent Adjacent
BDR DR
RTC RTD
3.3.3.3 4.4.4.4
Down
Attempt
Init
2-Way Neighbor
ExStart
Exchange
RTA RTB
Hello
Hello
Designated Router
Neighbor
Priority=0 (Priority=1)
Broadcast
DR (Priority=255)
Broadcast
RTC
RTD
DR (Priority=255)
[RTD]interface GigabitEthernet0/0/0
[RTD-GigabitEthernet0/0/0]ospf network-type p2p
Broadcast
DR (Priority=255)
Point-to-Point
RTC
RTD
The Backup Designated Router (BDR) forms adjacencies with all other
routers and will become the DR if the existing DR fails.
Page 14 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Database Synchronization
RTA (Router ID: 1.1.1.1) RTB (Router ID: 2.2.2.2)
DD, (Master)(Sequence=X)
DD, (Master)(Sequence=Y)
DD, (Slave)(Sequence=Y)
DD, (Master)(Sequence=Y+1)
DD, (Master)(Sequence=Y+1)
Loading
Link State Request
G0/0/0
[RTB]ospf
[RTB-ospf-1]bandwidth-reference 10000
20.0.0.0/8 10.0.0.0/8
RTA RTD
RTC
192.168.2.0/24 192.168.1.0/24
[RTC]display ip routing-table
……
Destination/Mask Proto Pre Cost Flags NextHop Interface
10.0.0.0/8 OSPF 10 20 D 192.168.1.4 G0/0/0
20.0.0.0/8 OSPF 10 20 D 192.168.1.4 G0/0/0
OSPF 10 20 D 192.168.2.1 G0/0/1
RTA
Area 0 RTB
RTD RTF
RTC
RTE
RTA
Area 0 RTB
Area 1 Area 3
RTD RTF
RTC
RTE
Area 2
Area 0
RTA RTB
G0/0/0 G0/0/0
.1 192.168.1.0/24 .2
Router ID: 1.1.1.1 Router ID: 2.2.2.2
Page 22 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
OSPF Authentication
RTA RTB
G0/0/0 G0/0/0
Password:huawei
[RTA]interface GigabitEthernet0/0/0
[RTA-GigabitEthernet0/0/0]ospf authentication-mode md5 1 huawei
Page 23 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Validation
<RTA>terminal debugging
<RTA>debugging ospf packet
Aug 19 2013 08:10:06.850.2+00:00 RTA RM/6/RMDEBUG: Source Address:
192.168.1.1
Aug 19 2013 08:10:06.850.3+00:00 RTA RM/6/RMDEBUG: Destination
Address: 224.0.0.5
……
Aug 19 2013 08:10:06.850.6+00:00 RTA RM/6/RMDEBUG: Area: 0.0.0.0,
Chksum: 0
Aug 19 2013 08:10:06.850.7+00:00 RTA RM/6/RMDEBUG: AuType: 02
Aug 19 2013 08:10:06.850.8+00:00 RTA RM/6/RMDEBUG: Key(ascii): * *
* * * * * *
Page 24 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
OSPF Silent Interface
RTA RTB
G0/0/0 G0/0/0
192.168.1.0/24
[RTA]ospf
[RTA-ospf-1]silent-interface GigabitEthernet0/0/0
Page 25 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Configuration Validation
Page 26 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Summary
What is the purpose of the dead interval in the OSPF header?
Page 27 Copyright © 2019 Huawei Technologies Co., Ltd. All rights reserved.
Thank You
www.huawei.com