Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 9 DHCP Configuration Commands
3Com Corporation
9-17
By default, the leasing valid period is one day.
Currently, the leasing valid period specified by this command cannot exceed the year of
2106.
After configuring this command, you cannot view the configuration by executing the
display current-configuration command. By calling the dhcp server expired
command respectively on the specified interfaces, you can fulfill the batch
configurations of the command.
Related command: dhcp server ip-pool, dhcp server expired (in interface view),
expired.
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
9.2.14 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: The low IP address that does not participate in the auto-allocation.
high-ip-address: The high IP address that does not participate in the auto-allocation. It
must belong to the same segment to which the low-ip-address belongs as well and
must not be smaller than the low-ip-address. If this parameter is not specified, there will
be only one IP address, that is, low-ip-address.
Description
Use the dhcp server forbidden-ip command to exclude IP addresses in a specified
range to participate in the auto-allocation.
Use the undo dhcp server forbidden-ip command to delete the configuration.
By default, all the IP addresses in address pools participate in the auto-allocation.
You may configure multiple IP address ranges that do not participate in auto-allocation.
Related command: dhcp server ip-pool, network, and static-bind ip-address.