No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


CLI-based Configuration Guide - Interface Management

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

This document provides the basic concepts, configuration procedures, and configuration examples of the interfaces supported by the device.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring a NULL Interface

Configuring a NULL Interface

A NULL interface is always Up once created automatically by the system. It does not forward packet but can be used to filter packet.


A NULL0 interface is created automatically. The NULL0 interface is always Up and cannot forward packets. Any packets sent to the NULL0 interface are discarded. If the next hop of a static route to a network segment is a null interface, all the data packets destined for this network segment are discarded. Therefore, the packets that you want to filter out can be sent to the NULL0 interface directly without configuring the access control list.

For example, run the following static route configuration command to discard packets sent to the network segment of

[Huawei] ip route-static NULL 0


Before configuring a NULL interface, complete the following task:

  • Powering on the device and performing self-check


  1. Run system-view

    The system view is displayed.

  2. Run interface null 0

    The NULL interface view is displayed.

    The NULL interface stays in the Up state. It cannot forward data packets. You cannot configure an IP address for it or encapsulate it with protocols.

Verifying the Configuration

  • Run the display interface null [ 0 ] command to check the status of a null interface.
Updated: 2019-03-06

Document ID: EDOC1100069331

Views: 21344

Downloads: 97

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next