3Com Switch 7750 Series
Command Reference Guide – DHCP
Chapter 1 DHCP Server Configuration Commands
1-7
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.
Related command:
expired
.
Example
# Set the lease time of the IP addresses in all interface address pools to be 1 day, 2
hours and 3 minutes.
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] dhcp server expired day 1 hour 2 minute 3 all
1.1.8 dhcp server forbidden-ip
Syntax
dhcp server forbidden-ip
low-ip-address
[
high-ip-address
]
undo dhcp server forbidden-ip
low-ip-address
[
high-ip-address
]
View
System view
Parameter
low-ip-address
: IP address that is not available for being assigned to DHCP clients
automatically (An IP address of this kind is known as a forbidden IP address). This
argument also marks the lower end of the range of the forbidden IP addresses.