DHCP
H3C Low-End Ethernet Switches Configuration Examples
Chapter 1 DHCP Functions Overview
1-7
Operation
Command
Description
interface interface-type
interface-number
dhcp server nbns-list
ip-address
&<1-8>
On one
interface
quit
Configure
WINS
server
addresses
for DHCP
clients
On multiple
interfaces
dhcp server nbns-list
ip-address
&<1-8> {
interface
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
Optional
By default, no WINS
server addresses are
configured.
interface interface-type
interface-number
dhcp server netbios-type
{
b-node
|
h-node
|
m-node
|
p-node
}
On one
interface
quit
Define a
NetBIOS
node type
for DHCP
clients
On multiple
interfaces
dhcp server netbios-type
{
b-node
|
h-node
|
m-node
|
p-node
} {
interface
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
Optional
By default, no
NetBIOS node type
is specified and a
DHCP client uses the
h-node type.
interface interface-type
interface-number
dhcp server option code
{
ascii
ascii-string
|
hex
hex-string
&<1-10> |
ip-address
ip-address
&<1-8> }
On one
interface
quit
Configure
a
self-define
d DHCP
option
On multiple
interfaces
dhcp server option code
{
ascii
ascii-string
|
hex
hex-string
&<1-10> |
ip-address
ip-address
&<1-8> } {
interface
interface-type interface-number
[
to
interface-type
interface-number
] |
all
}
Optional
By default, no
self-defined option is
configured.
Enable the detection of
unauthorized DHCP
servers
dhcp server detect
Optional
By default, the
detection of
unauthorized DHCP
servers is disabled.