157
Figure 48
Network diagram for OSPF GR configuration
Vlan-int100
192.1.1.1/24
Vlan-int100
192.1.1.3/24
Vlan-int100
192.1.1.2/24
GR helper
GR helper
GR restarter
Switch A
Switch C
Switch B
Router ID: 1.1.1.1
Router ID: 2.2.2.2
Router ID: 3.3.3.3
Configuration procedure
1.
Configure IP addresses for interfaces (details not shown).
2.
Configure OSPF GR.
a.
Configure Switch A.
<SwitchA> system-view
[SwitchA] router id 1.1.1.1
[SwitchA] ospf 100
[SwitchA-ospf-100] enable link-local-signaling
[SwitchA-ospf-100] enable out-of-band-resynchronization
[SwitchA-ospf-100] graceful-restart
[SwitchA-ospf-100] area 0
[SwitchA-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255
[SwitchA-ospf-100-area-0.0.0.0] return
b.
Configure Switch B.
<SwitchB> system-view
[SwitchB] acl number 2000
[SwitchB-acl-basic-2000] rule 10 permit source 192.1.1.1 0.0.0.0
[SwitchB-acl-basic-2000] quit
[SwitchB] router id 2.2.2.2
[SwitchB] ospf 100
[SwitchB-ospf-100] graceful-restart help 2000
[SwitchB-ospf-100] area 0
[SwitchB-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255
c.
Configure Switch C.
<SwitchC> system-view
[SwitchC] acl number 2000
[SwitchC-acl-basic-2000] rule 10 permit source 192.1.1.1 0.0.0.0