思科交换机巡检命令
1、show interface stats:查看交换机所有接口当前接口流量
2、show running-config:查看当前设备配置
3、show version:查看IOS版本信息及设备正常运行时间
4、show clock:查看设备时钟信息
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:查看本机内部日志记录情况
19、show ip route:查看路由表
20、show firewall:检查防火墙的工作模式
21、show conn count:检查防火墙并发数
22、show xlate count:检查防火墙nat工作状态
思科交换机基本配置命令
01 进入特权模式enable
switch>enable
switch#
02 进入全局配置模式configure terminal
switch>enable
switch#configure terminal
switch(conf)#
03 交换机命名hostname aptech2950以aptech2950为例