l
Support for assigning a TFTP server address and
bootfile name from the DHCP server to the client with auto-configuration
function is a new feature in this manual. For specific commands, see bootfile-name, dhcp server bootfile-name, dhcp server tftp-server
domain-name, dhcp server tftp-server ip-address, tftp-server domain-name, and tftp-server ip-address.
l
DHCP-snooping option 82 is a new feature in this
manual. For specific commands, see dhcp-snooping information enable to dhcp-snooping information vlan remote-id.
l
IP filtering is a new feature in this manual.
For specific commands, see display
ip source static binding, ip check source ip-address, and ip source static
binding.
l
DHCP packet rate limit is a new feature in this
manual. For specific commands, see Rate Limit Configuration Commands.
Syntax
accounting domain domain-name
undo accounting
domain
View
DHCP address pool view
Parameters
domain-name:
Name of a domain, a string of 1 to 24 characters. (You can use the domain
command to create a domain.)
Description
Use the accounting domain command to
enable the DHCP accounting function.
Use the undo accounting domain
command to disable the DHCP accounting function.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Enter DHCP address pool view.
[Sysname] dhcp server ip-pool test
# Enable the DHCP accounting function
(assuming that domain 123 already exists).
[Sysname-dhcp-pool-test] accounting
domain 123
Syntax
bims-server ip ip-address [ port port-number ] sharekey key
undo bims-server
View
DHCP address pool view
Parameters
ip
ip-address: Specifies the IP address of the remote
BIMS server.
port port-number:
Specifies the port number of the remote BIMS. The port-number argument ranges
from 1 to 65534.
sharekey key: Specifies the shared key of the remote BIMS server. The key
argument is a string containing 1 to 16 characters. It cannot be null.
Description
Use the bims-server command to
specify the IP address, port number, and shared key of a BIMS server in the
DHCP global address pool for the client.
Use the undo bims-server command to
remove specified BIMS server information from the DHCP global address pool.
By default, the related information of the
BIMS server is not specified.
If you execute the bims-server
command repeatedly, the latest configuration will overwrite the previous one.
Related commands: dhcp server bims-server.
Examples
# Specify the IP address 192.168.0.1, port
number 651, shared key aaa of the BIMS server in the DHCP global address
pool for the client.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
[Sysname] dhcp server ip-pool test
[Sysname-dhcp-pool-test] bims-server
ip 192.168.0.1 port 651 sharekey aaa
Syntax
bootfile-name bootfile-name
undo bootfile-name
View
DHCP address pool view
Parameters
bootfile-name: Boot file name (with the extension name .cfg), a string of 1 to 63
characters.
Description
Use the bootfile-name command to
specify a bootfile name in the DHCP global address pool for the client.
Use the undo bootfile-name command
to remove the specified bootfile name from the DHCP global address pool.
By default, no bootfile name is specified.
If you execute the bootfile-name
command repeatedly, the latest configuration will overwrite the previous one.
Examples
# Specify the bootfile name aaa.cfg
in DHCP global address pool 0 for the client..
<Sysname> system-view
Enter system view, return to user
view with Ctrl+Z.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-ip-pool-0] bootfile-name
aaa.cfg
Syntax
dhcp enable
undo dhcp enable
View
System view
Parameters
None
Description
Use the dhcp enable command to
enable DHCP.
Use the undo dhcp enable command to
disable DHCP.
By default, DHCP is enabled.
Note that: You need to enable DHCP before
performing other DHCP-related configurations.
To improve security and avoid malicious attacks to the unused sockets,
S5600 Ethernet switches provide the following functions:
UDP ports 67 and 68 used by DHCP are enabled/disabled only when DHCP
is enabled/disabled.
The implementation
is as follows:
l
After DHCP is enabled by executing the dhcp
enable command, if the DHCP server and DHCP relay functions are not
configured, UDP port 67 and UDP port 68 ports is kept disabled; if the DHCP
server and DHCP relay functions are configured, UDP 67 and UDP 68 ports are
enabled.
l
After DHCP is disabled by executing the undo
dhcp enable command, even if the DHCP server and DHCP relay functions
are configured, UDP port 67 and UDP port 68 ports is disabled.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Enable DHCP.
[Sysname] dhcp enable
Syntax
VLAN interface view:
dhcp select global
undo dhcp select
System view:
dhcp select global
{ interface interface-type interface-number [ to interface-type
interface-number ] | all }
undo dhcp select { interface interface-type interface-number [ to interface-type
interface-number ] | all }
View
System view, VLAN interface view
Parameters
interface interface-type interface-number [ to interface-type
interface-number ]: Specifies the interface(s) to operate in global address
pool mode. The interface-type argument specifies an interface type; the interface-number
argument specifies an interface number; the interface interface-type
interface-number [ to interface-type interface-number ]
keyword and argument combination specifies an interface range.
all: Specifies all interfaces to operate in global address pool mode.
Description
Use the dhcp select global
command to configure the specified interface(s) or all interfaces to operate in
global DHCP address pool mode. Upon receiving a DHCP packet from a DHCP client
through an interface operating in global DHCP address pool mode, the DHCP
server chooses an IP address from a global DHCP address pool of the DHCP server
and assigns the address to the DHCP client.
Use the undo dhcp select
command to restore the default DHCP packet processing mode.
By default, an interface operates in DHCP
server global address pool mode.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Configure VLAN-interface 1 through
VLAN-interface 3 to operate in global DHCP address pool mode, so that when a
DHCP packet is received from a DHCP client on one of these interfaces, the DHCP
server assigns an IP address from a global DHCP address pool to the DHCP
client.
[Sysname] dhcp select global
interface vlan-interface 1 to vlan-interface 3
# Configure all interfaces to operate in
global DHCP address pool mode, so that when a DHCP packet is received from a
DHCP client through any interface, the DHCP server assigns an IP address in
global DHCP address pools to the DHCP client.
[Sysname] dhcp select global all
Syntax
VLAN interface view:
dhcp select interface
undo dhcp select
System view:
dhcp select interface
{ interface interface-type interface-number [ to interface-type
interface-number ] | all }
undo dhcp select { interface interface-type interface-number [ to interface-type
interface-number ] | all }
View
System view, VLAN interface view
Parameters
interface interface-type interface-number [ to
interface-type interface-number ]: Specifies the interface(s) to operate
in interface address pool mode. The argument interface-type indicates
interface type, interface-number indicates interface number. interface-type
interface-number [ to interface-type interface-number ] specifies
an interface range.
all: Specifies all interfaces to operate in interface address pool mode.
Description
Use the dhcp select interface
command to configure the specified interface(s) to operate in DHCP interface
address pool mode. Upon receiving a DHCP packet from a DHCP client through an interface
operating in interface address pool mode, the DHCP server chooses an IP address
from the interface address pool of the DHCP server and assigns the address to
the DHCP client.
Use the undo dhcp select
command to restore the default DHCP packet processing mode.
By default, an interface operates in DHCP
server global address pool mode.
Before configuring an interface to operate
in DHCP interface address pool mode, you need to configure an IP address for the
interface.
To improve security and avoid malicious attack to the unused
SOCKETs, S5600 Ethernet switches provide the following functions:
l
UDP 67 and UDP 68 ports used by DHCP are enabled
only when DHCP is enabled.
l
UDP 67 and UDP 68 ports are disabled when DHCP
is disabled.
The corresponding
implementation is as follows:
l
After a DHCP interface address pool is created
by executing the dhcp select interface command, UDP 67 and UDP 68
ports used by DHCP are enabled.
l
After a DHCP interface address pool is deleted
by executing the undo dhcp select interface command and
all other DHCP functions are disabled, UDP 67 and UDP 68 ports used by DHCP are
disabled accordingly.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Configure VLAN-interface 1 through
VLAN-interface 3 to operate in DHCP interface address pool mode, so that when a
DHCP packet is received from a DHCP client on one of these interfaces, the DHCP
server assigns an IP address from the corresponding interface DHCP address pool
to the DHCP client.
[Sysname] dhcp select interface
interface vlan-interface 1 to vlan-interface 3
# Configure all interfaces to operate in DHCP
interface address pool mode, so that when a DHCP packet is received from a DHCP
client through any interface, the DHCP server assigns an IP address in the interface
DHCP address pool to the DHCP client.
[Sysname] dhcp select interface all
Syntax
dhcp server bims-server ip ip-address [ port port-number ] sharekey key { interface
interface-type interface-number [ to interface-type
interface-number ] | all }
undo dhcp server bims-server { interface interface-type interface-number [ to interface-type
interface-number ] | all }
View
System view
Parameters
port
port-number: Specifies the port number of the
remote BIMS server. The port-number argument ranges from 1 to 65534.
sharekey key: Specifies the shared key of the remote BIMS server. The key
argument is a string containing 1 to 16 characters. It cannot be null.
interface interface-type interface-number [ to interface-type
interface-number ]: Specifies a port operating in the interface address
pool mode. The interface-type argument specifies a port type; the interface-number
argument specifies a port number; the interface interface-type
interface-number [ to interface-type interface-number ]
keyword and argument combination specifies a port range.
all:
Specifies all ports.
Description
Use the dhcp server bims-server
command to specify the IP address, port number, and shared key of a BIMS server
in the DHCP interface address pool(s) for the client.
Use the undo dhcp server bims-server command
to remove specified BIMS server information from the DHCP interface address
pool(s).
By default, no IP address, port number, or
shared key of a BIMS server is specified in the DHCP interface address pool(s) for
the clients.
Related commands: bims-server.
Examples
# Specify the IP address 192.168.0.2, port
number 111, shared key aaa of the BIMS server in the DHCP interface
address pool of VLAN-interface 2 for the client.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
[Sysname] dhcp server bims-server ip
192.168.0.2 port 111 sharekey aaa interface
Vlan-interface 2
Syntax
In VLAN interface view, use the following
commands to specify the bootfile name in the current interface address pool for
the client:
dhcp server bootfile-name bootfile-name
undo dhcp server bootfile-name
In system view, use the following commands to
specify the bootfile name in the specified interface address pool for the client:
dhcp server bootfile-name
bootfile-name { all | interface interface-type
interface-number }
undo dhcp server bootfile-name { all | interface interface-type interface-number }
View
System view, VLAN interface view
Parameters
bootfile-name: Bootfile name (with the extension name .cfg), in the range 1 to 63
characters.
all:
Specifies all interface address pools.
interface interface-type interface-number:
Specifies an interface address pool. The interface-type argument
specifies an interface type; the interface-number argument specifies an interface
number.
Description
Use the dhcp server bootfile-name
command to specify the bootfile name in interface address pool for the client.
Use the undo dhcp server bootfile-name
command to remove the bootfile name from interface address pool.
No bootfile name is specified in an
interface address pool by default.
If you execute the dhcp server
bootfile-name command repeatedly, the new configuration will overwrite the previous
one.
Related commands: bootfile-name.
Examples
# Specify bootfile name aaa.cfg in
the DHCP interface address pool of VLAN-interface 1.
<Sysname> system-view
Enter system view, return to user
view with Ctrl+Z.
[Sysname] interface Vlan-interface 1
[Sysname-Vlan-interface1] dhcp server
bootfile-name aaa.cfg
Syntax
dhcp server detect
undo dhcp server detect
View
System view
Parameters
None
Description
Use the dhcp server detect command
to enable the unauthorized DHCP server detection function. With this feature
enabled, upon receiving a DHCP request, the DHCP server will record the IP
addresses of any DHCP servers which ever assigned an IP address to the DHCP
client and the receiving interface. The administrator can use this information
to check out any unauthorized DHCP servers.
Use the undo dhcp server detect
command to disable the unauthorized DHCP server detecting function.
By default, the unauthorized DHCP server
detecting function is disabled.
Note that:
With unauthorized DHCP server detection
enabled, the device records only one entry for each DHCP server. The
administrator needs to find unauthorized DHCP servers from the log information.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Enable the unauthorized DHCP server
detecting function.
[Sysname] dhcp server detect
Syntax
In VLAN interface view, use the following
commands to specify the DNS server IP address in the current DHCP interface
address pool for the client.
dhcp server dns-list ip-address&<1-8>
undo dhcp server dns-list { ip-address | all }
In system view, use the following commands
to specify the DNS server IP address in multiple DHCP interface address pools
for the client.
dhcp server dns-list ip-address&<1-8> { interface
interface-type interface-number [ to interface-type
interface-number ] | all }
undo dhcp server dns-list { ip-address | all } { interface interface-type
interface-number [ to interface-type interface-number ] | all
}
View
System view, VLAN interface view
Parameters
ip-address&<1-8>:
IP address of a DNS server. &<1-8> means you can provide up to eight
DNS server IP addresses. When inputting more than one DNS server IP address,
separate two neighboring IP addresses with a space.
interface interface-type interface-number [ to interface-type
interface-number ]: Specifies the interface(s), through which you can
specify the corresponding interface address pools. The interface-type argument
specifies an interface type; the interface-number argument specifies an interface
number; the interface interface-type interface-number [ to interface-type
interface-number ] keyword and argument combination specifies an interface
range.
all: (In comparison with the ip-address argument) Specifies all
DNS server IP addresses.
all: (In
comparison with the interface keyword) Specifies all interface address
pools.
Description
Use the dhcp server dns-list command
to specify the DNS server IP address in the DHCP interface address pool for the
client.
Use the undo dhcp server dns-list
command to remove the DNS server IP address specified in the DHCP interface address
pool.
By default, no DNS server IP address is specified
for the client.
If you execute the dhcp server dns-list
command repeatedly, the new configuration overwrites the previous one.
Related commands: dns-list.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Enter VLAN-interface 1 view.
[Sysname] interface Vlan-interface 1
# Configure the DNS server IP address 1.1.1.254 for the DHCP address pool of the VLAN-interface 1 for the client.
[Sysname-Vlan-interface1] dhcp server
dns-list 1.1.1.254
Syntax
In VLAN interface view, use the following
commands to configure a domain name suffix for the DHCP clients whose IP
addresses are from the current DHCP interface address pool.
dhcp server domain-name domain-name
undo dhcp server domain-name
In system view, use the following commands
to configure a domain name suffix for the DHCP clients whose IP addresses are
from multiple DHCP interface address pools.
dhcp server domain-name domain-name { interface interface-type
interface-number [ to interface-type interface-number ] | all
}
undo dhcp server domain-name { interface interface-type interface-number [ to
interface-type interface-number ] | all }
View
System view, VLAN interface view
Parameters
domain-name:
Domain name suffix of the DHCP clients whose IP addresses are from the
specified interface address pool(s). This argument is a string of 3 to 50
characters.
interface interface-type interface-number [ to interface-type
interface-number ]: Specifies the interface(s), through which you can
specify the corresponding interface address pool(s). The interface-type argument
specifies an interface type; the interface-number argument specifies an
interface number; the interface interface-type interface-number [
to interface-type interface-number ] keyword and argument
combination specifies an interface range.
all: Specifies all interface address pools.
Description
Use the dhcp server domain-name command
to configure a domain name suffix for the DHCP clients whose IP addresses are
from the specified interface address pool(s). With this suffix configured, the
client only needs to input part of a domain name, and the system will add the
domain name suffix for name resolution.
Use the undo dhcp server domain-name
command to remove the configured domain name suffix.
By default, no domain name suffix is
configured for the DHCP client.
Related commands: domain-name.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Enter VLAN-interface 1 view.
[Sysname] interface Vlan-interface 1
# Configure the domain name suffix
aabbcc.com for the DHCP clients whose IP addresses are from the current DHCP interface
address pool.
[Sysname-Vlan-interface1] dhcp server
domain-name aabbcc.com
# Configure the domain name suffix abcd.com
for the DHCP clients whose IP addresses are from the DHCP interface address
pools on VLAN-interface 2 through VLAN-interface 5.
[Sysname-Vlan-interface1] quit
[Sysname] dhcp server domain-name abcd.com
interface Vlan-interface 2 to Vlan-interface 5
Syntax
In VLAN interface view, use the following
commands to configure the lease time of the IP addresses in the current DHCP interface
address pool.
dhcp server expired { day day [ hour hour [ minute minute
] ] | unlimited }
undo dhcp server expired
In system view, use the following commands
to configure the lease time of the IP addresses in multiple DHCP interface
address pools.
dhcp server expired { day day [ hour hour [ minute minute
] ] | unlimited } { interface interface-type
interface-number [ to interface-type interface-number ] | all
}
undo dhcp server expired { interface interface-type interface-number [ to
interface-type interface-number ] | all }
View
System view, VLAN interface view
Parameters
day day:
Specifies the number of days. The day argument ranges from 0 to 365.
hour hour:
Specifies the number of hours. The hour argument ranges from 0 to 23.
minute minute:
Specifies the number of minutes. The minute argument ranges from 0 to
59.
unlimited:
Specifies that the lease time is unlimited. (But actually, the system limits
the maximum lease time to about 25 years.)
interface
interface-type interface-number [ to interface-type
interface-number ]: Specifies the interface(s), through which you can
specify the corresponding interface address pool(s). The interface-type argument
specifies an interface type; the interface-number argument specifies an
interface number; the interface interface-type interface-number [
to interface-type interface-number ] keyword and argument
combination specifies an interface range.
all: Specifies all interface address pools.
Description
Use the dhcp server expired command
to configure the lease time of the IP addresses dynamically obtained in the
specified DHCP interface address pool(s).
Use the undo dhcp server expired
command to restore the default lease time.
The default lease time is one day.
Related commands: expired.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Set the lease time of the IP addresses dynamically
obtained in all DHCP interface address pools to be 1 day, 2 hours and 3
minutes.
[Sysname] dhcp server expired day 1
hour 2 minute 3 all
# Set the lease time of the IP addresses dynamically obtained from
DHCP interface address pools on VLAN-interface 2 through VLAN-interface 5 to be
2 days.
[Sysname-Vlan-interface1] quit
[Sysname] dhcp server expired day 2
interface Vlan-interface 2 to Vlan-interface 5
Syntax
dhcp server forbidden-ip low-ip-address [ high-ip-address
]
undo dhcp server forbidden-ip low-ip-address [ high-ip-address ]
View
System view
Parameters
low-ip-address: IP address that is not available for being assigned to DHCP
clients automatically (An IP address of this kind is known as a forbidden IP
address). This argument also marks the lower end of the range of the forbidden
IP addresses.
high-ip-address: IP address that is not available for being assigned to DHCP
clients. This argument also marks the higher end of the range of the forbidden
IP addresses. Note that this argument cannot be less than the low-ip-address
argument. If you do not provide this argument, only the IP address specified by
the low-ip-address argument is forbidden.
Description
Use the dhcp server forbidden-ip
command to forbid the specified IP addresses in a DHCP address pool to be
automatically assigned.
Use the undo dhcp server forbidden-ip
command to cancel the forbiddance.
By default, all IP addresses in an address
pool are allowed to be automatically assigned.
Related commands: dhcp server ip-pool,
network, static-bind ip-address, dhcp server static-bind.
l
When you execute the undo dhcp server
forbidden-ip command, make sure that the specified address range does not
contain any statically-bound IP address.
l
You can configure multiple IP address segments
that are not to be automatically configured by executing the dhcp server
forbidden-ip command several times.
l
If an IP address that is not to be automatically
assigned has been configured as a statically-bound IP address, the DHCP server
still assigns this IP address to the client whose MAC address or ID has been
bound.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Forbid the IP addresses in the range
10.110.1.1 to 10.110.1.63 to be automatically assigned.
[Sysname] dhcp server forbidden-ip
10.110.1.1 10.110.1.63
Syntax
dhcp server ip-pool pool-name
undo dhcp server ip-pool pool-name
View
System view
Parameters
pool-name: Name
of a DHCP address pool, which uniquely identifies the address pool. This
argument is a string of 1 to 35 characters.
Description
Use the dhcp server ip-pool command
to create a global DHCP address pool and enter DHCP address pool view. If the
address pool identified by the pool-name argument already exists, this
command leads you to DHCP address pool view.
Use the undo dhcp server ip-pool
command to remove a specified DHCP address pool.
By default, no global DHCP address pool is
created.
Related commands: dhcp enable.
To improve security
and avoid malicious attack to the unused SOCKETs, S5600 Ethernet switches
provide the following functions:
l
UDP 67 and UDP 68 ports used by DHCP are enabled
only when DHCP is enabled.
l
UDP 67 and UDP 68 ports are disabled when DHCP
is disabled.
The corresponding
implementation is as follows:
l
After a DHCP address pool is created by
executing the dhcp server ip-pool command, the UDP 67 and UDP 68 ports
used by DHCP are enabled.
l
After a DHCP address pool is deleted by
executing the undo dhcp server ip-pool command and all other DHCP
functions are disabled, UDP 67 and UDP 68 ports used by DHCP are disabled.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Create DHCP address pool 0.
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0]
Syntax
In VLAN interface view, use the following
commands to configure WINS server IP address(es) in the current DHCP interface address
pool for the client.
dhcp server nbns-list ip-address&<1-8>
undo dhcp server nbns-list { ip-address | all }
In system view, use the following commands
to configure WINS server IP addresses in multiple DHCP interface address pools
for the client.
dhcp server nbns-list ip-address&<1-8> { interface interface-type
interface-number [ to interface-type interface-number ] | all
}
undo dhcp server nbns-list { ip-address | all } { interface interface-type
interface-number [ to interface-type interface-number ] | all
}
View
System view, VLAN interface view
Parameters
ip-address&<1-8>:
IP address of a WINS server. &<1-8> means you can provide up to eight
WINS server IP addresses. When inputting more than one WINS server IP address,
separate two neighboring IP addresses with a space.
interface interface-type interface-number [ to interface-type
interface-number ]: Specifies the interface(s), through which you can
specify the corresponding DHCP interface address pool(s). The interface-type
argument specifies an interface type; the interface-number argument
specifies an interface number; the interface interface-type
interface-number [ to interface-type interface-number ]
keyword and argument combination specifies an interface range.
all: (In comparison with the ip-address argument) Specifies all WINS
server IP addresses.
all: (In
comparison with the interface keyword) Specifies all interface address
pools.
Description
Use the dhcp server nbns-list
command to configure WINS server IP address(es) in the specified DHCP interface
address pool(s) for the client.
Use the undo dhcp server nbns-list
command to remove the WINS server IP address(es) configured in the specified
DHCP interface address pool(s) for the clients.
By default, no WINS server IP address is
configured for the client.
If you execute the dhcp server nbns-list
command repeatedly, the new configuration overwrites the previous one.
Related commands: nbns-list, dhcp
server netbios-type.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Configure the WINS server IP address 10.12.1.99 in all the DHCP interface address pools for the DHCP client.
[Sysname] dhcp server nbns-list 10.12.1.99 all
Syntax
In VLAN interface view, use the following
commands to configure the NetBIOS node type of the DHCP clients whose IP
addresses are from the current DHCP interface address pool.
dhcp server netbios-type { b-node | h-node | m-node | p-node }
undo dhcp server netbios-type
In system view, use the following commands
to configure the NetBIOS node type of the DHCP clients whose IP addresses are
from multiple DHCP interface address pools.
dhcp server netbios-type { b-node | h-node | m-node | p-node } {
interface interface-type interface-number [ to interface-type
interface-number ] | all }
undo dhcp server netbios-type { interface interface-type interface-number [ to
interface-type interface-number ] | all }
View
System view, VLAN interface view
Parameters
b-node:
Specifies the b-typed node. Nodes of this type acquire host name-to-IP address
mapping by broadcasting.
p-node:
Specifies the p-typed node. Nodes of this type acquire host name-to-IP address
mapping by communicating with the WINS server.
m-node:
Specifies the m-typed node. Nodes of this type are p-nodes with some
broadcasting features.
h-node: Specifies
the h-typed node. Nodes of this type are b-nodes with peer-to-peer
communicating features.
interface interface-type interface-number [ to interface-type
interface-number ]: Specifies the DHCP interface address pool. The interface-type
argument specifies an interface type; the interface-number argument
specifies an interface number; the interface interface-type
interface-number [ to interface-type interface-number ]
keyword and argument combination specifies an interface range.
all:
Specifies all interface address pools.
Description
Use the dhcp server netbios-type
command to configure the NetBIOS node type of the DHCP clients whose IP
addresses are from the specified DHCP interface address pool(s).
Use the undo dhcp server netbios-type
command to restore the default NetBIOS node type.
By default, no NetBIOS node type is
specified. After the WINS server IP address is configured for the client in the
DHCP interface address pool, the client uses the hybrid node (h-node).
Related commands: netbios-type, dhcp
server nbns-list.
Examples
# Enter system view.
<Sysname> system-view
System View: return to User View with
Ctrl+Z.
# Specify p-node as the NetBIOS node type
of the DHCP clients whose IP addresses are from the DHCP interface address pool
of VLAN-interface 1.
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp server
netbios-type p-node
Syntax
In VLAN interface view, use the following
commands to customize DHCP options for the current DHCP interface address pool.
dhcp server option code { ascii ascii-string
| hex hex-string&<1-10> | ip-address ip-address&<1-8>
}
undo dhcp server option code
In system view, use the following commands
to customize DHCP options for multiple DHCP interface address pools.
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 }
undo dhcp server option code { interface interface-type interface-number [
to interface-type interface-number ] | all }
View