R3721-F3210-F3171-HP High-End Firewalls Network Management Command Reference-6PW101
157
Default level
2: System level
Parameters
ip-address&<1-8>: IP addresses to be excluded from dynamic allocation. &<1-8> indicates that you can
specify up to eight IP addresses, separated with spaces.
all: Excludes all IP addresses from dynamic allocation.
Description
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.
By default, all IP addresses in an extended address pool are assignable except the IP addresses of the
DHCP server interfaces.
• 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.
• Repeatedly using the forbidden-ip command can exclude multiple IP address ranges from dynamic
allocation.
Related commands: dhcp server ip-pool and display dhcp server forbidden-ip.
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
gateway-list
Syntax
gateway-list ip-address&<1-8>
undo gateway-list { ip-address | all }
View
DHCP address pool view
Default level
2: System level
Parameters
ip-address&<1-8>: Gateway IP address. &<1-8> means you can specify up to eight gateway addresses
separated by spaces.
all: Specifies all gateway IP addresses to be removed.
Description
Use gateway-list to specify gateway address(es) in a DHCP address pool.