cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2925
Views
20
Helpful
19
Replies

DHCP on syslog server

sergei-bilan
Level 1
Level 1

Hi Team, 

Whether there is such function what to send from cisco C1111-4P information on DHCP MAC=IP on syslog server which clients receive?
2 Accepted Solutions

Accepted Solutions

Yes

#snmp-server enable traps dhcp duplicate

interface Enable SNMP dhcp interface traps
pool Enable SNMP dhcp pool traps
subnet Enable SNMP dhcp subnet traps
time Enable SNMP dhcp time traps
<cr> <cr>

 

 

View solution in original post

debug ip dhcp server events 
I can see the client mac address Screenshot (336).png

View solution in original post

19 Replies 19

can you more elaborate.

Yes, Is it possible to send messages from a router that has DHCP to some kind of syslog server about giving DHCP IP addresses to clients?

Yes

#snmp-server enable traps dhcp duplicate

interface Enable SNMP dhcp interface traps
pool Enable SNMP dhcp pool traps
subnet Enable SNMP dhcp subnet traps
time Enable SNMP dhcp time traps
<cr> <cr>

 

 

so are this what you looking for ?

Yes, thank you)

You are so so welcome friend

Hello,

what do you need exactly ? An SNMP alert every time the DHCP server assigns an IP address ? And the SNMP alert sent to the syslog server should contain the IP and MAC address of the client ?

Yes, And you need the router to send all this log to Splunk

Hello,

I'll see if I can come up with an EEM script...

that meaning the command I share with you not help?
this other solution but I dont recommend

debug ip dhcp server events
logging trap debugging

If I apply these commands?

switch(config)#logging enable
switch(config)#logging 172.16.1.10
switch(config)#logging trap informational

  

Yes all above config 
now only add

debug ip dhcp server events

and check the Syslog server. 

note:- If it not work please do no debug to prevent add more work to CPU.  

If I apply debug ip dhcp server binding-store i well see such a type DHCPD: Sending DHCPACK to client 0007.4db7.a424 (192.168.1.236)?