虛擬局域網(wǎng)組網(wǎng)技術(shù)ppt課件_第1頁(yè)
虛擬局域網(wǎng)組網(wǎng)技術(shù)ppt課件_第2頁(yè)
虛擬局域網(wǎng)組網(wǎng)技術(shù)ppt課件_第3頁(yè)
虛擬局域網(wǎng)組網(wǎng)技術(shù)ppt課件_第4頁(yè)
虛擬局域網(wǎng)組網(wǎng)技術(shù)ppt課件_第5頁(yè)
已閱讀5頁(yè),還剩35頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

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

文檔簡(jiǎn)介

1、1VLAN的運(yùn)用背景及實(shí)現(xiàn)功能的運(yùn)用背景及實(shí)現(xiàn)功能v【背景描畫】v某企業(yè)有兩個(gè)主要部門:技術(shù)部和銷售部,其中銷售部門的個(gè)人計(jì)算機(jī)系統(tǒng)分散銜接,也就有一名銷售部的任務(wù)人員在技術(shù)部的辦公室,他的電腦銜接在技術(shù)部的交換機(jī)上。技術(shù)部之間、銷售部之間需求相互進(jìn)展通訊,但為了數(shù)據(jù)平安起見,技術(shù)部和銷售部需求進(jìn)展相互隔離。v【拓?fù)鋱D如下:】2技術(shù)需求技術(shù)需求v同一個(gè)部門的主機(jī)在同一個(gè)局域網(wǎng)上,并且部門內(nèi)的數(shù)據(jù)流量不希望其他部門收到,也不希望干擾其他部門,也就是要求同一個(gè)部門在同一個(gè)“廣播域上。v顯然對(duì)于以上的物理拓?fù)?,一切主機(jī)經(jīng)過(guò)交換機(jī)相連,處在同一個(gè)廣播域沒有劃分VLAN的交換機(jī)上的各個(gè)端口上的設(shè)備分別屬

2、于不同的沖突域,每一交換端口構(gòu)成一個(gè)沖突域,但同屬于一個(gè)廣播域。如A1和A3之間的廣播,A2、B1、B2也會(huì)收到,這不是我們所希望的。3不加限制,會(huì)產(chǎn)生廣播風(fēng)暴問(wèn)題不加限制,會(huì)產(chǎn)生廣播風(fēng)暴問(wèn)題4需求導(dǎo)致了需求導(dǎo)致了VLAN的產(chǎn)生的產(chǎn)生v需求有一種方法,在盡量不改動(dòng)網(wǎng)絡(luò)固有配置的前提下,經(jīng)過(guò)靈敏的、規(guī)范的、基于軟件的做法將具有一樣需求的用戶放到一同,使之就象在一個(gè)LAN中那樣任務(wù)。v它不但可以在物理上使網(wǎng)絡(luò)延伸,還能使對(duì)網(wǎng)絡(luò)實(shí)施更靈敏強(qiáng)大的控制功能成為能夠。vVLAN的出現(xiàn)使之成為能夠。5VLAN簡(jiǎn)介簡(jiǎn)介v沖突域和廣播域v交換機(jī)能隔離沖突域,但不能隔離廣播域,經(jīng)過(guò)多個(gè)交換機(jī)銜接在一同的一切計(jì)算機(jī)

3、都在一個(gè)廣播域中,任何一臺(tái)計(jì)算機(jī)發(fā)送的廣播包,其他計(jì)算機(jī)都會(huì)收到,這樣大大降低了帶寬的利用率。vVLANVirtual LAN可以隔離廣播域,VLAN任務(wù)在OSI模型的第2層,是交換機(jī)端口的邏輯組合。vVLAN的主要優(yōu)點(diǎn)v廣播風(fēng)暴防備v平安v性能提高v提高管理效率6VLAN的劃分的劃分v基于端口的VLANv在這種定義方法中,某個(gè)交換機(jī)上的端口例如端口1、3、5構(gòu)成VLAN A,而該交換機(jī)上的其他端口構(gòu)成VLAN B。早期基于端口的VLAN成員只能位于一個(gè)交換機(jī)中。第二代基于端口的VLAN支持多個(gè)交換機(jī),例如交換機(jī)X上的端口1和端口2與交換機(jī)Y上的端口3和端口4構(gòu)成一個(gè)VLAN。v基于MAC地址

4、的VLANv在這種定義方法中,假設(shè)干個(gè)MAC地址構(gòu)成VLAN成員。用戶屬于哪個(gè)VLAN由其網(wǎng)卡中的MAC地址決議。7Trunk簡(jiǎn)介簡(jiǎn)介vVLAN可以把在同一個(gè)交換機(jī)上端口組合成一個(gè)VLAN,也可以不同交換機(jī)上的端口組合成一個(gè)VLAN。當(dāng)一個(gè)VLAN跨過(guò)不同的交換機(jī)時(shí),在同一個(gè)VLAN上但是接在不同的交換機(jī)上的計(jì)算機(jī)如何實(shí)現(xiàn)通訊?8VLAN標(biāo)志技術(shù)標(biāo)志技術(shù)v直觀的方法是為每一個(gè)VLAN添加連線,這樣多個(gè)VLAN會(huì)占用太多接口。v可以采用Trunk技術(shù)實(shí)現(xiàn)跨交換機(jī)的VLAN內(nèi)通訊,Trunk技術(shù)使得在一條物理線路上可以傳送多個(gè)VLAN的信息。v為了區(qū)別多個(gè)VLAN的數(shù)據(jù)幀,需求某種標(biāo)志技術(shù)。有兩種

5、常見的Trunk幀標(biāo)志技術(shù):ISL和IEEE 802.1Q。vISL技術(shù)在原有的幀上重新加了一個(gè)幀頭,并重新消費(fèi)了幀校驗(yàn)序列FCS。ISL是思科特有的技術(shù)。vIEEE 802.1Q技術(shù)是在原有幀的源MAC地址字段后插入4字節(jié)的標(biāo)志字段,同時(shí)用心的CRC字段替代了原有的CRC字段。IEEE 802.1Q是國(guó)際規(guī)范。9采用采用ISL的的Trunkv運(yùn)用ASIC執(zhí)行v對(duì)計(jì)算機(jī)透明,計(jì)算機(jī)看不到ISL頭部v可以在交換機(jī)與交換機(jī)之間、交換機(jī)與路由器之間運(yùn)用10ISL幀格式幀格式v封裝技術(shù)Encapsulatedv協(xié)議無(wú)關(guān)的Protocol independentv將原有的幀封裝在新的幀中11采用采用80

6、2.1Q的的Trunk12802.1Q幀格式幀格式v標(biāo)志技術(shù)Taggedv協(xié)議相關(guān)的Protocol dependentv在原有幀中添加一個(gè)字段13采用采用Trunk技術(shù)實(shí)現(xiàn)了技術(shù)實(shí)現(xiàn)了VLAN的跨計(jì)算機(jī)通訊的跨計(jì)算機(jī)通訊14DTPDynamic Trunk Protocol簡(jiǎn)介簡(jiǎn)介v管理員可以手動(dòng)指定交換機(jī)之間的鏈路能否構(gòu)成Trunk,也可以讓交換機(jī)自動(dòng)協(xié)商,這個(gè)協(xié)議稱為DTP,DTP還可以協(xié)商Trunk鏈路的封裝類型。v配置了DTP的交換時(shí)機(jī)發(fā)送DTP協(xié)商包,或者對(duì)對(duì)方發(fā)送來(lái)的DTP包進(jìn)展呼應(yīng),雙方最終商討他們之間的鏈路能否構(gòu)成Trunk,以及采用什么樣的Trunk封裝方式。vCisco網(wǎng)

