Backup DHCP command

Source: Internet
Author: User

Back up DHCP commands and use the system command netsh. There are three methods: 1. backup. restore Command Format: netsh dhcp server \ dc1 backup c: \ dhcp-dc-bak c: \ dhcp-dc-bak is a folder. This command backs up several files in the dhcp directory of the system. This command can be executed remotely, but the backup files may be on the server, if no network path is specified. 2. export and import are similar to the previous command, but only one file command format is backed up: netsh dhcp server \ dc1 export c: \ dhcp-dc-bak c: \ dhcp-dc-bak is a file. The file format is unclear. This command can be executed remotely, but the backup file may be on the server, if the network path is not specified. 3, dump, exec command format: netsh dhcp server \ dc1 dump c: \ dhcp-dc-bak.txt this command is good, the backup results are plain text, you can edit, and then restore back. Recovery command: netsh dhcp exec c: \ dhcp-dc-bak.txt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.