HP VPN Firewall Appliances Network Management Command Reference
168
Parameters
domain-name: Specifies the domain name, a string of 1 to 50 characters.
Examples
# Specify the domain name mydomain.com in address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] domain-name mydomain.com
Related commands
• dhcp server ip-pool
• display dhcp server tree
expired
Use expired to specify the lease duration in a DHCP address pool.
Use undo expired to restore the default lease duration for a DHCP address pool.
Syntax
expired { day day [ hour hour [ minute minute [ second second ] ] ] | unlimited }
undo expired
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