1 Star 0 Fork 4

Ivan / NetConfigBackup

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

NetConfigBackup

介绍

SSH登陆路由器、交换机,备份设备配置, 支持H3C_ComwareV5, Juniper_Junos, 锐捷_RGOS, 华为_VRP, Cisco_IOS

软件架构

  1. 读取device.txt设备账号信息,自动登陆备份配置
  2. 以cfg_系统时间格式自动创建配置保存目录,以设备名+IP名称.txt格式保存设备配置
  3. enable密码默认和登录密码相同,目前不支持单独设置修改

安装教程

  1. https://gitee.com/subnet/NetConfigBackup.git
  2. 安装python3.7.1
  3. pip install -r requirement.txt (离线安装:pip install --no-index --find-links=.\wheels\ -r requirements.txt)

使用说明

  1. 编辑device.txt文件,写入设备信息
  2. python NetConfigBackup.py

参与贡献

  1. Fork 本仓库
  2. 新建 Feat_xxx 分支
  3. 提交代码
  4. 新建 Pull Request

更新说明

  • v0.01
    功能支持:支持H3C_ComwareV5、Juniper_Junos SSH连接
  • v0.02
    功能支持: 增加锐捷_RGOS
    BUG修复: 修复SSH连接认证失败后报错程序异常终止
  • v0.03
    功能支持: 增加华为_VRP, Cisco_IOS
  • v0.04
    功能支持: 代码优化
  • V0.01 multithreading
    功能支持:支持多线程
  • V0.02 multithreading
    功能支持:代码优化
MIT License Copyright (c) 2020 vector Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

SSH登录交换机、路由器等网络设备,自动备份配置 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/ivanjong/NetConfigBackup.git
git@gitee.com:ivanjong/NetConfigBackup.git
ivanjong
NetConfigBackup
NetConfigBackup
master

搜索帮助