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

S1720, S2700, S5700, and S6720 V200R012(C00 and C20)

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DHCP policy VLAN, 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 BOOTP Client to Dynamically Obtain Routing Information

(Optional) Configuring a BOOTP Client to Dynamically Obtain Routing Information


To allow a BOOTP client to communicate with other network devices, you need to configure a route in which the next hop address is the gateway address of the client. If the gateway address of the client is dynamically obtained from the DHCP server and the route is statically configured on the client, the static route must be manually modified when the gateway address changes. After the BOOTP client is configured to dynamically obtain routing entries through DHCP, the next hop address in the static route is automatically updated when the gateway address changes, lowering maintenance costs.

A DHCP server can allocate routing entries to BOOTP clients. On a device functioning as the BOOTP client, you can set the priorities of routing entries allocated by the DHCP server so that the BOOTP client can dynamically update its routing table.


  1. Run system-view

    The system view is displayed.

  2. Run ip route ip-address { mask | mask-length } interface-type interface-number dhcp [ preference-value ]

    The BOOTP client is configured to obtain routing entries through DHCP.

    By default, a BOOTP client does not obtain routing entries through DHCP.

  3. Run interface interface-type interface-number

    The interface view is displayed.

    • Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support Ethernet sub-interfaces.

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

    • After an interface is added to an Eth-Trunk, sub-interfaces cannot be configured on the interface.

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

  4. (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.

    Only the S5720EI, S5720HI, S5730HI, S6720EI, S6720HI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

  5. Run dhcp client default-route preference preference-value

    The default route preference that the DHCP client obtains through the DHCP server is configured.

    By default, the default route preference obtained by a DHCP client through the DHCP server is 60.

Updated: 2018-12-24

Document ID: EDOC1100038342

Views: 84890

Downloads: 281

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