The tunnel-selector command applies a tunnel selector.
The undo tunnel-selector command deletes the configuration.
By default, no tunnel selector is applied to BGP-VPNv4, BGP-VPNv6 or labeled BGP routes. BGP-VPNv4, BGP-EVPN routes, BGP-VPNv6 or labeled BGP routes recurse only to LSPs.
Usage Scenario
On a BGP/MPLS IP VPN, run the tunnel-selector command to apply a tunnel selector to BGP-VPNv4 routes so that these routes can recurse to desired types of tunnels in the following situations:
Prerequisites
A tunnel selector has been configured using the tunnel-selector (system view) command.
Precautions
Deleting the tunnel selector applied to BGP-VPNv4 routes may interrupt VPN services, because the BGP-VPNv4 routes may fail to recurse to tunnels.