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.


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).
Enabling OSPFv3

Enabling OSPFv3


OSPFv3 supports multiple processes. Multiple OSPFv3 processes running on one router are differentiated by process IDs. OSPFv3 process ID is set when OSPFv3 is enabled and is only locally valid. It does not affect the packet exchange with other routers.

In the format of an IPv4 address, a router ID is a 32-bit unsigned integer that uniquely identifies a router within an AS. The router ID of OSPFv3 must be manually set. If no router ID is set, OSPFv3 fails to run normally.

When manually setting the router ID, ensure that the router IDs of any two routers in an AS are different. When multiple processes are enabled on a router, it is necessary to specify a unique route ID for each process.

To ensure the stable running of OSPFv3, you need to allocate router IDs and set them in network planning.

Do as follows on the router that runs OSPFv3.


  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 [ process-id ] [ vpn-instance vpn-instance-name ]

    OSPFv3 is enabled and the OSPFv3 view is displayed.

  3. Run router-id router-id

    A Router ID is set.

    If a router ID conflict occurs, perform either of the following operations:

    • Reconfigure a router ID.
    • Run the undo ospfv3 router-id auto-recover disable command to enable the router ID automatic recovery function. After the function is enabled, the system automatically allocates a new router ID.
      • If the automatic recovery function is enabled and a router ID conflict occurs between indirectly connected routers in one OSPFv3 area, the system replaces the conflicted router ID with a newly calculated one. The automatic recovery function takes effect on both configured and automatically generated router IDs.
      • The system can replace a router ID in a maximum of three attempts in case the router ID conflict persists.

Updated: 2019-05-17

Document ID: EDOC1000174069

Views: 132046

Downloads: 274

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