< Home

Enabling OSPFv3 IP FRR

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 [ process-id ] [ vpn-instance vpn-instance-name ]

    An OSPFv3 process is started, and the OSPFv3 view is displayed.

  3. Run frr

    The OSPFv3 IP FRR view is displayed.

  4. Run loop-free-alternate

    OSPFv3 IP FRR is enabled to generate a loop-free backup link.

    By default, this function is disabled. OSPFv3 can generate a loop-free backup link only when the OSPFv3 IP FRR traffic protection inequality is met.

    In the following description, Distance_opt(X, Y) indicates the shortest link from node X to node Y, S stands for a source node, E for the faulty node, N for a node along a backup link, and D for a destination node.

    • Link protection takes effect when the traffic to be protected flows along a specified link and the link cost meets the inequality: Distance_opt(N, D) < Distance_opt(N, S) + Distance_opt(S, D).

    • Node-and-link protection takes effect when the traffic to be protected flows along a specified link and passes through a specified node and the following conditions are met:

      • The link cost meets the inequality: Distance_opt(N, D) < Distance_opt(N, S) + Distance_opt(S, D).
      • The interface cost meets the inequality: Distance_opt(N, D) < Distance_opt(N, E) + Distance_opt(E, D).

  5. (Optional) Run frr-policy route route-policy route-policy-name

    An OSPFv3 IP FRR filtering policy is configured.

    After an OSPFv3 IP FRR filtering policy is configured, only the OSPFv3 backup routes that pass the filtering criteria can be delivered to the forwarding table. To protect the traffic over a specific OSPFv3 route, you can configure a filtering policy that matches the OSPFv3 route to ensure that the route can be added to the forwarding table. If this route fails, OSPFv3 can fast switch the traffic to a backup route.

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