get-config:通过telnet会话获取网络设备的配置

时间:2021-04-08 20:20:23
【文件属性】:
文件名称:get-config:通过telnet会话获取网络设备的配置
文件大小:10KB
文件格式:ZIP
更新时间:2021-04-08 20:20:23
Ruby 英文| 获取配置 通过telnet会话获取网络设备的配置。 脚本旨在轮询各种受管网络设备(交换机,路由器,防火墙等),以便自动收集其配置。 使用telnet会话执行与设备的连接,该会话通过类实现。 安装 您需要安装 和类通过gem库: $ gem install net-telnet 用法 该脚本由两个文件组成:可执行文件和包含的 。 文件包含用于轮询设备的模板。 配置 首次启动时,将以格式创建三个文件: config.yml , pool.yml和pswd.yml 。 config.yml文件包含主要配置块。 默认情况下,不需要更改。 --- :archv_dir : archive # Path to the directory where the configuration archive is stored :pool_file : - pool.yml
【文件预览】:
get-config-master
----README-ru.md(9KB)
----get-conf.rb(9KB)
----README.md(6KB)
----templates.rb(7KB)

网友评论