7、絡(luò)設(shè)備支持動(dòng)態(tài)協(xié)商端口的任務(wù)形狀。v根據(jù)動(dòng)態(tài)協(xié)議的實(shí)現(xiàn)方式,Cisco網(wǎng)絡(luò)設(shè)備接口有多種不同的任務(wù)方式。15交換機(jī)接口方式交換機(jī)接口方式vcisco網(wǎng)絡(luò)中,交換機(jī)在局域網(wǎng)中最終穩(wěn)定形狀的接口類型主要有四種:access / trunk / multi / dot1q-tunnel。v1、access: 主要用來(lái)接入終端設(shè)備,如PC機(jī)、效力器、打印效力器等。v2、trunk: 主要用在銜接其它交換機(jī),以便在線路上承載多個(gè)VLAN。v3、multi: 在一個(gè)線路中承載多個(gè)vlan,但不像trunk,它不對(duì)承載的數(shù)據(jù)打標(biāo)簽。主要用于接入支持多vlan的效力器或者一些網(wǎng)絡(luò)分析設(shè)備。如今根本不運(yùn)用此類接

8、口,在Cisco的網(wǎng)絡(luò)設(shè)備中,也根本不支持此類接口了。v4、dot1q-tunnel: 用在Q-in-Q隧道配置中。16Cisco交換機(jī)接口方式的設(shè)置交換機(jī)接口方式的設(shè)置v1、switchport mode access:強(qiáng)迫接口成為access接口,并且可以與對(duì)方自動(dòng)進(jìn)展協(xié)商,誘使對(duì)方成為access方式。v2、switchport mode trunk:強(qiáng)迫接口成為trunk接口,并且自動(dòng)誘使對(duì)方成為trunk方式,所以當(dāng)鄰居交換機(jī)接口為trunk/desirable/auto時(shí)會(huì)成為Trunk接口。v3、switchport mode dynamic desirable:自動(dòng)協(xié)商建立tr

9、unk,發(fā)送并接納DTP信號(hào)。假設(shè)鄰居交換機(jī)方式為trunk/desirable/auto之一,那么接口將變成trunk接口。假設(shè)不能構(gòu)成trunk方式,那么任務(wù)在access方式。v4、switchport mode dynamic auto:被動(dòng)協(xié)商建立trunk,只接納不發(fā)送DTP信號(hào)。當(dāng)鄰居接口為trunk/desirable之一時(shí),才會(huì)成為trunk。假設(shè)不能構(gòu)成trunk方式,那么任務(wù)在access方式。v5、switchport nonegotiate:嚴(yán)厲的說(shuō),這不算是種接口方式,它的作用只是阻止交換機(jī)接口發(fā)出DTP數(shù)據(jù)包,它必需與switchport mode trunk或者

10、switchport mode access一同運(yùn)用。v6、switchport mode dot1q-tunnel:配置交換機(jī)接口為隧道接口非trunk,以便與用戶交換機(jī)的trunk接口構(gòu)成不對(duì)稱鏈路。17VLAN實(shí)驗(yàn)實(shí)驗(yàn)v【實(shí)驗(yàn)?zāi)康摹縱了解VLAN交換機(jī)的特性與運(yùn)用場(chǎng)所v掌握VLAN交換機(jī)組網(wǎng)的根本配置方法v【實(shí)驗(yàn)環(huán)境】:模擬軟件 Cisco Packet Tracer 5.2vPacket Tracer是思科公司為網(wǎng)絡(luò)學(xué)員認(rèn)證學(xué)習(xí)而開發(fā)的一套用來(lái)設(shè)計(jì)、配置和排除缺點(diǎn)的網(wǎng)絡(luò)模擬系統(tǒng),目前最新版本為5.2。v該軟件支持大量的設(shè)備仿真模型:路由器、交換機(jī)、無(wú)線網(wǎng)絡(luò)設(shè)備、效力器、各種銜接電纜、終

