Parameter | Description | Value |
---|---|---|
tunnel-id tunnel-id |
Specifies the tunnel ID. If the specified ID does not exist, the system prompts errors. |
A hexadecimal integer ranging from 1 to FFFFFFFE. |
all |
Displays information about all the tunnels. |
- |
statistics |
Displays statistics about all tunnels. |
- |
slots |
Displays tunnel statistics in the order of slots. |
- |
The display tunnel-info all command displays existing tunnel IDs, tunnel types, destination IP addresses, and Token information about all tunnels.
The display tunnel-info tunnel-id tunnel-id command displays detail information about a tunnel when you only know the tunnel ID.
The display tunnel-info statistics command displays the number of tunnels configured on the switch.
# View information about the tunnel.
<HUAWEI> display tunnel-info tunnel-id 2 Tunnel ID: 0x2 Tunnel Token: 2 Type: cr lsp Destination: 1.1.1.1 Out Slot: 0 Instance ID: 0 Interface: Tunnel1 Sub Tunnel ID: 0x0
<HUAWEI> display tunnel-info tunnel-id 3
Tunnel ID: 0x3
Tunnel Token: 3
Type: lsp
Destination: 10.20.10.10
Out Slot: 0
Instance ID: 0
Out Interface: Vlanif1024
Out Label: 3
Next Hop: 10.24.10.200
Lsp Index: 2048
<HUAWEI> display tunnel-info tunnel-id 10006
Tunnel ID: 0x10006
Tunnel Token: 2
Type: lsp
Destination: 6.6.6.6
Out Slot: 0
Instance ID: 0
Out Interface: Vlanif15
Lsp Index: 0
SubTunnel Type: L2VPN QoS Token
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 a tunnel, such as GRE, MPLS LSP, or CR-LSP. The command output varies according to the tunnel type. |
Destination |
Destination IP address of the tunnel. |
Out Slot |
Number of the slot that is used when the switch sends packets. |
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 VPN QoS in hexadecimal notation that is automatically assigned by the system. |
Out Label |
Out label value. |
Next Hop |
Next hop. |
Lsp Index |
LSP index, which is allocated by MPLS. |
Out Interface |
Local outbound interface of the tunnel. |
SubTunnel Type |
Types of tokens of sub-tunnels:
This field is displayed only for sub-tunnels. |
<HUAWEI> display tunnel-info all
* -> Allocated VC Token
Tunnel ID Type Destination Token
----------------------------------------------------------------------
0x10006 lsp 10.2.1.1 6
<HUAWEI> display tunnel-info statistics
LSP/32bit LSP : 0/0
GRE : 2
CRLSP : 0
LOCAL IFNET : 0
MPLS LOCAL IFNET : 0
VPN QOS LSP : 0
Reserved : 0
Vxlan : 0
Item
|
Description |
---|---|
LSP/32bit LSP |
Number of LSP tunnels created in the system view/Number of LSP tunnels triggered by the route of host with the 32-bit mask address. |
GRE |
Number of tunnel IDs allocated to the GRE tunnels. |
CRLSP |
Number of tunnel IDs allocated to the CR-LSP tunnels. |
LOCAL IFNET |
Number of tunnels used by the VPN internal module. |
MPLS LOCAL IFNET |
Number of tunnels used by the MPLS internal module. |
VPN QOS LSP |
Number of the tunnel ID allocated to the LSP used in VPN QoS. |
Reserved |
Number of the tunnel ID allocated to the product. |
Vxlan |
Number of tunnel IDs allocated to the Vxlan tunnels. |
# Display tunnel statistics in the order of slots.
<HUAWEI> display tunnel-info statistics slots
---------------------------------------------------------------------
Slot LSP CR GRE LCL MPLS-L VPN VXLAN
Num LSP IFNET IFNET QOS
---------------------------------------------------------------------
0 0 0 0 0 0 0 0
Logic Slot: 0 Total: 0
Item
|
Description |
---|---|
Slot Num |
Slot number used by the device to send packets. |
LSP |
Total LSP tunnels set up by the device. |
CR LSP |
Number of CR-LSPs created on the device. |
GRE |
Number of GRE tunnels created on the device. |
LCL IFNET |
Number of tunnels used by the VPN module. |
MPLS-L IFNET |
Number of tunnels used by the MPLS module. |
VPN QOS |
Number of tunnels used for VPN QoS. |
VXLAN |
Number of VXLAN tunnels created on the device. |