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

Configuration Guide - IP Service

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configurations of IP Service, including IP address, ARP, DHCP, DNS, IP performance optimization, IPv6, DHCPv6, and IPv6 DNS.
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).
Binding an Interface to a DHCP Server

Binding an Interface to a DHCP Server

Context

After the DHCP relay function is enabled on an interface, bind a DHCP server group to the interface so that DHCP clients can access DHCP servers in the bound server group.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

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

    The mode switching function takes effect when the interface only has attribute configurations (for example, shutdown and description configurations). Alternatively, if configuration information supported by both Layer 2 and Layer 3 interfaces exists (for example, mode lacp and lacp system-id configurations), no configuration that is not supported after the working mode of the interface is switched can exist. If unsupported configurations exist on the interface, delete the configurations first and then run the undo portswitch command.

    NOTE:

    If many Ethernet interfaces need to be switched to Layer 3 mode, run the undo portswitch batch interface-type { interface-number1 [ to interface-number2 ] } &<1-10> command in the system view to switch these interfaces to Layer 3 mode in batches.

  4. You can bind a DHCP relay interface to a DHCP server group or a DHCP server.

    • Bind a DHCP relay interface to a DHCP server group.

      Run dhcp relay binding server group-name

      The DHCP relay interface is bound to a DHCP server group.

    • Bind a DHCP relay interface to a DHCP server.

      1. Run dhcp relay binding server ip ip-address

        The DHCP server IP address is specified on an interface enabled with DHCP relay.

      2. Run dhcp relay gateway ip-address

        A gateway address is specified for the DHCP relay agent.

        By default, no gateway address is specified for the DHCP relay agent.

  5. (Optional) Run dhcp relay gateway-switch enable

    DHCP relay gateway switching is enabled.

    By default, DHCP relay gateway switching is disabled.

  6. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004354

Views: 71926

Downloads: 147

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