

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、CISCO培訓(xùn)文檔 (交換機(jī)的基本配置),湖南聯(lián)信科技有限公司,拓?fù)鋱D,實(shí)驗(yàn)要求,,,一、最基本要求分別重命名兩臺(tái)交換機(jī)為:sw1和sw2關(guān)閉域名查找(解釋)設(shè)置輸入同步設(shè)置執(zhí)行會(huì)話時(shí)間為20分30秒,二、設(shè)置路由器的時(shí)區(qū)、日期和時(shí)鐘,實(shí)驗(yàn)要求,,,三、設(shè)置交換機(jī)的接口:把fa1/7接口設(shè)置為:速率10M;半雙工模式;access模式把fa1/8接口設(shè)置為:速率100M;全雙工模
2、式;access模式;portfast把fa1/1和fa1/2接口設(shè)置為:速率100M;全雙工模式;trunk模式;trunk封裝dot1q,四、配置靜態(tài)MAC地址:在sw1上把MAC地址:0010.65c9.2568與0012.2b30.1234分別以靜態(tài)方式分配給接口fa1/9和fa1/10在sw2上把MAC地址:1111.1111.1111與2222.2222.2222分別以靜態(tài)方式分配給接口fa1/9和fa1/10,實(shí)驗(yàn)要
3、求,,,五、設(shè)置交換機(jī)管理vlan IP地址和默認(rèn)網(wǎng)關(guān),七、設(shè)置密碼設(shè)置訪問(wèn)配置交換機(jī)的端口(Console和VTY)密碼使用service password-encryption命令把明文密碼隱藏起來(lái)使用MD5算法對(duì)特權(quán)模式進(jìn)行加密設(shè)置實(shí)現(xiàn)對(duì)同一網(wǎng)段的交換機(jī)進(jìn)行telnet訪問(wèn)設(shè)置,六、設(shè)置交換機(jī)的描述信息設(shè)置登陸描述信息設(shè)置fa1/1和fa1/2接口的描述信息,實(shí)驗(yàn)要求,,,八、創(chuàng)建靜態(tài)hostname表,然后使用該表對(duì)
4、直連的交換機(jī)進(jìn)行telnet訪問(wèn)設(shè)置,實(shí)驗(yàn)步驟,一、基本要求SW1:Router>show versionRouter>enableRouter#configure terminalRouter(config)#hostname sw1sw1(config)#no ip domain-lookupsw1(config)#line console 0sw1(config-line)#logging synch
5、ronous sw1(config-line)#exec-timeout 20 30sw1(config-line)#end,SW2:Router>show versionRouter>enRouter#conf tRouter(config)#ho sw2sw2(config)#no ip domain-loosw2(config)#line con 0sw2(config-line)#logg ssw
6、2(config-line)#exec-ti 20 30sw2(config-line)#end,實(shí)驗(yàn)步驟,二、設(shè)置路由器的時(shí)區(qū)、日期和時(shí)鐘SW1:sw1#show clock*00:05:58.767 UTC Fri Mar 1 2002sw1#conf tsw1(config)#clock timezone Beijing +8sw1(config)#exitsw1#clock set 8:22:50 oct 22
7、 2008sw1#show clock08:22:53.815 Beijing Wed Oct 22 2008SW2設(shè)置同上,實(shí)驗(yàn)步驟,三、設(shè)置交換機(jī)的接口SW1:Sw1#show interfaces status //查看交換機(jī)所有接口默認(rèn)狀態(tài)信息sw1#conf tsw1(config)#int fa1/7 //進(jìn)入fa1/7接
8、口sw1(config-if)#speed 10 //設(shè)置速度為10M;speed ?可查看可選參數(shù)sw1(config-if)#duplex half //設(shè)置為半雙工模式;duplex ?可查看可選參數(shù) sw1(config-if)#switchport mode access //設(shè)置為訪問(wèn)模式;switchport mode ?查看
9、參數(shù)sw1(config-if)#no shutdownsw1(config-if)#exit,實(shí)驗(yàn)步驟,sw1(config)#int fa1/8 //進(jìn)入fa1/8sw1(config-if)#speed 100 //設(shè)置速度為100Msw1(config-if)#duplex full //設(shè)置
10、為全雙工模式sw1(config-if)#switchport mode access //設(shè)置為訪問(wèn)模式sw1(config-if)#spanning-tree portfast //設(shè)置接口為portfast模式(前提端口為訪問(wèn)模式)sw1(config-if)#no shsw1(config-if)#exitsw1(config)#int range fa1/1 , fa1/2
11、 //同時(shí)配置fa1/1和fa1/2接口sw1(config-if-range)#speed 100sw1(config-if-range)#duplex fullsw1(config-if-range)#switchport mode trunk //封裝trunk模式sw1(config-if-range)#switchport trunk encapsulation dot1
12、q //trunk封裝dot1qsw1(config-if-range)#no shsw1(config-if-range)#end,實(shí)驗(yàn)步驟,檢查命令(每配置完一個(gè)接口檢查一次):sw1#show running-config interface fa1/7 //查看接口當(dāng)前運(yùn)行的配置sw1#show interfaces fa1/7 //查看
13、接口的完整信息sw1#show interfaces statussw1#show interfaces fa1/1 switchport sw1#show interfaces trunksw1#show vlan brief //實(shí)驗(yàn)時(shí)未能使用改命令sw1#show ip interface brief
14、 //查看所有接口狀態(tài)的概要信息 SW2的配置同上,實(shí)驗(yàn)步驟,四、配置靜態(tài)MAC地址SW1:sw1#conf tsw1(config)#mac-address-table static 0010.65c9.2568 interface fa1/9 vlan 1sw1(config)#mac-address-table static 0012.2b30.1234 interface fa
15、1/10 vlan 1sw1(config)#interface range fa1/9 , fa1/10sw1(config-if-range)#no shsw1(config-if-range)#endsw1#show mac-address-table //查看MAC地址表中所有MAC地址sw1#show mac-address-table static
16、//查看靜態(tài)MAC地址表sw1#show mac-address-table dynamic //查看動(dòng)態(tài)MAC地址表sw1#show mac-address-table interface fa1/1 //查看指定接口的MAC地址,實(shí)驗(yàn)步驟,SW2:sw2#conf tsw2(config)#mac-address-table static 1111.1111.1111 int fa1/9
17、 vlan 1sw2(config)#mac-address-table static 2222.2222.2222 int fa1/10 vlan 1sw2(config)#int ran fa1/9 , fa1/10sw2(config-if-range)#no shsw2(config-if-range)#end,實(shí)驗(yàn)步驟,五、設(shè)置交換機(jī)管理vlan IP和默認(rèn)網(wǎng)關(guān)SW1:sw1#conf tsw1(config)
18、#interface vlan 1sw1(config-if)#ip add 10.1.1.1 255.255.255.0sw1(config-if)#no shsw1(config-if)#ip default-gateway 10.1.1.254sw1(config)#endsw1#show int vlan 1sw1#show ip int vlan 1sw1#show ip default-gateway,實(shí)驗(yàn)步驟
19、,SW2:sw2#conf tsw2(config)#int vlan 1sw2(config-if)#ip add 10.1.1.2 255.255.255.0sw2(config-if)#no shsw2(config-if)#exitsw2(config)#ip default-ga 10.1.1.254sw2(config)#endsw2#ping 10.1.1.1,實(shí)驗(yàn)步驟,六、設(shè)置交換機(jī)的描述信息SW1:
20、sw1(config)#banner motd # Enter TEXT message. End with the character 'm'. //輸入完文本后以m結(jié)束,有的以#結(jié)束This is CCNA club sw1 m //文本內(nèi)容sw1(config)#int range fa1/1 , fa1/2sw1(config-if-ran
21、ge)#desc link to office switchsw1(config-if-range)#no shsw1(config-if-range)#end SW2配置同上,實(shí)驗(yàn)步驟,七、設(shè)置密碼sw1#conf tsw1(config)#line con 0sw1(config-line)#pass ciscosw1(config-line)#loginsw1(config-line)#exitsw
22、1(config)#line vty ? //查看vty接口數(shù) First Line numbersw1(config)#line vty 0 871sw1(config-line)#pass ciscosw1(config-line)#loginsw1(config-line)#exitsw1(config)#service password-encryptionsw1(config)#enable s
23、ecret ciscosw1(config)#endSW2配置同上,實(shí)驗(yàn)步驟,測(cè)試:sw2#telnet 10.1.1.1 //從r2 telnet r1Trying 10.1.1.1 ... OpenUser Access VerificationPassword: sw1>enPassword: sw1#,實(shí)驗(yàn)步驟,八、創(chuàng)建靜態(tài)hostname表,然后用
24、該表對(duì)直連的交換機(jī)進(jìn)行telnet訪問(wèn)設(shè)置SW1:sw1#conf tsw1(config)#ip host sw2 10.1.1.2 //鄰居的hostname和IP地址sw1(config)#end SW2:sw1#conf tsw1(config)#ip host sw1 10.1.1.1sw1(config)#end,實(shí)驗(yàn)步驟,sw2#telnet sw1Trying
溫馨提示
- 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ù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 眾賞文庫(kù)僅提供信息存儲(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ì)自己和他人造成任何形式的傷害或損失。
最新文檔
- cisco交換機(jī)配置培訓(xùn)
- cisco_交換機(jī)2960配置
- cisco2950交換機(jī)簡(jiǎn)要配置手冊(cè)
- 交換機(jī)及其基本配置
- pks系統(tǒng)cisco交換機(jī)的安裝與配置
- cisco交換機(jī)堆疊原理
- 交換機(jī)配置
- cisco mds fc光纖交換機(jī)配置參考資料
- cisco思科交換機(jī)3650g配置命令大全
- 交換機(jī)配置命令
- 交換機(jī)配置新型
- 華為交換機(jī)配置
- 交換機(jī)配置手冊(cè)
- cisco交換機(jī)產(chǎn)品定位(vase應(yīng)用)
- 交換機(jī)vlan的配置
- 交換機(jī)與路由器的基本配置
- 交換機(jī)基本操作
- 思科交換機(jī)配置命令
- 4、交換機(jī)配置練習(xí)
- 主流交換機(jī)鏡像配置
評(píng)論
0/150
提交評(píng)論