Skip to main content


测试思科路由器 hardware

2013-12-20 17:23 浏览:

思科测试路由器硬件:以cisco 3725为例

二手的思科路由器在出售前需检测一下设备是否正常

声明:为了不影响测试,在交换机成功启动后进入命令行界面时须清除二手设备前一个主人留下的 

配置,具体配置命令:router#erase startup-config(清除所有配置)

switch#reload

最后重启你就可以得到一台配置初始化的路由器了

下面是测试的过程:

 

1:加电是否正常。如果加电无反应,则需要更换电源测试电源的好坏。顺便测试一下风扇的好坏。

2:在命令行观察系统是否成功加载,系统如果不能成功加载或者自动进入恢复IOS的界面,则需要灌注IOS,具体灌注方法看博文的IOS灌注方法http://7897452.blog.51cto.com/7887452/1303744。如果系统正常进入但是在进入特权模式的时候有密码,就要做密码破解,具体的密码破解方法查看博文密码恢复http://7897452.blog.51cto.com/7887452/1303272

3:正常进入系统后,需要做的事情

a:查看版本,看一下系统显示的型号和本路由器是否一致。

Router#sho version 
Cisco Internetwork Operating System Software 
IOS (tm) 3700 Software (C3725-I-M), Version 12.3(26), RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by cisco Systems, Inc.
Compiled Mon 17-Mar-08 17:16 by dchih

ROM: System Bootstrap, Version 12.2(8r)T2, RELEASE SOFTWARE (fc1)

Router uptime is 8 minutes
System returned to ROM by power-on
System image file is "flash:c3725-i-mz.123-26.bin"

cisco 3725 (R7000) processor (revision 0.1) with 105472K/25600K bytes of memory.
Processor board ID JPE07341119
R7000 CPU at 240MHz, Implementation 39, Rev 3.3, 256KB L2 Cache
Channelized E1, Version 1.0.
Bridging software.
X.25 software, Version 3.0.0.
Primary Rate ISDN software, Version 1.1.
Basic Rate ISDN software, Version 1.1.
2 FastEthernet/IEEE 802.3 interface(s)
8 Low-speed serial(sync/async) network interface(s)
1 ISDN Basic Rate interface(s)
2 Channelized E1/PRI port(s)
DRAM configuration is 64 bits wide with parity disabled.
55K bytes of non-volatile configuration memory.
31744K bytes of ATA System CompactFlash (Read/Write)

Configuration register is 0x2102

 

b:查看接口,看一下系统显示的接口是否和路由器外观看到的一致。

Router#sho ip inter brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset administratively down down 
BRI0/0 unassigned YES unset administratively down down 
BRI0/0:1 unassigned YES unset administratively down down 
BRI0/0:2 unassigned YES unset administratively down down 
FastEthernet0/1 unassigned YES unset administratively down down 
Serial1/0 unassigned YES unset administratively down down 
Serial1/1 unassigned YES unset administratively down down 
Serial1/2 unassigned YES unset administratively down down 
Serial1/3 unassigned YES unset administratively down down 
Serial1/4 unassigned YES unset administratively down down 
Serial1/5 unassigned YES unset administratively down down 
Serial1/6 unassigned YES unset administratively down down 
Serial1/7 unassigned YES unset administratively down down 
Router#

c:查看卡板,看一下当前所插的卡板和系统里显示的是否一样。如果路由器收购回来没有附带卡板,你可以拿一些测试卡板来试一下卡槽是否能正常检测到卡板就OK了。

Router#sho diag 
3725 Backplane EEPROM:
PCB Serial Number : JAE07300B5M
Processor type : 61 
Top Assy. Part Number : 800-16147-02
Board Revision : C0
Fab Part Number : 28-4226-06
Deviation Number : 65535-65535
Manufacturing Test Data : FF FF FF FF FF FF FF FF 
RMA Number : 255-255-255-255
RMA Test History : FF
RMA History : FF
Chassis Serial Number : JPE07341119
Chassis MAC Address : 0007.b35a.9f40
MAC Address block size : 48
Field Diagnostics Data : FF FF FF FF FF FF FF FF 
Hardware Revision : 0.1
Number of Slots : 2
EEPROM format version 4
EEPROM contents (hex):
0x00: 04 FF C1 8B 4A 41 45 30 37 33 30 30 42 35 4D 09
0x10: 61 40 02 59 C0 46 03 20 00 3F 13 02 42 43 30 85
0x20: 1C 10 82 06 80 FF FF FF FF C4 08 FF FF FF FF FF
0x30: FF FF FF 81 FF FF FF FF 03 FF 04 FF C2 8B 4A 50
0x40: 45 30 37 33 34 31 31 31 39 C3 06 00 07 B3 5A 9F
0x50: 40 43 00 30 C5 08 FF FF FF FF FF FF FF FF 41 00
0x60: 01 01 02 FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Slot 0: 这个是默认的卡板
C3725 Mother board 2FE(TX)-3W Port adapter, 2 ports
Port adapter is analyzed 
Port adapter insertion time unknown
EEPROM contents at hardware discovery:
PCB Serial Number : JAE07300B5M
Processor type : 61 
Top Assy. Part Number : 800-16147-02
Board Revision : C0
Fab Part Number : 28-4226-06
Deviation Number : 65535-65535
Manufacturing Test Data : FF FF FF FF FF FF FF FF 
RMA Number : 255-255-255-255
RMA Test History : FF
RMA History : FF
Chassis Serial Number : JPE07341119
Chassis MAC Address : 0007.b35a.9f40
MAC Address block size : 48
Field Diagnostics Data : FF FF FF FF FF FF FF FF 
Hardware Revision : 0.1
Number of Slots : 2
Product (FRU) Number : C3725-2FE
EEPROM format version 4
EEPROM contents (hex):
0x00: 04 FF C1 8B 4A 41 45 30 37 33 30 30 42 35 4D 09
0x10: 61 40 02 59 C0 46 03 20 00 3F 13 02 42 43 30 85
0x20: 1C 10 82 06 80 FF FF FF FF C4 08 FF FF FF FF FF
0x30: FF FF FF 81 FF FF FF FF 03 FF 04 FF C2 8B 4A 50
0x40: 45 30 37 33 34 31 31 31 39 C3 06 00 07 B3 5A 9F
0x50: 40 43 00 30 C5 08 FF FF FF FF FF FF FF FF 41 00
0x60: 01 01 02 FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

WIC Slot 2:
BRI S/T - 2186 WAN daughter card
Hardware revision 1.3 Board revision A0
Serial number 32370731 Part number 800-01833-03
FRU Part Number WIC-1B-S/T=

Test history 0x0 RMA number 00-00-00
Connector type Wan Module
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 07 01 03 01 ED F0 2B 50 07 29 03 00 00 00 00
0x30: 50 00 00 00 01 02 24 01 FF FF FF FF FF FF FF FF

Slot 1:这个是添加的卡板
Sync/Async Port adapter, 8 ports
Port adapter is analyzed 
Port adapter insertion time unknown
EEPROM contents at hardware discovery:
Hardware revision 1.0 Board revision J0
Serial number 24336340 Part number 800-01225-02
FRU Part Number: NM-8A/S=

Test history 0x0 RMA number 00-00-00
EEPROM format version 1
EEPROM contents (hex):
0x00: 01 25 01 00 01 73 57 D4 50 04 C9 02 00 00 00 00
0x10: 98 00 00 00 01 02 12 17 FF FF FF FF FF FF FF FF

Slot 2:这个也是添加的卡板
CE1 (Balanced) Port adapter, 2 ports
Port adapter is analyzed 
Port adapter insertion time unknown
EEPROM contents at hardware discovery:
Hardware revision 1.1 Board revision A0
Serial number 29086486 Part number 800-02117-02
FRU Part Number: NM-2CE1B=

Test history 0x0 RMA number 00-128-00
EEPROM format version 1
EEPROM contents (hex):
0x00: 01 2B 01 01 01 BB D3 16 50 08 45 02 00 00 80 00
0x10: 50 00 00 00 97 12 30 17 FF FF FF FF FF FF 80 00

4:最后一步,需要做更细致的检测的话就需要将路由器接上网线,和电脑互相ping看看是否丢包,是否通就可以更细致的确定接口的好坏了,一般来说,路由器默认带的以太网或者Gbit以太网接口是需要做这个测试的。另外还有一些Serial口线,八爪线缆的接口需要自行买线来测试。