Configuring Route Recursion over SR 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.
  • If both the LDP and SR-MPLS BE tunnels are deployed and users want route recursion over SR-MPLS BE tunnels, configure an SR-MPLS BE tunnel-preferred policy on each device.
    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 LDP tunnels.

    4. Run commit

      The configuration is committed.

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