< Home

frr-priority static low

Function

The frr-priority static low command enables dynamic backup links to take preference over static backup links so that the LFA algorithm is used to calculate the nexthop and outbound interface.

The undo frr-priority static command disables this function.

By default, this function is disabled, static backup links take preference over dynamic backup links during route selection.

Product

Support

S5720-EI, S5720-HI, S5720I-SI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730-HI, S5730S-EI, S5730-SI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6720S-SI, S6720-SI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S6720-LI, and S6720S-LI

Not supported

Format

frr-priority static low

undo frr-priority static

Parameters

None

Views

OSPF FRR view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The nexthop and outbound interface of an OSPF loop-free backup link can be obtained using either of the following methods:

  • For a static backup link, after IP FRR is enabled using the ip frr command in the system view or VPN instance view, configure a nexthop and an outbound interface for the static backup link.
  • For a dynamic backup link, after OSPF IP FRR is enabled using the loop-free-alternate command, enable the device to use the LFA algorithm to calculate the nexthop and outbound interface for the dynamic backup link.

By default, static backup links take preference over dynamic backup links during route selection. However, static backup links are less flexible than dynamic backup links. If a link failure occurs, static backup links cannot update automatically, but dynamic backup links can. Therefore, to ensure automatic link updates, run the frr-priority static low command to enable dynamic backup links to take preference over static backup links so that the LFA algorithm is used to calculate the nexthop and outbound interface.

Prerequisites

The OSPF IP FRR view has been displayed using the frr command.

Example

# Enable the device to use the LFA algorithm to calculate the backup nexthop and outbound interface.

<HUAWEI> system-view
[HUAWEI] ospf
[HUAWEI-ospf-1] frr
[HUAWEI-ospf-1-frr] frr-priority static low
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >