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

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 an Expected Lease for a DHCP Client

(Optional) Configuring an Expected Lease for a DHCP Client

Context

When a DHCP server dynamically allocates an IP address with a lease to a client, the DHCP server compares the configured lease with the expected lease of the client and selects the smaller value as the lease of the IP address. A device functioning as a DHCP client supports the configuration of an expected lease.

Procedure

  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.

    NOTE:

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

  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.
    NOTE:

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

  4. Run dhcp client expected-lease time

    An expected lease is configured for the DHCP client.

    By default, no expected lease is configured for a DHCP client.

  5. Run dhcp client renew

    The lease of the IP address obtained by a DHCP client is renewed.

    The dhcp client renew command can be normally run only after the DHCP client function is enabled on the interface and an IP address is obtained.

Translation
Download
Updated: 2018-12-24

Document ID: EDOC1100038342

Views: 84662

Downloads: 281

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