《網(wǎng)絡(luò)設(shè)備安裝與調(diào)試》實(shí)踐指導(dǎo)書(實(shí)訓(xùn)手冊(cè))_第1頁
《網(wǎng)絡(luò)設(shè)備安裝與調(diào)試》實(shí)踐指導(dǎo)書(實(shí)訓(xùn)手冊(cè))_第2頁
《網(wǎng)絡(luò)設(shè)備安裝與調(diào)試》實(shí)踐指導(dǎo)書(實(shí)訓(xùn)手冊(cè))_第3頁
《網(wǎng)絡(luò)設(shè)備安裝與調(diào)試》實(shí)踐指導(dǎo)書(實(shí)訓(xùn)手冊(cè))_第4頁
《網(wǎng)絡(luò)設(shè)備安裝與調(diào)試》實(shí)踐指導(dǎo)書(實(shí)訓(xùn)手冊(cè))_第5頁
免費(fèi)預(yù)覽已結(jié)束,剩余37頁可下載查看

下載本文檔

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

文檔簡介

1、網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書一、網(wǎng)絡(luò)設(shè)備配置綜合實(shí)訓(xùn)的目的與任務(wù)本實(shí)訓(xùn)是計(jì)算機(jī)網(wǎng)絡(luò)技術(shù) (計(jì)算機(jī)網(wǎng)絡(luò)技術(shù)基礎(chǔ) )課程教學(xué)的實(shí)踐性環(huán)節(jié),其主要任務(wù)是通過讓學(xué)生自己動(dòng)手配置二層交換機(jī)、三層交換機(jī)和路由器等網(wǎng)絡(luò)設(shè)備,培養(yǎng)規(guī)劃、設(shè)計(jì)及組建某個(gè)部門局域網(wǎng)絡(luò),并使局域網(wǎng)的性能達(dá)到最優(yōu),安全穩(wěn)定的能力。同時(shí),為下一步的綜合布線系統(tǒng) 、組網(wǎng)技術(shù)與綜合布線學(xué)習(xí)奠定實(shí)踐基礎(chǔ)。二、“實(shí)踐環(huán)節(jié)名稱”的時(shí)間安排序號(hào)實(shí)踐內(nèi)容時(shí)間教學(xué)工作目標(biāo)、要求安排1交換機(jī)基本配置3 課時(shí)通過對(duì)交換機(jī)基本的配置,更進(jìn)一步的掌握交換機(jī)工作原理。2虛擬局域網(wǎng) VLAN4 課時(shí)掌握交換機(jī)的 VLAN 劃分和跨交換機(jī)

2、的VLAN 配置。3提供交換機(jī)網(wǎng)絡(luò)中的4 課時(shí)驗(yàn)證冗余鏈路、 生成樹協(xié)議的理論概念,配置鏈路冗余鏈路聚合和解決冗余鏈路。4路由器基本配置4 課時(shí)通過對(duì)路由器基本的配置,更進(jìn)一步的掌握路由器工作原理。5三層交換機(jī)配置4 課時(shí)通過對(duì)三層交換機(jī)基本的配置,更進(jìn)一步的掌握三層交換機(jī)工作原理。6路由協(xié)議4 課時(shí)掌握配置靜態(tài)、動(dòng)態(tài)路由的操作。7IP 訪問控制列表及交4 課時(shí)掌握訪問控制列表的原理、看及配置方法, 具備基換機(jī)端口安全本的網(wǎng)絡(luò)安全設(shè)置。三、網(wǎng)絡(luò)設(shè)備配置綜合實(shí)訓(xùn)地點(diǎn)安排配備有 Cisco 二、三層交換機(jī)和路由器的網(wǎng)絡(luò)實(shí)驗(yàn)機(jī)房。在設(shè)備不足的情況下,可以使用Cisco Packet Tracer 5

3、.3 軟件進(jìn)行相關(guān)模擬實(shí)驗(yàn)。四、網(wǎng)絡(luò)設(shè)備配置綜合實(shí)訓(xùn)內(nèi)容具體安排及要求1、項(xiàng)目一:交換機(jī)基本配置第 1 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書1.1、實(shí)習(xí)內(nèi)容:如上圖所示,使用一臺(tái)計(jì)算機(jī) T1 作為終端,用其 RS-232 串口與交換機(jī) Console 口連接,用于配置交換機(jī)的名稱和端口設(shè)置,查看交換機(jī)的版本以及運(yùn)行信息。使用計(jì)算機(jī) PC1、PC2 和 PC3,用直通線連接該計(jì)算機(jī)的 RJ45 端口,與交換機(jī)的 0/1、0/3 和 0/5 端口連接,以驗(yàn)證相關(guān)基本配置。1.2、操作過程:、狀態(tài)切換、幫助和命令自動(dòng)填充在 T1 打開遠(yuǎn)程終端,啟動(dòng)交換機(jī),進(jìn)入交換機(jī)命令行配置狀態(tài),掌握狀態(tài)之間

4、的切換。、用戶模式(初始狀態(tài))進(jìn)入特權(quán)模式:Switch ,(用戶模式)、輸入命令進(jìn)入特權(quán)模式:Switchenable ,(命令)Switch#,(特權(quán)模式)、進(jìn)入全局配置狀態(tài)和命令自動(dòng)填充:Switch#conf,(按Tab 鍵)Switch#configure ter , ( conf 自動(dòng)填充為 configure,輸入 ter,按 Tab 鍵)Switch#configure terminal , (命令自動(dòng)填充完畢,全局配置命令) Enterconfiguration commands, one per line. End with CNTL/Z.Switch(config)# ,

5、(全局配置狀態(tài))、幫助命令:Switch(config)# ? ,(幫助命令,顯示當(dāng)前狀態(tài)下可輸入命令或參數(shù))第 2 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。Configure commands:bannerDefine a login bannerbootBoot CommandscdpGlobal CDP configuration subcommandsclockConfigure time-of-day clockdoTo run exec commands in config modeenableModify enable password p

6、arametersendExit from configure modeexitExit from configure modehostnameSet systems network nameinterfaceSelect an interface to configureipGlobal IP configuration subcommandslineConfigure a terminal linemac-address-tableConfigure the MAC address tablenoNegate a command or set its defaultsserviceModi

7、fy use of network based servicesspanning-treeSpanning Tree SubsystemusernameEstablish User Name AuthenticationvlanVlan commandsvtpConfigure global VTP state、返回上一級(jí)模式:Switch(config)#Exit ,(返回上一級(jí)命令)Switch#,(回到特權(quán)模式)Switch# configure terminal,(全局配置命令)Switch(config)#interface fastEthernet 0/7,(端口配置命令)Swit

8、ch(config-if)#end ,(退回到特權(quán)模式)Switch#、查看交換機(jī)版本信息:Switch(config)#hostname S1,(交換機(jī)更名為S1)S1(config)#Exit,(返回上一級(jí)命令)第 3 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書S1#show version,(查看當(dāng)前版本信息)請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。Cisco Internetwork Operating System SoftwareIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWAR

9、E(fc1)Copyright (c) 1986-2005 by cisco Systems, Inc.Compiled Wed 18-May-05 22:31 by jharirbaImage text-base: 0 x80010000, data-base: 0 x80562000ROM: Bootstrap program is is C2950 boot loaderSwitch uptime is 9 minutes, 30 secondsSystem returned to ROM by power-onCisco WS-C2950-24 (RC32300) processor

10、(revision C0) with 21039K bytes of memory.Processor board ID FHK0610Z0WCLast reset from system-resetRunning Standard Image24 FastEthernet/IEEE 802.3 interface(s)32K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Address: 0050.0F26.3774Motherboard assembly number: 73-578

