请点击上面
一键关注
内容来源:网络技术平台
2、show running-config:查看当前设备配置
3、show version:查看IOS版本信息及设备正常运行时间
5、show vtp status:查看交换机vtp配置模式
6、show vtp password:查看交换机vtp配置口令
7、show env all:查看设备温度,电源和风扇运转参数及是否报警
8、show inventory:调取设备内部板卡出厂模块型号及序列号
9、show spanning-tree root:查看交换机生成树根位置
10、show cdp neighbors:查看邻接cisco设备基本信息
11、show cdp neighbors detail:查看邻接cisco设备详细信息
12、show interface status:查看交换机接口状态是否存在errordisable接口disable接口
13、show interface summary:查看交换机所有接口当前接口流量
14、show interface |ierrors|FastEthernet|GigabitEthernet:查看接口是否存在大量input或output errors包错误
15、show processes cpu:查看设备cpu负载
16、show processes mem:查看设备mem负载
17、show access-list:查看访问控制列表配置及匹配数据包数量
18、show logging:查看本机内部日志记录情况
20、show firewall:检查防火墙的工作模式
21、show conn count:检查防火墙并发数
22、show xlate count:检查防火墙nat工作状态
user-interface vty 0 4 #vty就是用telnet/ssh远程进入交换机的界面(虚拟界面)
screen-length 0 #指定要在屏幕上显示行数,0默认是没有分页(全部显示)
display version #查看版本信息,最近一次重新启动的时间
display device manuinfor #查看设备序列号
display cpu-usage #查看cpu最近5S、1m、5m占用率
display cpu history #查看cpu使用记录
display cpu-usage task #查看CPU利用率
display memory #查看内存大小和占用率
dis boot-loader #显示软件映像文件
display arp #查看arp表(目的IP与目的MAC的映射关系)
display mac-address #查看mac地址表(二层转发通过mac地址表)
display ntp status #ntp状态信息
reset counters interface #清除接口统计信息,方便下次巡检查看接口错误包是否增加
display elabel #路由器设备命令—查看电子标签信息(华为)改用display device manuinfo
display ndp #路由器设备命令—华三V5版本支持,现在改用display lldp neighbor-information
display diagnostic-information #故障信息收集
display interface #接口流量、链路状态
dis current-configuration inter #地址分配
dis current-configuration |include ospf #路由扩散
display ip routing-table #路由信息
display ip interface #显示 vlan 端口统计数据
display saved-configuration #保存配置文件
display port trunk #查看参与 trunk 的端口
display stp root #查看 stp 根情况
display stp brief #查看 stp 简单信息
display stp abnormal-port #查看是否有非正常端口
display stp region-configuration #生成树区域配置
display lldp neighbor-information #查看链路层邻居发现协议(邻居信息)
display tcp status #路由器设备命令—tcp统计数据
display tcp statistics #交换机设备命令—tcp统计数据
display vrrp statistics #查看主备用状态
display link-aggregation summary #查看链路聚合组的情况
![思科、华为、H3C交换机巡检命令大全 思科、华为、H3C交换机巡检命令大全]()
原文始发于微信公众号(天億网络安全):思科、华为、H3C交换机巡检命令大全
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
点赞
https://cn-sec.com/archives/1446213.html
复制链接
复制链接
-
左青龙
- 微信扫一扫
-
-
右白虎
- 微信扫一扫
-
评论