Displaying and maintaining the dhcp server, Dhcp server configuration examples – H3C Technologies H3C SecPath F1000-E User Manual

Page 54

Advertising
background image

14

To do…

Use the command…

Remarks

Enter system view

system-view

—

Enable the DHCP server to send trap
messages to the network management

server when the specified threshold is

reached

dhcp server threshold { allocated-ip
threshold-value | average-ip-use

threshold-value | max-ip-use

threshold-value }

Optional
Disabled by default.

Displaying and Maintaining the DHCP Server

To do…

Use the command…

Remarks

Display information about IP address
conflicts

display dhcp server conflict { all | ip
ip-address }

Available in any view

Display information about lease
expiration

display dhcp server expired { all | ip
ip-address | pool [ pool-name ] }

Available in any view

Display information about assignable IP
addresses

display dhcp server free-ip

Available in any view

Display IP addresses excluded from
automatic allocation in the DHCP

address pool

display dhcp server forbidden-ip

Available in any view

Display information about bindings

display dhcp server ip-in-use { all | ip
ip-address | pool [ pool-name ] }

Available in any view

Display information about DHCP server
statistics

display dhcp server statistics

Available in any view

Display tree organization information of
address pool(s)

display dhcp server tree { all | pool
[ pool-name ] }

Available in any view

Clear information about IP address
conflicts

reset dhcp server conflict { all | ip
ip-address }

Available in user view

Clear information about dynamic
bindings

reset dhcp server ip-in-use { all | ip
ip-address | pool [ pool-name ] }

Available in user view

Clear information about DHCP server
statistics

reset dhcp server statistics

Available in user view

NOTE:

Using the save command does not save DHCP server lease information. Therefore, when the system boots
up or the reset dhcp server ip-in-use command is executed, no lease information will be available in the

configuration file. In this case, the server will deny the request for lease extension from a client and the
client needs to request an IP address again.

DHCP Server Configuration Examples

DHCP networking involves two types:

•

The DHCP server and client are on the same subnet and perform direct message delivery.

•

The DHCP server and client are not on the same subnet and communicate with each other via a
DHCP relay agent.

Advertising