Bulk Backup Switch Configuration program

Source: Internet
Author: User
Tags switches

Old version of the software use instructions:

Support Switch, Hua San, cisco (Ruijie) switches need to configure Vty to allow Telnet.

How to use:

The first step to enter the switch two password, "T password" for the vty password, is telnet up the first password. "s password" is Huasan's super password, or Cisco's enable password

The second step is to select the type of switch that is backed up, and the current backup batch can only be the same brand.

The third step is to add the IP address, one is manually added, the other is a batch import, your IP address, a line to write to a TXT file (for example below), and then import with the bulk Import function. If the switch IP address like I have hundreds of units, we recommend that in Excel, with the fill handle one-time pull out, and then copied to the TXT file, so you can save a lot of power.

192.168.0.1

192.168.0.2

192.168.0.3

Finally click the Start Backup button to make a backup of the switch configuration, backed up by the file to "IP address." TXT ", save directly to the root of D disk.

Advantages:

1. The speed is quite good, almost 2-3 seconds can back up one, my unit more than 200 switches, 10 minutes on the finish.

2. Instead of using the direct TFTP config.cfg, I used the show run and dis cu command to save the displayed content to the IP address. TXT "file. In this way, there is no relationship between forgetting WR and save after the switch is configured.

3. More applicability than TFTP mode, you can directly back up the external network switch configuration. Without having to worry about whether your computer has a legitimate IP address.

Small problem:

1. Because there is no multithreading to write, so encountered the IP address, the program will have the phenomenon of suspended animation, you can not care about him, after a while the program does not pass this IP address, will automatically skip.

2. Backup out of the configuration text, there will be---more---and a few specific garbled, such as a small amount of superfluous content, little impact, I am too lazy to write code in the program to remove him.

3. Backup switch if user name and password are logged in, not recognized, unable to properly back up the configuration (the main my switch is basically not configured like this, so I did not consider how to write program code)

Small tips:

1. Add IP address accidentally wrong, you can direct the left mouse button double-click the IP address, will be removed from the list.

Make up this small program half a day Kung fu is done, do very simple, mainly for their own use. Feel useful brother can be free to try, if there are brothers want to further develop this program, such as adding a regular backup, want to support other brand switches, support different password batch and other functions.

Bulk Backup switch Configuration program supports user name password version

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.