Dhcp Server Detect - HP A5120 EI Series Command Reference Manual

Hide thumbs Also See for A5120 EI Series:
Table of Contents

Advertisement

undo dhcp select server global-pool [ subaddress ]
View
Interface view
Default level
2: System level
Parameters
subaddress: Supports secondary address allocation. When the DHCP server and client are on the same
network segment, the server preferably assigns an IP address from an address pool that resides on the
same subnet as the primary IP address of the server interface (connecting to the client). If the address
pool contains no assignable IP address, the server assigns an IP address from an address pool that
resides on the same subnet as the secondary IP addresses of the server interface. If the interface has
multiple secondary IP addresses, each address pool is tried in turn for address allocation. Without the
keyword subaddress specified, the DHCP server can only assign an IP address from the address pool that
resides on the same subnet as the primary IP address of the server interface.
Description
Use the dhcp select server global-pool command to enable the DHCP server on specified interface(s).
After the interface receives a DHCP request from a client, the DHCP server will allocate an IP address
from the address pool.
Use the undo dhcp select server global-pool command to remove the configuration. Upon receiving a
DHCP request from a client, the interface will neither assign an IP address to the client, nor serve as a
DHCP relay agent to forward the request.
Use the undo dhcp select server global-pool subaddress command to disable the support for secondary
address allocation.
By default, the DHCP server is enabled on an interface.
Examples
# Enable the DHCP server on VLAN-interface 1 to assign IP addresses from the address pool that resides
on the same subnet as the primary IP address of the server interface (connecting to the client) for the
client.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] dhcp select server global-pool

dhcp server detect

Syntax
dhcp server detect
undo dhcp server detect
View
System view
Default level
2: System level
22

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents