The display tunnel-selector command displays the configurations of tunnel selectors of a system.
| 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. |
Usage Scenario
On a traditional BGP/MPLS inter-AS Option B or Option C VPN, you can configure a tunnel selector for ASBRs or PEs to iterate received VPNv4 routes to multiple types of tunnels, increasing networking flexibility. Bandwidth for VPNv4 routes can be guaranteed if they are iterated to TE tunnels.
The display tunnel-selector command displays the matching modes, node numbers, filter criteria lists, and clause lists of tunnel selectors, allowing you to determine whether tunnel selectors are correctly configured.
If you already know the name of a tunnel selector, you can set the tunnel-selector-name parameter in the display tunnel-selector command to check information about the specified tunnel selector. If you do not set the tunnel-selector-name parameter, information about all tunnel selectors is displayed.
# Display information about a tunnel selector named tps.
<sysname> display tunnel-selector tps
tunnel-selector: tps
permit : 10 (matched counts: 0)
Match clauses:
if-match ip next-hop ip-prefix ipv4prefix
Apply clauses
apply tunnel-policy policy1
Item |
Description |
|---|---|
tunnel-selector |
Name of a tunnel selector |
permit:10 |
Matching mode and number of the node of the tunnel selector |
matched counts |
Number of times that a tunnel selector node is matched by routes |
Match clauses |
if-match clauses |
Apply clauses |
apply causes |