< Home

apply backup-interface

Function

The apply backup-interface command configures a backup outbound interface in a routing policy.

The undo apply backup-interface command restores the default setting.

By default, the backup outbound interface is not configured in a routing policy.

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

apply backup-interface interface-type interface-number

undo apply backup-interface

Parameters

Parameter Description Value

interface-type interface-number

Specifies the type and number of the backup outbound interface.

-

Views

Route-Policy view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The apply backup-interface command is used in IP FRR scenarios to configure a backup outbound interface for a route. After IP FRR is enabled, data traffic can be quickly switched to the backup outbound interface if the primary link fails.

Prerequisites

if-match clauses can be used to configure matching rules such as IP prefix lists, and ACLs before a backup outbound interface is configured.

Follow-up Procedure

Reference a configured route-policy in the ip frr (system view) command or the ip frr (VPN instance view) command to configure IP FRR on a public network or VPN.

The apply backup-interface command is usually used together with the apply backup-nexthop command.

Precautions

For P2P links, a backup next hop is not necessary. For non-P2P links, a backup next hop is necessary.

Example

# Configure the backup outbound interface and the backup next hop in the route-policy named ip_frr_rp.

<HUAWEI> system-view
[HUAWEI] route-policy ip_frr_rp permit node 10
[HUAWEI-route-policy] apply backup-interface vlanif10
[HUAWEI-route-policy] apply backup-nexthop 192.168.20.2

# Delete the configured backup outbound interface from the route-policy named ip_frr_rp.

<HUAWEI> system-view
[HUAWEI] route-policy ip_frr_rp permit node 10
[HUAWEI-route-policy] undo apply backup-interface
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >