router# test ?
aaa AAA Authentication, Authorization and Accounting
interfaces Network interfaces
memory Non-volatile and/or multibus memory
pas Port Adaptor Tests
scp SCP test commands
service-module Service module
sgbp
Virtual-Template Virtual Template interface
appletalk APPLETALK diagnostic code
cac test the l2 cac functionality
call Call test commands
cns CNS agents
crypto Test crypto functions
dsp Test DSP functions
eigrp IPX EIGRP test commands
enum test enum
gssapi GSSAPI test code
hpi host port interface
ifs IFS TEST code
ipc Inter-Process Communication Test Commands
ipmobile IP Mobility Test commands
pasvc PPP over ATM SVC Test Driver
pm Port Manager test commands
pppatm PPP over ATM SSS Test
pppoe PPPoE test commands
sctp SCTP test commands
source-group Test Source IP Group
spanning-tree Spanning Tree Subsystem
ssl SSL Test
sw-vlan Test VLAN Manager feature
tpu TPU test system
translation-rule Test translation rule table
voice Voice related test commands
Router# test interfaces Test Ethernet0/0 [y/n] ? y !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Passed No IP address for Serial0/0. Skipping... No IP address for BRI0/0. Skipping... No IP address for BRI0/0:1. Skipping... No IP address for BRI0/0:2. Skipping... Test Dialer1 [y/n] ? ... Failed - timeout problem Test Loopback1 [y/n] ? n Skipping... Test Tunnel1 [y/n] ? n Skipping... Test Tunnel2 [y/n] ? n Skipping... 9 interfaces: 1 passed, 1 failed, 3 skipped, 4 untestable
我从 eBay 和朋友那里买了一大堆旧的 Cisco 26xx 路由器硬件。它都是从工作网络中提取的,所以我通常非常有信心它工作正常。
回答你的问题..
您可以使用
test
命令子集来测试路由器硬件/软件的各个部分,以确保它通过测试。这是
test interfaces
可能的样子(文档)您还可以运行
show tech
并show mem
确认硬件是否符合您的预期。