03-18-2013 03:13 AM
Hello,
I have a setup with Cisco Network Registrar. We have a few scoops with the lease time set to forever. Now I want to reconfigure the scoops to have a 24h hour leasetime. But before this I would like to clear all the current leases. I have problems doing this. I have tried to delete the scoop and then create a new but the old leases is still there. Does anyone have any ides?
03-18-2013 01:14 PM
You would issue "dhcp-subnet
04-08-2013 02:15 AM
How do I do this from the gui?
04-09-2013 07:08 AM
I have tried your solution but the cli does not like it. With subnet number I have tried all different ways to specify the subnet I want to use force-available on but It wont work. the "subnet-number" is the subnet I want to clear right? What format does I need to use?
11-28-2013 03:53 AM
Same issue here:
nrcmd> dhcp-subnet 10.135.128.0/17 force-available
302 Not Found - dhcp-subnet 10.135.128.0/17 not found
That subnet is configured and viewable on the GUI.
11-28-2013 06:06 AM
I did not get it to work. I had to delete each lease in the subnet manually. I suggest you use the batch command to do it.
Just go to the local/bin folder where the cnr is installed and issue the following:
nrcmd -N username -P password -b <"PATH TO FILE"
Just make a textfile with the commands you want to run as a batch like:
lease 10.28.4.1 force-available
You need to do one row for each ip.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide