三、设置对话过程
利用设置对话过程可以避免手工输入命令的烦琐,但它还不能完全代替手工设置,一些特殊的设置还必须通过手工输入的方式完成。
进入设置对话过程后,路由器首先会显示一些提示信息:
---SystemConfigurationDialog---Atanypointyoumayenteraquestionmark'?'forhelp.
Usectrlctoabortconfigurationdialogatanyprompt.
Defaultsettingsareinsquarebrackets'[]'.
这是告诉你在设置对话过程中的任何地方都可以键入“?”得到系统的帮助,按ctrl-c可以退出设置过程,缺省设置将显示在'[]'中。然后路由器会问是否进入设置对话:
Wouldyouliketoentertheinitialconfigurationdialog?[yes]:
如果按y或回车,路由器就会进入设置对话过程。首先你可以看到各端口当前的状况:First,wouldyouliketoseethecurrentinterfacesummary?[yes]
:AnyinterfacelistedwithOK?Value"NO"doesnothaveavalidconfigurationInterface IP-Address OK? Nethod Status Protocol
Ethernet0 unassigned NO unset up up
Serial0 unassigned NO unset up up
…… …… … …… … …
然后,路由器就开始全局参数的设置:
Configuringglobalparameters:
1.设置路由器名:
Enterhostname[Router]:
2.设置进入特权状态的密文(secret),此密文在设置以后不会以明文方式显示:Theenablesecretisaone-waycryptographicsecretusedinsteadoftheenablepasswordwhenitexists. --Enterenablesecret:cisco
3.设置进入特权状态的密码(password),此密码只在没有密文时起作用,并且在设置以后会以明文方式显示:Theenablepasswordisusedwhenthereisnoenablesecretandwhenusingoldersoftwareandsomebootimages.--Enterenablepassword:pass
4.设置虚拟终端访问叶的密码:--Entervirtualterminalpassword:cisco
5.询问是否要设置路由器支持的各种网络协议:
--ConfigureSNMPNetworkManagement?[yes]:
--ConfigureDECnet?[no]:--ConfigureAppleTalk?[no]:
--ConfigureIPX?[no]:--ConfigureIP?[yes]:
--ConfigureIGRProuting?[yes]:
--ConfigureRIProuting?[no]:
最新相关文章
发表评论