display interface tunnel [ interface-number ] [ | { begin | exclude | include } regular-expression ]
| Parameter | Description | Value |
|---|---|---|
| interface-number | specifies the number of the tunnel interface. | - |
| | | filters information by using the regular expression. | - |
| begin | displays the outputs that begin with the regular expression. | - |
| exclude | displays the outputs that do not contain the matched string only. | - |
| include | displays the outputs that contain the matched string only. | - |
| regular-expression | specifies a regular expression string. | - |
# View information about the interfaces on the specified tunnel.
<sysname> display interface tunnel 1
Tunnel1 current state : UP
Line protocol current state : UP
Description : Tunnel1 Interface, Route Port
The Maximum Transmit Unit is 1500 bytes
Internet Address is 10.10.10.1/24
Encapsulation is TUNNEL, loopback not set
Tunnel source 10.1.1.1 (Tunnel0), destination 10.2.2.2
Tunnel protocol/transport GRE/IP, key disabled
keepalive disabled
Checksumming of packets disabled
1554 packets input, 181176 bytes
0 input error
7741 packets output, 502180 bytes
1495 output error
Item |
Description |
|---|---|
current state: |
Indicates the current physical status of interfaces:
In general, after a tunnel interface is created, its status at the physical layer is Up. |
Line protocol current state: |
Indicates the link protocol status:
|
Description |
Indicates the description of the tunnel interface. The description can help the user to get familiar with the interface function. |
The Maximum Transmit Unit is 1500 |
Indicates the MTUs of tunnel interfaces. By default, it is 1500. The packet larger than the MTU is fragmented before being sent. If non-fragmentation is configured, the packet is discarded. |
Internet Address |
Indicates that the IP address of the tunnel interface. The mask is 24 bits, that is, 255.255.255.0. |
Encapsulation is TUNNEL |
Indicates the encapsulation type of packets on a tunnel interface. Packet encapsulation protects a whole IP packet. |
loopback not set |
Indicates that the tunnel interface does not support loopback test. |
Tunnel source |
Indicates the source address of the tunnel. |
destination |
Indicates the destination address of the tunnel. |
Tunnel protocol/transport GRE/IP |
Indicates that the tunnel encapsulation protocol is the GRE protocol. |
1554 packets input, 181176 bytes, 0 input error |
Shows the total packets and bytes received on the interface and the total number of wrong packets. |
7741 packets output, 502180 bytes, 1495 output error |
Shows the total packets and bytes sent through the interface and the total number of wrong packets. |