0
I Use This!
Activity Not Available

Project Summary

使用php做得一个用于备份h3c和cisco网络设备的配置的工具。简介: 本程序包括二个主要的备份程序h3c.php和cisco.php。 h3c.exe程序模拟ftp客户端将csv配置文件中列出的h3c.设备中的配置文件下载到本地。 cisco.exe程序模拟telnet客户端登录到csv配置文件中列出的cisco设备中将当前配置文件copy到ftp服务器。

一、前提条件: 1、H3C网络设备上必须配置: //启用ftp服务 FTP server enable //建一个ftp用户帐户 local-user ftpusername

password cipher ftppassword
service-type ftp

2、cisco网络设备上必须配置:
//配置ftp登录帐号 ip ftp username ftpusername ip ftp password ftppassword

二、编辑配置文件 备份cisco设备的配置请按照cisco.csv文件格式编辑配置文件 备份h3c设备的配置请按照h3c.csv文件格式编辑配置文件

三、运行程序: 将csv文件与执行文件放在同一目录下,编辑好配置文件后在命令行运行: h3c.exe h3c.csv cisco.exe cisco.csv

或者: 直接运行: cisconetbackup.bat h3cnetbackup.bat 这二个批处理我就不多讲,相信大家都能看懂。

四、注意 h3c.exe只能将配置文件下载到本地,下载完成后请自行将所有备份的文件保存到ftp服务器或文件服务器 cisco.exe会将配置直接上传到ftp服务器,如果服务器上有同名文件,将被覆盖,请确保ftp服务器上原来存放的文件没有重名 设备配置备份前请确保设备能够正常登录

Tags

netbackup php

In a Nutshell, netbackup-tool...

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

GNU General Public License v3.0 or later
Permitted

Commercial Use

Modify

Distribute

Place Warranty

Use Patent Claims

Forbidden

Sub-License

Hold Liable

Required

Distribute Original

Disclose Source

Include Copyright

State Changes

Include License

Include Install Instructions

These details are provided for information only. No information here is legal advice and should not be used as such.

All Licenses

This Project has No vulnerabilities Reported Against it

Did You Know...

  • ...
    55% of companies leverage OSS for production infrastructure
  • ...
    learn about Open Hub updates and features on the Open Hub blog
  • ...
    65% of companies leverage OSS to speed application development in 2016
  • ...
    data presented on the Open Hub is available through our API

 No code available to analyze

Open Hub computes statistics on FOSS projects by examining source code and commit history in source code management systems. This project has no code locations, and so Open Hub cannot perform this analysis

Is this project's source code hosted in a publicly available repository? Do you know the URL? If you do, click the button below and tell us so that Open Hub can generate statistics! It's fast and easy - try it and see!

Add a code location

Community Rating

Be the first to rate this project
Click to add your rating
   Spinner
Review this Project!
Sample ohloh analysis