Command Manual – DHCP
H3C S7500E Series Ethernet Switches
Chapter 1 DHCP Server Configuration Commands
1-25
Note that:
z
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.
z
If the statically bound IP address is an interface address of the DHCP server, the
static binding does not take effect.
z
If you use the
static-bind ip-address
command repeatedly, the latest
configuration will overwrite the previous one.
Related commands:
dhcp server ip-pool
,
static-bind client-identifier
,
static-bind
mac-address
.
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
1.1.31 static-bind mac-address
Syntax
static-bind mac-address
mac-address
undo static-bind mac-address
View
DHCP address pool view
Parameters
mac-address
: The MAC address of a static binding, in the format H-H-H.
Description
Use the
static-bind mac-address
command to statically bind a MAC address to an IP
address in a DHCP address pool.
Use the
undo static-bind mac-address
command to remove the statically bound
MAC address.
By default, no MAC address is statically bound.
Note that:
z
Use the
static-bind mac-address
command together with the
static-bind
ip-address
command to complete a static binding configuration.