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

Reminder

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

upgrade

S12700 V200R010C00 Configuration Guide - Interface Management

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

Context

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 192.168.0.0.

[HUAWEI] ip route-static 192.168.0.0 255.255.255.0 NULL 0

Pre-Configuration

Before configuring a NULL interface, power on the device and perform self-check.

Procedure

  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 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.
Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000142085

Views: 20864

Downloads: 69

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