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

CLI-based Configuration Guide - IP Service

AR500, AR510, AR531, AR550, AR1500, and AR2500 V200R010

This document describes the concepts and configuration procedures of IP Service features on the device, and provides the 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).
(Optional) Configuring a Secondary IP Address for an Interface

(Optional) Configuring a Secondary IP Address for an Interface

Context

Generally, an interface needs only a primary IP address. In some special scenarios, you need to configure secondary IP addresses for an interface. For example, a industrial switch router connects to a physical network through an interface, and hosts on this network belong to two network segments. To enable the industrial switch router to communicate with all hosts on the physical network, configure a primary IP address and a secondary IP address for this interface. You can configure multiple IP address for a Layer 3 interface on a industrial switch router, one as the primary IP address, and the others as secondary IP addresses. Each Layer 3 interface can have a maximum of 31 secondary IP addresses.

The primary and secondary IP addresses of an interface can be located on overlapping network segments but not the same network segment. For example, if an interface has been assigned a primary IP address 20.1.1.1/24 and you assign secondary IP address 20.1.1.2/16 sub to this interface, the system displays a warning message but the configuration succeeds.

The primary IP address of one interface and secondary IP address of another interface on the same industrial switch router can be located on overlapping network segments but not on the same network segment. For example, if an interface has been assigned a primary IP address 20.1.1.1/16 and you assign secondary IP address 20.1.1.2/24 sub to another interface on the industrial switch router, the system displays a warning message but the configuration succeeds.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. Run ip address ip-address { mask | mask-length } sub

    A secondary IP address is configured for the interface.

Translation
Download
Updated: 2019-05-20

Document ID: EDOC1100034231

Views: 83248

Downloads: 55

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