< Home

display tunnel-policy

Function

The display tunnel-policy command displays the configurations of tunnel policies.

Format

display tunnel-policy [ tunnel-policy-name ]

Parameters

Parameter Description Value
tunnel-policy-name Specifies the name of tunnel policy. If policy-name is specified, information about the specified tunnel policy is displayed. The value is the name of an existing tunnel policy.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Using the display tunnel-policy command, you can check the configured tunnel policy and information about a tunnel policy before applying it.

Example

# Display information about all the tunnel policies.

<HUAWEI> display tunnel-policy
Total   tunnel policy num:              3
Sel-Seq tunnel policy num:              1
Binding tunnel policy num:              1
Invalid tunnel policy num:              1

Tunnel Policy Name                      Select-Seq                        Load balance No
-----------------------------------------------------------------------------------------
po2                                     CR-LSP LSP                        3


Tunnel Policy Name                      Destination     Tunnel Intf       Ignore-dest-check   Down switch
-------------------------------------------------------------------------------------------------------------
po2                                     1.1.1.9         Tunnel2            Disable             Enable
Table 1 Description of the display tunnel-policy command output

Item

Description

Total tunnel policy num

Total number of tunnel policies.

Sel-Seq tunnel policy num

Total number of tunnel policies in select-sequence mode.

Binding tunnel policy num

Total number of tunnel policies in tunnel binding mode.

Invalid tunnel policy num

Total number of invalid tunnel policies.

Tunnel Policy Name

Name of tunnel policies.

Select-Seq

Priorities of tunnel types in descending order.

Load balance No

Number of tunnels for load balancing. The default value is 1.

Destination

Destination IP addresses of the bound tunnels, that is, IP addresses of the peer interfaces that receive packets.

Tunnel Intf

Local tunnel interface of the bound tunnel.

Ignore-dest-check

Check is disabled regardless of whether the destination IP address specified in a tunnel policy is consistent with the actual destination address of the tunnel to be bound to the tunnel policy.

Down switch

Tunnel switch over status:
  • Enable indicates that the function is enabled
  • Disable indicates that the function is disabled

# Display information about the tunnel policy.

<HUAWEI> display tunnel-policy p1
The number of binding:1
Tunnel Policy Name                      Destination     Tunnel Intf       Ignore-dest-check   Down Switch
-------------------------------------------------------------------------------------------------------------
p1                                      1.1.1.1         Tunnel2            Disable             Enable
Table 2 Description of the display tunnel-policy tunnel-policy-name command output

Item

Description

The number of binding

Number of the bound destination addresses.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >