F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
171
Default
The lease duration of a static address pool is unlimited, and the lease duration of a dynamic address
pool is one day.
Views
DHCP address pool view
Default command level
2: System level
Parameters
day day: Specifies the number of days in the range of 0 to 365.
hour hour: Specifies the number of hours in the range of 0 to 23.
minute minute: Specifies the number of minutes in the range of 0 to 59.
second second: Specifies the number of seconds in the range of 0 to 59.
unlimited: Specifies the unlimited lease duration, which is actually 136 years.
Usage guidelines
The specified lease duration cannot be less than 5 seconds.
The specified lease duration takes effect for the static binding, but the lease duration displayed by the
display dhcp server ip-in-use all command is still Unlimited.
Examples
# Specify the lease duration as 1 day, 2 hours, 3 minutes, and 4 seconds in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] expired day 1 hour 2 minute 3 second 4
Related commands
dhcp server ip-pool
display dhcp server tree
forbidden-ip
Use forbidden-ip to exclude IP addresses from dynamic allocation in an extended address pool.
Use undo forbidden-ip to cancel specified or all excluded IP addresses.
Syntax
forbidden-ip ip-address&<1-8>
undo forbidden-ip { ip-address&<1-8> | all }
Default
All IP addresses in an extended address pool are assignable except the IP addresses of the DHCP server
interfaces.
Views
DHCP extended address pool view