< Home

Enabling OSPFv3

Context

OSPFv3 supports multiple processes on a switch. These processes are differentiated by process IDs. A process ID is set when OSPFv3 is enabled and is only locally valid. It does not affect packet exchange with other switches.

A router ID is a 32-bit unsigned integer that uniquely identifies a switch within an AS. It is expressed in the IPv4 address format. OSPFv3 router IDs must be manually set. If the router ID is not set, OSPFv3 cannot function normally.

Ensure that the router IDs of switches in an AS are all different. When multiple processes are enabled on a switch, specify a unique route ID for each process.

Plan router IDs and manually configure them to ensure the stable operation of OSPFv3.

Perform the following operations on the switch that runs OSPFv3.

Procedure

  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.

    When configuring a router ID, ensure that the router ID is unique in an AS. You can select the IP address of an interface as the router ID.

    If router IDs conflict in an OSPFv3 process, routers cannot establish OSPFv3 neighbor relationships, and the routing information is incorrect.

    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 switch to automatically change the conflicted router ID to its own IP address.
      • After the undo ospfv3 router-id auto-recover disable command is run, the conflicting router ID will be changed.

      • After the router ID is changed, if the new router ID still conflicts with another one, the switch is allowed to reconfigure one for a maximum of three times.

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