注:1. 蓝色命令表示红色命令的简要用法或其他等效命令。
2. 绝大多数命令均保持命令的完整格式,未缩写。
3. 命令环境为IOS,而非Cat OS。
l 配置与软件
1. show running-config
2. show version
l CPU与内存
3. show process cpu
show process cpu | e 0.00%
4. show process memory
show process memory | i Used
l 风扇、电源
5. show environment alarm #查看设备环境告警#
6. show environment temperatures #查看各插槽热点温度#
7. show environment cooling all #查看风扇数量、状态、转速(cfm)#
8. show power #查看电源数量、各板卡消耗功率#
l 模块、SN号
9. show module #查看引擎/线路卡/子卡的状态#
10. show inventory #查看机箱中各模块名称、SN号#
11. show hw-module subslot all oir #查看子模块是否工作正常#
l 日志信息
12. show logging
l CASE排障
1. show tech-support
l 接口控制器状态
2. show controllers pos #查看POS接口低层信息,包括光衰减#
l 接口状态
3. show ip interface [brief]
4. show interfaces
show interfaces | i line | errors
l VLAN信息
5. show vlan brief
6. show ip interfaces brief | i Vlan
l 冗余性
7. show redundancy #查看引擎的主备统计信息、使用的冗余模式等#
show redundancy switchover history #查看主备切换历史记录#
l 文件系统
8. show file systems #查看文件系统结构,带*的为默认FS#
9. show disk0: #查看特定文件系统中的内容#
10. show bootvar #查看引导变量#
11. dir、pwd、cd等Unix命令
l 系统崩溃(crash)信息
12. show context #查看crash历史信息#
13. dir /all bootflash: #查看是否有名为crashinfo的崩溃信息文件#
14. show file information bootflash:crashinfo #查看崩溃信息文件内容#
l Debug信息
15. show debug
l 时钟信息
16. show clock detail
l 路由统计
17. show ip route summary