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

Intermittent DCHP on Cisco 9500

Alcides Miguel
Level 1
Level 1

Hello,

We are facing intermittent DHCP for clients traversing the Cisco Switch 9500.

Diagram:

Windows Client---->Access Switch---->CORE Switch (9500)---->DHCP Server.

From the debug I see packets being sent to the DHCP server, and clients sometimes can get IP addresses and sometimes not. I was reading the link bellow: https://www.cisco.com/c/en/us/support/docs/switches/catalyst-9300-series-switches/217429-troubleshoot-slow-or-intermittent-dhcp-o.html#toc-hId-1052385255

Interface configuration

Screenshot 2025-06-11 at 14.17.51.png

And a disabled "ip redirects" on interfaces which has "ip helper-address" configured, but I still see huge ICMP redirects on "show platform hardware fed switch active qos queue stats internal cpu policer" command

Untitled picture.png

3 Replies 3

marce1000
Hall of Fame
Hall of Fame

 

   - @Alcides Miguel   (core) Switches are never ideal for DHCP because of the traffic load which they sometimes need to prioritize, consider using an appliance for DHCP servers. Sometimes vendors will also offer a redundant 'DHCP cluster', (2 nodes) always preserving a copy for the lease database (e.g.)

   M.



-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
    When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '

Hello @marce1000 

Thanks for your response.

I'm not using the core switch as the DHCP server, it's being held by a Windows Server. The (core) switch is doing DHCP Relay.

Jens Albrecht
Level 4
Level 4

Hello @Alcides Miguel,

you mentioned that you 'disabled "ip redirects" on interfaces which has "ip helper-address" configured' which sounds to me that you might also have some IP interfaces on your core switch that do not have the "ip helper-address" command set.

For the CPU and CoPP it does not make any difference on which interface the redirects are generated. So if other interfaces still generate redirects, then your DHCP traffic can still be affected which simply means it gets dropped.

In that case you should disable redirects on all interfaces and then check whether the drop counter continues to increase.

HTH!