Technical data

Configuring the DHCP Server
7.8 Supporting Utilities
Each line of output describes the lease information for one client. The output is
in a format that is used by the
DHCPDBMOD
utility to modify the lease database.
Note
The
DHCPBDUMP
,
DHCPSHOWDBS
, and
DHCPDBSHOW
commands perform read
operations on the database, while
DHCPDBMOD
performs write operations.
The
DHCPDBDUMP
,
DHCPSHOWDBS
, and
DHCPDBSHOW
commands accept a number of
different flags and arguments. Table 7–11 lists some of the more important
flags.
Table 7–11 DHCPDBDUMP, DHCPSHOWDBS, AND DHCPDBSHOW Command
Flags
Flag Description
-a
Dumps dates in readable format.
-c
Dumps currently active leases only.
-e
Dumps expired leases only.
The following examples show typical output from the
DHCPSHOWDBS
,
DHCPDBSHOW
,
and
DHCPDBDUMP
commands:
$ DHCPSHOWDBS
IP address Owner Expires Granted on Last mod
ified client id
10.10.2.100 10.10.2.6 01/28/2000 13:50 01/28/2000 13:30 01/28/2000 13:30
0 01:08:00:2b:e5:2c:44
10.10.2.101 10.10.2.6 01/28/2000 13:52 01/28/2000 13:32 01/28/2000 13:32
0 01:08:00:2b:bf:7d:bb
10.10.4.100 10.10.2.5 01/21/2000 09:27 01/21/2000 09:07 01/21/2000 09:07
0 01:08:00:2b:e5:2c:44
IP address Name
10.10.2.101 gody.compaq.com.
10.10.2.100 sarek12.compaq.com.
$ DHCPDBSHOW a
IP address owner expires granted on la
st modified network client id
10.10.2.101 10.10.2.6 02/14/2000 11:18:10 02/14/2000 10:58:10 02
/14/2000 10:58:10 10.10.2.0 0,7,01:08:00:2b:e5:2c:44
10.10.2.103 10.10.2.6 02/14/2000 11:08:21 02/14/2000 10:48:21 02
/14/2000 10:48:21 10.10.2.0 1,6,08:00:2b:2a:de:1e
10.10.2.100 10.10.2.6 02/14/2000 11:14:23 02/14/2000 10:54:23 02
/14/2000 10:54:23 10.10.2.0 0,7,01:08:00:2b:bf:7d:bb
10.10.4.100 10.10.2.5 01/21/2000 09:27:26 01/21/2000 09:07:26 01
/21/2000 09:07:26 10.10.4.0 0,7,01:08:00:2b:e5:2c:44
10.10.2.104 10.10.2.6 02/14/2000 11:09:33 02/14/2000 10:49:33 02
/14/2000 10:49:33 10.10.2.0 1,6,08:00:2b:2a:de:a8
Record count = 5
Configuring the DHCP Server 7–63