HP VPN Firewall Appliances Network Management Command Reference
169
[Sysname-dhcp-pool-0] expired day 1 hour 2 minute 3 second 4
Related commands
• dhcp server ip-pool
• display dhcp server tree
forbidden-ip
Use forbidden-ip to exclude IP addresses from dynamic allocation in an extended address pool.
Use undo forbidden-ip to cancel specified or all excluded IP addresses.
Syntax
forbidden-ip ip-address&<1-8>
undo forbidden-ip { ip-address&<1-8> | all }
Default
All IP addresses in an extended address pool are assignable except the IP addresses of the DHCP server
interfaces.
Views
DHCP extended address pool view
Default command level
2: System level
Parameters
ip-address&<1-8>: Specifies excluded IP addresses. &<1-8> indicates that you can specify up to eight IP
addresses, separated by spaces.
all: Excludes all IP addresses from dynamic allocation.
Usage guidelines
Only the extended address pools support this command.
IP addresses specified with the forbidden-ip command in DHCP address pool view are excluded from
dynamic address allocation in the current extended address pool only. They are assignable in other
address pools.
You can exclude multiple IP address ranges from dynamic allocation.
Examples
# Exclude IP addresses 192.168.1.3 and 192.168.1.10 from dynamic allocation for extended address pool
0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0 extended
[Sysname-dhcp-pool-0] forbidden-ip 192.168.1.3 192.168.1.10
Related commands
• dhcp server ip-pool
• display dhcp server forbidden-ip