< Home

frr-policy route

Function

The frr-policy route command configures a filtering policy to allow IS-IS to filter the IS-IS backup routes to be added in the IP routing table.

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

By default, IS-IS does not filter the IS-IS backup routes to be added in the IP routing table.

Product

Support

S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S

Supported

S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI

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 a route-policy to filter IS-IS backup routes. The name is a string of 1 to 40 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

IS-IS FRR view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The filtering policy can be configured as required. In this case, the IS-IS backup route that satisfies specified rules can be added to the IP routing table and delivered to the forwarding table. When a fault occurs on the route, the system can fast switch the forwarded traffic to the IS-IS backup route to protect traffic.

You can use IP prefix lists or ACLs to filter IS-IS backup routes.

Precautions

If you run the frr-policy route command multiple times, only the latest configuration takes effect.

Creating a route-policy before it is referenced is recommended. By default, nonexistent route-policies cannot be referenced using the command. 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, IS-IS adds all backup routes to the IP routing table.

Example

# Configure IS-IS to filter IS-IS backup routes using route-policy and add the routes matching the route-policy abc to the IP routing table.

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