11、1-09Power supply part number: 34-0965-01Motherboard serial number: FOC061004SZPower supply serial number: DAB0609127DModel revision number: C0Motherboard revision number: A0Model number: WS-C2950-24System serial number: FHK0610Z0WC第 4 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Configuration register is 0 xF、配置端口并查看正在運(yùn)行的配

12、置信息:S1# configure terminal,(全局配置命令)S1(config)#interface fastEthernet 0/7,(端口配置命令)S1(config-if)#speed 10,(修改傳輸速度)S1(config-if)#duplex half ,(修改傳輸模式)%LINK-5-CHANGED: Interface FastEthernet0/7, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state todownS1(

13、config-if)#endS1#show running-config,(查看當(dāng)前運(yùn)行配置信息)請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。Current configuration : 970 bytes!version 12.1no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!interface FastEthernet0/1!interface FastEthernet0/2!interfa

14、ce FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet0/5!interface FastEthernet0/6!interface FastEthernet0/7第 5 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書duplex halfspeed 10!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!

15、interface FastEthernet0/13!interface FastEthernet0/14、查看端口 MAC 表:S1#show mac-address-table請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。Mac Address Table-VlanMacAddressTypePorts-10006.2a77.a818DYNAMICFa0/110040.0b4d.337dDYNAMICFa0/3100d0.5831.21daDYNAMICFa0/5Switch#1.3、基本要求:上述步驟的操作,在需要用截圖形式表明實(shí)驗(yàn)結(jié)果時(shí),允許用手繪方式在實(shí)訓(xùn)報(bào)告冊(cè)中畫出實(shí)驗(yàn)結(jié)果。在第步試驗(yàn)中,

16、 可以發(fā)現(xiàn)必須在交換機(jī)所連接的三臺(tái)計(jì)算機(jī)之間進(jìn)行 ping 命令后才能完整查看到端口 MAC 表,試聯(lián)系交換機(jī)原理解釋。答:每個(gè)表項(xiàng)在建立后開始進(jìn)行倒記時(shí),每次發(fā)送數(shù)據(jù)都要刷新記時(shí)。對(duì)于長期不發(fā)送數(shù)據(jù)主機(jī),其 MAC 地址的表項(xiàng)在生成其結(jié)束時(shí)刪除。所以,三臺(tái)計(jì)算機(jī)之間進(jìn)行ping 命令后才能完整查看到端口 MAC 表第 6 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書2、項(xiàng)目二:虛擬局域網(wǎng)VLAN2.1、實(shí)習(xí)內(nèi)容:如下圖所示,本實(shí)驗(yàn)分為單交換機(jī) VLAN 配置和跨交換機(jī)的 VLAN 配置兩個(gè)部分。在單交換機(jī)配置實(shí)驗(yàn)中,通過劃分 VLAN ,使處于同一 IP 網(wǎng)段設(shè)置的 PC1、PC2 和PC3,

17、相互只能同VLAN 端口的計(jì)算機(jī)之間通信。在跨交換機(jī)的配置實(shí)驗(yàn)中, 通過兩臺(tái)交換機(jī)的 VLAN 設(shè)置和 TRUNK 口設(shè)置,保證不同交換機(jī)但同 VLAN 的計(jì)算機(jī)之間相互通信。掌握跨交換機(jī) VLAN 配置的要點(diǎn)。2.2、操作過程:、配置交換機(jī)S1 的 VLAN :按圖 2-1 連接好計(jì)算機(jī) PC4、 PC5、PC6 和交換機(jī) S2,配置好計(jì)算機(jī) IP 地址,從 T1 打開終端窗口。輸入命令:Switchenable ,(特權(quán)模式命令)第 7 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Switch#configure terminal ,(全局配置命令)Switch(config)# vlan

