260
Device
Interface
IP address
Device
Interface
IP address
PE 1
Loop0
1.1.1.1/32
Vlan-int13
10.1.1.2/24
Vlan-int10
10.2.1.2/24
Vlan-int15
172.3.1.2/24
Vlan-int11
172.1.1.1/24
PE 3
Loop0
3.3.3.3/32
Vlan-int12
172.2.1.1/24
Vlan-int12
172.2.1.3/24
CE 2
Loop0
4.4.4.4/32
Vlan-int14
10.3.1.2/24
Vlan-int13
10.1.1.1/24
Vlan-int15
172.3.1.3/24
Vlan-int14
10.3.1.1/24
Configuration procedure
1.
Configure IP addresses and masks for interfaces as shown in
, and configure BGP and
MPLS L3VPN. (Details not shown.)
For more information about configuring basic MPLS L3VPN, see "
."
2.
Configure MPLS L3VPN FRR on PE 2:
# Configure the source IP address of BFD echo packets as 12.1.1.1.
<PE2> system-view
[PE2] bfd echo-source-ip 12.1.1.1
# Create routing policy
frr
, and specify the backup next hop as 3.3.3.3 for the route to
4.4.4.4/32.
[PE2] ip prefix-list abc index 10 permit 4.4.4.4 32
[PE2] route-policy frr permit node 10
[PE2-route-policy] if-match ip address prefix-list abc
[PE2-route-policy] apply fast-reroute backup-nexthop 3.3.3.3
[PE2-route-policy] quit
# Use echo-mode BFD to detect the primary route connectivity.
[PE2] bgp 100
[PE2-bgp] primary-path-detect bfd echo
# Configure FRR for VPN instance
vpn1
to reference routing policy
frr
.
[PE2-bgp] ip vpn-instance vpn1
[PE2-bgp-vpn1] address-family ipv4 unicast
[PE2-bgp-ipv4-vpn1] fast-reroute route-policy frr
# Specify the preferred value as 200 for BGP routes received from CE 2. This value is greater
than the preferred value (0) for routes from PE 3, so PE 2 prefers the routes from CE 2.
[PE2-bgp-ipv4-vpn1] peer 10.1.1.1 preferred-value 200
[PE2-bgp-vpn1] quit
[PE2-bgp] quit
Verifying the configuration
# Display detailed information about the route to 4.4.4.4/32 on PE 2. The output shows the backup
next hop for the route.
[PE2] display ip routing-table vpn-instance vpn1 4.4.4.4 32 verbose
Summary Count : 1
Destination: 4.4.4.4/32
Protocol: BGP Process ID: 0
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...