The tunnel-selector command creates a tunnel selector and displays the tunnel selector view.
The undo tunnel-selector command deletes a tunnel selector.
By default, no tunnel selector is created.
Parameter | Description | Value |
---|---|---|
name |
Specifies the name of a tunnel selector. |
The value is a string of 1 to 40 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed in double quotation marks ("). |
matchMode |
Specifies the matching mode for the tunnel selector. |
The value is an enumerated type:
|
node node |
Specifies the index of a node of the tunnel selector. When a route-policy is used to filter a route, the route first matches the node with the smallest node value. |
The value is an integer ranging from 0 to 65535. |
Usage Scenario
The tunnel-selector command is often used in BGP/MPLS IP VPN networking. A tunnel selector needs to be created in the following scenarios:
Follow-up Procedure
Configure the following clauses after creating a tunnel selector (each node of the tunnel selector consists of two parts):
Precautions
A change in the tunnel selector may cause VPN services to be interrupted, because BGP-VPNv4 or labeled BGP routes may fail to recurse to tunnels.