思科交换机巡检命令备注

witch> 首先看到的是用户模式
Switch>en enable 输入en(即enable)进入特权模式
swt_2960x>en
Password:
Csico
end ###退回特权模式
config t ###全局模式
configure  ###特权模式进入全局模式
show vlan
interface vlan 1
wt_2960x#show ip interface
reload ###重启
write ###保存配置到VN
configure

show cdp nei    ###查看邻接cisco设备基本信息
show cpd nei de      ###查看邻接cisco设备详细信息
show clock   clo set 20:40:40 28 sep 2021###查看设备时钟信息
show inv  ###调取设备内部板卡出厂模块型号及序列号
show spann su
show spann
show ip route ###查看路由表
show vtp status ###查看交换机vtp配置模式
show ip int br  ####三层接口检查
show arp
show mac add
show mac address-table  
show int status  ###查看交换机接口状态是否存在errordisable接口disable接口
show int trunk
show vlan ### VLAN状态检查
show run  show running-config  
###查看当前设备配置
show ver ###查看IOS版本信息及设备正常运行时间
show env all ###查看设备温度,电源和风扇运转参数及是否报警
show process cpu  OR show process cpu his  ###查看设备cpu负载
show process me ###查看设备mem
show logging  ###查看设备日志信息
dir ###显示文件列表
show file systems ###显示系统每个文件详细信息




原文地址:https://www.cnblogs.com/rsrzrcj/p/15391121.html