46
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
server tree
, and
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
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
Default 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, which is the number of 1s in the mask, in the
range 0 to 32.
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.
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 repeatedly, the latest configuration will overwrite the
previous one.
Related commands:
dhcp server ip-pool
,
static-bind client-identifier
,
static-bind mac-address
, and
display
dhcp server tree
.
Содержание A5120 EI Series
Страница 26: ...18 Sysname Vlan interface1 ip address 202 38 160 1 255 255 255 0 sub ...
Страница 83: ...75 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 189: ...181 Sysname tcp ipv6 window 4 ...