5-11
Examples
# Display IP addresses excluded from dynamic allocation in the DHCP address pool.
<Sysname> display dhcp server forbidden-ip
Global:
IP Range from 1.1.0.2 to 1.1.0.3
IP Range from 1.1.1.2 to 1.1.1.3
Pool name:2
1.1.1.5 1.1.1.6
Table 5-3 display dhcp server forbidden-ip
command output description
Field
Description
Global
Globally excluded IP addresses specified with the
dhcp server forbidden-ip
command in system view. No address pool can assign these IP addresses.
Pool name
Excluded IP addresses specified with the
forbidden-ip
command in extended DHCP
address pool view. They cannot be assigned from the current extended address pool
only.
display dhcp server ip-in-use
Syntax
display dhcp server ip-in-use
{
all
|
ip
ip-address
|
pool
[
pool-name
] }
View
Any view
Default Level
1: Monitor level
Parameters
all
: Displays the binding information of all DHCP address pools.
ip
ip-address
: Displays the binding information of a specified IP address.
pool
[
pool-name
]: Displays the binding information of a specified address pool. The
pool name
is a
string of 1 to 35 characters. If no
pool name
is specified, the binding information of all address pools is
displayed.
Description
Use the
display dhcp server ip-in-use
command to display the binding information of DHCP address
pool(s) or an IP address.
Related commands:
reset dhcp server ip-in-use
.
Examples
# Display the binding information of all DHCP address pools.
<Sysname> display dhcp server ip-in-use all
Pool utilization: 0.39%
IP address Client-identifier/ Lease expiration Type
Hardware address
10.1.1.1 4444-4444-4444 NOT Used Manual
10.1.1.2 3030-3030-2e30-3030- May 1 2009 14:02:49 Auto:COMMITTED
662e-3030-3033-2d45-