19
DHCP server configuration commands
NOTE:
The DHCP server configuration is supported only on VLAN interfaces, and loopback interfaces. The
subaddress pool configuration is not supported on loopback interfaces.
bims-server
Syntax
bims-server ip
ip-address
[
port
port-number
]
sharekey
key
undo bims-server
View
DHCP address pool view
Default level
2: System level
Parameters
ip
ip-address
: Specifies an IP address for the BIMS server.
port
port-number
: Specifies a port number for the BIMS server in the range 1 to 65,534.
sharekey
key
: Specifies a shared key for the BIMS server, which is a string of 1 to 16 characters.
Description
Use the
bims-server
command to specify the IP address, port number, and shared key of the BIMS server
in the DHCP address pool for the client.
Use the
undo bims-server
command to remove the specified BIMS server information.
By default, no BIMS server information is specified.
If you execute the
bims-server
command repeatedly, the latest configuration will overwrite the previous
one.
Related commands:
dhcp server ip-pool
and
display dhcp server tree
.
Examples
# Specify the IP address 1.1.1.1, port number 80, shared key aabbcc of the BIMS server in DHCP address
pool 0 for the client.
<Sysname> system-view
[Sysname] dhcp server ip-pool 0
[Sysname-dhcp-pool-0] bims-server ip 1.1.1.1 port 80 sharekey aabbcc