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.


Configuration Guide - IP Unicast Routing

CloudEngine 12800 and 12800E V200R002C50

This document describes the configurations of IP Unicast Routing, including IP Routing, Static Route, RIP, RIPng, OSPF, OSPFv3, IPv4 IS-IS, IPv6 IS-IS, BGP, Routing Policy, and PBR.

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 switch 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 switchs.

In the format of an IPv4 address, a router ID is a 32-bit unsigned integer that uniquely identifies a switch 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 switchs in an AS are different. When multiple processes are enabled on a switch, 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 switch 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.

    If a VPN instance is specified, the OSPFv3 process belongs to the specified VPN instance. Otherwise, the OSPFv3 process belongs to the public network instances.

  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 switches in one OSPF 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.

  4. Run commit

    The configuration is committed.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 274083

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next