Professional Documents
Culture Documents
HC110113013 Link State Routing With OSPF
HC110113013 Link State Routing With OSPF
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 2
Objectives
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 3
Open Shortest Path First ( OSPF )
RTA
RTB Site B
OSPF RIP
O
Site A SP
F
ov
er
M
RTC PL
S
OSPF
Minimal Routing Traffic
Rapid Convergence Site C
Scalable
Accurate Route Metrics
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 4
OSPF Convergence Behavior
RTA
RTB
LSDB
LSA Flooding
OSPF LSA of RTA
Site A
LSA of RTB
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 5
Router ID
2.2.2.2 1.1.1.1
RTB RTA
RTC
3.3.3.3
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
DR
it
Vir
it
Vir
cu
cu
tua
Cir
tua
Cir
l
Ci
l
al
Ci
al
tu
rc
tu
rc u
uit
Vir
Vir
ATM/FR
it
ATM/FR
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 9
Designated Router & Backup Designated Router
1.1.1.1 2.2.2.2
RTA RTB
BDR DR
RTC RTD
3.3.3.3 4.4.4.4
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
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 12
Neighbor Discovery
RTA RTB
Hello
Hello
Designated Router
Neighbor
RTA RTB
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
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 14
Backup Designated Router Election
RTA RTB
Broadcast
DR (Priority=255)
Point-to-Point
RTC
RTD
G0/0/0
[RTB]ospf
[RTB-ospf-1]bandwidth-reference 10000
RTB RTE
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
[RTC]display ip
ip routing-table
routing-table
……
……
Destination/Mask
Destination/Mask Proto
Proto Pre
Pre Cost
Cost Flags
Flags NextHop
NextHop Interface
Interface
10.0.0.0/8
10.0.0.0/8 OSPF
OSPF 10
10 20
20 DD 192.168.1.4
192.168.1.4 G0/0/0
G0/0/0
20.0.0.0/8
20.0.0.0/8 OSPF
OSPF 10
10 20
20 DD 192.168.1.4
192.168.1.4 G0/0/0
G0/0/0
OSPF
OSPF 10
10 20
20 DD 192.168.2.1
192.168.2.1 G0/0/1
G0/0/1
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 17
OSPF Areas – Single Area
RTA
Area 0 RTB
RTD RTF
RTC
RTE
RTA
Area 0 RTB
Area 1 Area 3
RTD RTF
RTC
RTE
Area 2
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 19
OSPF Network Advertisement
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
[RTA]display
[RTA]display ospf
ospf peer
peer
OSPF
OSPF Process
Process 11 with
with Router
Router ID
ID 1.1.1.1
1.1.1.1
Neighbors
Neighbors
Area
Area 0.0.0.0
0.0.0.0 interface
interface 192.168.1.1(GigabitEthernet0/0/0)'s
192.168.1.1(GigabitEthernet0/0/0)'s neighbors
neighbors
Router
Router ID:
ID: 2.2.2.2
2.2.2.2 Address:
Address: 192.168.1.2
192.168.1.2
State:
State: Full
Full Mode:Nbr
Mode:Nbr is
is Master
Master Priority:
Priority: 11
DR:
DR: 192.168.1.2
192.168.1.2 BDR:
BDR: 192.168.1.1
192.168.1.1 MTU:
MTU: 00
Dead
Dead timer
timer due
due in
in 40
40 sec
sec
Retrans
Retrans timer
timer interval:
interval: 55
Neighbor
Neighbor is
is up
up for
for 00:00:31
00:00:31
Authentication
Authentication Sequence:
Sequence: [[ 00 ]]
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 21
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
RTA RTB
G0/0/0 G0/0/0
192.168.1.0/24
[RTA]ospf
[RTA-ospf-1]silent-interface GigabitEthernet0/0/0
[RTA]display
[RTA]display ospf
ospf 11 interface
interface GigabitEthernet0/0/0
GigabitEthernet0/0/0
OSPF
OSPF Process
Process 11 with
with Router
Router ID
ID 1.1.1.1
1.1.1.1
Interfaces
Interfaces
Interface:
Interface: 192.168.1.1
192.168.1.1 (GigabitEthernet0/0/0)
(GigabitEthernet0/0/0)
Cost:
Cost: 11 State:
State: DR
DR Type:
Type: Broadcast
Broadcast MTU:
MTU: 1500
1500
Priority:
Priority: 11
Designated
Designated Router:
Router: 192.168.1.1
192.168.1.1
Backup
Backup Designated
Designated Router:
Router: 0.0.0.0
0.0.0.0
Timers:
Timers: Hello
Hello 10
10 ,, Dead
Dead 40
40 ,, Poll
Poll 120
120 ,, Retransmit
Retransmit 55 ,, Transmit
Transmit
Delay
Delay 11
Silent
Silent interface,
interface, No
No hellos
hellos
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 24
Summary
Copyright © 2014 Huawei Technologies Co., Ltd. All rights reserved. Page 25
Thank you
www.huawei.com