交換機VLAN配置.doc_第1頁
交換機VLAN配置.doc_第2頁
交換機VLAN配置.doc_第3頁
交換機VLAN配置.doc_第4頁
交換機VLAN配置.doc_第5頁
已閱讀5頁,還剩3頁未讀 繼續(xù)免費閱讀

下載本文檔

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

文檔簡介

實驗報告一 VLAN劃分一、實驗?zāi)康?、掌握VLAN的配置:劃分VLAN的方法、將端口加入VLAN2、測試Vlan連通性,加深對Vlan的基本原理和特點的認識,掌握Trunk的使用,用ping命令測試網(wǎng)絡(luò)連通性二、實驗內(nèi)容與步驟: 配置同一交換機上的子網(wǎng)劃分1、 按圖連接好網(wǎng)絡(luò)拓撲圖:2、按圖設(shè)置好PC1、PC2、PC3的IP地址3、用PING測試網(wǎng)絡(luò)連通性。(可以連通打,不能連通打)PC1PC2PC3PC1PC2PC34、在交換機上創(chuàng)建VLAN10,將其命名為teacher,并將PC1所在端口F0/1加入VLAN 105、在交換機上創(chuàng)建VLAN20,將其命名為student,并將PC2、PC3所在端口F0/5、F0/10加入VLAN206、再次用PING測試網(wǎng)絡(luò)連通性。(可以連通打,不能連通打)PC1PC2PC3PC1PC2PC3實驗報告二 跨交換機VLAN劃分配置跨交換機上的子網(wǎng)劃分1、按圖連接好網(wǎng)絡(luò)拓撲圖:2、按圖設(shè)置好PC1、PC2、PC3的IP地址VPCS 1 ip 54 24PC1 : gateway 54VPCS 1 2VPCS 2 ip 54 24PC2 : gateway 54VPCS 2 3VPCS 3 ip 54 24PC3 : gateway 54VPCS 3 4VPCS 4 ip 54 24PC4 : gateway 543、用PING測試網(wǎng)絡(luò)連通性。(可以連通打,不能連通打)PC1PC2PC3PC4PC1PC2PC3PC44、在交換機A上創(chuàng)建VLAN10、VLAN20,并將端口加入相應(yīng)的VLAN中RouterenRouter#vlan databaseRouter(vlan)#vlan 10 name testVLAN 10 added: Name: testRouter(vlan)#exitAPPLY completed.Exiting.Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface fastethernet0/5Router(config-if)#switchport mode accessRouter(config-if)#switchport access vlan 10Router(config-if)#endRouter#vlan databaseRouter(vlan)#vlan 20VLAN 20 added: Name: VLAN0020Router(vlan)#exitAPPLY completed.Exiting.Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface f0/6Router(config-if)#switchport mode accessRouter(config-if)#switchport access vlan 20Router(config-if)#end5、在交換機B上創(chuàng)建VLAN10、VLAN20,并將端口加入相應(yīng)的VLAN中RouterenRouter#vlan databaseRouter(vlan)#vlan 10VLAN 10 added: Name: VLAN0010Router(vlan)#exitAPPLY completed.Exiting.Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface f0/10Router(config-if)#switchport mode accessRouter(config-if)#switchport access vlan 10Router(config-if)#endRouter#vlan databaseRouter(vlan)#vlan 20VLAN 20 added: Name: VLAN0020Router(vlan)#exitAPPLY completed.Exiting.Router#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface f0/11Router(config-if)#switchport mode accessRouter(config-if)#switchport access vlan 20Router(config-if)#end6、用PING測試網(wǎng)絡(luò)連通性。(可以連通打,不能連通打)PC1PC2PC3PC4PC1PC2PC3PC47、配置VLAN Trunk端口,多個交換機之間通過Trunk線路傳送VLAN信息RouterRouterenRouter#conf tEnter configuration commands, one per line. End with CNTL/Z.Router(config)#interface f0/1Router(config-if)#switchport mode trunkRouter(config-if)#*Mar 1 00:30:11.207: %DTP-5-TRUNKPORTON: Port Fa0/1 has becomRouter(config-if)#switchport mode trunkRouter(config-if)#switchport trunk allowed vlan allRouter(config-if)#sxit % Invalid input detected at marker.Router(config-if)#exitRouter(config)#exitRouter#*Mar 1 00:33:04.815: %SYS-5-CONFIG_I: Configured from consoleRouter#vlan databaseRouter(vlan)#vtp serverDevice mode already VTP SERVER.Router(vlan)#vtp domain Changing VTP domain name from NULL to Router(vlan)#vtp password 123Setting device VLAN database password to 123.Router(vlan)#Switch-A(config)# (進入端口1配置模式)Switch-A(config-if)# (設(shè)置當前端口為Trunk模式)Switch-A(config-if)# (允許

溫馨提示

  • 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)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論