Configuring a Tunnel Selector

EVPN public network routes recurse to IP tunnels based on next hops by default. To enable EVPN public network routes to recurse to SRv6 BE next hops, deploy a tunnel selector for route matching.

Context

By default, EVPN public network routes recurse to IP tunnels based on next hops.

When EVPN L3VPN over SRv6 BE interworks with L3VPN over MPLS in Option B mode, EVPN public network routes on ASBRs need to recurse to SRv6 BE next hops.

Procedure

  1. On the ASBR, run system-view

    The system view is displayed.

  2. Run tunnel-selector name matchMode node node

    A tunnel selector is created and its view is displayed.

  3. Run apply segment-routing ipv6 best-effort

    The function to recurse routes to SRv6 BE next hops based on SID attributes is enabled.

  4. Run quit

    Exit the tunnel selector view.

  5. Run bgp { as-number-plain | as-number-dot }

    The BGP view is displayed.

  6. Run l2vpn-family evpn

    The BGP-EVPN address family view is displayed.

  7. Run tunnel-selector tunnel-selector-name

    The tunnel selector is applied.

  8. Run quit

    Exit the BGP-EVPN address family view.

  9. Run quit

    Exit the BGP address family view.

  10. Run commit

    The configuration is committed.

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