分享

华为

 depsyq 2015-11-30

华为_H3C设备常规巡检命令

(2011-04-22 11:20:32)
标签:

it

一、华为_H3C设备常规巡检命令

1、[Router&Swithc]华为/H3C设备常规巡检命令
#系统时间
display clock
#系统以及各单板软件版本
display version
#设备温度
display environment
#日志信息
display logbuffer
#单板运行状态
display device
#电源状态
display device
#风扇状态
display device
#CPU占用状态
display cpu-usage
#内存占用率
display memory limit
#接口流量
display interface
#接口、链路状态
display interface
#地址分配
display current-configuration interface#
#路由扩散
display current-configuration | include ospf
#OSPF(Open Shortest Path First)配置
display router id
#路由信息
display ip routing-table
#端口统计数据
display ip interface
#当前配置文件
display current-configuration
#保存配置文件
display saved-configuration

2、脚本—华为

display version
dis patch-information
display clock
dis dustproof
dis frame-type
dis health
display cpu-usage
display memory
display memory limit
display device
display device manuinfo
display power
display fan
display voltage
dir cfcard2:/
dir cfcard: 
display device pic-status
dis switchover state
display environment
display interface
display logbuffer
dis alarm 
dis bootrom ethernet
display current-configuration
display current-configuration interface#
display router id
display ip routing-table
display ip interface
display ip interface brief
display current-configuration
display saved-configuration  
display diagnostic-information

3、脚本—华为NE40e

display version 查看VRP版本等信息
dis patch-information 查看版本补丁
display clock   查看时钟
dis   dustproof  防尘网信息
Dis  frame-type  显示NE40E机框类型
dis health                  显示系统资源的使用情况
display cpu-usage 查看1分钟CPU利用率
display memory    查看内存使用情况
display memory limit
display device  查看母板信息
display device manuinfo
display power  查看电源状态
display fan    查看风扇状态
display voltage 查看板卡电压
dir cfcard2:/ 查看设备crash信息
dir cfcard:  查看设备cf卡信息
display device pic-status  查看子卡型号,序列号 (NE40E NE80E)
dis switchover state 查看引擎HA情况
display environment
display interface 查看接口状态
display logbuffer 查看日志
dis alarm  查看设备告警
dis bootrom ethernet 查看设备bootrom信息
display current-configuration查看当前配置
display current-configuration interface# 查看设备当前接口配置
display router id 查看设备路由ID
display ip routing-table 查看设备路由
display ip interface 查看设备接口情况
display ip interface brief 查看设备接口状态
display current-configuration 查看设备当前配置
display saved-configuration   查看设备内存配置(相当show start)
display diagnostic-information 抓取设备完整信息相对于show tech

二、JUNIPER设备常用维护巡检命令

1、脚本—JUNIPER

show system uptime
show version detail
show chassis hardware detail
show chassis environment
show chassis routing-engine
show chassis firmware
show configuration
show chassis fpc detail
show interface
show interfaces terse
show chassis alarms
show system alarms
show log messages|no-more
show log chassisd|no-more
show log logfile Displays
show chassis sfm Reports
show system boot-messages
show system core-dumps

show system processes extensive
show pfe statistics error
show chassis routing-engine

show system storage
show system virtual-memory
show system buffer
show system queues
show system statistics
show configuration | except SECRET-DATA
show interfaces extensive
show chassis hardware extensive

2、脚本—Juniper Firewall

get system
get config
get log event
get filiter
get per cpu detail
get session info
get per session detail
get mac-learn
get alarm event
get tech
get log system

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多