F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
181
Related commands
dhcp server ip-pool
static-bind ip-address
static-bind mac-address
display dhcp server tree
display dhcp client verbose
static-bind ip-address
Use static-bind ip-address to specify an IP address in a DHCP address pool for a static binding.
Use undo static-bind ip-address to remove the statically bound IP address.
Syntax
static-bind ip-address ip-address [ mask-length | mask mask ]
undo static-bind ip-address
Default
No IP address is statically bound in a DHCP address pool.
Views
DHCP address pool view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address of a static binding. If no mask and mask length is specified, the
natural mask is used.
mask-length: Specifies the mask length of the IP address, in the range of 1 to 30.
mask mask: Specifies the IP address mask, in dotted decimal format.
Usage guidelines
Use the static-bind ip-address command together with the static-bind mac-address or static-bind
client-identifier command to accomplish a static binding configuration.
The IP address of the static binding cannot be an interface address of the DHCP server. Otherwise, an
IP address conflict may occur, and the bound client cannot obtain an IP address correctly.
If you use the static-bind ip-address command multiple times, the most recent configuration takes effect.
Examples
# Bind the client MAC address 0000-e03f-0305 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 mac-address 0000-e03f-0305
Related commands
dhcp server ip-pool