【计算机网络】网络设备常用巡检命令

                                                             网络设备常用巡检命令

华为/H3C

display cpu-used 查看CPU使用情况 display env 查看温度 display clock 查看时间(系统时间) display ntp service 查看ntp服务 display interface 查看接口状态 display logbuffer 查看log display memory 查看内存大小的占用率 系统运行配置状态检查: display ip routing-table 查看路由表 display interface 查看接口流量、链路状态 dis current-configuration inter 地址分配 dis current-configuration |include ospf ospf 路由 dis ip interface 显示vlan端口统计数据 dis saved-configuration 保存配置文件 dis logbuffer 日志信息 dis port trunk 查看参与trunk的端口 STP信息检查 dis stp root 查看stp根情况 dis stp brief 查看STP简单信息 dis stp abnormal 查看是否有非正常端口 vrrp和端口聚合检查: dis vrrp statistics 查看主备用状态 dis link-aggregation summary 查看链路聚合组的情况

思科Cisco

show running-config show version 配置与软件 show process cpu show process memory CPU和内存 show environment alarm show environment temperatures show environment cooling al show power 查看设备环境警告 查看各插槽热点温度 风扇和电源 查看风扇数量、状态 查看电源数量、各板卡消耗功率 show module show inventory show hw-module subsolot all oir 查看引擎/线路卡/子卡的状态 查看机箱中各模块名称、SN号 查看子模块是否工作正常 show logging 日志信息 show controllers pos 查看POS接口底层信息,包括光衰减 show ip interface [brief] show interface 接口状态 show vlan brief show ip interfaces brief | i Vlan VLAN信息 show redundancy show redundancy s witchover history 查看引擎的主备统计系统信息、使用的冗余模式 查看主备切换历史记录 show file systems show disk0: show bootvar dir、pwd、cd等Unix命令 查看文件系统结构,带*的为默认FS 查看特定文件系统中的那内容 查看引导变量 show context dir /all bootflash: show file intformation bootflash: 查看crash历史信息 查看是否有名为crashinfo的崩溃信息文件 查看崩溃信息文件内容 show debug debug信息 show clock detail 时钟信息 show ip route summary 路由统计
经验分享 程序员 微信小程序 职场和发展