< Home

frr-policy route (OSPF)

Function

The frr-policy route command configures a filtering policy for the OSPF IP FRR backup routes. The filtering policy determines what kind of OSPF backup route can be added to the routing table.

The undo frr-policy route command cancels the filtering function.

By default, the filtering function is disabled.

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-policy route route-policy route-policy-name

undo frr-policy route

Parameters

Parameter Description Value

route-policy route-policy-name

Specifies the name of the policy used to filter OSPF backup routes.

The value must be an existing route-policy.

Views

OSPF FRR view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

OSPF IP FRR allows devices to fast switch traffic on fault links to back up links without interrupting traffic. This protects traffic and greatly improves the reliability of OSPF networks.

After the filtering policy is configured using the frr-policy route command, only the OSPF backup route that satisfies filtering rules can be delivered to the forwarding table.

Configuration Impact

To protect the traffic over a specific OSPF route, you can configure a filtering policy route-policy-name that the OSPF route matches to ensure that the backup route can be added to the forwarding table. When this route fails, OSPF can fast switch the traffic to a backup route.

Precautions

The frr-policy route command is cyclic in nature, and only the latest configuration takes effect.

If the route-policy nonexistent-config-check disable command is run in the system view and a nonexistent route-policy is referenced using the current command, OSPF adds all backup routes to the IP routing table.

Example

# Configure OSPF to add the OSPF backup routes that match the named ACL abc to the IP routing table.

<HUAWEI> system-view
[HUAWEI] ospf
[HUAWEI-ospf-1] frr
[HUAWEI-ospf-1-frr] loop-free-alternate
[HUAWEI-ospf-1-frr] frr-policy route route-policy abc
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >