DHCP
H3C Low-End Ethernet Switches Configuration Examples
Chapter 1 DHCP Functions Overview
1-4
Operation
Command
Description
Return to
system view
quit
Create an
address pool for
the static
address binding
dhcp server ip-pool
pool-name
Specify the IP
address of the
static binding
static-bind ip-address
ip-address
[
mask-length
|
mask
mask
]
Specify
the MAC
address
of the
static
binding
static-bind mac-address
mac-address
Confi
gure
a
static
bindi
ng
Spe
cify
the
MA
C
addr
ess
or
the
clie
nt
ID
of
the
stati
c
bind
ing
Specify
the client
ID of the
static
binding
static-bind client-identifier
client-identifier
Optional
By default, no MAC
address or client ID
is bound to an IP
address statically.
Note:
z
To configure a
static binding, you
need to specify
the IP address
and the MAC
address or client
ID.
z
A static address
pool can be
configured with
only one IP
address-to-MAC
or IP
address-to-client
ID binding.
Return to system view
quit
—
Specify the IP
addresses to be
excluded from
automatic allocation
dhcp server forbidden-ip
low-ip-address
[
high-ip-address
]
Optional
By default, all the IP
addresses in a
DHCP address pool
are available for
dynamic allocation.
interface
interface-type
interface-number
dhcp select
global
On the
current
interface
quit
Configure
the global
address
pool mode
On
multiple
interfaces
in system
view
dhcp select
global
{
interface
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
Optional
By default, an
interface operates in
the global address
pool mode.