11、端等,還能仿真各種模塊,這在實(shí)踐實(shí)驗(yàn)設(shè)備中是無(wú)法配置齊全的。v對(duì)設(shè)備均提供圖型化和終端兩種配置方法,各設(shè)備模型均有可視化的外觀仿真。18VLAN實(shí)驗(yàn)內(nèi)容實(shí)驗(yàn)內(nèi)容v實(shí)驗(yàn)器材:3560交換機(jī)2臺(tái),PC機(jī)5臺(tái),銜接線假設(shè)干。v網(wǎng)絡(luò)拓?fù)鋱D如下:v圖中:A1、A2、A3銜接在Switch1上,B1、B2銜接在Switch2上。v假定運(yùn)用場(chǎng)景是A1、A3屬于技術(shù)部,B1、B2、A2屬于銷售部,要求同一部門的主機(jī)在同一個(gè)局域網(wǎng)上。19VLAN實(shí)驗(yàn)內(nèi)容實(shí)驗(yàn)內(nèi)容Switch1 InterfacesSwitch1 InterfacesSwitch2 InterfacesSwitch2 InterfacesFrom

12、FromToToFromFromToToFastEthernet FastEthernet 0/10/1A1A1FastEthernet FastEthernet 0/10/1B1B1FastEthernet FastEthernet 0/20/2A2A2FastEthernet FastEthernet 0/20/2B2B2FastEthernet FastEthernet 0/30/3A3A3FastEthernet FastEthernet 0/110/11Switch1, Switch1, FastEthernet FastEthernet 0/110/11FastEthernet F

13、astEthernet 0/110/11Switch2, Switch2, FastEthernet FastEthernet 0/110/11v交換機(jī)端口銜接配置PCPC主機(jī)主機(jī)IPIP地址地址子網(wǎng)掩碼子網(wǎng)掩碼A1A1192.168.1.1192.168.1.1255.255.255.0255.255.255.0A2A2192.168.1.2192.168.1.2255.255.255.0255.255.255.0A3A3192.168.1.3192.168.1.3255.255.255.0255.255.255.0B1B1192.168.1.4192.168.1.4255.255.255.

14、0255.255.255.0B2B2192.168.1.5192.168.1.5255.255.255.0255.255.255.0v主機(jī)IP地址配置20配置各臺(tái)主機(jī)配置各臺(tái)主機(jī)v配置主機(jī)IP地址v點(diǎn)擊 主機(jī) 圖標(biāo),在彈出的窗口中,點(diǎn)擊“Desktop選項(xiàng)卡,在“IP Configuration里直接配置IP地址和子網(wǎng)掩碼。v或者在“Command Prompt里,輸入命令vipconfig ip_addr net_maskv配置完主機(jī)IP地址,回答【問(wèn)題1】:v每臺(tái)主機(jī)相互ping,查看哪些主機(jī)可以連通,哪些不可以?為什么?v注:可以用 ping -n 1 255.255.255.255 發(fā)

15、起一個(gè)受限廣播,參數(shù) -n 1指明只發(fā)送一次,免得默許發(fā)送4次遭到干擾,察看都收到了哪些主機(jī)的回復(fù)?21在交換機(jī)上配置在交換機(jī)上配置VLANvVLAN配置如下:VLAN numVLAN numVLAN nameVLAN nameSwitch portSwitch port2 2techtechSwitch1, port 1, 3Switch1, port 1, 33 3salessalesSwitch1, port2; Switch2, port1, 2Switch1, port2; Switch2, port1, 2v點(diǎn)擊 交換機(jī) 圖標(biāo),在彈出的窗口中,點(diǎn)擊“CLI,進(jìn)入交換機(jī)配置終端。22

16、在在Switch上創(chuàng)建上創(chuàng)建VLANv在Switch1上創(chuàng)建VLANv進(jìn)入特權(quán)方式:vSwitchenablev進(jìn)入VLAN配置方式:vSwitch#vlan databasevSwitch(vlan)#vlan 2 name techvSwitch(vlan)#vlan 3 name salesvSwitch(vlan)#exitv進(jìn)入全局設(shè)置方式vSwitch#configure terminal23在在Switch上創(chuàng)建上創(chuàng)建VLANv將Switch1的各端口劃分在VLAN中vSwitch(config)#interface FastEthernet 0/1vSwitch(config-

