Home > Software engineering >  Batch backup configuration file exchange
Batch backup configuration file exchange

Time:10-09

Such as the batch switch IP address (192.168. *. *) and name (switch_name) in the A.T XT, and then TELNET in batch mode to perform a backup configuration file on the exchange of command (copy flash: file_name remote_ip switch_name) batch to judge whether the copy command execution success if successful then back up the next switch backup, backup if unsuccessful termination, order the A.T XT terminated after the switch of the
There are two key difficulty 1 need to be solved, how to read them one by one A.T XT stored in the switches into change address and name for interactive command USES
2, the backup command COPY after the switch to perform whatever success failure back to have a echo values or SUCESS or FAILED to according to the results to decide whether to continue,
  •  Tags:  
  • VBA
  • Related