< Home

Enabling OSPF

Enabling OSPF is the prerequisite for configuring OSPF.

Context

To ensure the stability of OSPF, you should determine the division of router IDs and manually configure them when planning the network. When configuring router ID manually, you should ensure that the router IDs of any two routers in a single AS are different. Generally, the router ID is configured to be consistent with the IP address of an interface of this router.

The FW supports OSPF multi-processes. When multiple OSPF processes are enabled on a FW, you must specify different process IDs. OSPF process ID is a local concept, with no effect on its packet exchange with other routers. Therefore, different FWs can also exchange packets, even with different process IDs.

Procedure

  1. Access the system view.

    system-view

  2. Enable OSPF and access the OSPF view.

    ospf [ process-id ] [ router-id router-id ]

    The FW supports OSPF multi-instance. To configure OSPF in a VPN instance, run the ospf [ process-id | router-id router-id | vpn-instance vpn-instance-name ] * command. If the VPN instance is specified, the OSPF process belongs to the specified instance. Otherwise, the OSPF process belongs to the global instance.

    The VPN instance name indicates a common VPN or the VPN created for a virtual system.

    When you configure an OSPF route for a virtual system, the OSPF process must be bound to the VPN instance with the same name as the virtual system.

    The ID of the OSPF process is unique, including the OSPF multi-instance. That is, the process ID of the OSPF multi-instance cannot be identical with the previously specified one.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >