LANChapter04Word文档下载推荐.docx
- 文档编号:17215724
- 上传时间:2022-11-29
- 格式:DOCX
- 页数:22
- 大小:37.29KB
LANChapter04Word文档下载推荐.docx
《LANChapter04Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《LANChapter04Word文档下载推荐.docx(22页珍藏版)》请在冰豆网上搜索。
∙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:
clearconfigallclearconfig<
mod_num>
clearconfigrmonConsole>
(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
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- LANChapter04