版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、實(shí)驗(yàn)一 交換機(jī)的基本操作1.實(shí)驗(yàn)?zāi)康模?) 熟悉交換機(jī)CLI 的各種模式(2) 熟悉交換機(jī)CLI 各種編輯命令(3) 掌握交換機(jī)的IOS 基本命令:使能密碼、以太接口配置(4) 查看交換機(jī)的有關(guān)信息(5) 熟悉TFTP 服務(wù)器的使用(6) 熟悉備份交換機(jī)的配置文件(7) 掌握備份交換機(jī)的IOS(8) 熟悉交換機(jī)的遠(yuǎn)程登錄2.實(shí)驗(yàn)設(shè)備 交換機(jī)一臺(tái),電腦一臺(tái),網(wǎng)線若干。3.實(shí)驗(yàn)拓?fù)浣Y(jié)構(gòu)圖1.14.實(shí)驗(yàn)過程4.1超級(jí)終端與交換機(jī)互聯(lián)設(shè)置4.1.1點(diǎn)擊系統(tǒng)的開始程序附件通訊超級(jí)終端,進(jìn)行超級(jí)終端連接,如圖1.2所示。圖 圖 彈出連接說明對(duì)話框時(shí),為新建的連接輸入名稱并為
2、該連接選擇圖標(biāo)。如圖1.4所示。圖根據(jù)配置線所連接的串行口,選擇連接串行口為COM1(依實(shí)際情況選擇PC機(jī)所使用的串口)。如圖1.5所示。圖設(shè)置所選串行口的端口屬性端口屬性的設(shè)置主要包括以下內(nèi)容:波特率“9600”,數(shù)據(jù)位“8”,奇偶校驗(yàn)“無”,停止位“1”,數(shù)據(jù)流控制“無”,如圖1.6所示。圖檢查前面設(shè)定的各項(xiàng)參數(shù)正確無誤后,交換機(jī)就可以加電啟動(dòng),進(jìn)行系統(tǒng)的初始化,進(jìn)入配置模式進(jìn)行操作??梢钥吹饺缦陆缑妫篧elcome !.4.2交換機(jī)的基本操作4.2.1 模式切換Switch>Switch>enSwitch#config tEnt
3、er configuration commands, one per line. End with CNTL/Z.Switch(config)#Switch(config)#interface fa0/1Switch(config-if)#exitSwitch(config)#exit%SYS-5-CONFIG_I: Configured from console by consoleSwitch#disableSwitch>4.2.2ip地址設(shè)置Switch>enSwitch#config tEnter configuration commands, one per line.
4、End with CNTL/Z.Switch(config)#ip default-gateway 53Switch(config)#interface vlan 1Switch(config-if)#ip address 54 Switch(config-if)#no shut%LINK-5-CHANGED: Interface Vlan1, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to
5、upSwitch(config-if)#end4.2.3接入端口設(shè)置Switch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#interface fa0/1Switch(config-if)#switchport mode accessSwitch(config-if)#switchport access vlan 1Switch(config)#interface fa0/2Switch(config-if)#switchport mode accessSwitch(conf
6、ig-if)#switchport access vlan 1Switch(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleSwitch#copy running-config startup-config Destination filename startup-config? Building configuration.OKSwitch#4.2.4 驗(yàn)證交換機(jī)配置Switch#show running-config Building configuration.Current configuration :
7、 1083 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!interface FastEthernet0/1 switchport mode access!interface FastEthernet0/2!interface FastEthernet0/3!interface FastEthernet0/4!interface FastEthernet
8、0/5!interface FastEthernet0/6!interface FastEthernet0/7!interface FastEthernet0/8!interface FastEthernet0/9!interface FastEthernet0/10!interface FastEthernet0/11!interface FastEthernet0/12!interface FastEthernet0/13!interface FastEthernet0/14!interface FastEthernet0/15!interface FastEthernet0/16!int
9、erface FastEthernet0/17!interface FastEthernet0/18!interface FastEthernet0/19!interface FastEthernet0/20!interface FastEthernet0/21!interface FastEthernet0/22!interface FastEthernet0/23!interface FastEthernet0/24!interface GigabitEthernet1/1!interface GigabitEthernet1/2!interface Vlan1 ip address 19
10、54 !ip default-gateway 53!line con 0!line vty 0 4 loginline vty 5 15 login!EndSwitch#show startup-config Using 1048 bytes!version 12.2no service timestamps log datetime msecno service timestamps debug datetime msecno service password-encryption!hostname Switch!interf
11、ace FastEthernet0/1 switchport mode accessSwitch#show ip interface brief Interface IP-Address OK? Method Status Protocol FastEthernet0/1 unassigned YES manual up up FastEthernet0/2 unassigned YES manual up up FastEthernet0/3 unassigned YES manual down down FastEthernet0/4 unassigned YES manual down
12、down FastEthernet0/5 unassigned YES manual down down FastEthernet0/6 unassigned YES manual down downSwitch#show mac-address-table Mac Address Table-Vlan Mac Address Type Ports- - - -Switch#show interfaces fa0/1FastEthernet0/1 is up, line protocol is up (connected) Hardware is Lance, address is 0002.
13、4ad4.0601 (bia 0002.4ad4.0601) BW 100000 Kbit, DLY 1000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive set (10 sec) Full-duplex, 100Mb/s input flow-control is off, output flow-control is off ARP type: ARPA, ARP Timeout 04:00:00 Last input 00:00:0
14、8, output 00:00:05, output hang never Last clearing of "show interface" counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifoSwitch#show flash: Directory of flash:/ 1 -rw- 4414921 <no date> c2960-lanbase-mz.122-25.FX.bin64016384
15、bytes total (59601463 bytes free)Switch#show version Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)Copyright (c) 1986-2005 by Cisco Systems, Inc.Compiled Wed 12-Oct-05 22:05 by pt_teamROM: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEAS
16、E SOFTWARE (fc4)System returned to ROM by power-onCisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.24 FastEthernet/IEEE 802.3 interface(s)2 Gigabit Ethernet/IEEE 802.3 interface(s)63488K bytes of flash-simulated non-volatile configuration memory.Base ethernet MAC Add
17、ress : 000C.8506.4602Motherboard assembly number : 73-9832-06Power supply part number : 341-0097-02Motherboard serial number : FOC103248MJPower supply serial number : DCA102133JAModel revision number : B0Motherboard revision number : C0Model number : WS-C2960-24TTSystem serial number : FOC1033Z1EYTo
18、p Assembly Part Number : 800-26671-02Top Assembly Revision Number : B0Version ID : V02CLEI Code Number : COM3K00BRAHardware Board Revision Number : 0x01Switch Ports Model SW Version SW Image- - - - -* 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-MConfiguration register is 0xFSwitch# show history copy runni
19、ng-config startup-config conf t show running-config show ip interface brief show mac-address-table show interfaces fa0/1 show startup-config show flash: show version show history4.2.5幫助系統(tǒng)Switch#cl?clear clock Switch#clock ? set Set the time and dateSwitch#clock set ? hh:mm:ss Current TimeSwitch#cloc
20、k set 11?hh:mm:ss Switch#clock set 11:12:12% Incomplete command.Switch#clock set 11:12:12 ? <1-31> Day of the month MONTH Month of the yearSwitch#clock set 11:12:12 1 july ? <1993-2035> YearSwitch#clock set 11:12:12 1 july 2012Switch#show clock *11:12:16.735 UTC ? ? 1 20124.2.6雙工與速度Switc
21、h#Switch#config tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#intSwitch(config)#interface fa0/2Switch(config-if)#dupSwitch(config-if)#duplex ? auto Enable AUTO duplex configuration full Force full duplex operation half Force half-duplex operationSwitch(config-if)#duplex
22、 autoSwitch(config-if)#speed ? 10 Force 10 Mbps operation 100 Force 100 Mbps operation auto Enable AUTO speed configurationSwitch(config-if)#speed 1004.2.7配置備份與還原Switch#copy startup-config tftp Address or name of remote host ? Destination filename Switch-confg? Writing startup-config.!OK
23、- 1048 bytes1048 bytes copied in 3.078 secs (0 bytes/sec)Switch#copy tftp: running-config Address or name of remote host ? Source filename ? Switch-confgDestination filename running-config? Accessing t/Switch-confg.Loading Switch-confg from : !OK - 1048 bytes104
24、8 bytes copied in 0.031 secs (33806 bytes/sec)4.2.8操作系統(tǒng)備份與還原Switch#show flash: Directory of flash:/ 1 -rw- 4414921 <no date> c2960-lanbase-mz.122-25.FX.bin64016384 bytes total (59601463 bytes free)Switch#copy flash: tftpSource filename ? c2960-lanbase-mz.122-25.FX.binAddress or name of remote
25、host ? Destination filename c2960-lanbase-mz.122-25.FX.bin? Writing c2960-lanbase-mz.122-25.FX.bin.!OK - 4414921 bytes4414921 bytes copied in 2.703 secs (1633000 bytes/sec)Switch#copy tftp flashAddress or name of remote host ? Source filename ? c2960-lanbase-mz.122-25.FX.binDestination filename c2960-lanbase-mz.122-25.FX.bin? %Warning:There is a file already existing with this nameDo you want to over write? confirmErase flash: before copying? confirmErasing the flash filesystem will remove all files! Continue? confirmErasing device. eeeeeeeeeeeeeeeeeeeeeeeeeee
溫馨提示
- 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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 2024年商品砼購銷合同附智能化生產(chǎn)線升級(jí)改造服務(wù)3篇
- 2024年度個(gè)人短期資金周轉(zhuǎn)貸款保證合同3篇
- 2024年榨菜交易標(biāo)準(zhǔn)合同3篇
- 2024年度豬肉冷藏物流配送協(xié)議3篇
- 2024年度個(gè)人貸款合同樣本18篇
- 2024版企業(yè)內(nèi)訓(xùn)中心電腦購置與安裝服務(wù)協(xié)議3篇
- 2024年物業(yè)公司關(guān)于物業(yè)項(xiàng)目安全管理的合同標(biāo)的、屬性及服務(wù)內(nèi)容協(xié)議
- 2024年度山場(chǎng)租賃合同詳本
- 營業(yè)性房屋租賃合同
- 2024版分布式能源電工勞務(wù)分包施工合同2篇
- 期末綜合卷(含答案) 2024-2025學(xué)年蘇教版數(shù)學(xué)六年級(jí)上冊(cè)
- 2025春夏運(yùn)動(dòng)戶外行業(yè)趨勢(shì)白皮書
- 中醫(yī)筋傷的治療
- 【MOOC】英文技術(shù)寫作-東南大學(xué) 中國大學(xué)慕課MOOC答案
- 護(hù)理產(chǎn)科健康教育
- 《〈論語〉十二章》說課稿 2024-2025學(xué)年統(tǒng)編版高中語文選擇性必修上冊(cè)
- 2024年P(guān)E工程師培訓(xùn)教材:深入淺出講解
- 2024年21起典型火災(zāi)案例及消防安全知識(shí)專題培訓(xùn)(消防月)
- 人教版四年級(jí)上冊(cè)數(shù)學(xué)【選擇題】專項(xiàng)練習(xí)100題附答案
- 從創(chuàng)意到創(chuàng)業(yè)智慧樹知到期末考試答案章節(jié)答案2024年湖南師范大學(xué)
- DL-T 1476-2023 電力安全工器具預(yù)防性試驗(yàn)規(guī)程
評(píng)論
0/150
提交評(píng)論