R3303-HP HSR6800 Routers MPLS Configuration Guide

390
Figure 101 Network diagram
Device Interface IP address
Device
Interface
IP address
CE 1 GE2/1/1 10.2.1.1/24 PE 1 Loop0 1.1.1.1/32
PE 2 Loop0 2.2.2.2/32
GE2/1/1 10.2.1.2/24
GE2/1/1 172.1.1.2/24
GE2/1/2 172.1.1.1/24
G
E
2
/
1
/
2
10.1.1.2/24 GE2/1/3 172.2.1.1/24
PE 3 Loop0 3.3.3.3/32
CE 2
Loop0
4.4.4.4/32
GE2/1/1 172.2.1.2/24
GE2/1/1 10.1.1.1/24
G
E
2
/
1
/
2
10.3.1.2/24 GE2/1/2 10.3.1.1/24
Configuration procedure
1. Configure IP addresses for interfaces, and configure BGP and MPLS L3VPN:
For information about how to configure MPLS L3VPN, see "错误!未找到引用源。."
2. Configure MPLS L3VPN FRR:
# On PE 1, create a routing policy named vpnfrr to specify the backup nexthop as 3.3.3.3.
<PE1> system-view
[PE1] route-policy vpnfrr permit node 10
[PE1-route-policy] apply fast-reroute backup-nexthop 3.3.3.3
[PE1-route-policy] quit
# On PE 1, configure a routing policy named backup to set the route cost to 10.
[PE1] route-policy backup permit node 10
[PE1-route-policy] apply cost 10
[PE1-route-policy] quit