H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

DHCP Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 1 DHCP Functions Overvie
w
1-3
Operation Command Description
Configure WINS server
addresses for DHCP clients
nbns-list
ip-address&<1-8>
Required
By default, no WINS
server addresses are
configured.
Specify a NetBIOS node type
for DHCP clients
netbios-type { b-node |
h-node | m-node |
p-node }
Optional
By default, the DHCP
clients are h-nodes if
the command is not
specified.
Configure gateway addresses
for DHCP clients
gateway-list
ip-address&<1-8>
Required
By default, no
gateway address is
configured.
Configure a self-defined
DHCP option
option code { ascii
ascii-string | hex
hex-string&<1-10> |
ip-address
ip-address&<1-8> }
Required
By default, no
self-defined option is
configured.
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 mask ]
Configure
a static
binding
Specify the
client’s MAC
address of the
static binding
static-bind mac-address
mac-address
Optional
By default, no IP
address is specified.
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.