To do...
Display information about IP address
conflicts
Display information about lease
expiration
Display information about assignable
IP addresses
Display IP addresses excluded from
automatic allocation in the DHCP
address pool
Display information about bindings
Display information about DHCP
server statistics
Display tree organization
information of address pool(s)
Clear information about IP address
conflicts
Clear information about dynamic
bindings
Clear information about DHCP server
statistics
DHCP server configuration examples
DHCP networking involves two 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 via
•
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
gateway address from Switch A (DHCP server).
The
client
3030-3066-2e65-3234-392e-3830-3530-2d56-6c61-6e2d-696e-7465-7266-6163-6532.
Figure
26, Switch B (DHCP client) obtains the static IP address, DNS server address, and
ID
of
Use the command...
display dhcp server conflict { all | ip
ip-address } [ | { begin | exclude | include }
regular-expression ]
display dhcp server expired { all | ip
ip-address | pool [ pool-name ] } [ | { begin |
exclude | include } regular-expression ]
display dhcp server free-ip [ | { begin |
exclude | include } regular-expression ]
display dhcp server forbidden-ip [ | { begin |
exclude | include } regular-expression ]
display dhcp server ip-in-use { all | ip
ip-address | pool [ pool-name ] } [ | { begin |
exclude | include } regular-expression ]
display dhcp server statistics [ | { begin |
exclude | include } regular-expression ]
display dhcp server tree { all | pool
[ pool-name ] } [ | { begin | exclude |
include } regular-expression ]
reset dhcp server conflict { all | ip ip-address }
reset dhcp server ip-in-use { all | ip
ip-address | pool [ pool-name ] }
reset dhcp server statistics
VLAN-interface
50
Remarks
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in any view
Available in user view
Available in user view
Available in user view
2
on
Switch
B
is