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


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


NE40E V800R010C10SPC500 Configuration Guide - IP Routing 01

This is NE40E V800R010C10SPC500 Configuration Guide - IP Routing
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).
Configuring OSPF GR Helper

Configuring OSPF GR Helper

To avoid traffic interruption and route flapping caused by the active/standby switchover, you can enable OSPF GR.

Usage Scenario

Graceful Restart (GR) is a technology used to ensure normal traffic forwarding and non-stop forwarding of key services during the restart of routing protocols. GR is one of high availability (HA) technologies. HA technologies comprise a set of comprehensive techniques, such as fault-tolerant redundancy, link protection, faulty node recovery, and traffic engineering. As a fault-tolerant redundancy technology, GR is widely used to ensure non-stop forwarding of key services during master/slave switchover and system upgrade.


GR includes the GR restarter and GR helper. NE40E supports the GR Helper only.

Pre-configuration Tasks

Before configuring OSPF GR, complete the following tasks:


  1. Run system-view

    The system view is displayed.

  2. Run ospf [ process-id ]

    The OSPF view is displayed.

  3. Run opaque-capability enable

    The Opaque-LSA capability is enabled.

    OSPF supports OSPF GR through Type 9 LSAs (Opaque LSAs). Therefore, before configuring OSPF GR, run the opaque-capability enable command to enable the Opaque-LSA capability.

  4. Configure GR session parameters on the helper.
    1. Run graceful-restart helper-role ignore-external-lsa

      The Helper is configured to ignore AS-external LSAs.

    2. Run graceful-restart helper-role planned-only

      The Helper is configured to support only planned GR.

    3. Choose either of the following configuration as required:

      • Configure a basic ACL rule.
        1. Run graceful-restart [ helper-role { { acl-number acl-number | acl-name acl-name } * } | never } ]

          GR session parameters on the helper are configured.

        2. Run quit

          The system view is displayed.

        3. Run acl { name basic-acl-name { basic | [ basic ] number basic-acl-number } | [ number ] basic-acl-number } [ match-order { config | auto } ]

          The basic ACL view is displayed.

        4. Run rule [ rule-id ] [ name rule-name ] { deny | permit } [ fragment-type { fragment | non-fragment | non-subseq | fragment-subseq | fragment-spe-first } | source { source-ip-address { source-wildcard | 0 | src-netmask } | any } | time-range time-name | vpn-instance vpn-instance-name ] *

          The rule for the basic ACL is configured.

          When the rule command is run to configure rules for a named ACL, only the source address range specified by source and the time period specified by time-range are valid as the rules.

      • Configure an IP prefix list.

        Run graceful-restart [ helper-role { { ip-prefix ip-prefix-name * } | never } ]

        GR session parameters on the helper are configured.

  5. Run commit

    The configuration is committed.

Checking the Configuration

Run the display ospf graceful-restart command, and you can view the configurations about OSPF GR.

<HUAWEI> display ospf graceful-restart
         OSPF Process 1 with Router ID               

 Helper-policy support                : planned, un-planned, ignore external lsa check
 Current GR state                     : Normal

 Number of restarting neighbors : 0

 Last exit reason:
  On Helper     : none
Updated: 2019-01-03

Document ID: EDOC1100055018

Views: 49966

Downloads: 205

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