17、if)#switchport mode accessvSwitch(config-if)#switchport access vlan 2vSwitch(config-if)#interface FastEthernet 0/2vSwitch(config-if)#switchport mode accessvSwitch(config-if)#switchport access vlan 3vSwitch(config-if)#interface FastEthernet 0/3vSwitch(config-if)#switchport mode accessvSwitch(config-i

18、f)#switchport access vlan 224在在Switch上創(chuàng)建上創(chuàng)建VLANv配置與Switch2銜接的Trunk接口vSwitch(config-if)#interface FastEthernet 0/11vSwitch(config-if)#switchport mode trunkv在Switch2上創(chuàng)建VLANvSwitchenablevSwitch#vlan database vSwitch(vlan)#vlan 3 name salesvSwitch(vlan)#exitvSwitch#configure terminal25在在Switch上創(chuàng)建上創(chuàng)建VLAN

19、v將Switch2的各端口劃分在VLAN中vSwitch(config)#interface FastEthernet 0/1vSwitch(config-if)#switchport mode accessvSwitch(config-if)#switchport access vlan 3vSwitch(config-if)#interface FastEthernet 0/2vSwitch(config-if)#switchport mode accessvSwitch(config-if)#switchport access vlan 3v配置與Switch1銜接的Trunk接口vSw

20、itch(config-if)#interface FastEthernet 0/11vSwitch(config-if)#switchport mode trunk26實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch1上用 show vlan 查看VLAN信息vVLAN Name Status Portsv- - - -v1 default active Fa0/4, Fa0/5, Fa0/6, Fa0/7v Fa0/8, Fa0/9, Fa0/10, Fa0/12v Fa0/13, Fa0/14, Fa0/15, Fa0/16v Fa0/17, Fa0/18, Fa0/19, Fa0/20v Fa0/21

21、, Fa0/22, Fa0/23, Fa0/24v Gig0/1, Gig0/2v2 tech active Fa0/1, Fa0/3v3 sales active Fa0/2v1002 fddi-default act/unsup v1003 token-ring-default act/unsup v1004 fddinet-default act/unsup v1005 trnet-default act/unsup vVLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2v- - - - - - - -

22、- - -v1 enet 100001 1500 - - - - - 0 0v2 enet 100002 1500 - - - - - 0 0v3 enet 100003 1500 - - - - - 0 0v1002 fddi 101002 1500 - - - - - 0 0 v1003 tr 101003 1500 - - - - - 0 0 v1004 fdnet 101004 1500 - - - ieee - 0 0 v1005 trnet 101005 1500 - - - ibm - 0 0 vRemote SPAN VLANsv-vPrimary Secondary Type

23、 Portsv- - - -27實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch1上用 show interfaces FastEthernet 0/1 switchport 查看端口信息vName: Fa0/1vSwitchport: EnabledvAdministrative Mode: static accessvOperational Mode: static accessvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: nativevNegotiation of Trunking: O

24、ffvAccess Mode VLAN: 2 (tech)vTrunking Native Mode VLAN: 1 (default)vVoice VLAN: nonevAdministrative private-vlan host-association: nonevAdministrative private-vlan mapping: nonevAdministrative private-vlan trunk native VLAN: nonevAdministrative private-vlan trunk encapsulation: dot1qvAdministrative

25、 private-vlan trunk normal VLANs: nonevAdministrative private-vlan trunk private VLANs: nonevOperational private-vlan: nonevTrunking VLANs Enabled: AllvPruning VLANs Enabled: 2-1001vCapture Mode DisabledvCapture VLANs Allowed: ALLvProtected: falsevUnknown unicast blocked: disabledvUnknown multicast

