cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
355
Views
0
Helpful
3
Replies

DHCP question.

dan_track
Level 1
Level 1

Hi

I've got a dhcp service running on one of our routers (3640). Thew config is pasted below:

ip dhcp pool se

network 10.11.8.0 255.255.248.0

bootfile /linux-install/pxelinux.0

next-server 10.11.9.38

default-router 10.11.9.23

domain-name se.example.com

dns-server 10.11.9.11 10.11.9.22

lease 10

My question is that I would like to see which leases have been issued and to what mac addresses, how can I do that?

Thanks in advance

Dan

3 Replies 3

leonvd79
Level 4
Level 4

Hello Dan,

I assume you already tried issueing show ip dhcp server statistics, however this does not produce which client released a binding.

To do so, you can use debugging. This increases the load on your router which, thus not a proper solution.

Router#debug ip dhcp packet

I am not shure if there is a snmp trap for dhcp service. You can check the MIB browser if you can read MIB values to accomplice your goal.

HTH

--Leon

* Please rate posts.

ankbhasi
Cisco Employee
Cisco Employee

Hi Dan,

Try this

show ip dhcp binding

http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fipras_r/1rfdhcp.htm#wp1018729

HTH, if yes please rate the post.

Ankur

desai.jaideep
Level 5
Level 5

Hi

The command is

"show ip dhcp bindings"

which will show the ip address,mac-address,lease time.

Regards

JD

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: