华为、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:查看链路聚合组的情况。

相关推荐
捷焱GEO9 小时前
用本地 HTTP 用例验证旧活动页的退役状态
网络·网络协议·http·seo
如夏倾城17 小时前
WAF (Web Application Firewall,Web应用防火墙)
前端·网络·安全·web安全·web app
南京码讯光电技术有限公司19 小时前
Power and Thermal Design for Industrial WiFi 6 and WiFi 7 Modules
网络
国科安芯20 小时前
让每一瓦热都听话:航天器主动热控系统CANFD控制网络的可靠性设计
开发语言·网络·单片机·嵌入式硬件·信息与通信·抗辐射·载荷
IT利刃出鞘20 小时前
WordPress--用Astra主题搭建外贸站
网络
小宋10211 天前
embedding 返回全零向量,索引却照收不误:入库前的向量健康门禁、隔离重算与召回恢复判据
linux·服务器·网络·人工智能
2401_868534781 天前
55 个热门网络面试问题及答案
网络·python
hbugs0011 天前
【案例分享】华为金融骨干网SRv6多层组网
网络·华为·金融·架构·eve-ng·bpf·流量洞察
如夏倾城1 天前
NGFW ( Next-Generation Firewall,下一代防火墙)
运维·服务器·网络·http·网络安全·ssl·信息与通信
鲁邦通物联网1 天前
AGV多控制器通信适配实操:IP规划、配置模板与出厂验证
网络·4g工业路由器·工业路由器·4g路由器·工业级路由器·5g工业路由器·出海联网