26、blocked: disabledvAppliance trust: none28實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch1上用 show interfaces FastEthernet 0/2 switchport 查看端口信息vName: Fa0/2vSwitchport: EnabledvAdministrative Mode: static accessvOperational Mode: static accessvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: nativevN

27、egotiation of Trunking: OffvAccess Mode VLAN: 3 (sales)vTrunking Native Mode VLAN: 1 (default)vVoice VLAN: nonevAdministrative private-vlan host-association: nonevAdministrative private-vlan mapping: nonevAdministrative private-vlan trunk native VLAN: nonevAdministrative private-vlan trunk encapsula

28、tion: dot1qvAdministrative private-vlan trunk normal VLANs: nonevAdministrative private-vlan trunk private VLANs: nonevOperational private-vlan: nonevTrunking VLANs Enabled: AllvPruning VLANs Enabled: 2-1001vCapture Mode DisabledvCapture VLANs Allowed: ALLvProtected: falsevUnknown unicast blocked: d

29、isabledvUnknown multicast blocked: disavAppliance trust: none29實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch1上用 show interfaces FastEthernet 0/11 switchport查看端口信息vName: Fa0/11vSwitchport: EnabledvAdministrative Mode: trunkvOperational Mode: trunkvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: d

30、ot1qvNegotiation of Trunking: OnvAccess Mode VLAN: 1 (default)vTrunking Native Mode VLAN: 1 (default)vVoice VLAN: nonevAdministrative private-vlan host-association: nonevAdministrative private-vlan mapping: nonevAdministrative private-vlan trunk native VLAN: nonevAdministrative private-vlan trunk en

31、capsulation: dot1qvAdministrative private-vlan trunk normal VLANs: nonevAdministrative private-vlan trunk private VLANs: nonevOperational private-vlan: nonevTrunking VLANs Enabled: AllvPruning VLANs Enabled: 2-1001vCapture Mode DisabledvCapture VLANs Allowed: ALLvProtected: falsevUnknown unicast blo

32、cked: disabledvUnknown multicast blocked: disabledvAppliance trust: none30實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch2上用 show vlan 查看VLAN信息vVLAN Name Status Portsv- - - -v1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6v Fa0/7, Fa0/8, Fa0/9, Fa0/10v Fa0/12, Fa0/13, Fa0/14, Fa0/15v Fa0/16, Fa0/17, Fa0/18, Fa0/19v Fa0/20, Fa0/21, Fa

33、0/22, Fa0/23v Fa0/24, Gig0/1, Gig0/2v3 sales active Fa0/1, Fa0/2v1002 fddi-default act/unsup v1003 token-ring-default act/unsup v1004 fddinet-default act/unsup v1005 trnet-default act/unsup vVLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2v- - - - - - - - - - -v1 enet 100001 1500

34、 - - - - - 0 0v3 enet 100003 1500 - - - - - 0 0v1002 fddi 101002 1500 - - - - - 0 0 v1003 tr 101003 1500 - - - - - 0 0 v1004 fdnet 101004 1500 - - - ieee - 0 0 v1005 trnet 101005 1500 - - - ibm - 0 0 vRemote SPAN VLANsv-vPrimary Secondary Type Portsv- - - -31實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch2上用 show interfaces FastE

35、thernet 0/1 switchport 查看端口信息vName: Fa0/1vSwitchport: EnabledvAdministrative Mode: static accessvOperational Mode: static accessvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: nativevNegotiation of Trunking: OffvAccess Mode VLAN: 3 (sales)vTrunking Native Mode VLAN:

36、 1 (default)vVoice VLAN: nonevAdministrative private-vlan host-association: nonevAdministrative private-vlan mapping: nonevAdministrative private-vlan trunk native VLAN: nonevAdministrative private-vlan trunk encapsulation: dot1qvAdministrative private-vlan trunk normal VLANs: nonevAdministrative pr

37、ivate-vlan trunk private VLANs: nonevOperational private-vlan: nonevTrunking VLANs Enabled: AllvPruning VLANs Enabled: 2-1001vCapture Mode DisabledvCapture VLANs Allowed: ALLvProtected: falsevUnknown unicast blocked: disabledvUnknown multicast blocked: disabledvAppliance trust: none32實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switc

38、h2上用 show interfaces FastEthernet 0/11 switchport 查看端口信息vName: Fa0/11vSwitchport: EnabledvAdministrative Mode: trunkvOperational Mode: trunkvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: dot1qvNegotiation of Trunking: OnvAccess Mode VLAN: 1 (default)vTrunking Nativ

39、e Mode VLAN: 1 (default)vVoice VLAN: nonevAdministrative private-vlan host-association: nonevAdministrative private-vlan mapping: nonevAdministrative private-vlan trunk native VLAN: nonevAdministrative private-vlan trunk encapsulation: dot1qvAdministrative private-vlan trunk normal VLANs: nonevAdmin

40、istrative private-vlan trunk private VLANs: nonevOperational private-vlan: nonevTrunking VLANs Enabled: AllvPruning VLANs Enabled: 2-1001vCapture Mode DisabledvCapture VLANs Allowed: ALLvProtected: falsevUnknown unicast blocked: disabledvUnknown multicast blocked: disabledvAppliance trust: none33查看各

41、臺(tái)主機(jī)的連通性查看各臺(tái)主機(jī)的連通性v在配置VLAN之后,回答【問(wèn)題2】:v每臺(tái)主機(jī)相互ping,查看哪些主機(jī)可以連通,哪些不可以?為什么?v注:可以用 ping -n 1 255.255.255.255 發(fā)起一個(gè)受限廣播,參數(shù) -n 1指明只發(fā)送一次,免得默許發(fā)送4次遭到干擾,察看都收到了哪些主機(jī)的回復(fù)?34DTP的配置的配置 v將Switch1的FastEthernet 0/11接口的Trunk配置為desirable方式:vSwitch1(config)#interface FastEthernet 0/11vSwitch1(config-if)#shutdownvSwitch1(conf

42、ig-if)#switchport mode dynamic desirable vSwitch1(config-if)#no shutdown v將Switch2的FastEthernet 0/11接口的Trunk配置為auto方式:vSwitch2(config)#interface FastEthernet 0/11vSwitch2(config-if)#shutdownvSwitch2(config-if)#switchport mode dynamic autovSwitch2(config-if)#no shutdown35實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch1上用 show inte

43、rfaces FastEthernet 0/11 switchport查看端口信息vName: Fa0/11vSwitchport: EnabledvAdministrative Mode: dynamic desirablevOperational Mode: trunkvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: dot1qvNegotiation of Trunking: OnvAccess Mode VLAN: 1 (default)vTrunking Native M

44、ode VLAN: 1 (default)vVoice VLAN: nonevAdministrative private-vlan host-association: nonevAdministrative private-vlan mapping: nonevAdministrative private-vlan trunk native VLAN: nonevAdministrative private-vlan trunk encapsulation: dot1qvAdministrative private-vlan trunk normal VLANs: nonevAdminist

45、rative private-vlan trunk private VLANs: nonevOperational private-vlan: nonevTrunking VLANs Enabled: AllvPruning VLANs Enabled: 2-1001vCapture Mode DisabledvCapture VLANs Allowed: ALLvProtected: falsevUnknown unicast blocked: disabledvUnknown multicast blocked: disabledvAppliance trust: none36實(shí)驗(yàn)結(jié)果實(shí)驗(yàn)結(jié)果v在Switch2上用 show interfaces FastEthernet 0/11 switchport 查看端口信息vName: Fa0/11vSwitchport: EnabledvAdministrative Mode: dynamic autovOperational Mode: trunkvAdministrative Trunking Encapsulation: dot1qvOperational Trunking Encapsulation: dot1qvNegotiation of Trunking: OnvAccess Mode VLAN

溫馨提示

  • 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ù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 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ì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論