< Home

display tunnel-policy-config

Function

The display tunnel-policy-config command displays the configuration of tunnel policies.

Format

display tunnel-policy-config [ tunnel-policy-name ]

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >