Using the display interface loopback command, you can view the status and traffic statistics of a loopback interface.
Parameter | Description | Value |
---|---|---|
loopback-number |
Displays status and traffic statistics about a specified loopback interface. If loopback-number is not specified, the status and traffic statistics of all loopback interfaces are displayed. |
- |
main |
Displays status and traffic statistics about a Loopback interface. A Loopback interface has no sub-interfaces. Status and traffic statistics about a Loopback interface are displayed whether you specify the main parameter or not. |
- |
Usage Scenario
In the scenario where you need to monitor the status of an interface or locate an interface fault, you can use the display interface loopback command to collect the statistics on the interface including the status. Through the displayed information, you can collect the traffic statistics and troubleshoot the interface.
Prerequisite
A loopback interface has been created using the interface loopback command.
# Display the status and traffic statistics of a specified loopback interface.
<HUAWEI> display interface loopback 6
LoopBack6 current state : UP Line protocol current state : UP (spoofing) Description: Route Port,The Maximum Transmit Unit is 1500 Internet Address is 10.3.3.3/32 Current system time: 2012-02-25 09:56:04 Last 10 seconds input rate 0 bits/sec, 0 packets/sec Last 10 seconds output rate 0 bits/sec, 0 packets/sec Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 unknownprotocol Output:0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors Input bandwidth utilization : 0% Output bandwidth utilization : 0%
Item |
Description |
---|---|
LoopBack6 current state |
Physical status of a loopback interface. The physical status of a loopback interface is always Up after the loopback interface is created. |
Line protocol current state |
Link layer protocol status of a loopback interface. The link layer protocol status of a loopback interface is always Up after the loopback interface is created. |
Description |
Indicates the description of the interface, which can be set by using the description command. |
Route Port,The Maximum Transmit Unit is 1500 |
Indicates the maximum transmission unit (MTU). The default MTU is 1500 bytes. Packets longer than the MTU are fragmented before being transmitted. If fragmentation is not allowed, the packet is discarded. |
Internet Address is |
Indicates the IP address of the interface. |
Current system time |
Indicates the current system time. |
Input bandwidth utilization |
Indicates the percentage of the rate for receiving packets to the total bandwidth. |
Output bandwidth utilization |
Indicates the percentage of the rate for sending packets to the total bandwidth. |