您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 管理学资料 > CCNA-第6章 操作与配置Cisco IOS
©1999,CiscoSystems,Inc.4-1第六章操作与配置CiscoIOS©1999,CiscoSystems,Inc.—4-2本章目标通过本章的学习,您应该掌握以下内容:•完成路由器的初始参数配置•在网络设备上进入并辨识不同的命令模式•在不同的用户界面下应用各种帮助和命令行编辑功能•查看并确认各网络设备的基本信息©1999,CiscoSystems,Inc.—4-3CiscoIOS软件提供多种网络服务进而支持各种网络应用.Cisco互连网操作系统(IOS)软件©1999,CiscoSystems,Inc.—4-4•硬件自检•定位并加载CiscoIOS映象文件•定位并运行配置文件Cisco设备的简单启动过程©1999,CiscoSystems,Inc.—4-5•提供命令行界面•在不同的网络设备上运行时有差别•在命令模式下可以键入或粘贴命令•键入命令后回车,设备即解析和执行所键入的命令•两个主要命令模式是用户模式和特权模式•不同的命令模式有不同的提示符CiscoIOSCiscoIOS用户界面的基本特性©1999,CiscoSystems,Inc.—4-6特权(或enabled)模式•对交换机和路由器更深入的操作•有配置和监视权力•是进入其它配置模式的前提•命令提示符为主机名#模式二(也是最常用的模式):CiscoIOS的主要命令模式(续)©1999,CiscoSystems,Inc.—4-7•系统启动例程会初始化路由器•如果需要,路由器可以有选择性地回退启动CheckhardwareFindandloadCiscoIOSsoftwareimageFindandapplyrouterconfigurationinformationLoadBootstrap1.启动前确认正确连接线缆和控制线2.按下电源开关3.观察启动顺序CiscoIOS输出到控制台上的内容Cisco路由器的初始启动©1999,CiscoSystems,Inc.—4-8没有配置文件与有配置文件的路由器启动对比---SystemConfigurationDialog---Continuewithconfigurationdialog?[yes/no]:yesAtanypointyoumayenteraquestionmark'?'forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]'.Setup模式wg_ro_ccon0isnowavailablePressRETURNtogetstarted.用户模式提示wg_ro_c路由器启动时在控制台上的输出内容控制台©1999,CiscoSystems,Inc.—4-9Setup:初始配置对话框Router#setup---SystemConfigurationDialog---Continuewithconfigurationdialog?[yes/no]:yAtanypointyoumayenteraquestionmark'?'forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]'.Basicmanagementsetupconfiguresonlyenoughconnectivityformanagementofthesystem,extendedsetupwillaskyoutoconfigureeachinterfaceonthesystemWouldyouliketoenterbasicmanagementsetup?[yes/no]:n©1999,CiscoSystems,Inc.—4-10设置全局参数初始化全局参数Configuringglobalparameters:Enterhostname[Router]:wg_ro_cTheenablesecretisapasswordusedtoprotectaccesstoprivilegedEXECandconfigurationmodes.Thispassword,afterentered,becomesencryptedintheconfiguration.Enterenablesecret:ciscoTheenablepasswordisusedwhenyoudonotspecifyanenablesecretpassword,withsomeoldersoftwareversions,andsomebootimages.Enterenablepassword:sanfranThevirtualterminalpasswordisusedtoprotectaccesstotherouteroveranetworkinterface.Entervirtualterminalpassword:sanjoseConfigureSNMPNetworkManagement?[no]:©1999,CiscoSystems,Inc.—4-11设置脚本的确认与应用Thefollowingconfigurationcommandscriptwascreated:hostnameRouterenablesecret5$1$/CCk$4r7zDwDNeqkxFO.kJxC3G0enablepasswordsanfranlinevty04passwordsanjosenosnmp-server!noappletalkroutingnodecnetroutingiproutingnoclnsroutingnoipxroutingnovinesroutingnoxnsroutingnoapolloroutingisdnswitch-typebasic-5essinterfaceBRI0shutdownnoipaddress!interfaceEthernet0noshutdownipaddress10.1.1.31255.255.255.0nomopenabled!interfaceSerial0shutdownnoipaddresstextomittedend[0]GototheIOScommandpromptwithoutsavingthisconfig.[1]Returnbacktothesetupwithoutsavingthisconfig.[2]Savethisconfigurationtonvramandexit.Enteryourselection[2]:©1999,CiscoSystems,Inc.—4-12Consolewg_ro_cwg_ro_cenablewg_ro_c#wg_ro_c#disablewg_ro_cwg_ro_clogoutwg_ro_ccon0isnowavailablePressRETURNtogetstarted.用户模式提示特权模式提示登入路由器©1999,CiscoSystems,Inc.—4-13只要所输命令串在全部命令中是唯一的,可以将一个命令尽可能地简写,路由器在用户模式下的命令清单wg_ro_c?Execcommands:access-enableCreateatemporaryAccess-ListentryatmsigExecuteAtmSignallingCommandscdChangecurrentdeviceclearResetfunctionsconnectOpenaterminalconnectiondirListfilesongivendevicedisableTurnoffprivilegedcommandsdisconnectDisconnectanexistingnetworkconnectionenableTurnonprivilegedcommandsexitExitfromtheEXEChelpDescriptionoftheinteractivehelpsystemlatOpenalatconnectionlockLocktheterminalloginLoginasaparticularuserlogoutExitfromtheEXEC--More--©1999,CiscoSystems,Inc.—4-14wg_ro_c#?Execcommands:access-enableCreateatemporaryAccess-Listentryaccess-profileApplyuser-profiletointerfaceaccess-templateCreateatemporaryAccess-ListentrybfeFormanualemergencymodessettingcdChangecurrentdirectoryclearResetfunctionsclockManagethesystemclockconfigureEnterconfigurationmodeconnectOpenaterminalconnectioncopyCopyfromonefiletoanotherdebugDebuggingfunctions(seealso'undebug')deleteDeleteafiledirListfilesonafilesystemdisableTurnoffprivilegedcommandsdisconnectDisconnectanexistingnetworkconnectionenableTurnonprivilegedcommandseraseEraseafilesystemexitExitfromtheEXEChelpDescriptionoftheinteractivehelpsystem--More--路由器在特权模式下的命令清单只要输入部分命令串(唯一表示某个命令),紧接着按tab键就可以完整地输入一个命令©1999,CiscoSystems,Inc.—4-15showversion命令wg_ro_a#showversionCiscoInternetworkOperatingSystemSoftwareIOS(tm)2500Software(C2500-JS-L),Version12.0(3),RELEASESOFTWARE(fc1)Copyright(c)1986-1999byciscoSystems,Inc.CompiledMon08-Feb-9918:18byphanguyeImagetext-base:0x03050C84,data-base:0x00001000ROM:SystemBootstrap,Version11.0(10c),SOFTWAREBOOTFLASH:3000BootstrapSoftware(IGS-BOOT-R),Version11.0(10c),RELEASESOFTWARE(fc1)wg_ro_auptimeis20minutesSystemrestartedbyreloadSystemimagefileisflash:c2500-js-l_120-3.bin(outputomitted)--More--Configurationregisteris0x2
本文标题:CCNA-第6章 操作与配置Cisco IOS
链接地址:https://www.777doc.com/doc-5126959 .html