ingress-lsp protect-mode bgp-frr (BGP-VPN instance IPv4 address family view/BGP-labeled VPN instance IPv4 address family view)

Function

The ingress-lsp protect-mode bgp-frr command enables the BGP LSP FRR protection mode on the ingress.

The undo ingress-lsp protect-mode bgp-frr command disables the BGP LSP FRR protection mode on the ingress.

By default, BGP LSP FRR protection is disabled on the ingress.

Format

ingress-lsp protect-mode bgp-frr

undo ingress-lsp protect-mode

Parameters

None

Views

BGP-labeled VPN instance IPv4 address family view, BGP-VPN instance IPv4 address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

In a CSC scenario, to improve service reliability, configure BGP FRR on the ingress of a BGP LSP and then run the bestroute nexthop-resolved tunnel and ingress-lsp protect-mode bgp-frr commands, implementing BGP LSP FRR protection. If the primary BGP LSP fails, services can be quickly switched to the backup BGP LSP, minimizing the duration of traffic interruption.

Prerequisites

BGP auto FRR has been enabled.

Configuration Impact

If the ingress-lsp trigger command is run more than once, the latest configuration overrides the previous one.

Precautions

It is recommended that the selection of labeled BGP IPv4 routes be based on the bestroute nexthop-resolved command.

Example

# Configure the protection mode of BGP auto FRR for BGP ingress LSPs.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[*HUAWEI-vpn-instance-vpna] ipv4-family
[*HUAWEI-vpn-instance-vpna-af-ipv4] route-distinguisher 1:1
[*HUAWEI-vpn-instance-vpna-af-ipv4] quit
[*HUAWEI-vpn-instance-vpna] quit
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family vpn-instance vpna
[*HUAWEI-bgp-vpna] ingress-lsp protect-mode bgp-frr
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >