3.3.3.3 4 100 24 19 0 00:17:18 Established 5
Step 7 Configure the VPN FRR routing policy.
[PE1] ip ip-prefix vpn_frr_list permit 2.2.2.2 32
[PE1] route-policy vpn_frr_rp permit node 10
[PE1-route-policy] if-match ip next-hop ip-prefix vpn_frr_list
[PE1-route-policy] apply backup-nexthop 3.3.3.3
[PE1-route-policy] quit
Step 8 Configure BFD multi-hop detection.
# Configure BFD multi-hop detection on the PE1.
[PE1] bfd
[PE1-bfd] quit
[PE1] bfd for_ip_frr bind peer-ip 2.2.2.2
[PE1-bfd-session-for_ip_frr] discriminator local 10
[PE1-bfd-session-for_ip_frr] discriminator remote 20
[PE1-bfd-session-for_ip_frr] commit
# Configure BFD multi-hop detection on the PE2.
[PE2] bfd
[PE2-bfd] quit
[PE2] bfd for_ip_frr bind peer-ip 1.1.1.1
[PE2-bfd-session-for_ip_frr] discriminator local 20
[PE2-bfd-session-for_ip_frr] discriminator remote 10
[PE2-bfd-session-for_ip_frr] commit
# Run the display bfd session all verbose command on the PE1 and PE2. You can find that a
multi-hop BFD session is set up, and the session status is Up.
Step 9 Enable the VPN FRR.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] ipv4-family
[PE1-vpn-instance-vpn1-af-ipv4] vpn frr route-policy vpn_frr_rp
[PE1-vpn-instance-vpn1-af-ipv4] quit
[PE1-vpn-instance-vpn1] quit
Check the information about the backup next hop, the backup label and the backup Tunnel ID.
<PE1> display ip routing-table vpn-instance vpn1 10.3.1.0 verbose
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Table : vpn1
Summary Count : 1
Destination: 10.3.1.0/24
Protocol: BGP Process ID: 0
Preference: 255 Cost: 0
NextHop: 2.2.2.2 Neighbour: 2.2.2.2
State: Active Adv Relied Age: 00h15m06s
Tag: 0 Priority: low
Label: 15361 QoSInfo: 0x0
IndirectID: 0x13
RelayNextHop: 0.0.0.0 Interface: Pos2/0/0
TunnelID: 0x6002002 Flags: RD
BkNextHop: 3.3.3.3 BkInterface:Unknown
BkLabel: 15362 SecTunnelID: 0x0
BkPETunnelID: 0x6002000 BkPESecTunnelID: 0x0
BkIndirectID: 0x15
Huawei AR1200 Series Enterprise Routers
Configuration Guide - VPN 3 BGP MPLS IP VPN Configuration
Issue 01 (2012-04-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
241