华为/华三设备巡检常用命令分享

驻场的网络工程师经常会开展网络设备的月度巡检、季度巡检,给各位朋友分享我平时在巡检过程中经常用到的巡检命令,华为华三的设备大部分可以通用。

一、查看硬件状态、IOS版本信息检查

display clock #系统时间

display version #查看版本信息,最近一次重新启动的时间

display enviroment #设备温度

display device #单板运行状态

display device manuinfor #查看设备序列号

display power #查看电源状况

display fan #查看风扇状况

display cpu-usage #查看cpu最近5S、1m、5m占用率

display cpu history #查看cpu使用记录

display cpu-usage task #查看CPU利用率

display memory #查看内存大小和占用率

display logbuffer #日志缓冲区

dir flash: #查看flash

dis boot-loader #显示软件映像文件

display arp #查看arp表(目的IP与目的MAC的映射关系)

display mac-address #查看mac地址表(二层转发通过mac地址表)

display ntp status #ntp状态信息

reset counters interface #清除接口统计信息,方便下次巡检查看接口错误包是否增加

display elabel #路由器设备命令---查看电子标签信息(华为)改用display device manuinfo

display ndp #路由器设备命令---华三V5版本支持,现在改用display lldp neighbor-information

display diagnostic-information #故障信息收集

二、查看系统运行配置状态检查

display interface #接口流量、链路状态

display interface brief #端口简要信息

dis current-configuration inter #地址分配

dis current-configuration |include ospf #路由扩散

display ip routing-table #路由信息

display ip interface #显示 vlan 端口统计数据

display saved-configuration #保存配置文件

display logbuffer #日志信息

display port trunk #查看参与 trunk 的端口

三、查看 STP 信息检查

display stp root #查看 stp 根情况

display stp brief #查看 stp 简单信息

display stp abnormal-port #查看是否有非正常端口

display stp region-configuration #生成树区域配置

display lldp neighbor-information #查看链路层邻居发现协议(邻居信息)

display tcp status #路由器设备命令---tcp统计数据

display tcp statistics #交换机设备命令---tcp统计数据

四、查看vrrp 和端口聚合检查

display vrrp #查看虚拟路由冗余协议

display vrrp statistics #查看主备用状态

display link-aggregation summary #查看链路聚合组的情况

相关推荐
进击的荆棘7 小时前
Linux网络——网络基础概念
linux·运维·服务器·网络
LightBreeze20027 小时前
从 LSA 到路由计算,彻底理解 OSPF 的区域路由与防环机制
网络·智能路由器·ospf·lsa·spf
忆挽篱笙歌13 小时前
通信连接,匿名管道
linux·服务器·网络
九英里路19 小时前
protobuf快速上手
网络·c++·中间件·json·谷歌·序列化·protobuf
女神下凡1 天前
芯参谋(107):杰理AC_中科蓝讯_开发指南
linux·服务器·网络·单片机·嵌入式硬件
爱和冰阔落1 天前
【Linux网络】TCP 半包粘包怎么解决?从长度报头、JSON 拆包到网络计算器完整实战
linux·运维·网络·tcp/ip
say_fall1 天前
【Linux网络编程】UDP套接字编程:系统编程组件、基础回显服务、InetAddr与地址转换、翻译服务与线程池聊天室
linux·服务器·网络·udp·vr
我不会插花弄玉2 天前
6.传输层协议UDP【由浅入深-网络】
网络·网络协议·udp
火云代理2 天前
更换网络后为什么会退出登录?分清 IP、Cookie 与会话的关系
服务器·网络·网络协议·tcp/ip·php·ip
xbzb2 天前
容器 IP 每次重建都变?docker network 五种模式与自定义网桥固定地址
网络·docker·容器·ip·network·固定