华为、juniper路由交换机常用命令

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


1、华为/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


你可能感兴趣的:(交换机常用命令)