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 - IP Service

S7700 and S9700 V200R013C00

This document describes the configurations of IP service, including IP address, ARP, DHCP, DNS, mDNS gateway, mDNS relay, UDP Helper, IP performance optimization, IPv6, DHCPv6, IPv6 DNS, IPv6 over IPv4 tunnel and IPv4 over IPv6 tunnel.

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


Generally, an interface needs only a primary IP address. In some scenarios, you need to configure secondary IP addresses for an interface. For example, a switch connects to a physical network through an interface, and hosts on this network belong to two network segments. To enable the switch 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 addresses for a Layer 3 interface on a switch, one as the primary IP address, and the others as secondary IP addresses. Each Layer 3 interface can have a maximum of 255 secondary IP addresses.


  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number[.subinterface-number]

    The interface view or sub-interface view is displayed.

    • Only the E series, X series, F series, and SC series cards on the S7700 and S9700 support Ethernet sub-interface configuration. For details about the cards, see Cards in the Hardware Description.

    • Only hybrid and trunk interfaces on the preceding series of cards support Ethernet sub-interface configuration.
    • After you run the undo portswitch command to switch Layer 2 interfaces on the preceding series of cards into Layer 3 interfaces, you can configure Ethernet sub-interfaces on the interfaces.

    • The SA series cards do not support Ethernet sub-interface configuration and cannot forward IP traffic to Ethernet sub-interfaces on other cards.

    • You are advised to add a member interface to an Eth-Trunk and then configure an Eth-Trunk sub-interface. The Eth-Trunk sub-interface can be successfully configured only when the card on which the member interface locates supports Ethernet sub-interface configuration.

    • VLAN termination sub-interfaces cannot be created on a VCMP client.

  3. (Optional) On an Ethernet interface, run undo portswitch

    The interface is switched to Layer 3 mode.

    By default, an Ethernet interface works in Layer 2 mode.

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

    A secondary IP address is configured for the interface.

    By default, no secondary IP address is configured for an interface.

Updated: 2019-04-20

Document ID: EDOC1100065743

Views: 34837

Downloads: 35

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next