[SwitchA-Vlan-interface100] quit
# Enable OSPFv3 on Switch B and set the router ID to 2.2.2.2. (By default, GR helper is
enabled on Switch B.)
<SwitchB> system-view
[SwitchB] ipv6
[SwitchB] ospfv3 1
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ospfv3 1 area 1
[SwitchB-Vlan-interface100] quit
# Enable OSPFv3 on Switch C and set the router ID to 3.3.3.3. (By default, GR helper is
enabled on Switch C.)
<SwitchC> system-view
[SwitchC] ipv6
[SwitchC] ospfv3 1
[SwitchC-ospfv3-1] router-id 3.3.3.3
[SwitchC-ospfv3-1] quit
[SwitchC] interface vlan-interface 100
[SwitchC-Vlan-interface100] ospfv3 1 area 1
[SwitchC-Vlan-interface100] quit
Verify the configuration:
3.
# After all switches function properly, perform a master/backup switchover on Switch A to
trigger an OSPFv3 GR operation.
BFD for OSPFv3 configuration example
Network requirements
As shown in
•
Configure OSPFv3 on Switch A, Switch B and Switch C and configure BFD over the link Switch
A<—>L2 Switch<—>Switch B.
•
After the link Switch A<—>L2 Switch<—>Switch B fails, BFD can quickly detect the failure and
notify OSPFv3 of the failure. Then Switch A and Switch B communicate through Switch C.
Figure 93 Network diagram
Device
Switch A
Figure
93:
Interface
IPv6 address
Vlan-int10
2001::1/64
Device
Interface
Switch B
Vlan-int10
294
IPv6 address
2001::2/64