Ospf nsr configuration example, Network requirements, Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 137

Advertising
background image

121

OSPF 100: Start Flush Stale ASE + NSSA LSAs

OSPF 100: End Flush Stale ASE + NSSA LSAs

Switch A completes GR with the help of Switch B.

OSPF NSR configuration example

Network requirements

As shown in

Figure 48

, Switch S, Switch A, and Switch B belong to the same OSPF routing domain.

Enable OSPF NSR on Switch S to ensure correct routing when an active/standby switchover occurs on
Switch S.

Figure 48 Network diagram

Configuration procedure

1.

Configure IP addresses and subnet masks for interfaces on the switches. (Details not shown.)

2.

Configure OSPF on the switches to make sure that Switch S, Switch A, and Switch B can
communicate with each other at Layer 3 and dynamic route update can be implemented among

them with OSPF. (Details not shown.)

3.

Enable OSPF NSR on Switch S.

<SwitchS> system-view

[SwitchS] ospf non-stop-routing

4.

Verify the configuration:
After Switch S establishes neighbor relationships with Switch A and Switch B, they start to
exchange routing information. After network convergence, perform an active/standby switchover

on Switch S. During the switchover period, use the display ospf peer command to check the

neighbor relationship between Switch A and Switch S and between Switch B and Switch S; use the
display ospf routing command to check if there are routes from Switch A to the loopback interface

on Switch B and from Switch B to the loopback interface on Switch A.
# Perform an active/standby switchover on Switch S.

[SwitchS] slave switchover enable

[SwitchS] slave switchover

Caution!!! Confirm to switch slave to master? [Y/N]:y

# Display OSPF neighbors and routes on Switch A.

<SwitchA> display ospf peer

OSPF Process 1 with Router ID 192.168.1.40

Neighbor Brief Information

Area: 0.0.0.0

Router ID Address Pri Dead-Time Interface State

192.168.1.41 12.12.12.2 1 40 Vlan100 Full/BDR

<SwitchA> display ospf routing

Advertising