




版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、 VTP的配置 實(shí)驗(yàn)?zāi)康模?了解熟悉vtp的配置命令 熟悉VTP配置步驟及過(guò)程實(shí)驗(yàn)內(nèi)容: 1.求證兩臺(tái)server模式之間修訂號(hào)改變隨之的變化 2.求證兩臺(tái)server模式 一臺(tái)transparnet模式修改修訂號(hào)之間他們的變化 命令:1.創(chuàng)建VTP域 Swith(config)#vtp domain domain_name 2.配置交換機(jī)的VTP模式 Swith(config)#vtp mode server | client | transparent 一.兩臺(tái)server模式之間修訂號(hào)修改之間的變化實(shí)驗(yàn)拓?fù)?serverserver F0/1trunkF0/1trunkSwitch7F0
2、/1Switch77Switch8Switch8 1. 構(gòu)建物理拓?fù)鋱D如上 /注意選用的是交叉線,所對(duì)應(yīng)的端口號(hào)2. 創(chuàng)建switch7,switch8的trunk鏈路Switch7 switch7(config)#int f0/1switch7(config-if)#switchport mode trunkswitch7(config-if)#switchport trunk enswitch7(config-if)#switchport trunk encapsulation dot1qswitch7(config-if)#no shudown switch8switch8(config
3、)#int f0/1switch8(config-if)#switchport mode trunkswitch8(config-if)#switchport trunk encapsulation dot1qswitch8(config-if)#no shutdown3. 創(chuàng)建域和模式Switch7switch7(config)#vtp domain zichunli switch7(config)#vtp mode serverSwitch8Switch8(config)#vtp domain zichunli Switch8(config)#vtp mode server4. 在swit
4、ch7里面創(chuàng)建valn 10,vlan 20switch7(config)#vlan 10switch7(config)#vlan 205. 在switch8里面創(chuàng)建vlan 30 Switch8(config)#vlan 30實(shí)驗(yàn)測(cè)試:1. 當(dāng)switch7里創(chuàng)建 vlan 10,vlan 20 ,查看switch8 VTP 和vlan狀態(tài)情況結(jié)果顯示 switch8#show vtp status VTP Version : 2Configuration Revision : 2 /修訂號(hào)學(xué)習(xí)switch7修訂號(hào)Maximum VLANs supported locally : 1005N
5、umber of existing VLANs : 7 VTP Operating Mode : ServerVTP Domain Name : zichunliVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x50 0x30 0x57 0x39 0xE6 0xCB 0x30 0x6B Configuration last modified by 0.0.0.0 at 3-1-93 01:35:52Local updater ID is 0.0.0.0 (
6、no valid interface found)switch8#show vlan brieVLAN Name Status Ports- - - -1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gi0/1 Gi0/210 VLAN0010 active /學(xué)習(xí)到sw
7、7的vlan 1020 VLAN0020 active /學(xué)習(xí)到sw7的vlan 201002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup 2.當(dāng)switch8創(chuàng)建vlan 30時(shí) Switch7#show vlan brieVLAN Name Status Ports- - - -1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8
8、, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/18, Fa0/19, Fa0/20, Fa0/21 Fa0/22, Fa0/23, Fa0/24, Gi0/1 Gi0/210 VLAN0010 active 20 VLAN0020 active 30 VLAN0030 active /switch7 自動(dòng)學(xué)習(xí)switch8所創(chuàng)建的vlan301002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-de
9、fault act/unsup 1005 trnet-default act/unsupswitch7#show vtp statusVTP Version : 2Configuration Revision : 3 ./switch7自動(dòng)學(xué)習(xí)到switch8的修訂號(hào)Maximum VLANs supported locally : 1005Number of existing VLANs : 8VTP Operating Mode : ServerVTP Domain Name : zichunliVTP Pruning Mode : DisabledVTP V2 Mode : Disabl
10、edVTP Traps Generation : DisabledMD5 digest : 0x50 0x30 0x57 0x39 0xE6 0xCB 0x30 0x6B Configuration last modified by 0.0.0.0 at 3-1-93 01:35:52小結(jié): 當(dāng)兩臺(tái)配置vtp為server模式時(shí),修訂號(hào)變化決定哪臺(tái)為老大.他們能相互學(xué)習(xí).二.兩臺(tái)server模式加一臺(tái)transparent模式修訂號(hào)修改之間的變化 一.實(shí)驗(yàn)拓?fù)? transparentserverSwitch1trunkF0/1F0/1F0/2F0/1trunkSwitch2Switch3se
11、rver 二.基本配置: 1.trunk 鏈路的創(chuàng)建 Switch1: switch1(config)#int f0/1switch1(config-if)#switchport trunk encapsulation dot1qswitch1(config-if)#switchport mode trunk /配置switch1的f0/1為trunk鏈路switch1(config-if)#no shutdownSwitch2:switch2(config)#int f0/1switch2(config-if)#switchport trunk encapsulation dot1qswit
12、ch2(config-if)#switchport mode trunk /配置switch2的f0/1為trunk鏈路switch2(config-if)#no shutswitch2(config-if)#*Mar 1 00:04:45.135: %DTP-5-TRUNKPORTON: Port Fa0/1 has become dot1q trunkswitch2(config-if)#exitswitch2(config)#int f0/2 switch2(config-if)#switchport trunk encapsulation dot1q switch2(config-if
13、)#switchport mode trunk /配置switch2的f0/2為trunk鏈路switch2(config-if)#no shut*Mar 1 00:05:17.003: %DTP-5-TRUNKPORTON: Port Fa0/2 has become dot1q trunkdwo% Invalid input detected at marker.switch2(config-if)#no shutdownswitch3:switch3(config)#int f0/1switch3(config-if)#switchport trunk encapsulation dot
14、1q switch3(config-if)#switchport mode trunk /配置switch3的f0/1為trunk鏈路switch3(config-if)#no shutdown2. 創(chuàng)建vtp域,模式switch1:switch1#vlan database /在模擬器上是這個(gè)格式switch1(vlan)#vtp domain zi /創(chuàng)建域名為”zi”switch1(vlan)#vtp server /模式為”server” switch2: switch2#vlan database switch2(vlan)#vtp domain zi /創(chuàng)建域名為”zi”switc
15、h2(vlan)#vtp transparent /模式為” transparent ”switch3: switch3#vlan database switch3(vlan)#vtp domain zi /創(chuàng)建域名為”zi”switch3(vlan)#vtp server /模式為”server”實(shí)驗(yàn)測(cè)試: (1).swithc1創(chuàng)建vlan 10,vlan 20 查看switch3是否能學(xué)到 Step1: switch1 創(chuàng)建vlan 10 ,vlan 20 switch1#vlan data switch1(vlan)#vlan 10VLAN 10 added: Name: VLAN00
16、10switch1(vlan)#exit switch1#vlan data switch1(vlan)#vlan 20VLAN 20 added: Name: VLAN0020switch1(vlan)#exitAPPLY completed.Exiting. Step2.:查看switch3是否能學(xué)到 switch3#show vlan-swVLAN Name Status Ports- - - -1 default active Fa0/0, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0
17、/12 Fa0/13, Fa0/14, Fa0/1510 VLAN0010 active /學(xué)到switch1的vlan 1020 VLAN0020 active /學(xué)到switch1的vlan 101002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1
18、 enet 100001 1500 - - - - - 1002 100310 enet 100010 1500 - - - - - 0 0 20 enet 100020 1500 - - - - - 0 0 1002 fddi 101002 1500 - 0 - - - 1 10031003 tr 101003 1500 1005 0 - - srb 1 10021004 fdnet 101004 1500 - - 1 ibm - 0 0 1005 trnet 101005 1500 - - 1 ibm - 0 0 switch3#show vtp staVTP Version : 2Con
19、figuration Revision : 2 /修訂號(hào)變?yōu)?學(xué)到switch1了Maximum VLANs supported locally : 256Number of existing VLANs : 7 /vlan 自動(dòng)加到7VTP Operating Mode : ClientVTP Domain Name : ziVTP Pruning Mode : DisabledVTP V2 Mode : DisabledVTP Traps Generation : DisabledMD5 digest : 0x6C 0x7B 0xA9 0xFA 0x83 0x95 0x05 0xD4 Co
20、nfiguration last modified by 0.0.0.0 at 3-1-02 00:25:20小結(jié):當(dāng)中間配置為”transparent”模式的時(shí)候,并不影響switch3學(xué)習(xí)到switch1的vlan ,驗(yàn)證transparent模式仍會(huì)轉(zhuǎn)為vtp通告.switch1和switch3之間還是會(huì)隨著哪個(gè)的修訂號(hào)版高的變化而變化(2)當(dāng)switch3域名改”wu”(與前兩個(gè)不同)時(shí),在switch1添加vlan 30,驗(yàn)證switch3是否能夠?qū)W到. Step1: 修改switch3的域名 switch3: switch3#vlan database switch3(vlan)#
21、vtp domain wu step2:在switch1中添加vlan 30 switch1#vlan data switch1(vlan)#vlan 30VLAN 30 added: Name: VLAN0030switch1(vlan)#exitstep3:查看switch3是否能夠?qū)W到switch1里添加的vlan30 VLAN Name Status Ports- - - -1 default active Fa0/0, Fa0/2, Fa0/3, Fa0/4 Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13
22、, Fa0/14, Fa0/1510 VLAN0010 active 20 VLAN0020 active 未看到vlan 301002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 1002 100310 enet 100010 1500 - - - - - 0 0 20 enet 100020 1500 - - - - - 0 0 1002 fddi 101002 1500 - 0 - - - 1 10031003 tr 101003
溫馨提示
- 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 湖南三一工業(yè)職業(yè)技術(shù)學(xué)院《普通物理二》2023-2024學(xué)年第二學(xué)期期末試卷
- 漳州科技職業(yè)學(xué)院《男裝設(shè)計(jì)》2023-2024學(xué)年第二學(xué)期期末試卷
- 攀枝花學(xué)院《工程圖學(xué)與計(jì)算機(jī)繪圖甲》2023-2024學(xué)年第二學(xué)期期末試卷
- 15《搭船的鳥(niǎo)》教學(xué)設(shè)計(jì)-2024-2025學(xué)年三年級(jí)上冊(cè)語(yǔ)文統(tǒng)編版
- 金山職業(yè)技術(shù)學(xué)院《外貿(mào)專業(yè)英語(yǔ)一》2023-2024學(xué)年第二學(xué)期期末試卷
- 信陽(yáng)師范大學(xué)《工程實(shí)訓(xùn)》2023-2024學(xué)年第二學(xué)期期末試卷
- 銅仁幼兒師范高等??茖W(xué)?!度肆Y源管理沙盤(pán)模擬》2023-2024學(xué)年第二學(xué)期期末試卷
- 船舶運(yùn)力合同范本
- 第 19課《燈泡亮了》教學(xué)設(shè)計(jì)-2023-2024學(xué)年青島版科學(xué)四年級(jí)下冊(cè)
- 《7 比較測(cè)量紙帶和尺子》教學(xué)設(shè)計(jì)-2023-2024學(xué)年一年級(jí)上冊(cè)科學(xué)教科版
- 汽車行業(yè)維修記錄管理制度
- 公務(wù)員2022年國(guó)考申論試題(行政執(zhí)法卷)及參考答案
- IQC檢驗(yàn)作業(yè)指導(dǎo)書(shū)
- 城市自來(lái)水廠課程設(shè)計(jì)
- 重慶市2024年小升初語(yǔ)文模擬考試試卷(含答案)
- 2024智慧城市數(shù)據(jù)采集標(biāo)準(zhǔn)規(guī)范
- 【人教版】《勞動(dòng)教育》七上 勞動(dòng)項(xiàng)目一 疏通廚房下水管道 課件
- 2024特斯拉的自動(dòng)駕駛系統(tǒng)FSD發(fā)展歷程、技術(shù)原理及未來(lái)展望分析報(bào)告
- 2024-2030年中國(guó)銀行人工智能行業(yè)市場(chǎng)深度調(diào)研及發(fā)展趨勢(shì)與投資前景研究報(bào)告
- 五屆全國(guó)智能制造應(yīng)用技術(shù)技能大賽數(shù)字孿生應(yīng)用技術(shù)員(智能制造控制技術(shù)方向)賽項(xiàng)實(shí)操樣題
- 中國(guó)銀行中銀數(shù)字服務(wù)(南寧)有限公司招聘筆試真題2023
評(píng)論
0/150
提交評(píng)論