The tunnel-selector command applies a tunnel selector to BGP-VPNv4 or BGP labeled routes.
The undo tunnel-selector command cancels the configuration.
By default, no tunnel selector is applied to BGP-VPNv4 or BGP labeled routes. BGP-VPNv4 or BGP labeled route are only iterated to LSPs.
Parameter | Description | Value |
---|---|---|
tunnel-selector-name | Specifies the name of a tunnel policy 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. |
Usage Scenario
The tunnel-selector command is often used in BGP/MPLS IP VPN networking. It can be used in the following scenarios to apply a tunnel selector to BGP-VPNv4 or BGP labeled routes:
Prerequisites
The tunnel-selector command is run to create a tunnel selector.
Precautions
Deleting the tunnel selector applied to BGP-VPNv4 or BGP labeled routes may cause VPN service interruption because the BGP-VPNv4 or BGP labeled routes may fail to be iterated to tunnels.