R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
115
Description
Use the network command to specify the subnet for dynamic allocation in a DHCP address pool.
Use the undo network command to remove the specified subnet.
No subnet is specified by default.
You can specify only one subnet for each common address pool. If you use the network command
repeatedly, the latest configuration overwrites the previous one.
Related commands: dhcp server ip-pool and display dhcp server tree.
Examples
# Specify 192.168.8.0/24 as the subnet for dynamic allocation in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] network 192.168.8.0 mask 255.255.255.0
network ip range
Syntax
network ip range min-address max-address
undo network ip range
View
DHCP address pool view
Default level
2: System level
Parameters
min-address: Lowest IP address for dynamic allocation.
max-address: Highest IP address for dynamic allocation.
Description
Use the network ip range command to specify the IP address range for dynamic allocation in an address
pool.
Use the undo network ip range command to remove the specified address range.
No IP address range is specified by default.
NOTE:
In a common address pool, you can use the network ip range command to further specify an IP address
range on a subnet for address allocation. The specified IP address range must belong to the subnet;
otherwise the common address pool cannot assign IP addresses.
You can specify only one IP address range for each address pool. If you use the network ip range
command repeatedly, the latest configuration overwrites the previous one..
Related commands: dhcp server ip-pool, network, and display dhcp server tree.