H3C Technologies H3C S6800 Series Switches User Manual

Page 215

Advertising
background image

202

Method 1—Execute the pic command in BGP-VPN IPv4 unicast address family view. The device

calculates a backup next hop for each BGP route in the VPN instance if there are two or more
unequal-cost routes to reach the destination.

Method 2—Execute the fast-reroute route-policy command in BGP-VPN IPv4 unicast address family
view to reference a routing policy in which a backup next hop is specified by using the apply

fast-reroute backup-nexthop command. The backup next hop calculated by the device must be the

same as the specified backup next hop. Otherwise, the device does not generate a backup next
hop for the primary route. You can also configure if-match clauses in the routing policy to identify

the routes protected by FRR.

If both methods are configured, Method 2 takes precedence over Method 1.
To configure MPLS L3VPN FRR:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enable MPLS BFD.

mpls bfd enable

The mpls bfd enable command
applies to VPNv4 route backup for a
VPNv4 route and IPv4 route backup

for a VPNv4 route. For more

information about this command,
see MPLS Command Reference.

3.

Configure the source IP
address for BFD echo

packets.

bfd echo-source-ip ip-address

The bfd echo-source-ip command is
required when echo-mode BFD is
used to detect primary route

connectivity in VPNv4 route backup

for an IPv4 route. For more
information about this command,

see High Availability Command

Reference.

4.

Use BFD to test the
connectivity of an LSP or

MPLS TE tunnel.

Configure BFD to test the
connectivity of the LSP for the

specified FEC:

mpls bfd dest-addr mask-length
[ nexthop nexthop-address

[ discriminator local local-id

remote remote-id ] ] [ template
template-name ]

Configure BFD to test the

connectivity of the MPLS TE tunnel
for the tunnel interface:

a.

interface tunnel number
mode mpls-te

b.

mpls bfd [ discriminator

local local-id remote
remote-id ] [ template

template-name ]

c.

quit

By default, BFD is not configured to
test the connectivity of the LSP or

MPLS TE tunnel.
This step is required for VPNv4 route

backup for a VPNv4 route and IPv4
route backup for a VPNv4 route.

Use either command depending on

the public tunnel type.
For more information about the
commands in this step, see MPLS

Command Reference.

Advertising