Parameter |
Description |
Value |
---|---|---|
interface-number |
Specifies the number of the tunnel interface. If this parameter is not specified, the command displays information about all tunnel interfaces. |
The value must be the number a tunnel interface that has been created. |
main |
Displays status and traffic statistics about main interface. The interface has no sub-interfaces. Status and traffic statistics about the interface are displayed whether you specify the main parameter or not. |
- |
Usage Scenario
To check status of tunnels or diagnose the fault in these tunnels, run the display interface tunnel command. You can run this command to obtain tunnel interface information when configuring tunnels or when locating the fault on these tunnels.
Prerequisites
Before run display interface tunnel, please ensure that tunnel interface has been created using the interface tunnel command.
# Display the details of the tunnel interface.
<HUAWEI> display interface tunnel 1 Tunnel1 current state : UP Line protocol current state : UP Last line protocol up time : 2012-11-16 19:16:33 UTC+08:00 Description: Route Port,The Maximum Transmit Unit is 1500 Internet Address is 10.3.1.2/24 Encapsulation is TUNNEL, loopback not set Tunnel source 10.2.1.2 (Vlanif1234), destination 10.2.1.1 Tunnel protocol/transport GRE/IP, key disabled keepalive enable period 5 retry-times 3 Checksumming of packets disabled Current system time: 2012-11-16 19:17:39+08:00 Last 300 seconds input rate 16 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Input: 5 packets, 650 bytes Output: 0 packets, 0 bytes Input bandwidth utilization : 0% Output bandwidth utilization : 0%