cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2429
Views
15
Helpful
10
Replies

Devices takes too long to get IP address from Switch

ODAT1
Level 1
Level 1

I have Cisco Catalyst C9500-16X switch running ios version 16.12.4. as my core switch. I have configure dhcp on the switch for one of my vlans. initially, all devices were getting IP address from my dhcp server which sits in a different LAN but it was taking them too long for the devices to get an IP address. Now I have dhcp configure on the switch for one of my vlans and devices connecting to this vlan are still taking too long to get IP address. Can I get help resolving this issue?

1 Accepted Solution

Accepted Solutions

ODAT1
Level 1
Level 1

Hello you'll, thank you for all the great support provided. I was finally able to identify the issue and resolve it. After a debug, I found out the when I ping a host IP address, the reply will redirect to another hop. I remove ip redirect on the svi and the issue was fixed.

Command used 

no ip redirect

 

Thank you all.

View solution in original post

10 Replies 10

balaji.bandi
Hall of Fame
Hall of Fame

how is your access port config look like

 

add below line and check

spanning-tree portfast

 ( show run help here if the still issue) 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

@bb, yes I do have that configured on all my access ports

 

can you post the configuration, - i have tested with Cat 9300 simple config, client get straight away IP address with out any delay.

 

 

look troubleshooting :

 

https://www.cisco.com/c/en/us/support/docs/ip/dynamic-address-allocation-resolution/27470-100.html

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

try and disable/enable the 'service dhcp':

 

9500(config)#no service dhcp

 

9500(config)#service dhcp

@george, okay I will try that and let you know the outcome. Thank you!

can you check the CPU for storm broadcast.

Thanks @ MHM, was helpful.

 

Hello

As a test trying disabling ip dhcp conflict logging

conf t
no ip dhcp conflict logging
clear ip dhcp 
exit

clear ip dhcp conflict *


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks Paul, this was very helpful.

 

ODAT1
Level 1
Level 1

Hello you'll, thank you for all the great support provided. I was finally able to identify the issue and resolve it. After a debug, I found out the when I ping a host IP address, the reply will redirect to another hop. I remove ip redirect on the svi and the issue was fixed.

Command used 

no ip redirect

 

Thank you all.