会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
duanfu456
博客园
首页
新随笔
联系
订阅
管理
2023年9月4日
最全中兴设备日常维护命令
摘要: 1. 检查设备基本信息 1.1. 查看设备的配置 命令:display current-configuration 1.2. 检查设备版本 命令: display version Huawei Versatile Routing Platform Software VRP (R) software,
阅读全文
posted @ 2023-09-04 09:32 段福
阅读(915)
评论(0)
推荐(0)
2023年3月17日
日志模块
摘要: import logging class Logger: def __init__(self, stream=None, cmd_lever=logging.WARNING, file_level=logging.DEBUG, logname='mylog'): self.stream = stre
阅读全文
posted @ 2023-03-17 16:37 段福
阅读(15)
评论(0)
推荐(0)
IP计算模块
摘要: ##
阅读全文
posted @ 2023-03-17 16:37 段福
阅读(8)
评论(0)
推荐(0)
路由交换相关
摘要: 1、获取设备名称 def get_device_name(configs: str, devicetype='HW') -> str: if devicetype == 'HW': # 华为 for config in configs.splitlines(): # print(config) if
阅读全文
posted @ 2023-03-17 16:36 段福
阅读(19)
评论(0)
推荐(0)
公告