H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – DHCP
H3C S7500 Series Ethernet Switches Chapter 1
DHCP Server Configuration Commands
1-31
By default, no IP address is statically bound.
Note that:
z The static-bind ip-address command must be used together with the static-bind
mac-address command, to specify a statically bound IP address or MAC address.
z If you execute the static-bind ip-address command repeatedly, the new
configuration overwrites the previous one.
Related commands: dhcp server ip-pool, static-bind mac-address.
Examples
# Bind the IP address 10.1.1.1 (with the subnet mask 255.255.255.0) to the MAC
address 0000-e03f-0305.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] dhcp server ip-pool 0
[H3C-dhcp-pool-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0
[H3C-dhcp-pool-0] static-bind mac-address 0000-e03f-0305
1.1.33 static-bind mac-address
Syntax
static-bind mac-address mac-address
undo static-bind mac-address
View
DHCP address pool view
Parameters
mac-address: MAC address of the host to which the IP address is to be bound. You
need to provide this argument in the form of H-H-H.
Description
Use the static-bind mac-address command to specify a MAC address to which an IP
address will be bound statically.
Use the undo static-bind mac-address command to remove such a MAC address.
By default, no such MAC address is specified.
Note that:
z The static-bind ip-address command must be used together with the static-bind
mac-address command, to respectively specify a statically bound IP address and
MAC address.