3com 8807 Reference Guide

Page of 1099
DHCP Server Configuration Commands
829
interface vlan-interface vlan-id [ to vlan-interface vlan-id ]: Specifies one VLAN 
interface, or a range of VLAN interfaces.
all: Specifies all VLAN interfaces.
Description
Use the dhcp server expired command to set the IP address lease time for the 
DHCP address pool of current VLAN interface, or for the DHCP address pool(s) of 
the specified VLAN interface(s).
Use the undo dhcp server expired command to revert to the default IP address 
lease time for the DHCP address pool of current VLAN interface, or for the DHCP 
address pool(s) of the specified VLAN interface(s).
The default lease time is one day.
Related command: expired.
Example
# Set the IP address lease time of the DHCP address pool of VLAN interface 1 to 
unlimited.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface vlan-interface 1
 
[3Com-Vlan-interface1] dhcp server expired unlimited 
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: Minimum IP address in the forbidden IP address range.
high-ip-address: The highest IP address in the forbidden IP address range. Note 
that the value of this argument must be larger than (or equal to) that of the 
low-ip-address argument. If you do not provide this argument, then the forbidden 
IP address range contains only the IP address specified by the low-ip-address 
argument.
Description
Use the dhcp server forbidden-ip command to forbid a range of IP addresses to 
be automatically assigned to DHCP clients.
Use the undo dhcp server forbidden-ip command to cancel the forbiddance.
All IP addresses in a DHCP address pool can be automatically assigned by default.