< Home

Configuring IP FRR for VPN Routes

Pre-configuration Tasks

Before configuring IP FRR for VPN routes, complete the following tasks:

  • Configure basic BGP/MPLS IP VPN functions (OSPF between the PE and CE). For details, see Configuring Basic BGP/MPLS IP VPN Functions.
  • Ensure that the PE has learned VPN routes with the same prefix from the attached CE devices.

Context

IP FRR for VPN routes is used in scenarios where multiple CE devices connect to one PE device. As shown in Figure 1, the PE device forwards data to the site of vpn1 through Link_A, and Link_B is a backup link. When the PE device detects that the route to CE1 is unreachable, it immediately switches traffic to Link_B and then performs other operations to trigger VPN route convergence. This minimizes impact of the link failure on VPN services.

Figure 1 IP FRR for VPN routes

Perform the following configuration on a PE device that connects to multiple CE devices.

Procedure

  • configuring IP FRR
    1. Run system-view

      The system view is displayed.

    2. Run route-policy route-policy-name { permit | deny } node node

      A node is configured for a route-policy, and the route-policy view is displayed.

    3. Run apply backup-interface interface-type interface-number

      A backup outbound interface is specified.

    4. (Optional) Run apply backup-nexthop ip-address

      A backup next hop is specified.

    5. Run quit

      Return to the system view.

    6. Run ip vpn-instance vpn-instance-name

      The VPN instance view is displayed.

    7. Run ipv4-family

      The VPN instance IPv4 address family view is displayed.

    8. Run ip frr route-policy route-policy-name

      IP FRR is enabled for the VPN instance IPv4 address family.

Verifying the Configuration

Run the display ip routing-table vpn-instance vpn-instance-name [ ipv4-address ] verbose command to check the backup next hops and backup outbound interfaces of VPN-IPv4 routes in the routing table.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >