Chapter 5 Configuring a LAN with DHCP and VLANs

Configure DHCP

Verify Your DHCP Configuration

Use the following commands to view your DHCP configuration.

show ip dhcp import—Displays the optional parameters imported into the DHCP server database.

show ip dhcp pool—Displays information about the DHCP address pools.

show ip dhcp server statistics—Displays the DHCP server statistics, such as the number of address pools, bindings, and so forth.

Router# show ip dhcp import

Address Pool Name: dpool1

Router# show

ip dhcp pool

 

 

Pool dpool1 :

 

 

 

 

Utilization

mark (high/low)

: 100 / 0

 

Subnet size

(first/next)

: 0 / 0

 

Total addresses

 

: 254

 

Leased addresses

 

: 0

 

Pending event

 

: none

 

1 subnet is

currently in the pool :

 

Current index

IP address range

Leased addresses

10.10.0.1

 

10.10.0.1

- 10.10.0.254

0

Router# show ip dhcp

server statistics

Memory usage

15419

Address pools

1

Database agents

0

Automatic bindings

0

Manual bindings

0

Expired bindings

0

Malformed messages

0

Secure arp entries

0

Message

Received

BOOTREQUEST

0

DHCPDISCOVER

0

DHCPREQUEST

0

DHCPDECLINE

0

DHCPRELEASE

0

DHCPINFORM

0

Message

Sent

BOOTREPLY

0

DHCPOFFER

0

DHCPACK

0

DHCPNAK

0

Router#

 

Book Title

5-4

OL-xxxxx-xx

 

 

Page 66
Image 66
Cisco Systems OL-6426-02 manual Verify Your Dhcp Configuration, Router# show ip dhcp import, Ip dhcp pool