网络工程师-5-IOS命令简介

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

©1999,CiscoSystems,Inc.—4-1Chapter5IOS基本命令©1999,CiscoSystems,Inc.—4-2CiscoIOSsoftware是Cisco设备的操作系统软件。CiscoIOSSoftware(InternetworkOperatingSystem)©1999,CiscoSystems,Inc.—4-3•硬件检测•查找并装载IOS•查找并应用配置文件Cisco设备启动©1999,CiscoSystems,Inc.—4-4•可以用多种方式配置•配置结果可保存ConsoleportAuxiliaryportInterfacesPCorUnixserverWeborNetworkManagementserverVirtualterminalCisco设备配置方式TelnetTFTP©1999,CiscoSystems,Inc.—4-5•命令行方式•可以用命令的简写方式•两种主要工作模式•用户模式router•特权模式router#CiscoIOSCiscoIOS用户接口©1999,CiscoSystems,Inc.—4-6UserMode•有限的命令与能力•提示符hostnameTherearetwomainEXECmodesforenteringcommands.Firstmode:用户模式©1999,CiscoSystems,Inc.—4-7Privileged(orenabled)Mode•更多的命令,更强的功能•可以进行配置与调试•是进入其他模式的前提---接口、配置、线控、子接口…•提示符hostname#Secondmode(andmostcommonlyused):特权模式©1999,CiscoSystems,Inc.—4-8•Systemstartuproutinesinitiateroutersoftware•RouterfallsbacktostartupalternativesifneededCheckhardwareFindandloadCiscoIOSsoftwareimageFindandapplyrouterconfigurationinformationLoadBootstrap1.Beforeyoustarttherouter,verifythepower,cabling,andconsoleconnection2.Pushthepowerswitchtoon3.ObservethebootsequenceCiscoIOSsoftwareoutputtextontheconsoleCiscoRouter的初始化©1999,CiscoSystems,Inc.—4-9---SystemConfigurationDialog---Continuewithconfigurationdialog?[yes/no]:yesAtanypointyoumayenteraquestionmark'?'forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]'.Setupmode没有配置的routerwg_ro_ccon0isnowavailablePressRETURNtogetstarted.User-mode配置过的routerwg_ro_cRouter启动输出Console©1999,CiscoSystems,Inc.—4-10Setup:进入交互式配置过程Router#setup---SystemConfigurationDialog---Continuewithconfigurationdialog?[yes/no]:yAtanypointyoumayenteraquestionmark'?'forhelp.Usectrl-ctoabortconfigurationdialogatanyprompt.Defaultsettingsareinsquarebrackets'[]'.Basicmanagementsetupconfiguresonlyenoughconnectivityformanagementofthesystem,extendedsetupwillaskyoutoconfigureeachinterfaceonthesystemWouldyouliketoenterbasicmanagementsetup?[yes/no]:n©1999,CiscoSystems,Inc.—4-11SetupInterfaceSummaryFirst,wouldyouliketoseethecurrentinterfacesummary?[yes]:InterfaceIP-AddressOK?MethodStatusProtocolBRI0unassignedYESunsetadministrativelydowndownBRI0:1unassignedYESunsetadministrativelydowndownBRI0:2unassignedYESunsetadministrativelydowndownEthernet0unassignedYESunsetadministrativelydowndownSerial0unassignedYESunsetadministrativelydowndown•Interfacesfoundduringstartup©1999,CiscoSystems,Inc.—4-12SetupGlobalParametersInitialglobalparametersConfiguringglobalparameters:Enterhostname[Router]:wg_ro_cTheenablesecretisapasswordusedtoprotectaccesstoprivilegedEXECandconfigurationmodes.Thispassword,afterentered,becomesencryptedintheconfiguration.Enterenablesecret:ciscoTheenablepasswordisusedwhenyoudonotspecifyanenablesecretpassword,withsomeoldersoftwareversions,andsomebootimages.Enterenablepassword:sanfranThevirtualterminalpasswordisusedtoprotectaccesstotherouteroveranetworkinterface.Entervirtualterminalpassword:sanjoseConfigureSNMPNetworkManagement?[no]:©1999,CiscoSystems,Inc.—4-13SetupGlobalParameters(cont.)InitialprotocolconfigurationsConfigureLAT?[yes]:nConfigureAppleTalk?[no]:ConfigureDECnet?[no]:ConfigureIP?[yes]:ConfigureIGRProuting?[yes]:nConfigureRIProuting?[no]:ConfigureCLNS?[no]:ConfigureIPX?[no]:ConfigureVines?[no]:ConfigureXNS?[no]:ConfigureApollo?[no]:©1999,CiscoSystems,Inc.—4-14SetupInterfaceParametersBRIinterfaceneedsisdnswitch-typetobeconfiguredValidswitchtypesare:[0]none..........Onlyifyoudon'twanttoconfigureBRI.[1]basic-1tr6....1TR6switchtypeforGermany[2]basic-5ess....AT&T5ESSswitchtypefortheUS/Canada[3]basic-dms100..NorthernDMS-100switchtypeforUS/Canada[4]basic-net3....NET3switchtypeforUKandEurope[5]basic-ni......NationalISDNswitchtype[6]basic-ts013...TS013switchtypeforAustralia[7]ntt...........NTTswitchtypeforJapan[8]vn3...........VN3andVN4switchtypesforFranceChooseISDNBRISwitchType[2]:Configuringinterfaceparameters:DoyouwanttoconfigureBRI0(BRId-channel)interface?[no]:DoyouwanttoconfigureEthernet0interface?[no]:yConfigureIPonthisinterface?[no]:yIPaddressforthisinterface:10.1.1.33Subnetmaskforthisinterface[255.0.0.0]:255.255.255.0ClassAnetworkis10.0.0.0,24subnetbits;maskis/24DoyouwanttoconfigureSerial0interface?[no]:©1999,CiscoSystems,Inc.—4-15SetupScriptReviewandUseThefollowingconfigurationcommandscriptwascreated:hostnameRouterenablesecret5$1$/CCk$4r7zDwDNeqkxFO.kJxC3G0enablepasswordsanfranlinevty04passwordsanjosenosnmp-server!noappletalkroutingnodecnetroutingiproutingnoclnsroutingnoipxroutingnovinesroutingnoxnsroutingnoapolloroutingisdnswitch-typebasic-5essinterfaceBRI0shutdownnoipaddress!interfaceEthernet0noshutdownipaddress10.1.1.31255.255.255.0nomopenabled!interfaceSerial0shutdownnoipaddresstextomittedend[0]GototheIOScommandpromptwithoutsavingthisconfig.[1]Returnbacktothesetupwithoutsavingthisconfig.[2]Savethisconfigurationtonvram

1 / 57
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功