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).
Creating an OSPF Process

Creating an OSPF Process


To run OSPF, a switch needs to have a router ID. A router ID is a 32-bit unsigned integer, which uniquely identifies a switch in an AS. To ensure stability of OSPF, you need to manually configure a router ID for each device during network planning.


  1. Run system-view

    The system view is displayed.

  2. Run ospf [ process-id | router-id router-id | vpn-instance vpn-instance-name ] *

    An OSPF process is created, and the OSPF view is displayed.

    • The parameter process-id specifies the ID of an OSPF process. The default value is 1.

      The switch supports OSPF multi-process. You can create different processes for different types of services. The OSPF process ID is valid only in the local area, and does not affect packet exchange with other switches. Therefore, different switches can also exchange packets even though they have different process IDs.

    • The parameter router-id router-id specifies the router ID of a switch.

      By default, the system automatically selects the IP address of an interface on the current device as the router ID. The largest IP address among loopback addresses is selected as the router ID preferentially. If no loopback interface is configured, the largest IP address among interfaces is selected as the router ID. When manually setting a router ID, ensure that the router ID of each device is unique in the AS. Typically, you can use the IP address of an interface on the device as the router ID.

      The router ID of each OSPF process must be unique on the OSPF network; otherwise, OSPF neighbor relationships cannot be set up and the problem of incorrect routing information will occur. Configuring a unique router ID for each OSPF process on each OSPF device is recommended to ensure stability.
    • The parameter vpn-instance vpn-instance-name specifies the name of a VPN instance.

      If a VPN instance is specified, the OSPF process belongs to the specified VPN instance; otherwise, the OSPF process belongs to a public network instance.

  3. Run commit

    The configuration is committed.

Updated: 2019-03-21

Document ID: EDOC1000166601

Views: 272371

Downloads: 161

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next