OSPFv3 NSR configuration example
Network requirements
As shown in Figure 94, Switch S, Switch A, and Switch B belong to the same AS and OSPFv3 routing domain. Enable OSPFv3 NSR on Switch S to ensure correct routing when an active/standby switchover occurs on Switch S.
Figure 94: Network diagram
Configuration procedure
Configure IPv6 addresses for interfaces. (Details not shown.)
Configure OSPFv3:
# On Switch A, enable OSPFv3, 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] 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.
<SwitchB> system-view [SwitchB] ospfv3 1 [SwitchB-ospfv3-1] router-id 2.2.2.2 [SwitchB-ospfv3-1] quit [SwitchB] interface vlan-interface 200 [SwitchB-Vlan-interface200] ospfv3 1 area 1 [SwitchB-Vlan-interface200] quit
# On Switch S, enable OSPFv3, set the router ID to 3.3.3.3, and enable NSR.
<SwitchS> system-view [SwitchS] ospfv3 1 [SwitchS-ospfv3-1] router-id 3.3.3.3 [SwitchS-ospfv3-1] non-stop-routing [SwitchS-ospfv3-1] quit [SwitchS] interface vlan-interface 100 [SwitchS-Vlan-interface100] ospfv3 1 area 1 [SwitchS-Vlan-interface100] quit [SwitchS] interface vlan-interface 200 [SwitchS-Vlan-interface200] ospfv3 1 area 1 [SwitchS-Vlan-interface200] quit
Verifying the configuration
# Perform an active/standby switchover on Switch S, and verify that NSR can ensure continuous traffic forwarding between Switch A and Switch B. (Details not shown.)