Showing results for 
Search instead for 
Did you mean: 

Cisco Network Registrar IP lease during upgrade.

We are working on  migrating from old version of CNR (CNR 5.5 or 6.3) to a  new version CNR ( CNR 7.1 ), we would like to know if there is a tool  or CISCO best practice in order to migrate the DHCP IP address leases.-

We are facing migration from CNR 5.5 or 6.3  to CNR 7.1.-

Kind Regards,


Tom Debruyne
Cisco Employee
Cisco Employee

Hi Pablo,

I see 2 options.

First, if the upgrade path is supported (check the installation guide, for example, you can upgrade 6.2, 6.3 or 7.0 to 7.1, but 6.1 or before requires intermediate upgrade :

Then a standard upgrade will keep the lease database.  You can also copy the data directory of the current CNR to the server on which you will install 7.1 and it will pick up the database and upgrade it.  If upgrade path is not supported, you will need to do intermediate upgrades (upgrade 5.5 to 6.1, then 6.3 then 7.1).

Second option, if you only want to keep the lease database, not the configuration, you can export it from the current server and import it in the new server like this:

On the old server:

nrcmd> export leases -server leaseout.txt

On the new server:

nrcmd> import leases leaseout.txt

Before you can import leases, you must:

1. Configure scopes in the DHCP server for the leases to be imported, using the scope command.

2. If  the host names for the leases are to be dynamically entered in DNS as  part of the import, configure zones in the DNS server to allow DNS  updates, using the zone name enable dynamic command.

3. Set the DHCP server to import mode so that it does not respond to other lease requests during the lease importing, using the dhcp enable import-mode command.

4. After  the leases are imported, take the DHCP server out of import mode so  that it will respond to other lease requests, using the dhcp disable import-mode command.


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: