Command Manual – DHCP
H3C S7500E Series Ethernet Switches Chapter 1 DHCP Server Configuration Commands
1-24
Note that:
z Use the static-bind client-identifier command together with the static-bind
ip-address command to accomplish a static binding configuration.
z The ID of the static binding of a client must be identical to the ID displayed by using
the display dhcp client verbose command on the client. Otherwise, the client
cannot obtain an IP address.
z If you use the static-bind client-identifier or static-bind mac-address
command repeatedly, the latest configuration will overwrite the previous one.
Related commands: dhcp server ip-pool, static-bind ip-address, static-bind
mac-address, display dhcp client verbose.
Examples
# Bind the client ID aaaa-bbbb to the IP address 10.1.1.1 with the mask 255.255.255.0
in DHCP address pool 0.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0
[Sysname-dhcp-pool-0] static-bind client-identifier aaaa-bbbb
1.1.30 static-bind ip-address
Syntax
static-bind ip-address ip-address [ mask-length | mask mask ]
undo static-bind ip-address
View
DHCP address pool view
Parameters
ip-address: IP address of a static binding, if no mask and mask length is specified, the
natural mask is used.
mask-length: Mask length of the IP address, that is, the number of ones in the mask.
mask mask: Specifies the IP address mask, in dotted decimal format.
Description
Use the static-bind ip-address command to specify an IP address in a DHCP address
pool for a static binding.
Use the undo static-bind ip-address command to remove the statically bound IP
address.
By default, no IP address is statically bound in a DHCP address pool.