< Home

Enabling OSPFv3 on an Interface

You must enable OSPFv3 and specify the interface and area ID before configuring other functions. OSPFv3 configurations, however, are independent of interface-related features.

Context

After enabling OSPFv3 in the system view, you need to enable OSPFv3 on the interface.

Procedure

  1. Access the system view.

    system-view

  2. Access the interface view.

    interface interface-type interface-number

  3. Enable OSPFv3 on the interface.

    ospfv3 process-id area area-id [ instance instance-id ]

    The area ID can be a decimal integer or in the IPv4 address format, but it is displayed in the IPv4 address format.

    When the routes to the network of the loopback interface are advertised by using OSPFv3, the prefixes of the routes are advertised as 128-bit prefixes, regardless of the configured prefix of the loopback address.

  4. Configure the network type of the interface.

    ospfv3 network-type { broadcast | nbma | p2mp [ non-broadcast ] | p2p } [ instance instance-id ]

    When an interface supports multi-instances, you must specify the value of instance-id when enabling OSPFv3 on the interface. If the value of instance-id is not specified, the default value 0 is adopted. In this case, the configured network type of an interface mismatches the actual network type of the interface. This step is mandatory in such a case.

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