![利用交換機VTP協(xié)議實驗來配置VLAN_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-7/16/693809e9-088e-4e45-8003-d0b8053338db/693809e9-088e-4e45-8003-d0b8053338db1.gif)
![利用交換機VTP協(xié)議實驗來配置VLAN_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-7/16/693809e9-088e-4e45-8003-d0b8053338db/693809e9-088e-4e45-8003-d0b8053338db2.gif)
![利用交換機VTP協(xié)議實驗來配置VLAN_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-7/16/693809e9-088e-4e45-8003-d0b8053338db/693809e9-088e-4e45-8003-d0b8053338db3.gif)
![利用交換機VTP協(xié)議實驗來配置VLAN_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-7/16/693809e9-088e-4e45-8003-d0b8053338db/693809e9-088e-4e45-8003-d0b8053338db4.gif)
![利用交換機VTP協(xié)議實驗來配置VLAN_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-7/16/693809e9-088e-4e45-8003-d0b8053338db/693809e9-088e-4e45-8003-d0b8053338db5.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、利用交換機VTP協(xié)議實驗來配置VLAN一、VTP介紹VTP(VLAN Trunking Protocol):是VLAN中繼協(xié)議,也被稱為虛擬局域網(wǎng)干道協(xié)議。它是思科私有協(xié)議。作用是十幾臺交換機在企業(yè)網(wǎng)中,配置VLAN工作量大,可以使用VTP協(xié)議,把一臺交換機配置成VTP Server, 其余交換機配置成VTP Client,這樣他們可以自動學(xué)習到server 上的VLAN 信息。VTP模式有3種 服務(wù)器模式(Server)客戶機模式(Client)透明模式(Transparent) Server(服務(wù)器)模式可以學(xué)習轉(zhuǎn)發(fā)、可以添加刪除或修改VLAN信息Client(客戶機)模式可以學(xué)習轉(zhuǎn)發(fā)、但
2、不可以添加刪除或修改Transparent(透明)模式不學(xué)習,但可以轉(zhuǎn)發(fā)VLAN信息;可以創(chuàng)建或刪除VLAN,只在本地有效,不影響其它路由器。 新交換機出廠時的默認配置是預(yù)配置為VLAN1,VTP 模式為服務(wù)器。 VTP協(xié)議只能學(xué)習到VLAN的信息,并不能學(xué)習到端口劃分的信息配置命令 若給VTP配置密碼,那么本域內(nèi)的所有交換機的VTP密碼必須保持一致。創(chuàng)建VTP域命令 思科IOS系統(tǒng) switch(config)#vtp domain DOMAIN_NAME 配置交換機的VTP模式 三種模式server client transparent(透明模式) switch(config)# vtp
3、mode server | client | transparent 配置VTP口令 switch (config) # vtp password PASSWORD 配置VTP修剪 能夠減少中繼端口上不必要的廣播信息量,在模擬器中無此命令switch (config) # vtp pruning 配置VTP版本 1 / 8switch (config) # vtp version 2(默認是版本1) ,客戶機不可以配置ver 2查看VTP配置信息 switch# show vtp status 在三層路由器加了一塊二層檔板時,命令環(huán)境改變。比如原來需要在全局配置模式下輸入vtp命令,而此時需要
4、在vlan database模式下輸入了。二、VTP配置實例試驗原理:VTP是一種消息協(xié)議,它使用第二層幀,在全網(wǎng)的基礎(chǔ)上管理VLAN的添加、刪除和重命名,以實現(xiàn)VLAN配置的一致性。有了VTP,就可以在一臺交換機上集中修改VLAN的配置,所做的修改會被自動傳播到網(wǎng)絡(luò)中的所有其它計算機上。試驗拓撲圖:試驗步驟:1, VTP Server配置Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname ServerServer(config)#interface r
5、ange fa 0/23 - fa 0/24Server(config-if-range)#switchport mode trunkServer(config-if-range)#exitServer(config)#vtp domain 5ijsjDomain name already set to 5ijsj.Server(config)#vtp mode server Device mode already VTP SERVER.Server(config)#vtp password 123456Password already set to 123456Server(config)#
6、vlan 10Server(config-vlan)#exitServer(config)#vlan 20Server(config-vlan)#exitServer(config)#end%SYS-5-CONFIG_I: Configured from console by consoleServer#show vtp status VTP Version : 2Configuration Revision : 8Maximum VLANs supported locally : 255Number of existing VLANs : 7VTP Operating Mode : Serv
7、erVTP Domain Name : 5ijsjVTP Pruning Mode : DisabledVTP V2 Mode : EnabledVTP Traps Generation : DisabledMD5 digest : 0x48 0x90 0xF1 0xBE 0x69 0xDA 0x0B 0x53 Configuration last modified by 0.0.0.0 at 3-1-93 00:43:40Local updater ID is 0.0.0.0 (no valid interface found)Server#show vlanVLAN Name Status
8、 Ports- - - -1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4Fa0/5, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12Fa0/13, Fa0/14, Fa0/15, Fa0/16Fa0/17, Fa0/18, Fa0/19, Fa0/20Fa0/21, Fa0/22, Gig1/1, Gig1/210 VLAN0010 active 20 VLAN0020 active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup
9、 1004 fddinet-default act/unsup 1005 trnet-default act/unsupVLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 01002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 15
10、00 - - - - - 0 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Remote SPAN VLANs-Primary Secondary Type Ports- - - -Server#2, VTP Client1配置Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname Client1Client1(config)#int fa0/
11、23Client1(config-if)#switchport mode trunkClient1(config-if)#exitClient1(config)#vtp domain 5ijsjDomain name already set to 5ijsj.Client1(config)#vtp mode client Device mode already VTP CLIENT.Client1(config)#vtp password 123456Password already set to 123456Client1(config)#int fa0/1Client1(config-if
12、)#sw access vlan 10Client1(config-if)#exitClient1(config)#int fa0/2Client1(config-if)#sw ac vlan 20Client1(config-if)#endClient1#%SYS-5-CONFIG_I: Configured from console by consoleClient1#show vtp status VTP Version : 2Configuration Revision : 8Maximum VLANs supported locally : 255Number of existing
13、 VLANs : 7VTP Operating Mode : ClientVTP Domain Name : 5ijsjVTP Pruning Mode : DisabledVTP V2 Mode : EnabledVTP Traps Generation : DisabledMD5 digest : 0x48 0x90 0xF1 0xBE 0x69 0xDA 0x0B 0x53 Configuration last modified by 0.0.0.0 at 3-1-93 00:43:40Client1#show vlanVLAN Name Status Ports- - - -1 def
14、ault active Fa0/3, Fa0/4, Fa0/5, Fa0/6Fa0/7, Fa0/8, Fa0/9, Fa0/10Fa0/11, Fa0/12, Fa0/13, Fa0/14Fa0/15, Fa0/16, Fa0/17, Fa0/18Fa0/19, Fa0/20, Fa0/21, Fa0/22Fa0/24, Gig1/1, Gig1/210 VLAN0010 active Fa0/120 VLAN0020 active Fa0/21002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-
15、default act/unsup 1005 trnet-default act/unsupVLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2- - - - - - - - - - -1 enet 100001 1500 - - - - - 0 010 enet 100010 1500 - - - - - 0 020 enet 100020 1500 - - - - - 0 01002 fddi 101002 1500 - - - - - 0 0 1003 tr 101003 1500 - - - - - 0
16、 0 1004 fdnet 101004 1500 - - - ieee - 0 0 1005 trnet 101005 1500 - - - ibm - 0 0 Remote SPAN VLANs-Primary Secondary Type Ports- - - -Client1#3, VTP Client2配置Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname Client2Client2(config)#int fa0/24Client2(con
17、fig-if)#switchport mode trunkClient2(config-if)#exitClient2(config)#vtp domain 5ijsjDomain name already set to 5ijsj.Client2(config)#vtp mode client Device mode already VTP CLIENT.Client2(config)#vtp password 123456Password already set to 123456Client2(config)#int fa0/1Client2(config-if)#sw access v
18、lan 10Client2(config-if)#exitClient2(config)#int fa0/2Client2(config-if)#sw ac vlan 20Client2(config-if)#endClient2#%SYS-5-CONFIG_I: Configured from console by consoleClient2#show vtp status VTP Version : 2Configuration Revision : 8Maximum VLANs supported locally : 255Number of existing VLANs : 7VTP
19、 Operating Mode : ClientVTP Domain Name : 5ijsjVTP Pruning Mode : DisabledVTP V2 Mode : EnabledVTP Traps Generation : DisabledMD5 digest : 0x48 0x90 0xF1 0xBE 0x69 0xDA 0x0B 0x53 Configuration last modified by 0.0.0.0 at 3-1-93 00:43:40Client2#show vlanVLAN Name Status Ports- - - -1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6Fa0/7, Fa0/8, Fa0/9, Fa0/10Fa0/11, Fa0/12, Fa0/13, Fa0/14Fa0/15, Fa0/16, Fa0/17, Fa0/18Fa0/19, Fa0/20, Fa0/21, Fa0/22Fa0/23, Gig1/1, Gig1/210 VLAN0010 active Fa0/120 VLAN0020 active Fa0/21002 fddi-default act/unsup
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- idc租賃服務(wù)合同范例
- 存貨質(zhì)押合同范本
- 企業(yè)員工招聘合同范本
- 農(nóng)村安裝路燈合同范例
- 兼職配音協(xié)議合同范本
- 照明燈具采購合同范本
- 工業(yè)固體廢物處置合同范本
- 冰箱保養(yǎng)合同范本
- 天籟侗歌苗寨傳
- 2025年度國際知識產(chǎn)權(quán)轉(zhuǎn)讓合同范本(含專利保護)
- 施工周報表(標準模版)
- 4.5MWp分布式光伏項目主要設(shè)備材料清單(建筑工程安裝工程)
- von frey絲K值表完整版
- 云南省普通初中學(xué)生成長記錄模板-好ok
- SB/T 10415-2007雞粉調(diào)味料
- 考古繪圖基礎(chǔ)
- GB/T 32574-2016抽水蓄能電站檢修導(dǎo)則
- 《社會主義市場經(jīng)濟理論(第三版)》第十三章社會主義市場經(jīng)濟標準論
- 變更索賠案例分析
- 過敏性休克的急救及處理流程教材課件(28張)
- 《花婆婆》兒童繪本故事
評論
0/150
提交評論