The tunnel-policy command creates a tunnel policy and displays the tunnel policy view.
The undo tunnel-policy command deletes the specified tunnel policy.
By default, no tunnel policy is created in the system.
Parameter | Description | Value |
---|---|---|
policy-name | Displays 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. |
Usage Scenario
By default, a VPN instance selects LSPs without performing load balancing based on the default tunnel policy. If you want to make a change, run the tunnel-policy command to create a tunnel policy.
Precautions
If you change the tunnel policy in a VPN instance, VPN services may be interrupted due to a possibility of iteration failures.
The system can select tunnels for a VPN instance based on a tunnel policy only after the tunnel policy is applied to the VPN instance. The mode in which a tunnel policy is applied to a VPN instance varies according to the VPN type.