HP VPN Firewall Appliances Network Management Command Reference
154
dhcp server forbidden-ip
Use dhcp server forbidden-ip to exclude specific IP addresses from dynamic allocation.
Use undo dhcp server forbidden-ip to remove the configuration.
Syntax
dhcp server forbidden-ip low-ip-address [ high-ip-address ]
undo dhcp server forbidden-ip low-ip-address [ high-ip-address ]
Default
All IP addresses in a DHCP address pool are assignable except IP addresses of the DHCP server
interfaces.
Views
System view
Default command level
2: System level
Parameters
low-ip-address: Specifies the start IP address.
high-ip-address: Specifies the end IP address, which must have a higher sequence than the start one.
Usage guidelines
When you use the dhcp server forbidden-ip command to exclude an IP address that is bound to a user
from dynamic assignment, the address can be still assigned to the user.
When you use the undo dhcp server forbidden-ip command to remove the configuration, the specified
address/address range must be consistent with the one specified with the dhcp server forbidden-ip
command. If you have configured to exclude an address range from dynamic assignment, you need to
specify the same address range in the undo dhcp server forbidden-ip command instead of specifying
one IP address.
You can exclude multiple IP address ranges from allocation.
Examples
# Exclude the IP addresses 10.110 .1.1 t h r o u g h 10 .110.1.63 from dynamic allocation.
<Sysname> system-view
[Sysname] dhcp server forbidden-ip 10.110.1.1 10.110.1.63
Related commands
• display dhcp server forbidden-ip
• dhcp server ip-pool
• network
• static-bind ip-address
dhcp server ip-pool
Use dhcp server ip-pool to create a DHCP address pool and enter its view. If the pool has been created,
you directly enter its view.