31
Table 6
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 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
] } [
|
{
begin
|
exclude
|
include
}
regular-expression
]
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.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
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