The display l3vpn vpn-list tunnel-policy command displays all the VPN instances to which a specified tunnel policy is applied.
| Parameter | Description | Value |
|---|---|---|
| tunnel-policy-name | Specifies the name of a tunnel policy. | The value is a string of 1 to 39 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
To have its routes iterated to tunnels, a VPN instance needs to apply a tunnel policy. If the tunnel policy used by a VPN instance is changed or the status of tunnels selected based on the tunnel policy changes, the iterated tunnels may change. The display l3vpn vpn-list tunnel-policy command displays all the VPN instances to which a specified tunnel policy is applied. The command output will show the VPN instances that will be affected by changes in the tunnel policy.
# Display the referential relationship between a tunnel policy and a VPN instance.
<sysname> display l3vpn vpn-list tunnel-policy p1
Codes: *(Tunnel policy is not configured) Tunnel Policy Name: p1 Total VPN Instance(s) number: 1 VPN(s) using the tunnel policy: vrf1
Item |
Description |
|---|---|
Codes |
Comments |
Tunnel Policy Name |
Name of a tunnel policy |
Total VPN Instance(s) number |
Number of VPN instances specified with tunnel policies |
VPN(s) using the tunnel policy |
Name of VPN instances specified with tunnel policies |