华为、H3C交换机常用巡检命令

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

• display clock:显示系统时间。

• display version:查看交换机的版本信息和最近一次重新启动的时间。

• display enviroment:显示设备温度。

• display device:显示单板运行状态。

• display device manuinfo:查看设备的序列号。

• display power:查看电源状况。

• display fan:查看风扇状况。

• display cpu-usage:查看CPU最近5秒、1分钟、5分钟的占用率。

• 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 ndp:查看邻居发现协议(NDP)信息,适用于路由器设备。

• display diagnostic-information:收集故障信息。

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

• display interface:显示接口的流量和链路状态。

• dis current-configuration inter:显示接口的地址分配配置。

• dis current-configuration |include ospf:显示包含OSPF协议的当前配置。

• display ip routing-table:显示IP路由表。

• 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:查看链路层发现协议(LLDP)邻居信息。

• display tcp status / display tcp statistics:查看TCP统计数据。

四、VRRP(虚拟路由冗余协议)和端口聚合检查

• display vrrp:查看VRRP配置信息。

• display vrrp statistics:查看VRRP主备用状态。

• display link-aggregation summary:查看链路聚合组的情况。

相关推荐
志栋智能1 小时前
告别高昂投入:超自动化IT运维的轻量化实践
大数据·运维·网络·人工智能·自动化
黄昏晓x3 小时前
Linux----网络
linux·网络·arm开发
sensen_kiss3 小时前
CAN302 电子商务技术 Pt.1 Web技术导论
前端·网络·学习
攻城狮在此3 小时前
华为LACP链路聚合配置(三层聚合)
网络·华为
AttaGain3 小时前
【Ubuntu配置VLAN网络】
linux·网络·ubuntu
网安Ruler4 小时前
DoIP (基于 IP 的诊断通信协议)分析与理解
网络·tcp/ip·汽车
线束线缆组件品替网5 小时前
Amphenol RJE1Y36610644401 CAT6A网线组件选型与替代指南
网络·人工智能·数码相机·电脑·音视频·硬件工程·游戏机
码出钞能力5 小时前
Linux的弱主机模型(TCP/IP协议的弱端系统)
linux·网络·tcp/ip
布史5 小时前
Prometheus Python Client 实操指南:从零实现自定义 Exporter
网络·python·prometheus
默|笙5 小时前
【Linux】进程信号(1)_信号产生
linux·服务器·网络