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

Fat AP and Cloud AP V200R010C00 Command Reference

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).
dhcp server conflict auto-recycle interval

dhcp server conflict auto-recycle interval

Function

The dhcp server conflict auto-recycle interval command enables automatic reclaim of conflicting IP addresses in the interface address pool and configures the interval for the automatic reclaim.

The undo dhcp server conflict auto-recycle interval command disables automatic reclaim of conflicting IP addresses in the interface address pool and deletes the configured interval for the automatic reclaim.

By default, automatic reclaim of conflicting IP addresses in the interface address pool is disabled.

Format

dhcp server conflict auto-recycle interval day day [ hour hour [ minute minute ] ]

undo dhcp server conflict auto-recycle interval

Parameters

Parameter

Description

Value

day day

Specifies the interval for the automatic reclaim, in days.

The value is an integer that ranges from 0 to 999, in days. The default value is 0.

hour hour

Specifies the interval for the automatic reclaim, in hours.

The value is an integer that ranges from 0 to 23, in hours. The default value is 0.

minute minute

Specifies the interval for the automatic reclaim, in minutes.

The value is an integer that ranges from 0 to 59, in minutes. The default value is 0.

Views

VLANIF interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

This command is used on a DHCP server. When a DHCP server allocates IP addresses to clients, IP address conflict may occur because IP addresses of some hosts have been manually configured. In this case, the DHCP server considers these IP addresses as conflicting IP addresses, and allocates available IP addresses from the conflicting IP addresses to clients only after available IP addresses in the address pool are used up. To reclaim conflicting IP addresses promptly, the administrator can run this command to enable automatic reclaim and specify the reclaim interval.

Prerequisites

  1. IP addresses in the interface address pool have been configured using the ip address command.

  2. The DHCP server function has been enabled on the interface using the dhcp select interface command.

Example

# Enable automatic reclaim for conflicting IP addresses in the address pool on VLANIF 100, and set the interval for automatic reclaim to one day.

<Huawei> system-view  
[Huawei] dhcp enable 
[Huawei] interface vlanif 100 
[Huawei-Vlanif100] ip address 192.168.1.1 24
[Huawei-Vlanif100] dhcp select interface
[Huawei-Vlanif100] dhcp server conflict auto-recycle interval day 1
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 207971

Downloads: 122

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