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

Fat AP and Cloud AP V200R008C00 CLI-based Configuration Guide

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 Logical Interface

Configuring a Logical Interface

This section describes the procedures for configuring a logical interface.

Configuring a Loopback Interface

A loopback interface is always Up at the physical layer and link layer unless it is manually shut down. You can configure loopback interfaces to enhance network reliability.

Context

The loopback interface has the following features:

  • A loopback interface is always Up at the physical layer and link layer unless it is manually shut down. It has the loopback feature.
  • The loopback interface can be configured with the mask of all 1s.

Based on the preceding features, the loopback interface has the following applications.

  • The IP address of a loopback interface is specified as the source address of packets to improve network reliability.
  • The loopback interface can be configured with the mask of 255.255.255.255 to save IP address resources.
Pre-Configuration

Before configuring a loopback interface, complete the following task:

  • Powering on the device and performing self-check

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface loopback loopback-number

    A loopback interface is created and the loopback interface view is displayed.

  3. Run:

    ip address ip-address { mask | mask-length }

    The IP address of the loopback interface is configured.

Checking the Configuration
  • Run the display interface loopback [ loopback-number ] command to check the status of a loopback 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.

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

[Huawei] ip route-static 192.101.0.0 255.255.0.0 NULL 0
Pre-Configuration

Before configuring a NULL interface, complete the following task:

  • Powering on the device and performing 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 the 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.

Configuring a VLANIF Interface As a Management Interface

You can configure a VLANIF interface as a management interface to control device management through the specified VLANIF interface.

Context

By default, you can use any VLANIF interface to manage devices, but this introduces potential security risks.

By specifying a VLANIF interface as a management interface, you can control device management through the specified VLANIF interface. Users cannot manage devices through VLANIF interfaces not specified as management interfaces, which improves device security.

Pre-Configuration Tasks

Before configuring a VLANIF interface as a management interface, complete the following tasks:

  • Powering on the device and ensuring that the device finishes self check successfully

  • Creating a VLAN on the device

Procedure

  1. Run:

    system-view

    The system view is displayed.

  2. Run:

    interface vlanif vlan-id

    The VLANIF interface view is displayed.

  3. Run:

    management-interface

    The VLANIF interface is specified as a management interface.

    By default, users can manage the device through all VLANIF interfaces.

Translation
Download
Updated: 2019-01-11

Document ID: EDOC1000176006

Views: 114200

Downloads: 309

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