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 ###顯示系統每個文件詳細信息