欢迎来到天天文库
浏览记录
ID:55514414
大小:104.50 KB
页数:28页
时间:2020-05-15
《实验一 口和主机名设置.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、实验一口令和主机名设置1.交换机的初始化当交换机没有进行配置时,接入超级终端会提示是否以对话方式进行配置,初始化内容主要有IP地址、网关、主机名和口令等。配置文件是flash:config.text。2924交换机进入ROM方式是在上电时按住其mode键,本软件是按Ctrl+Break键,出现:switch>;按Ctrl+Break键switch:reset;或用boot命令如果有配置文件进入用户模式,否则提交对话:---SystemConfigurationDialog---Atanypointyoumayent
2、eraquestionmark'?'forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]'.Continuewithconfigurationdialog?[yes/no]:yEnterIPaddress:10.65.1.8EnterIPnetmask:255.255.0.0Wouldyouliketoenteradefaultgatewayaddress?[yes]:IPaddres
3、sofdefaultgateway:Enterhostname[Switch]:swaTheenablesecretisaone-waycryptographicsecretusedinsteadoftheenablepasswordwhenitexists.Enterenablesecret:aaaWouldyouliketoconfigureaTelnetpassword?[yes]:EnterTelnetpassword:aWouldyouliketoenableasaclustercommandswitch
4、?[no]:Thefollowingconfigurationcommandscriptwascreated:......PressRETURNtogetstarted.swa>enpassword:aaaswa#2.路由器的初始化路由器初始化与交换机类似,上电时按Ctrl+Break,进入ROM监控状态router>;用户模式,按Ctrl+Breakrommon>reset;进入ROM监控状态,复位引导Continuewithconfigurationdialog?[yes/no]:yesAtanypointyo
5、umayenteraquestionmark'?'forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]'.Basicmanagementsetupconfiguresonlyenoughconnectivityformanagementofthesystem,extendedsetupwillaskyoutoconfigureeachinterfaceonthesystemWouldy
6、ouliketoenterbasicmanagementsetup?[yes/no]:yesConfiguringglobalparameters:Enterhostname[router]:ra回车TheenablesecretisapasswordusedtoprotectaccesstoprivilegedEXECandconfigurationmodes.Thispassword,afterentered,becomesencryptedintheconfiguration.Enterenablesecre
7、t:aaa回车Theenablepasswordisusedwhenyoudonotspecifyanenablesecretpassword,withsomeoldersoftwareversions,andsomebootimages.Enterenablepassword:aa回车Thevirtualterminalpasswordisusedtoprotectaccesstotherouteroveranetworkinterface.Entervirtualterminalpassword:a回车Ente
8、rinterfacenameusedtoconnecttothemanagementnetworkfromtheaboveinterfacesummary:FastEthernet0/0回车ConfiguringinterfaceFastEthernet0/0:回车Usethe100Base-TX(RJ-45)connector?[yes]:回车Operat
此文档下载收益归作者所有