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
This command is mainly used in BGP/MPLS IPv6 VPN networking. In the following scenarios, you need to run this command to apply a tunnel selector to BGP-VPNv6 routes so that the routes can recurse to expected types of tunnels based on the tunnel policy.
Prerequisites
A tunnel selector has been configured using the tunnel-selector (system view) command.
Precautions
The tunnel type specified in this command cannot be SRv6 TE Policy or SRv6 TE Policy Group.