Dhcp Server Forbidden - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

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
Parameters
low-ip-address: IP address that is not available for being assigned to DHCP clients automatically (An IP
address of this kind is known as a forbidden IP address). This argument also marks the lower end of the
range of the forbidden IP addresses.
high-ip-address: IP address that is not available for being assigned to DHCP clients. This argument also
marks the higher end of the range of the forbidden IP addresses. Note that this argument cannot be less
than the low-ip-address argument. If you do not provide this argument, only the IP address specified by
the low-ip-address argument is forbidden.
Description
Use the dhcp server forbidden-ip command to forbid the specified IP addresses in a DHCP address
pool to be automatically assigned.
Use the undo dhcp server forbidden-ip command to cancel the forbiddance.
By default, all IP addresses in an address pool are allowed to be automatically assigned.
Related commands: dhcp server ip-pool, network, static-bind ip-address, dhcp server
static-bind.
When you execute the undo dhcp server forbidden-ip command, make sure that the specified
address range does not contain any statically-bound IP address.
You can configure multiple IP address segments that are not to be automatically configured by
executing the dhcp server forbidden-ip command several times.
If an IP address that is not to be automatically assigned has been configured as a statically-bound
IP address, the DHCP server still assigns this IP address to the client whose MAC address or ID
has been bound.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Forbid the IP addresses in the range 10.110.1.1 to 10.110.1.63 to be automatically assigned.
[Sysname] dhcp server forbidden-ip 10.110.1.1 10.110.1.63
1-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents