< Home

Enabling OSPFv3

Enable the OSPFv3 process and specify its router ID before configuring OSPFv3; otherwise, other functions cannot take effect.

Context

OSPFv3 supports multiple processes. Multiple OSPFv3 processes running on one device 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 devices in an AS are different. When multiple processes are enabled on a device, 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.

Procedure

  1. Access the system view.

    system-view

  2. Access the OSPFv3 process view.

    ospfv3 [ process-id ] [ vpn-instance vpn-instance-name ]

    The VPN instance specified by vpn-instance vpn-instance-name can be a common VPN instance or the VPN instance with the same name as the virtual system.

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

  3. Set a router ID.

    router-id router-id

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