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 V200R011C10

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 Attributes

(Optional) Configuring Attributes


Configuring attributes allows you to specify certain parameters for the DHCP client. You can configure the Option 60 field in either the system view or the interface view. The configuration in the interface view has a higher priority and overrides the configuration in the system view.


  1. Enter the system view.


  2. Configure the DHCP client to send DHCP Discover messages that carry the Option 60 field.

    dhcp client class-id class-id

    By default, the value of the Option 60 field is in the format of "huawei-device model".

  3. Enter the interface view or sub-interface view.

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

    Only the S5720EI, S5720HI, S6720EI, and S6720S-EI support sub-interfaces.

  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 S5720HI, S5720EI, S6720EI, and S6720S-EI support switching between Layer 2 and Layer 3 modes.

  5. Configure a hostname for the DHCP client.

    dhcp client hostname hostname

    By default, no hostname is configured for a DHCP client.

    A hostname allows access to a DHCP client through a domain name. A domain name consists of a hostname and domain name suffix.

  6. Configure an identifier for the DHCP client.

    dhcp client client-id client-id

    By default, a client's MAC address is used as its identifier.

    Client identifier information is entered in the Option 61 field to uniquely identify the DHCP client.

  7. Configure the DHCP client to send DHCP Discover messages that carry the Option 60 field.

    dhcp client class-id class-id

    By default, the Option 60 field is not configured.

Updated: 2020-02-26

Document ID: EDOC1000178170

Views: 272204

Downloads: 1028

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next