No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

CLI-based Configuration Guide - IP Unicast Routing

AR100, AR120, AR150, AR160, AR200, AR1200, AR2200, AR3200, and AR3600 V200R009

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
OSPFv3 GR

OSPFv3 GR

Graceful restart (GR) is a technology used to ensure normal traffic forwarding when a routing protocol restarts and guarantee that key services are not affected in the process.

GR is one of the high availability (HA) technologies, which comprise a series of comprehensive technologies such as fault-tolerant redundancy, link protection, faulty node recovery, and traffic engineering. As a redundancy technology, GR is widely used to ensure uninterrupted forwarding of key data in active/standby switchover and system upgrade.

If GR is not enabled, an active/standby switchover leads to transient interruption of data forwarding, and as a result, route flapping occurs on the whole network. Such route flapping and service interruption are unacceptable on a large-scale network, especially on a carrier network.

In GR mode, the forwarding plane continues to direct data forwarding once a restart occurs, and the actions on the control plane, such as reestablishment of neighbor relationships and route calculation, do not affect the forwarding plane. In this manner, service interruption caused by route flapping is prevented so that the network reliability is improved.

Basic Concepts

  • Grace-LSA

    • OSPFv3 supports GR by flooding Grace-LSAs on the link.

    • Grace-LSAs are used to inform the neighbor of the GR time, cause, and interface instance ID when GR starts and ends.

  • Router function

    • A router can function as a GR restarter.

    • A router can function as a GR helper.

    NOTE:
    In practical application, in order to realize that business forwarding is not affected by motherboard failure, it is usually possible to configure BGP GR in the hardware environment of dual motherboard to make sense.

    All the models support the GR Helper, and only AR3200 series support the GR Restarter.

  • GR implementation

    • Planned-GR: This refers to the smooth restart of OSPFv3 through the reset ospfv3 graceful-restart command. In this mode, a Grace-LSA is sent to the neighbor before the restart.

    • Unplanned-GR: This refers to the active/standby switchover triggered by router faults like power down, dead loop, exception or reset in master.

      Unlike planned-GR, no Grace-LSA is sent before the active/standby switchover in unplanned GR mode. Instead, the switchover is directly performed. When the standby board becomes Up, a Grace-LSA is sent and the GR process starts. The following procedure is the same as that of planned GR.

GR Process

Figure 6-3 OSPFv3 planned-GR process (reset ospfv3 graceful-restart)

Figure 6-4 OSPFv3 unplanned-GR process (active/standby switchover)

  • On the GR restarter:

  1. In planned-GR mode, the GR restarter sends a Grace-LSA to all neighbors to inform them of the start of a GR process and the period and cause of this process.

    In unplanned GR mode, a Grace-LSA is sent to each neighbor immediately after the standby board is Up to inform the neighbors of the start of a GR process and the period and cause of the process.

  2. The GR restarter performs negotiation with neighbors again to set up new neighbor relationships.

  3. When all the neighbor relationships between the GR restarter and the original neighbors enter the Full state:

    • The GR restarter exits from the GR process and OSPFv3 recalculates routes.

    • The GR restarter updates the routing table on the main control board and the FIBs on interface boards and deletes invalid routing entries.

    • The GR restarter sends a Grace-LSA whose aging time is 3600 seconds to instruct the GR helper to exit from the GR process.

    Now, the GR process is complete.

  4. If errors occur during a GR process, the GR timer expires, or the neighbor relationship fails to enter the Full state during a GR process, the GR restarter exits from the process and OSPFv3 is restarted in non-GR mode. In this case, packets are lost.

  • On the GR helper:

  1. If a router is configured to support the GR process on its neighbor, the router enters the helper mode after receiving a Grace-LSA.

  2. The GR helper maintains its neighbor relationship with the GR restarter, and the status of the neighbor relationship does not change.

  3. If the GR helper continues to receive Grace-LSAs whose GR period is different from that on the GR helper, the GR helper updates its GR period.

  4. Being informed of the successful GR process through a Grace-LSA whose aging time is 3600 seconds from the GR restarter, the GR helper exits from the GR process.

  5. If errors occur during a GR process, the GR helper exits from the helper state and deletes invalid routes after route calculation.

Comparison between the GR Mode and the Non-GR Mode

Table 6-5 Comparison between the OSPFv3 GR mode and the OSPFv3 non-GR mode

Active/Standby Switchover in Non-GR Mode

Active/Standby Switchover in GR Mode

  • OSPFv3 neighbor relationships are reestablished.

  • Routes are recalculated.

  • The forwarding table changes.

  • Route changes are sensed on the network and route flapping occurs over a short period of time.

  • Packets are lost during forwarding, and services are interrupted.

  • OSPFv3 neighbor relationships are reestablished.

  • Routes are recalculated.

  • The forwarding table remains the same.

  • Except the neighbor of the device where the active/standby switchover occurs, other routers do not sense the route changes.

  • No packets are lost during forwarding, and services are not affected.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 129272

Downloads: 274

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next