Using the display interface null command, you can view the status and traffic statistics of a null interface.
Parameter | Description | Value |
---|---|---|
0 |
Displays status and traffic statistics about a specified Null interface. |
The value can be 0 only. |
main |
Displays status and traffic statistics about a Null interface. A Null interface has no sub-interfaces. Status and traffic statistics about a Null interface are displayed whether you specify the main parameter or not. |
- |
Usage Scenario
The display interface null command displays the status of a null interface. The interface status information includes: the physical status, link layer protocol status, description, MTU, IP address, current system time, last time statistics about the null interface are cleared, incoming and outgoing packet rates in bit/s and pps, total numbers of packets and bytes received and sent by the null interface, and percentages of the rates for receiving and sending packets to the total bandwidth.
Precautions
There is only one null interface, namely, NULL 0.
# Display the status and traffic statistics of Null 0 interface.
<HUAWEI> display interface null 0
NULL0 current state : UP Line protocol current state : UP (spoofing) Description: Route Port,The Maximum Transmit Unit is 1500 Internet protocol processing : disabled Physical is NULL DEV Current system time: 2012-02-25 10:25:59 Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 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 |
---|---|
NULL0 current state |
Indicates the physical status of the null interface. The physical status of the null interface is always Up. |
Line protocol current state |
Indicates the link layer protocol status of the interface. The protocol status of the null interface is always Up. |
Description |
Indicates the description of the interface, which can be set by using the description command. |
Route Port |
A Layer 3 interface. |
The Maximum Transmit Unit |
Indicates the MTU of the interface. |
Internet protocol processing : disabled |
Indicates that the Internet protocol processing is not configured. |
Physical is NULL DEV |
Indicates that the interface is null. |
Current system time |
Indicates the current system time. |
Last 300 seconds input rate Last 300 seconds output rate |
Indicates the rates for sending and receiving the bytes and the packets by the interface in the last five minutes. |
Realtime 0 seconds input rate Realtime 0 seconds output rate |
Indicates the real-time rates of sending and receiving the bytes and the packets. It refers to the interval between two display commands that are run on the same interface. The maximum value is the statistical interval displayed in the previous piece of information. This entry is displayed only when information about a logical interface is viewed. |
Input |
Indicates the total number of packets and the total number of bytes received by the interface. |
Output |
Indicates the total number of packets and the total number of bytes sent by the interface. |
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. |