(CCNA實(shí)驗(yàn)下)實(shí)驗(yàn)四:Trunk和VTP配置_第1頁
(CCNA實(shí)驗(yàn)下)實(shí)驗(yàn)四:Trunk和VTP配置_第2頁
(CCNA實(shí)驗(yàn)下)實(shí)驗(yàn)四:Trunk和VTP配置_第3頁
(CCNA實(shí)驗(yàn)下)實(shí)驗(yàn)四:Trunk和VTP配置_第4頁
(CCNA實(shí)驗(yàn)下)實(shí)驗(yàn)四:Trunk和VTP配置_第5頁
已閱讀5頁,還剩3頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

第1頁共8頁實(shí)驗(yàn)四:Trunk和VTP配置實(shí)驗(yàn)?zāi)康恼莆誘runk和VTP工作原理學(xué)習(xí)配置Trunk的命令和步驟學(xué)習(xí)配置VTP命令和步驟實(shí)驗(yàn)要求拓?fù)渑c地址規(guī)劃;Trunk根本配置和VTP配置驗(yàn)證Trunk和VTP配置并給出配置清單實(shí)驗(yàn)拓?fù)洹部蛇x〕實(shí)驗(yàn)設(shè)備〔環(huán)境、軟件〕交換機(jī)4臺(tái),交叉線4條,直通線2條,Pc機(jī)2臺(tái)。實(shí)驗(yàn)設(shè)計(jì)到的根本概念和理論VTP即是VLAN中繼協(xié)議,對(duì)于VTP在交換機(jī)之間傳送VLAN信息,必須知道一面3種需求:兩臺(tái)交換機(jī)的VTP管理域名必須設(shè)置一樣。其中一臺(tái)交換機(jī)必須配置為VTP效勞器。不需要路由器VTP有三種操作模式:效勞器,在VTP效勞器模式下,VLAN配置保存在NVRAM中??蛻魴C(jī),VLAN配置不保存在NVRAM中。透明,在透明模式下,交換機(jī)并不參與VTP域的工作,也不與其他交換機(jī)共享其VLAN數(shù)據(jù)庫,但他們?nèi)匀粚⑼ㄟ^任何已經(jīng)配置好的中繼鏈路轉(zhuǎn)發(fā)VTP通告。在網(wǎng)絡(luò)中配置至少兩臺(tái)VTP效勞器交換機(jī)。因?yàn)橹挥行谄鹘粨Q機(jī)可以創(chuàng)立、刪除和修改VLAN,所以應(yīng)該配置一臺(tái)備用VTP效勞器,以防主要VTP效勞器被禁用。如果網(wǎng)絡(luò)中的所有交換機(jī)都配置為VTP客戶端模式,您將無法在網(wǎng)絡(luò)中創(chuàng)立新的VLAN。在VTP效勞器上啟用VTP之后,再創(chuàng)立VLAN。在啟用VTP之前創(chuàng)立的VLAN會(huì)被刪除。務(wù)必確保為域中互連的交換機(jī)配置了中繼端口。VTP信息僅可通過中繼端口交換。配置VTP客戶端模式。請(qǐng)不要忘記,交換機(jī)默認(rèn)不是VTP客戶端模式。您必須配置該模式。配置接入端口。當(dāng)交換機(jī)處于VTP客戶端模式時(shí),不能添加新的VLAN。僅可將接入端口指定到現(xiàn)有VLAN。實(shí)驗(yàn)過程和主要步驟主機(jī)的IP分配情況:主機(jī)IP地址子網(wǎng)掩碼PC0192.168.1.1255.255.255.0PC1192.168.1.2255.255.255.0交換機(jī)的配置情況〔配置Trunk與VTP〕Switch1上的配置:Switch>enableSwitch#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vtpdomaintestChangingVTPdomainnamefromNULLtotestSwitch(config)#vtppassword123456SettingdeviceVLANdatabasepasswordto123456Switch(config)#interfacef2/1Switch(config-if)#switchportmodetrunk%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet2/1,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet2/1,changedstatetoupSwitch(config-if)#exitSwitch(config)#interfacef0/1Switch(config-if)#switchportmodetrunk%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/1,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet0/1,changedstatetoupSwitch(config-if)#exitSwitch(config)#exitSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#copyrunning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration...[OK]Switch#Switch0上的配置Switch>enableSwitch#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vlan10Switch(config-vlan)#exitSwitch(config)#vtpmodeclientSettingdevicetoVTPCLIENTmode.Switch(config)#interfacef0/1Switch(config-if)#switchportmodeaccessSwitch(config-if)#switchportaccessvlan10Switch(config-if)#exitSwitch(config)#interfacef1/1Switch(config-if)#switchportmodetrunk%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet1/1,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet1/1,changedstatetoupSwitch(config-if)#exitSwitch(config)#interfacef2/1Switch(config-if)#switchportmodetrunkSwitch(config-if)#endSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#copyrunning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration...[OK]Switch#Switch3上的配置Switch>enableSwitch#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vlan10Switch(config-vlan)#exitSwitch(config)#vtpmodeclientSettingdevicetoVTPCLIENTmode.Switch(config)#interfacef0/1Switch(config-if)#switchportmodeaccessSwitch(config-if)#switchportaccessvlan10Switch(config-if)#exitSwitch(config)#interfacef1/1Switch(config-if)#switchportmodetrunkSwitch(config-if)#exitSwitch(config)#interfacef2/1Switch(config-if)#switchportmodetrunk%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet2/1,changedstatetodown%LINEPROTO-5-UPDOWN:LineprotocolonInterfaceFastEthernet2/1,changedstatetoupSwitch(config-if)#end%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#copyrunning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration...[OK]Switch#Switch2上的配置Switch>enableSwitch#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Switch(config)#vtpmodeclientSettingdevicetoVTPCLIENTmode.Switch(config)#interfacef0/1Switch(config-if)#switchportmodetrunkSwitch(config-if)#exitSwitch(config)#interfacef2/1Switch(config-if)#switchportmodetrunkSwitch(config-if)#exitSwitch(config)#endSwitch#%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleSwitch#copyrunning-configstartup-configDestinationfilename[startup-config]?Buildingconfiguration...[OK]Switch#顯示

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論