雍熙金园户型图:掌握Cisco IOS测试命令的多种用法
来源:百度文库 编辑:九乡新闻网 时间:2024/04/29 07:40:04
如果你从未用过Cisco IOS test命令,这并不奇怪。我遇到过许多从未听说过这个命令的网络管理员。根据我的经验,无论是在现实世界还是实验室环境中,这个test是一个非常有用并且功能强大的命令。
正如你可能知道的,即使只是以正确的顺序使用Cisco IOS命令有时也是不容易的。而且在你以正确的顺序使用了正确的命令之后,你才能知道这些命令正确执行呢?这就是需要测试命令的原因。让我们对此做一个亲密接触。
要想查看你的IOS上可用于测试的选项,请以特权方式进入,并且输入:
Router# test ?
这个命令返回一个选项列表。例如,在我运行了IOS 12.3(6a)的3600 Series路由器上,我有34个子命令。而在我的Catalyst 3524 IOS交换机上,我只有八个子命令可用。为了使你了解能做些什么,这里给出我的路由器和交换机对该命令的输出。
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#
CAT1#test ?
cns : CNS agents
ifs : IFS TEST code
l2protocol-tunnel : layer 2 tunnel port
l3tcam : Test L3TCAM Manager
spanning-tree : Spanning Tree Subsystem
stats : Test stats
sw-vlan : Test VLAN Manager feature
tcam : Test TCAM Mgr
CAT1#test