1-20
Description
Use the
dhcp server static-bind
command to statically bind an IP address of the current DHCP
interface address pool to a MAC address. When the client with the MAC address or ID requests an IP
address, the DHCP server will find the IP address from the binding in the interface address pool for the
client.
Use the
undo dhcp server static-bind
command to cancel an IP-MAC address binding.
By default, no IP address in an address pool is statically bound.
It should be noted that:
z
An IP address can be statically bound to only one MAC address or one client ID. A MAC address or
client ID can be bound with only one IP address statically.
z
The IP address to be statically bound cannot be an interface IP address of the device. Otherwise
the static binding does not take effect; the bound MAC address can still obtain another IP address.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
# Statically bind the client ID aaaa-bbbb to the IP address 10.1.1.1 (Assume that the DHCP interface
address pool of VLAN-interface 1 already exists and the IP address belongs to the address pool).
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp server static-bind ip-address 10.1.1.1 client-identifier
aaaa-bbbb
# Statically bind the IP address 10.1.1.2 to the MAC address 0000-e03f-0305. (Assume that the DHCP
interface address pool of VLAN-interface 1 already exists and the IP address belongs to the address
pool.)
[Sysname-Vlan-interface1] dhcp server static-bind ip-address 10.1.1.2 mac-address
0000-e03f-0305
dhcp server tftp-server domain-name
Syntax
In VLAN interface view, use the following commands to specify the TFTP server name in the current
DHCP interface address pool for the client:
dhcp server tftp-server domain-name domain-name
undo dhcp server tftp-server domain-name
In system view, use the following commands to specify the TFTP server name in the specified DHCP
interface address pool for the client:
dhcp server tftp-server domain-name domain-name
{
all | interface interface-type
interface-number
}
undo dhcp server tftp-server domain-name
{
all | interface interface-type interface-number
}
View
System view, VLAN interface view
Содержание H3C S3600 Series
Страница 502: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23 ...
Страница 507: ...3 5 Sysname habp timer 50 ...
Страница 650: ...iii display bootp client 5 3 ip address bootp alloc 5 4 ...
Страница 1085: ...ii schedule reboot delay 3 18 schedule reboot regularity 3 19 system monitor enable 3 20 update fabric 3 21 xmodem get 3 22 ...