Command Reference Guide

3Com Router 5000 Family and Router 6000 Family dhcp server interface (System view) 83
Command Reference
dhcp server interface (System view)
Purpose Use the dhcp server expired interface command in system view to
configure a valid period allowed for leasing IP addresses in the interface DHCP
address pool of the interfaces in a specified range.
Use the undo dhcp server expired interface command in system view to
restore the default setting.
Syntax 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 }
Parameters day day
Number of days. Valid values are 0 to 365.
hour hour
Number of hours. Valid values are 0 to 23.
minute minute
Number of hours. Valid values are 0 to 59.
unlimited
The valid period is unlimited (currently, it is 25 years for
the system).
interface-type
interface-number [ to
interface-type
interface-number ]
Indicates an interface or all interfaces from the first
specified interface to the second. Note that the
interfaces must be Ethernet interfaces (or
subinterfaces) or virtual Ethernet interfaces.
all
All interfaces.
Default By default, the leasing valid period is one day.
Example Set the valid period for leasing IP addresses in the interface address pool of the
interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5 to unlimited.
[3Com] dhcp server expired unlimited interface ethernet 2/0/0.1 to
ethernet 2/0/0.5
View This command can be used in the following views:
System view
Description Currently, the leasing valid period specified by this command cannot exceed the year
of 2106.