S1720, S2700, S5700, and S6720 V200R011C10 Configuration Guide - Interface Management
This document describes the principles and configurations of interfaces and provides configuration examples.
This document describes the principles and configurations of interfaces and provides configuration examples.
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 Tasks
Before configuring a NULL interface, power on the device and perform self-check.
Document ID:EDOC1000178172
Views:745358
Downloads:1760
Average rating:4.25Points