
113
Routing for Network
Destination Cost Type NextHop AdvRouter Area
10.2.1.0/24 2 Transit 10.2.1.1 3.3.3.3 0.0.0.1
10.3.1.0/24 5 Inter 10.2.1.2 3.3.3.3 0.0.0.0
10.1.1.0/24 2 Transit 10.1.1.2 2.2.2.2 0.0.0.0
Total Nets: 3
Intra Area: 2 Inter Area: 1 ASE: 0 NSSA: 0
The output shows that Router B has learned the route 10.3.1.0/24 to Area 2.
OSPF GR configuration example
Network requirements
•
As shown in
, Router A, Router B, and Router C that belong to the same autonomous
system and the same OSPF routing domain are GR capable.
•
Router A acts as the non-IETF GR restarter; Router B and Router C are the GR helpers and
re-synchronize their LSDB with Router A through OOB communication of GR.
Figure 29
Network diagram
Configuration procedure
1.
Configure IP addresses for interfaces. (Details not shown.)
2.
Enable OSPF:
# Configure Router A
<RouterA> system-view
[RouterA] router id 1.1.1.1
[RouterA] ospf 100
[RouterA-ospf-100] area 0
[RouterA-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255
[RouterA-ospf-100-area-0.0.0.0] quit
# Configure Router B
<RouterB> system-view
[RouterB] router id 2.2.2.2
[RouterB] ospf 100