Configuration examples, Dhcp database agent configuration example, Dhcp address pool configuration example – Cisco 32369 User Manual

Page 10: Table1 dhcp address pool devices

Advertising
background image

Configuration Examples

10

Release 12.0(1)T

To display DHCP server information, use the following commands in EXEC mode, as needed:

Configuration Examples

This section provides the following configuration examples:

DHCP Database Agent Configuration Example

DHCP Address Pool Configuration Example

Manual Bindings Configuration Example

DHCP Database Agent Configuration Example

The following example stores bindings on host 172.16.4.253. The file transfer protocol is FTP. The
server should wait 2 minutes (120 seconds) before writing database changes.

ip dhcp database ftp://user:[email protected]/router-dhcp write-delay 120

DHCP Address Pool Configuration Example

In the following example, three DHCP address pools are created: one in network 172.16.0.0, one in
subnetwork 172.16.1.0, and one in subnetwork 172.16.2.0. Attributes from network 172.16.0.0, such
as the domain name, DNS server, NetBIOS name server, and NetBIOS node type, are inherited in
subnetworks 172.16.1.0 and 172.16.2.0. In each pool, clients are granted 30-day leases and all
addresses in each subnetwork, except the excluded addresses, are available to the DHCP server for
assigning to clients. Table 1 lists the IP addresses for the devices in three DHCP address pools.

Command

Purpose

Router> show ip dhcp binding [address]

Displays a list of all bindings created on a specific DHCP
server.

Router> show ip dhcp conflict [address]

Displays a list of all address conflicts recorded by a specific
DHCP server.

Router# show ip dhcp database [url]

Displays recent activity on the DHCP database.

Note

Use this command in privileged EXEC mode.

Router> show ip dhcp server statistics

Displays count information about server statistics and mes-
sages sent and received.

Table 1

DHCP Address Pool Devices

Pool 0 (Network 172.16.0.0)

Pool 1 (Subnetwork 172.16.1.0)

Pool 2 (Subnetwork 172.16.2.0)

Device

IP Address

Device

IP Address

Device

IP Address

Default routers

Default routers

172.16.1.100
172.16.1.101

Default routers

172.16.2.100
172.16.2.101

DNS server

172.16.1.102

172.16.2.102

NetBIOS name server

172.16.1.103

172.16.2.103

NetBIOS node type

h-node

Advertising