Cisco路由器靜態(tài)路由配置實(shí)例.doc_第1頁(yè)
Cisco路由器靜態(tài)路由配置實(shí)例.doc_第2頁(yè)
Cisco路由器靜態(tài)路由配置實(shí)例.doc_第3頁(yè)
Cisco路由器靜態(tài)路由配置實(shí)例.doc_第4頁(yè)
Cisco路由器靜態(tài)路由配置實(shí)例.doc_第5頁(yè)
已閱讀5頁(yè),還剩2頁(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)介

Cisco路由器靜態(tài)路由配置實(shí)例 初學(xué)路由器的配置,下面就用Boson NetSim for CCNP 6.1模擬軟件進(jìn)行配置這篇文章主要是對(duì)路由表進(jìn)行靜態(tài)路由配置拓?fù)浣Y(jié)構(gòu)圖如下:下面開(kāi)始:1.對(duì)Router1進(jìn)行配置,配置命令如下:Routerenable 進(jìn)入特權(quán)模式Router#configure terminal 進(jìn)入配置模式Enter configuration commands, one per line. End with CNTL/Z.Router(config)#interface ethernet0 進(jìn)入E0端口模式Router(config-if)#ip address 192.168.1.1 255.255.255.0 配置IP地址Router(config-if)#no shutdown 激活該端口%LINK-3-UPDOWN: Interface Ethernet0, changed state to upRouter(config-if)#exit 返回上一級(jí)Router(config)#interface serial0 進(jìn)入S0 端口模式Router(config-if)#ip address 192.168.2.1 255.255.255.0Router(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up%LINK-3-UPDOWN: Interface Serial0, changed state to down%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to downRouter(config-if)#clock rate 6400 注意這里是設(shè)置時(shí)鐘.如有不明白,可以打”?”.但是系統(tǒng)給的參數(shù)是 64000 .而我們要配置成 6400 .可能是模擬軟件的一個(gè)小BUG 吧!現(xiàn)在是在模擬軟件中,如果是真實(shí)環(huán)境,我們要參照說(shuō)明書(shū).按照說(shuō)明書(shū)來(lái)配置參數(shù).Router(config-if)#exitRouter(config)#ip route 192.168.3.0 255.255.255.0 192.168.2.2 配置路由表Router(config)#end 返回特權(quán)模式Router#show ip route 查看路由表Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static routeGateway of last resort is not setC 192.168.1.0 is directly connected, Ethernet0S 192.168.3.0 1/0 via 192.168.2.2C 192.168.2.0 is directly connected, Serial02. 對(duì)Router2進(jìn)行配置,配置命令如下:Routerenable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z.Router(config)#interface ethernet0Router(config-if)#ip address 192.168.3.1 255.255.255.0Router(config-if)#no shutdown %LINK-3-UPDOWN: Interface Ethernet0, changed state to upRouter(config-if)#exitRouter(config)#interface serial0 Router(config-if)#ip address 192.168.2.2 255.255.255.0 Router(config-if)#no shutdown %LINK-3-UPDOWN: Interface Serial0, changed state to up/在這兒我們就不用設(shè)置時(shí)鐘了,在相連的兩個(gè)路由器接口中,只要一個(gè)接口配置時(shí)鐘就可以了 Router(config-if)#exitRouter(config)#ip route 192.168.1.0 255.255.255.0 192.168.2.1Router(config)#endRouter#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static routeGateway of last resort is not setC 192.168.3.0 is directly connected, Ethernet0C 192.168.2.0 is directly connected, Serial0S 192.168.1.0 1/0 via 192.168.2.13.對(duì)計(jì)算機(jī)的配置.IP地址和子網(wǎng)掩碼還有網(wǎng)關(guān)上面的圖上面的.測(cè)試:PC1 ping PC3C:ping 192.168.3.2Pinging 192.168.3.2 with 32 bytes of data:Reply from 192.168.3.2: bytes=32 time=60ms TTL=241Reply from 192.168.3.2: bytes=32 time=60ms TTL=241Reply from 192.168.3.2: bytes=32 time=60ms TTL=241Reply from 192.168.3.2: bytes=32 time=60ms TTL=241Reply from 192.168.3.2: bytes=32 time=60ms TTL=241Ping statistics for 192.168.3.2: Packets: Se

溫馨提示

  • 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ù)網(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)論