欢迎来到天天文库
浏览记录
ID:47893335
大小:101.03 KB
页数:5页
时间:2019-10-19
《3实验一交换机、路由器基本操作命令和主机参数设置》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、实验一交换机、路由器基本操作命令和主机参数设置RouterA2621®FO/nHfMAux口口consoleRouterASwitchAC2900FO/1FO/2FOZ3FO/4FO/5FOZ6FO/7FO/8□□□□□□□□HostA10.65.1.1HostB10.66.1.1交换机.路由器基本操作命令和主机参数设置-实验拓扑因1•交换机的初始化当交换机没有进行配置时,接入超级终端会提示是否以对话方式进行配置,初始化内容主要有IP地址、网关、主机名和口令等。配置文件是flashiconfig.texto2924交换机进入ROM方式
2、是在上电吋按住其mode键,111现:switch>switch:reset;或用boot命令如果有配置文件进入用户模式,否则提交对话:—SystemConfigurationDialog™Atanypointyoumayenteraquestionmark?forhelp・Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets[]:Continuewithconfigurationdialog?[yes/noj:yEnterI
3、Paddress:1().65.1.8EnterIPnetmask:255.255.0.0Wouldyouliketoenteradefaultgatewayaddress?[yes]:IPaddressofdefaultgateway:Enterhostname[Switch]:swaTheenablesecretisaone-waycryptographicsecretusedinsteadoftheenablepasswordwhenitexists.Enterenablesecret:aaaWouldyouliketoconf
4、igureaTelnetpassword?fyes]:EnterTelnetpassword:aWouldyouliketoenableasaclustercommandswitch?[no]:Thefollowingconfigurationcommandscriptwascreated:PressRETURNtogetstarted.swa>enpassword:aaaswa#2.路由器的初始化路由器初始化与交换机类似,上电时进入ROM监控状态router>rommon>reset;进入ROM监控状态,复位引导Continuewi
5、thconfigurationdialog?[yes/no]:yesAtanypointyoumayenteraquestionmark?forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]Basicmanagementsetupconfiguresonlyenoughconnectivityformanagementofthesystem,extendedsetupwillaskyoutoconfig
6、ureeachinterfaceonthesystemWouldyouliketoenterbasicmanagementsetup?[yes/no]:yesConfiguringglobalparameters:Enterhostname[router]:ra回车TheenablesecretisapasswordusedtoprotectaccesstoprivilegedEXECandconfigurationmodes.Thispassword,afterentered,becomesenciyptedintheconfigu
7、ration.Enterenablesecret:aaa冋车Theenablepasswordisusedwhenyoudonotspecifyanenablesecretpassword,withsomeoldersoftwareversions,andsomebootimages.Enterenablepassword:aa回车Thevirtualterminalpasswordisusedtoprotectaccesstotherouteroveranetworkinterface.Entervirtualterminalpas
8、sword:a回车Enterinterfacenameusedtoconnecttothemanagementnetworkfromtheaboveinterfacesummary:FastEthemetO/O冋车Con
此文档下载收益归作者所有