Configuring Route Recursion over SR Tunnels

By default, routes are recursed to a BD EVPN or BGP VPNv4/VPNv6 network over MPLS LDP tunnels. If SR tunnels are used to carry service traffic, the function to recurse routes over SR tunnels must be configured.

Context

You can configure a tunnel policy or an SR-MPLS BE tunnel-preferred policy to recurse routes over SR tunnels.

Procedure

  • Configure a tunnel policy on PEs, DC-GWs, and L2GW/L3GWs and apply the tunnel policy. You can choose to recurse routes over SR-MPLS BE or SR-MPLS TE tunnels. For configuration details, see Configuring and Applying a Tunnel Policy.
  • Configure an SR-MPLS BE tunnel-preferred policy on PEs, DC-GWs, and L2GW/L3GWs so that users can choose to recurse routes over SR-MPLS BE tunnels.
    1. Run system-view

      The system view is displayed.

    2. Run segment-routing

      The segment routing view is displayed.

    3. Run tunnel-prefer segment-routing

      SR-MPLS BE tunnels are enabled to take precedence over other tunnels.

    4. Run commit

      The configuration is committed.

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