Dhcp server configuration examples – H3C Technologies H3C S12500 Series Switches User Manual

Page 64

Advertising
background image

50

Task Command Remarks

Display information about lease
expiration.

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

exclude | include } regular-expression ]

Available in any view.

Display information about assignable
IP addresses.

display dhcp server free-ip [ | { begin |
exclude | include } regular-expression ]

Available in any view.

Display IP addresses excluded from
automatic allocation in the DHCP

address pool.

display dhcp server forbidden-ip [ | { begin |
exclude | include } regular-expression ]

Available in any view.

Display information about bindings.

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

exclude | include } regular-expression ]

Available in any view.

Display information about DHCP
server statistics.

display dhcp server statistics [ | { begin |
exclude | include } regular-expression ]

Available in any view.

Display tree organization
information about address pools.

display dhcp server tree { all | pool
[ pool-name ] } [ | { begin | exclude |
include } regular-expression ]

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:

A restart of the DHCP server or execution of the reset dhcp server ip-in-use command deletes all lease
information. The DHCP server will deny any DHCP request for lease extension, and the client must request

an IP address again.

DHCP server configuration examples

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.

DHCP networking involves the following types:

The DHCP server and client are on the same subnet and exchange messages directly.

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

The DHCP server configuration for the two types is the same.

Advertising