| Parameter | Description | Value |
|---|---|---|
| tunnel-policy-name | Indicates the name of the 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. |
By default, a VPN instance selects LSPs without performing load balancing based on the default tunnel policy. If you do not want to use the default tunnel policy, run the tunnel-policy command to create a new one. Before applying a tunnel policy, you can run the display tunnel-policy-config command to check tunnel policy configurations.
If you already know the name of a tunnel policy, you can set the tunnel-policy-name parameter in the display tunnel-policy-config command to check configurations of the specified tunnel policy. If you do not set the tunnel-policy-name parameter, configurations of all tunnel policies are displayed.
# Display the configurations of all tunnel policies.
<sysname> display tunnel-policy-config # tunnel-policy sel-1 tunnel select-seq gre cr-lsp load-balance-number 1 # tunnel-policy bind-1 tunnel binding destination 1.1.1.1 te Tunnel0/0/1 down-switch # return
# Display the configuration of the tunnel policy named p1.
<sysname> display tunnel-policy-config p1
#
tunnel-policy p1
tunnel select-seq gre cr-lsp load-balance-number 1
#
return