Command Manual - Network Protocol
Quidway S3500 Series Ethernet Switches Chapter 6 DHCP Configuration Commands
Huawei Technologies Proprietary
6-7
all: All VLAN interfaces.
Description
Using the dhcp server expired command, you can specify the duration that addresses
in the specified VLAN interface DHCP address pool(s) can be leased. Using the undo
dhcp server expired command, you can restore the default duration that addresses in
the specified VLAN interface DHCP address pool(s) can be leased.
By default, address lease duration is one day.
For the related command, see expired.
Example
# IP addresses from the DHCP address pool on VLAN interface 1 can be leased for an
unlimited period.
[Quidway] interface vlan-interface 1
[Quidway-Vlan-interface1] dhcp server expired unlimited
6.2.5 dhcp server forbidden-ip
Syntax
dhcp server forbidden-ip low-ip-address [ high-ip-address ]
undo dhcp server forbidden-ip low-ip-address [ high-ip-address ]
View
System view
Parameter
low-ip-address: The lowest IP address forbidden in automatic address allocation.
high-ip-address: The highest IP address forbidden in automatic address allocation,
which cannot be lower than low-ip-address. If this parameter is not specified, there will
be only one IP address, that is, low-ip-address.
Description
Using the dhcp server forbidden-ip command, you can configure IP addresses
forbidden in automatic address allocation. Using the undo dhcp server forbidden-ip
command, you can cancel the configuration of addresses forbidden in automatic
address allocation.
By default, all IP addresses in address pools participate in automatic address
allocation.
For the related commands, see dhcp server ip-pool, network, static-bind
ip-address, and dhcp server static-bind.