< Home

Setting the Cost of the OSPFv3 Interface

OSPFv3 can automatically calculate the link cost for an interface according to the interface bandwidth. You can also set the link cost for the interface by using the related command.

Context

You can control route calculation by setting the link cost of OSPFv3 on different interfaces.

Procedure

  1. Access the system view.

    system-view

  2. Access the interface view.

    interface interface-type interface-number

  3. Set the cost of the OSPFv3 interface.

    ospfv3 cost cost [ instance instance-id ]

    By default, the cost value of the OSPFv3 interface is 1.

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