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