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.


Configuration Guide - Interface Management

S1720, S2700, S5700, and S6720 V200R010C00

This document describes the principles and configurations of interfaces and provides configuration examples.

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 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, power on the device and perform self-check.


  1. Run:


    The system view is displayed.

  2. Run:

    interface null 0

    The NULL interface view is displayed.

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

Checking the Configuration

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

Document ID: EDOC1000141936

Views: 49476

Downloads: 783

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next