
379
Figure 102 Network diagram
Device Interface IP
address
Device Interface IP
address
CE 1
GE 2/1/1
10.2.1.1/24 PE
2
Loop0
2.2.2.2/32
PE 1
Loop0
1.1.1.1/32
GE 2/1/1
172.1.1.2/24
GE
2/1/1
10.2.1.2/24
GE
2/1/2
10.1.1.2/24
GE
2/1/2
172.1.1.1/24
GE
2/1/3
172.3.1.1/24
GE
2/1/3
172.2.1.1/24
PE 3
Loop0
3.3.3.3/32
CE 2
Loop0
4.4.4.4/32
GE
2/1/1
172.2.1.2/24
GE
2/1/1
10.1.1.1/24
GE
2/1/2
10.3.1.2/24
GE
2/1/2
10.3.1.1/24
GE 2/1/3
172.3.1.2/24
Configuration procedure
1.
Configure IP addresses for interfaces, BGP, and MPLS L3VPN:
2.
Configure MPLS L3VPN FRR:
# On PE 2, create a routing policy named vpnfrr to specify the backup next hop as 3.3.3.3.
<PE2> system-view
[PE2] bfd echo-source-ip 54.54.54.54
[PE2] route-policy vpnfrr permit node 10
[PE2-route-policy] apply fast-reroute backup-nexthop 3.3.3.3
# On PE 2, enable FRR in VPN 1 and reference the routing policy vpnfrr.
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] fast-reroute route-policy vpnfrr
[PE2-vpn-instance-vpn1] quit
3.
Verify the configuration:
Display routes destined for 4.4.4.4/32 on PE 2. You can see that the active route has a backup
next hop.
[PE2] display ip routing-table vpn-instance vpn1 4.4.4.4 verbose
Routing Table : vpn1
Summary Count : 2
Destination: 4.4.4.4/32
Protocol: BGP Process ID: 0
Preference: 255 Cost: 0
IpPrecedence: QosLcId: