Verifying the configuration – H3C Technologies H3C S6800 Series Switches User Manual
Page 286
273
[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 10.1.1.1
[PE2-route-policy] quit
# Configure FRR for VPN instance vpn1 to reference routing policy frr.
[PE2] bgp 100
[PE2-bgp] ip vpn-instance vpn1
[PE2-bgp-vpn1] address-family ipv4 unicast
[PE2-bgp-ipv4-vpn1] fast-reroute route-policy frr
[PE2-bgp-ipv4-vpn1] quit
[PE2-bgp-vpn1] quit
# Specify the preferred value as 200 for BGP VPNv4 routes received from PE 3. This value is
greater than the preferred value (0) for IPv4 unicast routes from CE 2, so PE 2 prefers the routes
from PE 3.
[PE2-bgp] address-family vpnv4
[PE2-bgp-vpnv4] peer 3.3.3.3 preferred-value 200
[PE2-bgp-vpnv4] quit
[PE2-bgp] quit
3.
Enable MPLS BFD on PE 3.
[PE3] mpls bfd enable
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
SubProtID: 0x1 Age: 00h00m04s
Cost: 0 Preference: 255
IpPre: N/A QosLocalID: N/A
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0x102 OrigAs: 300
NibID: 0x15000004 LastAs: 300
AttrID: 0x1 Neighbor: 3.3.3.3
Flags: 0x110060 OrigNextHop: 3.3.3.3
Label: 1275 RealNextHop: 172.3.1.3
BkLabel: NULL BkNextHop: 10.1.1.1
Tunnel ID: 0x409 Interface: Vlan-int15
BkTunnel ID: Invalid BkInterface: Vlan-int13
FtnIndex: 0x0