to check the dhcp relay statistics on cisco switches

Unanswered Question
Nov 1st, 2011
User Badges:

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ajay chauhan Wed, 11/02/2011 - 11:37
User Badges:
  • Silver, 250 points or more

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

Mohit Chauhan Wed, 11/02/2011 - 18:03
User Badges:

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

ajay chauhan Thu, 11/03/2011 - 03:41
User Badges:
  • Silver, 250 points or more

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


Thanks

Ajay

Actions

This Discussion