1、cisco 7609 日常维护命令 二、操作指导注:以下命令执行的结果只是例子具体显示请查看具体设备维护项目:1.查看系统日志/日操作指导:可以依据路由器 Show log, 同时应该有 syslog server 记录日志.c7609-1#show logSyslog logging: enabled (0 messages dropped, 1 messages rate-limited, 0 flushes, 0 overruns, xml disabled, filtering disabled)Console logging: level debugging, 338 message
2、s logged, xml disabled,filtering disabledMonitor logging: level debugging, 15 messages logged, xml disabled,filtering disabledBuffer logging: level debugging, 338 messages logged, xml disabled,filtering disabledException Logging: size (4096 bytes)Count and timestamp logging messages: disabledTrap lo
3、gging: level informational, 362 message lines loggedLog Buffer (8192 bytes):Notification sent*Oct 31 16:04:25: %BGP-3-NOTIFICATION: sent to neighbor 192.168.100.1 4/0 (hold time expired) 0 bytes *Oct 31 16:07:52: %BGP-5-ADJCHANGE: neighbor 192.168.100.1 Up *Nov 1 01:46:26: %OSPF-5-ADJCHG: Process 10
4、0, Nbr 192.168.100.3 on TenGigabitEthernet6/2 from FULL to DOWN, Neighbor Down: Interface down or detached*Nov 1 01:46:26: %LDP-5-NBRCHG: LDP Neighbor 192.168.100.3:0 (1) is DOWN (Interface not operational)*Nov 1 01:46:46: %OSPF-5-ADJCHG: Process 100, Nbr 192.168.100.3 on TenGigabitEthernet6/2 from
5、LOADING to FULL, Loading Done*Nov 1 01:47:14: %LDP-5-NBRCHG: LDP Neighbor 192.168.100.3:0 (1) is UP*Nov 1 02:01:17: %SYS-5-CONFIG_I: Configured from console by vty0 (192.168.1.9)参考标准:正常情况下不应该有错误告警信息,路由协议改变, 断口中断等信息 marchmilan 发表于 2008-5-15 10:15 AM维护项目:2.当前 CPU 利用率/日操作指导:c7609-1#sh process cpu | exc
6、 0.00CPU utilization for five seconds: 1%/0%; one minute: 1%; five minutes: 1%PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 52 68 165 412 0.23% 0.05% 0.01% 0 Exec 202 185720 971126 191 0.07% 0.02% 0.02% 0 CEF: IPv4 proces 212 264732 329494 803 0.07% 0.03% 0.02% 0 HIDDEN VLAN Proc参考标准:一分钟和
7、五分钟的平均 cpu 利用率应该小于 40%维护项目:3.72 小时内 CPU 平均利用率/日操作指导:c7609-1#show process cpu history 11 111111111111111 11111 4444411111 100 90 80 70 60 50 40 30 20 10 0511223344550 5 0 5 0 5 0 5 0 5 CPU% per second (last 60 seconds)4222222232333233323222132222233232222222122232222222222222100 90 80 70 60 50 40 30
8、20 10 0511223344550 5 0 5 0 5 0 5 0 5 CPU% per minute (last 60 minutes)* = maximum CPU% # = average CPU%3 3 3 434521 23 39 1141 13454544344444445944451444454444444444470385857944444444444445794690549100 * 90 * 80 * 70 * 60 * 50 * * 40 * * * * * 30 * * * * * * * 20 * * * * * * * *10 * * * #*#* * * *
9、* * *051122334455667.0 5 0 5 0 5 0 5 0 5 0 5 0 CPU% per hour (last 72 hours)* = maximum CPU% # = average CPU% 参考标准:# = average CPU% 以下为一个命令显示的例子:#show interface gi1/1 /gi1/1 为接口号GigabitEthernet1/1 is up, line protocol is up (connected)Hardware is C6k 1000Mb 802.3, address is 00d0.d32f.75f2 (bia 00d0
10、.d32f.75f2)MTU 1500 bytes, BW 100000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setKeepalive set (10 sec)Full-duplex, 100Mb/sinput flow-control is off, output flow-control is offClock mode is autoARP type: ARPA, ARP Timeout 04:00:00Last input n
11、ever, output 00:00:39, output hang neverLast clearing of “show interface“ counters neverInput queue: 0/2000/15/0 (size/max/drops/flushes); Total output drops: 4Queueing strategy: fifoOutput queue: 0/40 (size/max)5 minute input rate 99000 bits/sec, 22 packets/sec5 minute output rate 127000 bits/sec,
12、149 packets/sec3790324 packets input, 1658215970 bytes, 0 no bufferReceived 26880 broadcasts (24114 multicasts)0 runts, 0 giants, 0 throttles1 input errors, 0 CRC, 0 frame, 14 overrun, 0 ignored0 watchdog, 0 multicast, 0 pause input0 input packets with dribble condition detected65027710 packets outp
13、ut, 7387697464 bytes, 0 underruns2 output errors, 0 collisions, 3 interface resets0 babbles, 0 late collision, 0 deferred0 lost carrier, 0 no carrier, 0 PAUSE output0 output buffer failures, 0 output buffers swapped out如上所示标红部分为接口的 5 分钟平均的流入和流出流量。紫色为当前接口的双工模式和带宽,用接口 5 分钟平均的流量除以当前带宽就可以得出 5 分钟平均的流入和流出的带宽利用率。参考标准:当带宽利用率超过 50,应考虑扩带宽维护项目:11.保存配置文件 /月或者配置更改时候操作指导:c7609-1#copy startup-config tftp;c7609-1#copy running-config tftp;其中 tftp server 为一台 PC,PC 与 7609 应该能互相 PING 通.参考标准:无维护项目:12.定期修改设备密码 /月操作指导:c7609-1#conf tc7609-1(config)#enable secret c7609-1(config)#line vty 0 4c7609-1(vty)#password