display interface tunnel
Use display interface tunnel to display tunnel interface information.
Syntax
display interface [ tunnel [ number ] ] [ brief [ description | down ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
tunnel [ number ]: Specifies a tunnel interface. The number argument specifies the tunnel interface number. The specified tunnel interface must have been created. If you do not specify the tunnel keyword, this command displays information about all interfaces on the device. If you specify the tunnel keyword without the number argument, this command displays information about all existing tunnel interfaces.
brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.
down: Displays information about interfaces in the physical state of DOWN and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.
Examples
# Display detailed information about Tunnel 1.
<Sysname> display interface tunnel 1 Tunnel1 Current state: DOWN Line protocol state: DOWN Description: Tunnel1 Interface Bandwidth: 64 kbps Maximum transmission unit: 64000 Internet protocol processing: Disabled Last clearing of counters: Never Tunnel source unknown, destination unknown Tunnel protocol/transport UDP_VXLAN/IP Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes, 0 drops Output: 0 packets, 0 bytes, 0 drops
Table 79: Command output
Field | Description |
---|---|
Tunnel1 | Information about the tunnel interface Tunnel 1. |
Current state | Physical link state of the tunnel interface:
|
Line protocol state | Data link layer state of the interface. The state is determined through automatic parameter negotiation at the data link layer.
|
Description | Description of the tunnel interface. |
Bandwidth | Expected bandwidth of the tunnel interface. |
Maximum transmission unit | MTU of the tunnel interface. |
Internet protocol processing: Disabled | The tunnel interface is not assigned an IP address and cannot process IP packets. |
Internet address | IP address of the tunnel interface. The primary attribute indicates that the address is the primary IP address. |
Tunnel source | Source address of the tunnel. If a source interface is specified for the tunnel interface, this field also displays the source interface in parentheses. |
destination | Destination address of the tunnel. |
Tunnel TOS | ToS of tunneled packets. |
Tunnel TTL | TTL of tunneled packets. |
Tunnel protocol/transport | Tunnel mode and transport protocol:
|
Last clearing of counters | Last time when counters were cleared. |
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec | Average input rate in the last 300 seconds. |
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec | Average output rate in the last 300 seconds. |
Input: 0 packets, 0 bytes, 0 drops | Total input packets, total input bytes, and total input packets dropped. |
Output: 0 packets, 0 bytes, 0 drops | Total output packets, total output bytes, and total output packets dropped. |
# Display brief information about Tunnel 1.
<Sysname> display interface tunnel 1 brief Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description Tun1 UP UP 1.1.1.1 aaaaaaaaaaaaaaaaaaaaaaaaaaa
# Display brief information about Tunnel 1, including the complete interface description.
<Sysname> display interface tunnel 1 brief description Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description Tun1 UP UP 1.1.1.1 aaaaaaaaaaaaaaaaaaaaaaaaaaaaa Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
# Display information about interfaces in DOWN state and the causes.
<Sysname> display interface tunnel brief down Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Interface Link Cause Tun1 DOWN Not connected
Table 80: Command output
Field | Description |
---|---|
Interface | Abbreviated interface name. |
Link | Physical link state of the interface:
|
Protocol | Data link layer protocol state of the interface:
|
Primary IP | Primary IP address of the interface. This field displays two hyphens (--) if the interface does not have an IP address. |
Description | Description of the interface. |
Cause | Cause for the physical link state of an interface to be DOWN:
|
Related commands
destination
interface tunnel
source