New Feature Manual - DHCP
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 DHCP Server Configuration
Commands
Huawei Technologies Proprietary
1-10
# Configure the domain name aabbcc.com for the DHCP clients whose IP addresses
are from the DHCP address pool of the current VLAN interface.
[Quidway-Vlan-interface1] dhcp server domain-name aabbcc.com
1.1.9 dhcp server expired
Syntax
VLAN interface view:
dhcp server expired
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
undo dhcp server expired
System view:
dhcp server expired
{
day
day
[
hour
hour
[
minute
minute
] ] |
unlimited
}
{
interface
interface-type interface-number
[
to
interface-type interface-number
] |
all
}
undo dhcp server expired
{
interface interface-type interface-number
[
to
interface-type interface-number
] |
all
}
View
System view/VLAN interface view
Parameter
day
day
: Specifies the number of days. The
day
argument ranges from 0 to 365.
hour
hour
: Specifies the number of hours. The
hour
argument ranges from 0 to 23.
minute
minute
: Specifies the number of minutes. The
minute
argument ranges from 0
to 59.
unlimited
: Specifies that the lease time is unlimited. (But actually, the system limits the
maximum lease time to about 25 years.)
interface interface-type interface-number
[
to
interface-type interface-number
]:
Specifies the interface(s), through which you can specify the corresponding interface
address pool(s).
all
: Specifies all interface address pools.
Description
Use the
dhcp server expired
command to configure the lease time of the IP
addresses in the specified interface address pool(s).
Use the
undo dhcp server expired
command to restore the default lease time.
The default lease time is one day.
Note that an IP address is considered to be expired if its lease time is after the year
2106.