Microsoft Windows DHCP Team Blog

The world's most deployed DHCP Server! Deploy and discuss about your fav. server, here!

Export - Import of DHCPv6 Server Configurations

Export - Import of DHCPv6 Server Configurations

  • Comments 1
  • Likes

Export and import commands in netsh helps to export configuration of a local server to a particular file and then using this file these configurations can be imported on another server.

 

Exporting and importing of  DHCPv6 Server configuration can be done using the following steps:

 

Let’s say there are three scopes configured under DHCPv6 Server with prefix 3ffe:: , 4ffe:: and 5ffe:: .

 

The v6 configurations of this local server can be exported to a file using the following steps:

 

a.       Open command prompt or powershell and type netsh

 

b.      Then go to v6 context by typing dhcp server v6

 

c.       If all the v6 configurations need to be exported use the following command

 

export c:\dhcp\tempdb all

                  

                  If the configurations of few particular v6 scopes need to be exported then use the following command

                               

                        export c:\dhcp\tempdb 3ffe:: 4ffe::

 

Now if these configurations are to be imported on another server, then copy the exported configuration file on the other server and follow the below steps on it:

 

a.       Open command prompt or powershell and type netsh

 

b.      Then go to v6 context by typing dhcp server v6

 

c.       If all the v6 configurations need to be imported use the following command

 

import <filename> all

 

                  If the configuration of a particular v6 scope needs to be imported then use the following command

 

                        import <filename> 3ffe::

 

Raunak Pandya

DHCP Server Team

Comments
  • Hello! Thanks this is really helpful for keeping consistency. Is there a way to tell the server to advertise the address for DNS from here?

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment