版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
實施以太網(乾頤堂首發(fā)CCNA200-301v1.0)UsingtheCommand-LineInterfaceyzingEthernetLANSwitchingConfiguringBasicSwitchManagementConfiguringandVerifyingSwitchInterfaces(乾頤堂首發(fā)CCNA200-301v1.0)思科交換機的物理連接器叫做interface或者port(接口/端口)思科將這一系列交換機上的操作系統稱為:InternetworkOperatingSystem(除了控制交換機的性能和行為外,CiscoIOS還為人類定義了一個界面,稱為CLI針對網絡設備的三種主 方法vsCablingtheConsole使用USBCOM1//COM端口編號8bit1bit停止位無AccessingtheCLI netand通 UserEnableUserandEnable(Privileged)>#代表處 模模式【enable】可以執(zhí)行一些功能強 令,比如重啟設PasswordSecurityforCLIAccessfromthe CLIError%AmbiguousNotenoughcharacterswere?????SwitchX#clock%pleteSwitchX#clockset%plete wereleftofftheendoftheSwitchX#>SwitchX#>clockset19:50:0025^%Invalidinputdetectedat"^"Thecaret(^)indicateswherethecommandinterpretercannotdeciphertheCLIHelpCtrl+w
SW1#showrunning-configBuildingconfiguration...Currentconfiguration:819!!Lastconfigurationchangeat12:13:47EETFriDec13!versionservicetimestampsdebugdatetimemsecservicetimestampslogdatetimemsecnoservicepassword-encryptionservicecompress-config!hostname!
乾頤堂首 A(200-301)Routing&Switching實戰(zhàn)
SW1#configureterminalEnterconfigurationcommands,oneperline.EndwithCNTL/Z.SW1(config)#interfaceethernet0/0StoringSwitchConfigurationRAM——Flash——用 系統鏡像或者其它文件,類似于電腦的硬ROM——只 器 交換機的引導程序,開機時引導交換機找到系統鏡像文NVRAM——非易失 器,用 啟動配置文SW1#copyrunning-configstartup-configDestinationfilename[startup-config]?SW1#copyrunning-configstartup-configDestinationfilename[startup-config]?BuildingCompressedconfigurationfrom819bytesto551bytes[OK]ThreemethodstoaccessaswitchCablingoptionsforaconsoleACiscoswitch’sdefaultconsoleportNavigationbetweenuser,enable,andglobalconfigAlistofconfigurationmodeprompts,thenameoftheconfigurationmode,andthecommandusedtoreacheachmodeThenamesandpurposesofthetwoconfigurationfilesinaswitchoryzingEthernetLAN(乾頤堂首發(fā)CCNA200-301v1.0)1、NetworkRoleandfunctionofnetworkL2andL3DescribeswitchingMAClearningandFrame
FrameMACaddress2、NetworkDescribetheneedforandbasicoperationsofRapidPVST+SpanningTreeProtocolandidentifybasic 乾頤堂首 A(200-301)Routing&Switching實戰(zhàn)1、根據目標MAC地址決定轉發(fā)2、學習數據幀中的源MAC3、通過生成樹協議與其它交換機創(chuàng)建無環(huán)環(huán)境,Aswitch’sMACaddresstableisalsocalledtheswitchingtable,orbridgingtable,oreventheContent-AddressableMemory(CAM)table,inreferencetothetypeofphysicalmemoryusedtostorethe那么,圖中列出的MAC地址記錄listMAC+址來構建地址表。如果幀進入交換機,并且源MAC地址不MAC+重點關注學習過程以及MAC交換機將目的使用稱為交換機將目的使用稱為泛洪的過程對其進行轉發(fā)。當將幀轉發(fā)出所有接口(入接口除外)LAN交換機的第三個主要功能是防止環(huán)路,這是由生成樹協議(STP)如果沒有STP為了防止出現循環(huán)幀,STP 某些端口轉發(fā)幀,以便在任何一對LAN網段之間僅存在一條活動路徑Larryto對于透明網橋和交換機,STP的行為相同。因此,在討SwitchesforwardframesbasedonthedestinationMACSwitcheslearnMACSwitchesuseSTPtopreventloopsbycausingsomeinterfacestoblock,meaningthattheydonotsendorreceiveframes.HandsOn乾頤堂首 所有接口都分配給VLAN1Usetheerasestartup-configEXECcommandtoerasethestartup-configUsethedeletevlan.datEXECcommandtodeletetheVLANconfigurationUsethereloadEXECcommandtoreloadtheswitch(therebyusingtheemptystartup-config,withnoVLANinformationconfigured)ConfigurethehostnameSW1commandtosettheswitchclearmacaddress-table
思考SW1和SW2之間的接口上的MACThreemainfunctionsofaLANProcesstoforwardaknownunicastProcesstoforwardaknownunicast,secondProcesstolearnMACSummaryofswitchforwardingTheshowmacaddress-tabledynamicknownunicastSpanningTreeProtocolunknownunicastMACaddress 1.0Network1.6ConfigureandverifyIPv4addressingand4.0IP4.6Configureandverify and4.8Configurenetworkdevicesforremoteaccessusing5.0Security5.3ConfiguredeviceaccesscontrolusinglocalSecuringusermodeandprivilegedmodewithsimpleSecuringusermodeaccesswithlocalSecuringusermodeaccesswithexternalauthenticationSecuringremoteaccesswithSecure SW1#configureSW1#configureEnterconfigurationcommands,oneperline.EndwithCNTL/Z.SW1(config)#enablesecretloveSW1(config)#lineconsole0%Logindisabledonline0,until'password'issetSW1(config-line)#passwordfaithSW1(config)#linevty04SW1(config-line)#passwordhopeshowrunning-showip
SW1#configureEnterconfigurationcommands,oneperline.EndwithCNTL/Z.SW1(config)#hostnameSW1SW1(config)#ip -nameSW1(config)#cryptokeygeneratersaThenameforthekeyswillbe:Choosethesizeofthekeymodulusintherangeof360to2048foryourGeneralPurposeKeys.Choosingakeymodulusgreaterthan512maytakeafewHowmanybitsinthemodulus[512]:%Generating1024bitRSAkeys,keyswillbenon-exportable...[OK](elapsedtimewas4seconds)SW1(config)#ipsshversion2SW1(config)#linevty015SW1(config-line)#loginlocalSW1(config-line)#transportinputsshSW1(config-line)#exitSW1(config)#usernamewendellpasswordodomSW1(config)#usernamechrispasswordyoudamanSW1(config)#^ZHostandSwitchIPConfiguringIPv4onaVerifyingIPv4onalogg
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業(yè)或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 運營助理客服輪崗制度
- 特種游樂設備運營制度
- 健身會館運營管理制度
- 創(chuàng)新運營管理制度及流程
- 電商運營完善制度
- 直播公司運營制度
- 華鴻嘉信運營管理制度
- 超市網點運營管理制度
- 科室運營助理制度及流程
- 收費公路運營管理制度
- 床上運動及轉移技術課件
- 子宮腺肌癥術后護理
- 獨資股東協議書范本
- 2024-2025蘇教版小學數學二年級上冊期末考試測試卷及答案(共3套)
- 光伏發(fā)電項目風險
- 風力發(fā)電項目分包合同施工合同
- GB/T 8607-2024專用小麥粉
- 新版外國人永久居住身份證考試試題
- 2024年中考數學復習:瓜豆原理講解練習
- 高一歷史期末試題中國近現代史
- (高清版)DZT 0210-2020 礦產地質勘查規(guī)范 硫鐵礦
評論
0/150
提交評論