5-18
[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 the
gateway-list
command to specify gateway address(es) in a DHCP address pool.
Use the
undo gateway-list
command to remove specified gateway address(es) specified for the DHCP
client from a DHCP address pool.
By default, no gateway address is specified.
If you use the
gateway-list
command repeatedly, the latest configuration will overwrite the previous
one.
Related commands:
dhcp server ip-pool
and
display dhcp server forbidden-ip
.
Examples
# Specify the gateway address 10.110.1.99 in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] gateway-list 10.110.1.99
nbns-list
Syntax
nbns-list
ip-address
&<1-8>
undo nbns-list
{
ip-address
|
all
}
View
DHCP address pool view
Default Level
2: System level
Parameters
ip-address
&<1-8>: WINS server IP address. &<1-8> means you can specify up to eight WINS server
addresses separated by spaces.