Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

to check the dhcp relay statistics on cisco switches

Hi guys,

I was trying to dig out if there was a specific command (debug and non-debug) to check the packets received (from clients), relayed to the dhcp server on cisco switches.

I could do that easily on non-cisco easily.

thanks in advance!

Regards,

Mo

3 REPLIES

to check the dhcp relay statistics on cisco switches

Command

Purpose

Router# debug ip dhcp server {events | packets | linkage}

Enables debugging on the DHCP server.

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

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 messages sent and received.


Thanks

Community Member

Re: to check the dhcp relay statistics on cisco switches

thanks for the reply Ajay.

However, I am afraid that these commands are meant to help you only if you are running dhcp server. That way you can run the debug and watch al that traffic if hitting for dhcp service.

have you tried them on dhcp relay and saw the traffic that way?

Cheers,

Mohit

to check the dhcp relay statistics on cisco switches

You can use sniffer on swicth or debug ip packet using and ACL specific to source and destination.

Thanks

Ajay

925
Views
0
Helpful
3
Replies
CreatePlease to create content