18、10,(創(chuàng)建Switch(config-vlan)# name test1,(命名Switch(config- vlan)# exit ,(返回全局配置模式)Switch(config)# vlan 20,(創(chuàng)建Switch(config- vlan)# name test2,(命名Switch(config- vlan)# exit ,(返回全局配置模式)、將端口 0/1 和 0/5 拉入 VLAN10Switch(config)# interface fastEnter 0/1,(進(jìn)入端口Switch(config- vlan)# switchport access vlan 10, (將

19、端口0/1 拉入 VLAN10 )Switch(config- vlan)# exit ,(返回全局配置模式)Switch(config)# interface fastEnter 0/5,(進(jìn)入端口Switch(config-if)# switchport access vlan 10, (將端口0/5 拉入 VLAN10 )Switch(config-if)# exit ,(返回全局配置模式)、將端口 0/3 拉入 VLAN20Switch(config)# interface fastEnter 0/3,(進(jìn)入端口Switch(config-if)# switchport access

20、vlan 20, (將端口0/3 拉入 VLAN20 )Switch(config-if)# exit ,(返回全局配置模式)、用 PC1 對(duì) PC2 、PC3 進(jìn)行 ping命令,查看結(jié)果請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。結(jié)果: PC1 對(duì) PC3ping 成功, PC1 對(duì) PC2ping 失敗、配置交換機(jī)S2 的 VLAN :按圖 2-2 補(bǔ)充計(jì)算機(jī) PC4、PC5、PC6 和交換機(jī) S2,配置好計(jì)算機(jī) IP 地址,從 T2 打開終端窗口。輸入命令:Switchenable ,(特權(quán)模式命令)Switch#configure terminal ,(全局配置命令)Switch(conf

21、ig)# vlan 10,(創(chuàng)建vlan,序號(hào) 10)Switch(config-vlan)# name test1,(命名vlan10 為 test1)Switch(config- vlan)# exit ,(返回全局配置模式)Switch(config)# vlan 20,(創(chuàng)建vlan,序號(hào) 20)Switch(config- vlan)# name test2,(命名vlan20 為 test2)Switch(config- vlan)# exit ,(返回全局配置模式)、將端口 0/1 和 0/5 拉入 VLAN10Switch(config)# interface fastEnte

22、r 0/1,(進(jìn)入端口0/1 配置狀態(tài))Switch(config-if)# switchport access vlan 10, (將端口0/1 拉入 VLAN10 )Switch(config-if)# exit ,(返回全局配置模式)第 8 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Switch(config)# interface fastEnter 0/5,(進(jìn)入端口0/5 配置狀態(tài))Switch(config-if)# switchport access vlan 10,(將端口0/5 拉入 VLAN10 )Switch(config-if)# exit ,(返回全局配置模式)、將

23、端口 0/3 拉入 VLAN20Switch(config)# interface fastEnter 0/3,(進(jìn)入端口0/3 配置狀態(tài))Switch(config-if)# switchport access vlan 20,(將端口0/3 拉入 VLAN20 )Switch(config-if)# exit ,(返回全局配置模式)、連接 S1 和 S2 的 0/24 端口,并分別對(duì)S1 和 S2 進(jìn)行相同的端口配置:Switch(config)# interface fastEnter 0/24,(進(jìn)入端口0/24 配置狀態(tài))Switch(config-if)# switchport m

24、ode trunk , (將端口0/3 拉入 VLAN20 )Switch(config-if)# exit ,(返回全局配置模式)、用 PC1 對(duì) PC2 、PC3 、 PC4 、 PC5 、 PC6 進(jìn)行 ping 命令,用 PC3 對(duì) PC1 、PC2 、PC4 、PC5 、PC6 進(jìn)行 ping 命令,查看結(jié)果請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。結(jié)果: PC1 對(duì) PC3、PC4、PC6ping 成功, PC1 對(duì) PC2、PC5ping 失敗PC3 對(duì) PC1、 PC4、PC6ping 成功, PC3 對(duì) PC2、PC5ping 失敗2.3、基本要求:上述步驟的操作,在需要用截圖形

25、式表明實(shí)驗(yàn)結(jié)果時(shí),允許用手繪方式在實(shí)訓(xùn)報(bào)告冊(cè)中畫出實(shí)驗(yàn)結(jié)果。對(duì)第、步的實(shí)驗(yàn)結(jié)果進(jìn)行分析。答:第( 4)步 PC1 和 PC3 在同一 VLAN10 ,所以 ping 成功;而 PC2 在 VLAN20 ,所以 ping 失敗 .第(9)步 PC1 和 PC3、PC4|、PC6 在同一 VLAN10 ,所以 ping 成功;而 PC2 和、PC5在 VLAN20 ,所以 ping 失敗 .3、項(xiàng)目三:提供交換機(jī)網(wǎng)絡(luò)中的冗余鏈路3.1、實(shí)習(xí)內(nèi)容:第 9 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書、手動(dòng)方式:這種方式很簡單,設(shè)置端口成員鏈路兩端的模式為“ on”。命令格式為: channel-gro

26、up mode on。本次試驗(yàn)采用這樣方式。、自動(dòng)方式自動(dòng)方式有兩種協(xié)議: PAgP(Port Aggregation Protocol) 和 LACP(Link aggregationControl Protocol)。PAgP:Cisco 設(shè)備的端口聚合協(xié)議,有 auto 和 desirable 兩種模式。 auto 模式在協(xié)商中只收不發(fā), desirable 模式的端口收發(fā)協(xié)商的數(shù)據(jù)包。LACP :標(biāo)準(zhǔn)的端口聚合協(xié)議802.3ad,有 active 和 passive 兩種模式。active 相當(dāng)于 PAgP的 auto,而 passive 相當(dāng)于 PAgP 的 desirable。、端

27、口聚合的作用:把幾個(gè)端口綁定起到增加帶寬的作用(必須兩端口設(shè)定一樣,且是成對(duì)的綁定),如把兩個(gè) 100Mb 設(shè)定為端口聚合,那么兩個(gè)交換機(jī)交換數(shù)據(jù)就可以達(dá)到200Mb。、重點(diǎn):1.fa 0/1、fa 0/2 與另一部交換機(jī)的 fa 0/1、fa 0/2 組成端口聚合,設(shè)定為 channel-group 1,如果 fa0/1 網(wǎng)絡(luò)斷掉時(shí), fa0/2 這根線是不會(huì)自己動(dòng)連接上去的,這時(shí)端口聚合只是增加帶寬,不會(huì)起到備用線路的作用2.fa 0/1、fa 0/2 與另一部交換機(jī)的fa 0/1、fa 0/2 組成端口聚合,設(shè)定為 channel-group 1,fa0/3、fa 0/4 與另一部交換機(jī)

28、的 fa 0/3、fa 0/4 組成端口聚合,設(shè)定為 channel-group 2,如果channel-group 1 這二根線有斷掉情況時(shí), channel-group 2 會(huì)自己連接上去,即起到增加帶寬,又起到備用線路的作用。3.2、操作過程:、在 S1 創(chuàng)建并配置 channel-group1,并將端口 0/1 和 0/2 拉入。SwitchenableSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.第 10 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Switch(

29、config)#hostname S1,(對(duì)交換機(jī)進(jìn)行命名)S1(config)#interface port-channel 1,(創(chuàng)建 channel-group1)S1(config-if)#exitS1(config)#interface range fastEthernet 0/1-2,(群體設(shè)置端口)S1(config-if-range)#channel-group 1 mode on(以僅允許以太網(wǎng)通道的方式將端口 0/1-2組拉入 channel-group 1)%LINK-5-CHANGED: Interface Port-channel 1, changed state t

30、o up%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state toupS1(config-if-range)#exitS1(config)#interface port-channel 1,(進(jìn)入channel-group1 設(shè)置狀態(tài))S1(config-if)#switchport mode trunk ,(將channel-group1 設(shè)置為 trunk)S1(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-c

31、hannel1, changed state todown%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state toupS1(config-if)#switchport trunk allowed vlan all(將 channel-group1 的 trunk 設(shè)置為允許所有 Vlan 通過)S1(config-if)#endS1#show etherchannel summary,(顯示所有channel-group 的狀態(tài)摘要)Flags:D - downP - in port-chan

32、nelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3S - Layer2U - in usef - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be aggregatedd - default portNumber of channel-groups in use: 1Number of aggregators:1GroupPort-channelProtocolPorts-+-+-+-第 11 頁共 37 頁網(wǎng)

33、絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書1Po1(SU)PAgPFa0/1(D) Fa0/2(D)S1#、以同樣的方式在S1 創(chuàng)建并配置 channel-group2,并將端口0/3 和 0/4 拉入。S1(config)#interface range fastEthernet 0/3-4,(群體設(shè)置端口)S1(config-if-range)#channel-group 2 mode on(以僅允許以太網(wǎng)通道的方式將端口 0/3-4組拉入 channel-group 2)%LINK-5-CHANGED: Interface Port-channel 1, changed state to up%LINE

34、PROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state toupS1(config-if-range)#exitS1(config)#interface port-channel 2,(進(jìn)入channel-group2 設(shè)置狀態(tài))S1(config-if)#switchport mode trunk ,(將channel-group2 設(shè)置為 trunk)S1(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel2,

35、changed state todown%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel2, changed state toupS1(config-if)#switchport trunk allowed vlan all(將 channel-group2 的 trunk 設(shè)置為允許所有 Vlan 通過)S1(config-if)#endS1#show etherchannel summary,(顯示所有channel-group 的狀態(tài)摘要)Flags:D - downP - in port-channelI - st

36、and-alone s - suspendedH - Hot-standby (LACP only)R - Layer3S - Layer2U - in usef - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be aggregatedd - default portNumber of channel-groups in use: 2Number of aggregators:2GroupPort-channelProtocolPorts-+-+-+-第 12 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)

37、踐指導(dǎo)書1Po1(SU)PAgPFa0/1(D) Fa0/2(D)2Po2(SU)PAgPFa0/3(P) Fa0/4(P)S1#、以同樣的方式在S2 創(chuàng)建并配置 channel-group1,并將端口0/1 和 0/2 拉入。SwitchenableSwitch#configure terminalEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname S2,(對(duì)交換機(jī)進(jìn)行命名)S2(config)#interface port-channel 1,(創(chuàng)建 channel-grou

38、p1)S2(config-if)#exitS2(config)#interface range fastEthernet 0/1-2,(群體設(shè)置端口)S2(config-if-range)#channel-group 1 mode on(以僅允許以太網(wǎng)通道的方式將端口 0/1-2組拉入 channel-group 1)%LINK-5-CHANGED: Interface Port-channel 1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state t

39、oupS2(config-if-range)#exitS2(config)#interface port-channel 1,(進(jìn)入channel-group1 設(shè)置狀態(tài))S2(config-if)#switchport mode trunk ,(將channel-group1 設(shè)置為 trunk)S2(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state todown%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-

40、channel1, changed state toupS2(config-if)#switchport trunk allowed vlan all(將 channel-group1 的 trunk 設(shè)置為允許所有 Vlan 通過)S2(config-if)#endS2#show etherchannel summary,(顯示所有channel-group 的狀態(tài)摘要)Flags:D - downP - in port-channelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3S - Layer2U -

41、 in usef - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be aggregatedd - default port第 13 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Number of channel-groups in use: 1Number of aggregators:1GroupPort-channelProtocolPorts-+-+-+-1Po1(SU)PAgPFa0/1(D) Fa0/2(D)S12#、以同樣的方式在S2 創(chuàng)建并配置 channel-group2,并將端口

42、0/3 和 0/4 拉入。S2(config)#interface range fastEthernet 0/3-4,(群體設(shè)置端口)S2(config-if-range)#channel-group 2 mode on(以僅允許以太網(wǎng)通道的方式將端口 0/3-4組拉入 channel-group 2)%LINK-5-CHANGED: Interface Port-channel 1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state toupS2(co

43、nfig-if-range)#exitS2(config)#interface port-channel 2,(進(jìn)入channel-group2 設(shè)置狀態(tài))S2(config-if)#switchport mode trunk ,(將channel-group2 設(shè)置為 trunk)S2(config-if)#%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel2, changed state todown%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel2

44、, changed state toupS2(config-if)#switchport trunk allowed vlan all(將 channel-group2 的 trunk 設(shè)置為允許所有 Vlan 通過)S2(config-if)#endS2#show etherchannel summary,(顯示所有channel-group 的狀態(tài)摘要)Flags:D - downP - in port-channelI - stand-alone s - suspendedH - Hot-standby (LACP only)R - Layer3S - Layer2U - in usef

45、 - failed to allocate aggregatoru - unsuitable for bundlingw - waiting to be aggregatedd - default port第 14 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Number of channel-groups in use: 2Number of aggregators:2GroupPort-channelProtocolPorts-+-+-+-1Po1(SU)PAgPFa0/1(D) Fa0/2(D)2Po2(SU)PAgPFa0/3(P) Fa0/4(P)S2#、用交叉線將交換機(jī)S1、 S2

46、的 1-4 號(hào)端口依次連接起來。等待一定時(shí)間后用PC1 對(duì) PC2 進(jìn)行連續(xù) ping。、同時(shí)去除 S1 、S2 的 0/1 和 0/2 端口的兩根交叉線。觀察 PC1 的 ping 窗口,在六次超時(shí)后又重新建立了連接。重新連接S1、 S2 的 0/1 端口的交叉線。觀察PC1 的 ping 窗口,在六次超時(shí)后重新建立了連接。、去除連接 S1 、S2 的 0/1 端口的交叉線。觀察 PC1 的 ping 窗口,不超時(shí)建立了連接。重新連接S1、 S2 的 0/1 端口的交叉線。觀察 PC1 的 ping 窗口,不超時(shí)建立了連接。3.3、基本要求:上述步驟的操作,在需要用截圖形式表明實(shí)驗(yàn)結(jié)果時(shí),允

47、許用手繪方式在實(shí)訓(xùn)報(bào)告冊(cè)中畫出實(shí)驗(yàn)結(jié)果。4、項(xiàng)目四:路由器基本配置4.1、實(shí)習(xí)內(nèi)容:如下圖所示,連接好相關(guān)設(shè)備,并對(duì)PC1 和 PC2 設(shè)置好 IP 地址及默認(rèn)網(wǎng)關(guān)。第 15 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書4.2、操作過程:、查看路由器版本信息、正在運(yùn)行的配置信息和修改路由器名稱:Route#show version,(查看路由器版本信息)請(qǐng)記錄實(shí)驗(yàn)結(jié)果Cisco IOS Software, 1841 Software (C1841-ADVIPSERVICESK9-M), Version 12.4(15)T1, RELEASESOFTWARE (fc2)Technical Supp

48、ort: http:/ (c) 1986-2007 by Cisco Systems, Inc.Compiled Wed 18-Jul-07 04:52 by pt_teamROM: System Bootstrap, Version 12.3(8r)T8, RELEASE SOFTWARE (fc1)System returned to ROM by power-onSystem image file is flash:c1841-advipservicesk9-mz.124-15.T1.binThis product contains cryptographic features and

49、is subject to UnitedStates and local country laws governing import, export, transfer anduse. Delivery of Cisco cryptographic products does not implythird-party authority to import, export, distribute or use encryption.第 16 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書Importers, exporters, distributors and users are respons

50、ible forcompliance with U.S. and local country laws. By using this product youagree to comply with applicable laws and regulations. If you are unableto comply with U.S. and local laws, return this product immediately.A summary of U.S. laws governing Cisco cryptographic products may be found at:http:

51、/ you require further assistance please contact us by sending email .Cisco 1841 (revision 5.0) with 114688K/16384K bytes of memory.Processor board ID FTX0947Z18EM860 processor: part number 0, mask 492 FastEthernet/IEEE 802.3 interface(s)191K bytes of NVRAM.63488K bytes of ATA CompactFlash (Read/Writ

52、e)Configuration register is 0 x2102Router#Route#show running-config,(查看路由器正在運(yùn)行的配置信息)請(qǐng)記錄實(shí)驗(yàn)結(jié)果Building configuration.Current configuration : 450 bytes!version 12.4no service timestamps log datetime msecno service timestamps debug datetime msec第 17 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書no service password-encryption!hos

53、tname Router!interface FastEthernet0/0no ip addressduplex autospeed autoshutdown!interface FastEthernet0/1no ip addressduplex autospeed autoshutdown!interface Vlan1no ip addressshutdown!ip classless!line con 0line vty 0 4login第 18 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書!EndRoute(config)#hostnameR1,(為路由器更名為R1)R1#、設(shè)置路由

54、器端口 IP 地址:R1(config)#interface fastEthernet 0/0,(進(jìn)入快速以太網(wǎng)端口 0/0 的配置狀態(tài))R1(config-if)#ip address 54 255.255.255.,0 (為該端口配置IP 地址)R1(config-if)#no shutdown,(打開端口)R1(config-if)#exitR1(config)#interface fastEthernet 0/1,(進(jìn)入快速以太網(wǎng)端口 0/1 的配置狀態(tài))R1(config-if)#ip address 54 255.255.255.,0 (

55、為該端口配置IP 地址)R1(config-if)#no shutdown,(打開端口)R1(config-if)#exit、查看路由器路由列表:R1#show ip route,(查看路由列表)請(qǐng)記錄實(shí)驗(yàn)結(jié)果Codes: C - connected, S - static, I - IGRP , R - RIP, M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF , IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external ty

56、pe 2E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area- candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setR1#第 19 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書、驗(yàn)證路由并查看路由

57、列表:使用 PC1 對(duì) PC2 進(jìn)行 ping 命令,查看結(jié)果。R1#show ip route,(查看路由列表)請(qǐng)記錄實(shí)驗(yàn)結(jié)果Codes: C - connected, S - static, I - IGRP , R - RIP, M - mobile, B - BGPD - EIGRP , EX - EIGRP external, O - OSPF , IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 - OSPF

58、external type 2, E - EGPi - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area- candidate default, U - per-user static route, o - ODRP - periodic downloaded static routeGateway of last resort is not setR1#4.3、基本要求:結(jié)合路由器工作原理分析第步驟。5、項(xiàng)目五:三層交換機(jī)配置5.1、實(shí)習(xí)內(nèi)容:如下圖所示連接好各個(gè)設(shè)備, 并設(shè)置好 PC1、PC2、PC3

59、和 PC4 的 IP 地址及默認(rèn)網(wǎng)關(guān)。從 T1 的超級(jí)終端中進(jìn)入對(duì)MS1 的設(shè)置。第 20 頁共 37 頁網(wǎng)絡(luò)設(shè)備安裝與調(diào)試實(shí)踐指導(dǎo)書5.2、操作過程:、查看三層交換機(jī)版本信息、正在運(yùn)行的配置信息和修改三層交換機(jī)名稱:Switch#show version,(查看三層交換機(jī)版本信息)Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(37)SE1, RELEASE SOFTWARE(fc1)Copyright (c) 1986-2007 by Cisco Systems, Inc.Compiled

60、 Thu 05-Jul-07 22:22 by pt_teamImage text-base: 0 x00003000, data-base: 0 x01500000ROM: C3560 Boot Loader (C3560-HBOOT-M) Version 12.2(25r)SEC, RELEASE SOFTWARE (fc4)System returned to ROM by power-onThis product contains cryptographic features and is subject to UnitedStates and local country laws g

溫馨提示

  • 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)論