< Home

display tunnel-info

Function

The display tunnel-info command displays the tunnel information.

Format

display tunnel-info { tunnel-id tunnel-id | all | statistics [ slots ] }

Parameters

Parameter Description Value
tunnel-id tunnel-id

Specifies the tunnel ID. If the specified ID does not exist, the system prompts errors.

The tunnel ID is an integer in hex. It ranges from 1 to 0xFFFFFFFE.
all

Displays the tunnel information about all the tunnels.

-
statistics

Displays statistics about all tunnels.

-
slots

Displays tunnel statistics based on the slots number.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Using the display tunnel-info all command, you can:

View the existing tunnel IDs, tunnel types, destination IP address and Token information.

Judge whether a tunnel is set up or not. If a tunnel is not set up successfully, the tunnel ID is 0x0.

The output of the display tunnel-info all command does not contain information about a tunnel whose ID is 0x0.

Using the display tunnel-info tunnel-id command, you can view the detailed information about a tunnel even if you know only the tunnel ID.

Using the display tunnel-info statistics command, you can view how many tunnels are set up on the FW.

Example

# Display the tunnel information.

<sysname> display tunnel-info 1100200a
Tunnel ID:                    0x1100200a
Tunnel Token:                 115712
Type:                         cr lsp
Destination:                  10.3.3.3
Mask:                         255.255.255.255
Instance ID:                  0
Interface:                    Tunnel0
Sub Tunnel ID:                0x0
Table 1 Description of the display tunnel-info command output

Item

Description

Tunnel ID

Tunnel ID in hexadecimal notation that is assigned by the system

Tunnel Token

Token value used for MPLS forwarding that is a part of tunnel ID and is assigned by the system

Type

Type of tunnels, such as GRE, MPLS LSP

Destination

Destination IP address of the tunnel

Mask

Mask of the destination IP address for the tunnel

Instance ID

VPN instance ID (0 indicates that a tunnel is a public network tunnel)

Interface

Local tunnel interface

Sub Tunnel ID

Sub-tunnel ID of RRVPN in hexadecimal notation that is automatically assigned by the system

# Display all the tunnel information.

<sysname> display tunnel-info all
* -> Allocated VC Token
Tunnel ID           Type                 Destination           Token
----------------------------------------------------------------------
0x1800800           lsp                   10.3.3.3                0
0x1800801           lsp                   10.2.2.2                1
0x41804bb8          lsp                   192.168.2.0            3000

The description of the command output is the same as in the Table 1.

# Check the statistics of tunnels.

<sysname> display tunnel-info statistics
Tunnel Allocation Method :              GLOBAL                                  
No. of Reserved Tokens:                 0                                       
Max Tunnel ID Value :                   6553                                    
Avail Tunnel ID Value :                 6553                                    
                                                                                
Total Tunnel ID Allocated :             0                                       
LSP :                                   0                                       
GRE :                                   0                                       
CRLSP :                                 0                                       
LOCAL IFNET :                           0                                       
MPLS LOCAL IFNET :                      0                                       
VPN QOS LSP :                           0                                       
                                                 
Table 2 Description of the display tunnel-info statistics command output

Item

Description

Tunnel Allocation Method

Allocation method of tunnel Token

Methods of allocating the tunnel tokens The methods are as follows:
  • Global
  • Global with Reserved
  • Per Slot
  • Per Slot with Reserved Token
  • Per Slot with Different Avail Value
  • Mixed
  • Mixed with 2 Global Space
  • 2 Global Space

No. of Reserved Tokens

Reserved tunnel Token

Max Tunnel ID Value

Maximum value of the tunnel ID

Avail Tunnel ID Value

Available maximum value of the tunnel ID

Total Tunnel ID Allocated

Number of allocated tunnel IDs.

LSP

Number of LSP tunnels created in the system view/Number of LSP tunnels triggered by the route of host IP with the 32-bit address

GRE

Number of GRE tunnels created in the system view

CRLSP

Number of CR-LSP tunnels created in the system view

LOCAL IFNET

Number of tunnels used by the internal VPN module

MPLS LOCAL IFNET

Number of tunnels used by the internal MPLS module

VPN QOS LSP

Number of VPN QoS LSP tunnels created in the system view

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