文档介绍:思科设备的日常维护
宁夏区电信有限公司数据通信局
设备结构
2004年9月
配置模式
可以通过路由器的控制口配置,利用路由器的通信接口登陆进行配置,还可以利用路由器的AUX接口(辅助控制口)对路由器进行配置。
2004年9月
日常命令
一、设备日常检查
1、设备cpu和内存的检查
show process memory 检查设备的内存
该命令会显示出设备内存数量、占用数量、空闲数量(以字节为单位),通过占用数量除以内存总数得到内存占用率,正常情况内存占用率应低于70%。当内存占用率高于80%,设备运行慢,用户会明显感到上网速度慢。
show process cpu 检查设备cpu占用情况
该命令显示设备5分钟、1分钟、5秒钟内三个时段内的cpu占用情况。正常情况cpu占用率应低于70%。
2004年9月
日常命令
2、设备接口状态检查
show interface s0
[设备接口类型:串口serial、pos口pos、ATM接口ATM、]
该命令会显示出接口物理端口和逻辑端口的状态,在5秒钟内的平均流量以及该端口累计的误码错误等端口信息,是维护时重要的查障命令。
2004年9月
日常命令
Router#show interface s0
Serial0 is up, line protocol is up (端口与协议均正常)
Hardware is HD64570
address is
MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Open
Open: IPCP, CDPCP
Last input 00:00:05, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
38021 packets input, 5656110 bytes, 0 no buffer
Received 23488 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
38097 packets output, 2135697 bytes, 0 underruns
0 output errors, 0 collisions, 6045 interface resets
0 output buffer failures, 0 output buffers swapped out
482 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
2004年9月
日常命令
3、配置文件备份
router#write memory
将配置文件写入存储器NVRAM中
2004年9月
日常命令
4、设备软件升级
思科设备支持TFTP升级。
首先在网络上配置一台运行TFTP服务的主机,将最新的软件拷贝到该主机上(),在路由器上运行以下命令:
Copy tftp:***.bin flash:***.bin
命令执行完后会自动检查文件是否正确,检查通过后设备重新启动,并加载新的软件,升级完成。
2004年9月
日常命令
5、测试命令
Ping *.*.*.*
.!!!!
10ms/15ms/13ms(到目的端最小时延、最大时延和平均时延)
由路由器向目标地址发包,以测试网络的情况。如显示!说明网络连接正常,显示. 说明网络不通。
另外思科设备还可以使用扩展的ping命令,增强了该命令的功能,如设定ping包的大小、数量和发起报的源IP地址。
2004年9月
接口配置
一、串口的配置模版
#confiure terminal (进入配置模式)
#(configure)interface s0 (进入s0口配置模式)
#(conf-if)