LANChapter04.docx

上传人:b****6 文档编号:4295570 上传时间:2022-11-29 格式:DOCX 页数:22 大小:37.29KB
下载 相关 举报
LANChapter04.docx_第1页
第1页 / 共22页
LANChapter04.docx_第2页
第2页 / 共22页
LANChapter04.docx_第3页
第3页 / 共22页
LANChapter04.docx_第4页
第4页 / 共22页
LANChapter04.docx_第5页
第5页 / 共22页
点击查看更多>>
下载资源
资源描述

LANChapter04.docx

《LANChapter04.docx》由会员分享,可在线阅读,更多相关《LANChapter04.docx(22页珍藏版)》请在冰豆网上搜索。

LANChapter04.docx

LANChapter04

Chapter4.ConfiguringtheCatalyst

Thischaptercoversthefollowingkeytopics:

∙Catalyst5000/6000CLISyntaxConventions— 

ProvidesthestandardCiscorepresentationforinterpretingcommandsadministeredonCatalystswitches.

∙Catalyst5000ConfigurationMethods— 

ProvidesinformationonhowtooperateundertheConsole,Telnet,andTFTPconfigurationmodesforCatalystconfiguration.

∙UsingtheCatalyst5000/6000Command-LineInterface— 

Describescommand-linerecall,editing,andhelpfortheCatalyst5000series.

∙Passwords— 

Providesdocumentationonhowtoset,change,andrecoverpasswordsfortheCatalyst5000/6000seriesofswitches.

∙ConfigurationFileManagement— 

DiscusseshowtostoreandrestoreconfigurationfilesonflashandTFTPserversforSupervisorI,II,andIIImodules.

∙ImageFileManagement— 

DescribeshowtotransferSupervisorI,II,andIIImodulesoftwareimages.

∙RedundantSupervisorModules— 

DiscusseshowtoimplementredundantSupervisormodulestoensuresystemoperationintheeventofamodulefailover.

∙ConfiguringOtherCatalysts— 

Providesaquickoverviewoftheconfigurationmethodsforthe1900/2800andthe3000seriesofCatalystswitches.

UsersfamiliarwithCiscoroutersexerciseacommandlineinterface(CLI)embeddedintheIOS.TheCLIcharacteristicsareseenacrossnearlyalloftherouterproductline.However,mostCatalystsCLIsdifferfromthosefoundonCiscorouters.Infact,theCatalystfamilyhasseveralCLIsbaseduponthemodelorigins.TheCatalyst4000/5000/6000seriesdiffersfromthe3000series,the1900,2800andthe8500series.ThischaptercomparesdifferencesbetweentherouterCLIandtheCatalyst4000/5000/6000family.Italsodescribesthecommandlineinterfaceincludingaspectslikecommandlinerecall,commandediting,uploadinganddownloadingcodeimagesandconfigurationfiles.AnoverviewofthemenudrivenconfigurationfortheotherCatalystsisaddressedinthelastsection,ConfiguringOtherCatalysts.ExamplesofconfiguringtheCatalyst8500seriesareincludedinChapter11,"Layer3Switching."Thisdealsprimarily,however,withthe"XDI"interfaceusedbytheCatalyst4000/5000/6000family.

Note

CiscofolklorehasitthatXDIisthenameofaUNIX-likekernelpurchasedforuseinequipmentthatevolvedintotheCatalyst4000,5000,and6000productsoftoday.TheXDICLIisoftenreferredtoas"CatOS."

TheCatalystproductfamilyevolutiondoesnothavethesamerootsastheCiscorouterproducts.Cisco'shistorybeginswiththedevelopmentofrouterstointerconnectnetworks.Astherouterfamilyincreased,anumberofdifferencesbetweentheearlymodelsandthelaterbecameevident.Particularlywiththereleaseof9.1x,thecommandlineinterfacevastlydifferedfortheIOS.ButtheIOSessentiallyretainedthesamelookandfeelafterthatpointacrossalloftherouterfamily.UsersoftheCatalystontheotherhandmayencountermultipleCLIsdependentuponthemodelused.ThisoccursnotbecauseCiscochangeditsmindonhowtopresenttheCLI,butbecausesomeoftheproductswereacquiredtechnologieswithapreviouslyinstalleduserbase.Forexample,someoftheCatalystssuchasthe1900and2800camefromGrandJunctionandhavetheirownconfigurationmethods.SomecomefromKalpana,suchastheCatalyst3000,anduseadifferentmenustructure.SomeweredevelopedbyCisco.Forexample,the8500andthe2900XL,anduseIOStypeconfigurations.TheCatalyst5000familyoriginatedwithCrescendo.WhenCiscoacquiredCrescendo,asignificantuserbasealreadyfamiliarwiththeXDI/CatOSconfigurationmodesexisted.TheCatalyst5000and6000seriesuseaCLIwhichdiffersfromalloftheothers.

ThischapterprovidesanoverviewforconfiguringtheCatalyst4000/5000/6000seriesproducts.TheCLIsyntaxandconventionsarecovered,alongwithcommandrecallandeditingmethods.Methodsforstoringandretrievingconfigurationfilesimagesarealsoexplained.Finally,configuringandmanagingredundantsupervisormodulesinaCatalyst5500/6000/6500arediscussed.

Catalyst5000/6000CLISyntaxConventions

Allwell-documentedequipmentusesastandardrepresentationforinterpretingcommands.TheCatalystisnoexception.Ciscodocumentshowtointerprettheprintedcommandsofitsdocumentation.Table4-1summarizesthecommandsyntaxconventionsusedintheCatalystdocumentationandinthisbook.

Table 4-1.CatalystSyntaxConventions

CommandPresentation

Interpretation

Boldface

Commandsandkeywordsthatareenteredliterallyasshownareinboldface.

Italic

Argumentsforwhichyousupplyvaluesareinitalics.

[]

Elementsinsquarebracketsareoptional.

{x|y|z}

Alternativerequiredkeywordsaregroupedinbracesandseparatedbyverticalbars.

[x|y|z]

Optionalalternativekeywordsaregroupedinbracketsandseparatedbyverticalbars.

String

Anonquotedsetofcharacters.Donotusequotationmarksaroundthestringorthestringwillincludethequotationmarks.

Catalyst5000ConfigurationMethods

WhenyouattempttologintotheCatalyst,theCatalystpresentsyouwithapasswordprompt.Ifyouenterthecorrectpassword,youentertheCatalyst'sNORMALmode.Normalmodeequatestoarouter'sUserEXECmodeallowingyoutoviewmostCatalystparameters,butnotauthorizinganyconfigurationchanges.Tomakechanges,youmustentertheCatalyst'sPRIVILEGEDmode.Theprivilegedmodefunctionallyequatestotherouter'sPRIVILEGEDEXECmode.Intheprivilegedmode,youcanviewconfigurationfilesandmakeconfigurationchanges.YouentertheCatalyst'sprivilegedmodewiththeenablecommand.TheCatalystthenpromptsforapassword.

YoucanaccesstheCatalystCLIthroughoneofthreemethods:

throughtheconsoleinterface,Telnet,orTrivialFileTransferProtocol(TFTP).Thefollowingsectionsdetaileachaccessmethod.

Likearouter,commandsareadditive—addingconfigurationstatementstoanexistingfiledoesnotcompletelyoverwritetheexistingconfiguration.Supposeyouhaveanexistingconfigurationthatassignsports2/1-10toVLAN5.Ifyouaddaconfigurationthatassignsports2/1-5toVLAN5,butyoudonothingtoports2/6-10,2/6-10remaininVLAN5.TheabsenceoftheseportsinthenewVLANassignmentdoesnotremovethemfromVLAN5.If,however,theadditionalconfigurationincludesalinethatassignsports2/6-10toVLAN20,theymoveVLANmembership.

Afoolproofwayofensuringthatanewconfigurationcompletelyoverwritesanexistingfileistoenterclearconfigall(seeExample4-1).IfyoucleartheconfigurationfromTelnetorTFTP,youdonotseethisoutput.Youonlyseethiswhendirectlyattachedtotheconsole.ThisCLIcommandreturnstheCatalystSupervisormoduletoitsdefaultconfigurationwhereallportsbelongtoVLAN1,thereisnoVTPdomain(explainedinChapter12,"VLANTrunkingProtocol"),andallSpanningTreeparametersbacktodefaultvalues.Notealsothatenteringthiscommandclearstheconsole'sIPaddresstoo.Youcancleartheconfigurationwithanyoftheaccessmethods,butifyoudosowhileyouaccesstheCatalystthroughTelnet,youdisconnectfromtheCatalystbecausetheCatalystnolongerhasanIPaddresseither.

Example4-1clearconfigallOutput

Console>(enable)clearconfigUsage:

clearconfigallclearconfigclearconfigrmonConsole>(enable)clearconfigallThiscommandwillclearallconfigurationinNVRAM.ThiscommandwillcauseifIndextobereassignedonthenextsystemstartup.Doyouwanttocontinue(y/n)[n]?

y.…………………………….………..Systemconfigurationcleared.Use'session'commandtoclearATMorRouterspecificconfigurations.Console>(enable)

FromtheSupervisorconsole,orviaTelnet,youcancleartheCatalystconfigurationwiththeclearconfigallcommand.clearconfigallinExample4-1resetstheSupervisormoduletoitsdefaults.NotethatthiscommanddoesnotclearthefilesfortheATMLANEmodule,norfortheRSM(orMSMinaCatalyst6000).ThisonlyaffectsthemodulesdirectlyconfiguredfromtheSupervisormodule.TocleartheconfigurationsontheATMorroutermodules,youneedtoaccessthemoduleswiththesessionmodule_numbercommand.ThiscommandperformstheequivalentofaninternalTelnettothemodulesothatyoucanmakeconfigurationchanges.TheATMandroutermodulesuseIOScommandstochange,save,andclearconfigurations.

Tip

ConfiguringtheCatalystthroughtheconsoleandthroughTelnetallowsyoutoentercommandsinrealtime,butonlyoneatatime.UnlikeCiscorouters,theCatalystimmediatelystorescommandsinnonvolatilerandom-accessmemory(NVRAM)anddoesnotrequireyoutoperformacopyrunstartlikearouter.AnycommandyoutypeinaCatalystisimmediatelyremembered,eventhroughapowercycle.Thispresentsachallengewhenreversingaseriesofcommands.Onarouter,youcanreverseaseriesofcommandswithreload,aslongasyoudidn'twritetherunningconfigurationintoNVRAM.

BeforemakingseriouschangestoaCatalyst,copytheconfigurationtoanelectronicnotepad.OntheCatalyst,usethecommandsetlength0toterminatethemorefunction,enablescreencaptureonyourdevice,andentershowconfigtocapturethecurrentconfiguration.Thenifyoudonotlikethechangesyoumadeandcannoteasilyreversethem,clearconfigallandreplaythecapturedconfigurationfiletolocallyrestorethestartingconfiguration.

ConsoleConfiguration

TheCatalyst5000seriesSupervisormodulehasonephysicalconsoleconnection.ForaSupervisorIoraSupervisorII,theconnectionisanEIA-23225-pinconnection.ForaSupervisorIIImodule,theconnectionisanRJ-45connector.MakesurethatyouknowwhichkindofSupervisormoduleyouareworking

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 初中教育 > 理化生

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1