一、华为_H3C设备常规巡检命令1、[Router&Swithc]华为/H3C设备常规巡检命令#系统时间displayclock#系统以及各单板软件版本displayversion#设备温度displayenvironment#日志信息displaylogbuffer#单板运行状态displaydevice#电源状态displaydevice#风扇状态displaydevice#CPU占用状态displaycpu-usage#内存占用率displaymemorylimit#接口流量displayinterface#接口、链路状态displayinterface#地址分配displaycurrent-configurationinterface##路由扩散displaycurrent-configuration|includeospf#OSPF(OpenShortestPathFirst)配置displayrouterid#路由信息displayiprouting-table#端口统计数据displayipinterface#当前配置文件displaycurrent-configuration#保存配置文件displaysaved-configuration2、脚本—华为displayversiondispatch-informationdisplayclockdisdustproofdisframe-typedishealthdisplaycpu-usagedisplaymemorydisplaymemorylimitdisplaydevicedisplaydevicemanuinfodisplaypowerdisplayfandisplayvoltagedircfcard2:/dircfcard:displaydevicepic-statusdisswitchoverstatedisplayenvironmentdisplayinterfacedisplaylogbufferdisalarmdisbootromethernetdisplaycurrent-configurationdisplaycurrent-configurationinterface#displayrouteriddisplayiprouting-tabledisplayipinterfacedisplayipinterfacebriefdisplaycurrent-configurationdisplaysaved-configurationdisplaydiagnostic-information3、脚本—华为NE40edisplayversion查看VRP版本等信息dispatch-information查看版本补丁displayclock查看时钟disdustproof防尘网信息Disframe-type显示NE40E机框类型dishealth显示系统资源的使用情况displaycpu-usage查看1分钟CPU利用率displaymemory查看内存使用情况displaymemorylimitdisplaydevice查看母板信息displaydevicemanuinfodisplaypower查看电源状态displayfan查看风扇状态displayvoltage查看板卡电压dircfcard2:/查看设备crash信息dircfcard:查看设备cf卡信息displaydevicepic-status查看子卡型号,序列号(NE40ENE80E)disswitchoverstate查看引擎HA情况displayenvironmentdisplayinterface查看接口状态displaylogbuffer查看日志disalarm查看设备告警disbootromethernet查看设备bootrom信息displaycurrent-configuration查看当前配置displaycurrent-configurationinterface#查看设备当前接口配置displayrouterid查看设备路由IDdisplayiprouting-table查看设备路由displayipinterface查看设备接口情况displayipinterfacebrief查看设备接口状态displaycurrent-configuration查看设备当前配置displaysaved-configuration查看设备内存配置(相当showstart)displaydiagnostic-information抓取设备完整信息相对于showtech二、JUNIPER设备常用维护巡检命令1、脚本—JUNIPERshowsystemuptimeshowversiondetailshowchassishardwaredetailshowchassisenvironmentshowchassisrouting-engineshowchassisfirmwareshowconfigurationshowchassisfpcdetailshowinterfaceshowinterfacesterseshowchassisalarmsshowsystemalarmsshowlogmessages|no-moreshowlogchassisd|no-moreshowloglogfileDisplaysshowchassissfmReportsshowsystemboot-messagesshowsystemcore-dumpsshowsystemprocessesextensiveshowpfestatisticserrorshowchassisrouting-engineshowsystemstorageshowsystemvirtual-memoryshowsystembuffershowsystemqueuesshowsystemstatisticsshowconfiguration|exceptSECRET-DATAshowinterfacesextensiveshowchassishardwareextensive2、脚本—JuniperFirewallgetsystemgetconfiggetlogeventgetfilitergetpercpudetailgetsessioninfogetpersessiondetailgetmac-learngetalarmeventgettechgetlogsystem