cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clear DHCP leases - MX84

Here to help

Clear DHCP leases - MX84

Hi, 

May I know if there is a way to clear out the DHCP Leases in a certain VLAN?

I configured static IP addresses but their previous addresses are still there in the dashboard. 


Thanks!

17 REPLIES 17
Kind of a big deal

Re: Clear DHCP leases - MX84

I don't know the answer.  You could try turning DHCP off and then back on again.  

 

Kind of a big deal

Re: Clear DHCP leases - MX84

I believe as soon as the client disconnects and reconnects to the network it will go through the DHCP process again. At that point they will receive the newly assigned static address. If they try to renew the lease I think the DHCP server will refuse and assign them the static IP address too.

Here to help

Re: Clear DHCP leases - MX84

Thanks for the tip 🙂 I will try it now.

Here to help

Re: Clear DHCP leases - MX84

Hi Brecht,

I have tried it but it seems it does not work 😞
Highlighted
Building a reputation

Re: Clear DHCP leases - MX84

Every time I'm in a situation where I need to clear a DHCP lease on Meraki, I hit this button so hard...

meraki-maw.PNG

There is no way (that I know of) to clear a DHCP lease manually in Meraki. Best is to lower lease time, in the DHCP server, and wait for the leases to renew, to the shorter lease time. 

Here to help

Re: Clear DHCP leases - MX84

Hi,

I think that is the "wish button"?

Well, I will check your suggestion. Hopefully later on the update, they will have that feature.
Kind of a big deal

Re: Clear DHCP leases - MX84


@jvelasco wrote:
Hi Brecht,

I have tried it but it seems it does not work 😞

Hmm well that's annoying. Good to know.

Ben
A model citizen

Re: Clear DHCP leases - MX84

Set the DHCP lease Time to 30 minutes in the evening when everyone leaves and wait.. That's how I handle this. 

 

Cheers 

Ben

Here to help

Re: Clear DHCP leases - MX84

Hi,

I've done two options, setting it at 30 minutes and then reboot.  At last, it renews all leases. 

But I think the Cisco Meraki must do something about this because it is really important. 


Thanks.

Getting noticed

Re: Clear DHCP leases - MX84

is there any development going on for this issue? Manually changing dhcp leases to 30 min at the eod is not the ultimate solution. I hope there would be a select and delete option somewhere for removing dhcp leases.

New here

Re: Clear DHCP leases - MX84

It seems like every time I look up how to do something in Meraki, the answer is you can't.  Why do people sell this junk?

Meraki Employee

Re: Clear DHCP leases - MX84


@jvelasco wrote:

Hi, 

May I know if there is a way to clear out the DHCP Leases in a certain VLAN?

I configured static IP addresses but their previous addresses are still there in the dashboard. 


Thanks!


Hi @jvelasco,

 

A 'button' to clear DHCP Leases from dashboard is certainly a feature request at this time point in time as others have commented.

 

However, there is a way to clear the DHCP Leases on a VLAN without having to reboot the appliance by following these steps:

- Create a DHCP Reservation on the VLAN that blocks out the entire DHCP range

- Save the configuration and let MX downloads it (might take a minute or two)

- Clear the DHCP Reservation and save the configuration again

 

Hope this helps, if you are still having trouble, I would recommend reach out to support (that's whom I got this info from). You can find support information from dashboard under Help > Get Help.

 

Cheers,

 

-Alex

If this was helpful, click the Kudos button below.
Please mark it as a solution if solved your issue so others can benefit from it 🙂
Here to help

Re: Clear DHCP leases - MX84

Meraki Dashboard used to have that option under Monitor -> Appliance Status -> Tools, but somehow they took that away.   I've put in feature request for many times, but I still do not see that option.  I've done set lease time, created and removed dhcp reservation scope, but it did not work like the way I want.  This's very annoyed.   

Here to help

Re: Clear DHCP leases - MX84

@AlexC 

 

This seems like a work-around at best. I hope this "feature" makes it to Meraki. 

 

I try to talk up Meraki when I can, but things like this makes it really difficult.

Here to help

Re: Clear DHCP leases - MX84

zcsdfsfsdf


@AlexC wrote:

@jvelasco wrote:

Hi, 

May I know if there is a way to clear out the DHCP Leases in a certain VLAN?

I configured static IP addresses but their previous addresses are still there in the dashboard. 


Thanks!


Hi @jvelasco,

 

A 'button' to clear DHCP Leases from dashboard is certainly a feature request at this time point in time as others have commented.

 

However, there is a way to clear the DHCP Leases on a VLAN without having to reboot the appliance by following these steps:

- Create a DHCP Reservation on the VLAN that blocks out the entire DHCP range

- Save the configuration and let MX downloads it (might take a minute or two)

- Clear the DHCP Reservation and save the configuration again

 

Hope this helps, if you are still having trouble, I would recommend reach out to support (that's whom I got this info from). You can find support information from dashboard under Help > Get Help.

 

Cheers,

 

-Alex


UPDATE FOR ANYONE THAT MIGHT RUN INTO THIS

 

I found this thread because I had to do this for a VOIP rollout.

 

I repeated these steps - 

  1. Decreased the DHCP Lease Time to 30 minutes 
  2. Create a DHCP Reservation on the VLAN that blocks out the entire DHCP range
  3. Save the configuration and let MX downloads it (might take a minute or two)
  4. Clear the DHCP Reservation that blocks out the entire DHCP range
  5. Save the configuration again

It seemed to work at first. All client DHCP leases were removed from the dash... except they some came back with the original entries. All of the phones are still advertising that their lease time will expire in 20+ hours. Effectively maintaining the lease time they originally had. 

 

Not sure if this is because they're VOIP endpoints, but it only half worked.

 

The machines on the same VLAN cleared out their DHCP leases and were on the new 30 minute lease time, the phones were not. 

Getting noticed

Re: Clear DHCP leases - MX84


@PhilipDAth wrote:

I don't know the answer.  You could try turning DHCP off and then back on again.  

 



This has worked for me in the past.  After you turn off DHCP for that subnet, wait about 5 minutes, then turn it back on.  When you turn it back on, all your previous settings are still there so it's not as painful as it seems.  

 

Not optimal, but it works.  

Getting noticed

Re: Clear DHCP leases - MX84

This has worked for me in the past. After you turn off DHCP for that subnet, wait about 5 minutes, then turn it back on. When you turn it back on, all your previous settings are still there so it's not as painful as it seems.



Not optimal, but it works.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.