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.
Parameter | Description | Value |
---|---|---|
tunnel-selector-name |
Specifies the name of a tunnel selector. |
The value is a string of 1 to 40 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
all |
The tunnel selector applies to all BGP IPv4 unicast routes, including labeled routes, imported routes, and network segment routes. |
- |
Usage Scenario
On a BGP/MPLS IP VPN, run the tunnel-selector command to apply a tunnel selector to BGP 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
The SRv6 TE Policy or SRv6 TE Policy Group of tunnel is not supported in a tunnel selector specified in the command.