#H3C设备

This is an article that was created 551 days ago, and the information may have evolved or changed.

一个小测试,实现HCL模拟器下利用python脚本根据交换机的背板MAC地址(真机环境可以换成序列号)自动加载配置。

Read More

This is an article that was created 675 days ago, and the information may have evolved or changed.

深信服漏洞扫描系统(基线核查)执行漏扫任务,检测出华三 F5060 防火墙存在CVE 2015-0204,CVE 1999-0524漏洞,处理过程记录。

Read More

This is an article that was created 860 days ago, and the information may have evolved or changed.

  • 针对上一版的脚本进行改进
  • 增加嵌套一层 ‘ Try……finally: ’ ,代码执行末尾提示 “按任意键退出”
  • 修改代码中预定义的登陆账号密码为 input 和 getpass 手动输入
  • 修改文件当前目录为代码自动获取 os.getcwd()
  • 修改执行完成后显示 “A log file is available in……” 记录log路径
  • 想改多线程,threading 模块逻辑没搞清楚

Read More

This is an article that was created 861 days ago, and the information may have evolved or changed.

  • Python 脚本 SSH 登陆华三设备,使用定义好的 display 脚本批量导出配置和一些设备状态
  • Python 脚本 SSH 登陆华三设备,使用定义好的配置命令批量增加配置
  • 主要使用的是 netmiko 这个模块里的 ConnectHandler 命令
  • 单线程
  • 脚本运行完成后输出 成功和失败的记录log
  • ip_list.txt,cmd_list.txt,cmd_config_list.txt 格式简单,修改方便
  • 未做多账号密码的 if 语句判断
  • 肯定有冗余繁重的代码

Read More

This is an article that was created 1101 days ago, and the information may have evolved or changed.

准备工作

下载升级所需要的两个文件:

S5500EI-BTM-721.btm(新版本 Bootrom 程序)

1
2
3
4
5
6
7
名称: S5500EI-BTM-721.btm
大小: 483732 字节 (472 KiB)
CRC32: 4B9436E9
CRC64: 928CB6227DE9AF69
SHA256: C0EDB2FA02C5F8804E8D983F4DD197F1D321C21C317ED5BB10BF002CB4973CE8
SHA1: F8B345BC2012C8183CE01F092E4181FC15495867
BLAKE2sp: 6A5E362D8A4DA8FA74B6A9F4568627FA07C53126DB67F5FF287C9BE893C33502

S5500EI-CMW520-R2222P12.bin(新版本主机软件)

Read More

This is an article that was created 1245 days ago, and the information may have evolved or changed.

上一篇博客写到如何运行脚本导出设备信息,这一篇介绍一下怎样在海量的设备信息中提取指定信息,本文中假设要提取的信息有设备名称当前软件版本设备运行时间设备 CPU 使用率设备内存使用率设备序列号。后续可以根据这些信息使用 Python 脚本写入到巡检报告或者表格中。

Read More

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×