Cisco 32369 Manual page 10

Ios dhcp server feature
Table of Contents

Advertisement

Configuration Examples
To display DHCP server information, use the following commands in EXEC mode, as needed:
Command
Router> show ip dhcp binding [address]
Router> show ip dhcp conflict [address]
Router# show ip dhcp database [url]
Router> show ip dhcp server statistics
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:password@172.16.4.253/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.
Table 1
DHCP Address Pool Devices
Pool 0 (Network 172.16.0.0)
Device
Default routers
DNS server
NetBIOS name server
NetBIOS node type
10
Release 12.0(1)T
Pool 1 (Subnetwork 172.16.1.0)
IP Address
Device
Default routers
172.16.1.102
172.16.2.102
172.16.1.103
172.16.2.103
h-node
Purpose
Displays a list of all bindings created on a specific DHCP
server.
Displays a list of all address conflicts recorded by a specific
DHCP server.
Displays recent activity on the DHCP database.
Use this command in privileged EXEC mode.
Note
Displays count information about server statistics and mes-
sages sent and received.
Pool 2 (Subnetwork 172.16.2.0)
IP Address
Device
172.16.1.100
Default routers
172.16.1.101
IP Address
172.16.2.100
172.16.2.101

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents