【正文】
……………(顯示所有channelgroup的狀態(tài)摘要)Flags: D down P in portchannel I standalone s suspended H Hotstandby (LACP only) R Layer3 S Layer2 U in use f failed to allocate aggregator u unsuitable for bundling w waiting to be aggregated d default portNumber of channelgroups in use: 2Number of aggregators: 2Group Portchannel Protocol Ports+++1 Po1(SU) PAgP Fa0/1(D) Fa0/2(D) 2 Po2(SU) PAgP Fa0/3(P) Fa0/4(P)S2⑸、用交叉線將交換機(jī)SS2的14號(hào)端口依次連接起來。結(jié)果:PC1對(duì)PCPCPC6ping成功,PC1對(duì)PCPC5ping失敗 PC3對(duì)PCPCPC6ping成功,PC3對(duì)PCPC5ping失敗、基本要求: 上述步驟的操作,在需要用截圖形式表明實(shí)驗(yàn)結(jié)果時(shí),允許用手繪方式在實(shí)訓(xùn)報(bào)告冊(cè)中畫出實(shí)驗(yàn)結(jié)果。Configure mands: banner Define a login banner boot Boot Commands cdp Global CDP configuration submands clock Configure timeofday clock do To run exec mands in config mode enable Modify enable password parameters end Exit from configure mode exit Exit from configure mode hostname Set system39?!毒W(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)定的能力。s network name interface Select an interface to configure ip Global IP configuration submands line Configure a terminal line macaddresstable Configure the MAC address table no Negate a mand or set its defaults service Modify use of network based services spanningtree Spanning Tree Subsystem username Establish User Name Authentication vlan Vlan mands vtp Configure global VTP state⑤、返回上一級(jí)模式:Switch(config)Exit…………………………………………(返回上一級(jí)命令)Switch…………………………………………………………(回到特權(quán)模式)Switch configure terminal……………………………………(全局配置命令)Switch(config)interface fastEthernet 0/7………………………(端口配置命令)Switch(configif)end………………………………………(退回到特權(quán)模式)Switch⑵、查看交換機(jī)版本信息:Switch(config)hostname S1………………………………(交換機(jī)更名為S1)S1(config)Exit………………………………………………(返回上一級(jí)命令)S1show version…………………………………………(查看當(dāng)前版本信息)請(qǐng)?jiān)趯?shí)訓(xùn)報(bào)告中寫出執(zhí)行該命令后的結(jié)果。對(duì)第⑷、⑼步的實(shí)驗(yàn)結(jié)果進(jìn)行分析。等待一定時(shí)間后用PC1對(duì)PC2進(jìn)行連續(xù)ping。MS1show ip routeCodes: C connected, S static, I IGRP, R RIP, M mobile, B BGP D EIGRP, EX EIGRP external, O OSPF, IA OSPF inter area N1 OSPF NSSA external type 1, N2 OSPF NSSA external type 2 E1 OSPF external type 1, E2 OSPF external type 2, E EGP i ISIS, L1 ISIS level1, L2 ISIS level2, ia ISIS inter area * candidate default, U peruser static route, o ODR P periodic downloaded static routeGateway of last resort is not setC , Vlan10C , Vlan基本要求: 試從第⑷步驟解釋三層交換機(jī)工作原理。從T1的超級(jí)終端中進(jìn)入對(duì)MS1的設(shè)置。SwitchenableSwitchconfigure terminal Enter configuration mands, one per line. End with CNTL/Z.Switch(config)hostname S2…………………………………………(對(duì)交換機(jī)進(jìn)行命名)S2(config)interface portchannel 1…………………………………(創(chuàng)建channelgroup1)S2(configif)exitS2(config)interface range fastEthernet 0/12……………………………(群體設(shè)置端口)S2(configifrange)channelgroup 1 mode on(以僅允許以太網(wǎng)通道的方式將端口0/12組拉入channelgroup 1)%LINK5CHANGED: Interface Portchannel 1, changed state to up%LINEPROTO5UPDOWN: Line protocol on Interface Portchannel 1, changed state to upS2(configifrange)exitS2(config)interface portchannel 1……………………(進(jìn)入channelgroup1設(shè)置狀態(tài))S2(configif)switchport mode trunk …………………(將channelgroup1設(shè)置為trunk)S2(configif)%LINEPROTO5UPDOWN: Line protocol on Interface Portchannel 1, changed state to down%LINEPROTO5UPDOWN: Line protocol on Interface Portchannel 1, changed state to upS2(configif)switchport trunk allowed vlan all(將channelgroup1的trunk設(shè)置為允許所有Vlan通過)S2(configif)endS2show etherchannel summary ……………(顯示所有channelgroup的狀態(tài)摘要)Flags: D down P in portchannel I standalone s suspended H Hotstandby (LACP only) R Layer3 S Layer2 U in use f failed to allocate aggregator u unsuitable for bundling w waiting to be aggregated d default portNumber of channelgroups in use: 1Number of aggregators: 1Group Portchannel Protocol Ports+++1 Po1(SU) PAgP Fa0/1(D) Fa0/2(D) S12⑷、以同樣的方式在S2創(chuàng)建并配置channelgroup2,并將端口0/3和0/4拉入。輸入命令:Switchenable …………………………………………………(特權(quán)模式命令)Switchconfigure terminal ……………………………………(全局配置命令)Switch(config) vlan 10 …………………………………(創(chuàng)建vlan,序號(hào)10)Switch(configvlan) 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 fastEnter 0/1………………(進(jìn)入端口0/1配置狀態(tài))Switch(configif) switchport access vlan 10………(將端口0/1拉入VLAN10)Switch(configif) exit……………………………………(返回全局配置模式)Switch(config) interface fastEnter 0/5………………(進(jìn)入端口0/5配置狀態(tài))Switch(configif) switchport access vlan 10………(將端口0/5拉入VLAN10)Switch(configif) exit……………………………………(返回全局配置模式)⑺、將端口0/3拉入VLAN20Switch(config) interface fastEnter 0/3………………(進(jìn)入端口0/3配置狀態(tài))Switch(configif) switchport access vlan 20………(將端口0/3拉入VLAN20)Switch(configif) exit……………………………………(返回全局配置模式)⑻、連接S1和S2的0/24端口,并分別對(duì)S1和S2進(jìn)行相同的端口配置:Switch(config) interface fastEnter 0/24……………(進(jìn)入端口0/24配置狀態(tài))Switch(configif) switchport mode trunk………(將端口0/3拉入VLAN20)Switch(configif) exit……………………………………(返回全局配置模式)⑼、用PC1對(duì)PCPCPCPCPC6進(jìn)行ping命令,用PC3對(duì)PCPCPCPCPC6進(jìn)行ping命令,查看結(jié)果