R3303-HP HSR6800 Routers Layer 3 - IP Services Configuration Guide

48
Task Command Remarks
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 for 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.
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 through
a DHCP relay agent.
The DHCP server configuration for the two types is the same.
Static IP address assignment configuration example
Network requirements
As shown in Figure 24, Router A (DHCP server) assigns a static IP address, DNS server address, and
gateway address to Router B (DHCP client).
Figure 24 Network diagram