OSPFv3 GR configuration example

Network requirements

As shown in Figure 93:

Figure 93: Network diagram

Configuration procedure

  1. Configure IPv6 addresses for interfaces. (Details not shown.)

  2. Configure basic OSPFv3:

    # On Switch A, enable OSPFv3 process 1, enable GR, and set the router ID to 1.1.1.1.

    <SwitchA> system-view
    [SwitchA] ospfv3 1
    [SwitchA-ospfv3-1] router-id 1.1.1.1
    [SwitchA-ospfv3-1] graceful-restart enable
    [SwitchA-ospfv3-1] quit
    [SwitchA] interface vlan-interface 100
    [SwitchA-Vlan-interface100] ospfv3 1 area 1
    [SwitchA-Vlan-interface100] quit
    

    # On Switch B, enable OSPFv3 and set the router ID to 2.2.2.2. (By default, GR helper is enabled on Switch B.)

    <SwitchB> system-view
    [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
    

    # On Switch C, enable OSPFv3 and set the router ID to 3.3.3.3. (By default, GR helper is enabled on Switch C.)

    <SwitchC> system-view
    [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
    

Verifying the configuration

# Perform a master/backup switchover on Switch A to trigger an OSPFv3 GR operation. (Details not shown.)

# Restart OSPFv3 on Switch A to trigger an OSPFv3 GR operation. (Details not shown.)