基本配置和静态配置_第1页
基本配置和静态配置_第2页
基本配置和静态配置_第3页
基本配置和静态配置_第4页
基本配置和静态配置_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、实验3路由器配置实验之基本配置和静态配置实验过程及结果:router-a (config-if ) #outer ConO is now availablePress RETURN to get started.Router>e nRouter#c onfig tEn ter con figurati on comma nds, one per line. End with CNTL/Z.Router(co nfig)#e nable secret 1234Router(c on fig)#e nable password 1234Router(c on fig)#li ne con s

2、ole 0Router(c on fig-li ne)#logi nRouter(co nfig-li ne)#password1234% In valid in put detected at 'A' marker.Router(co nfig-li ne)#password 1234设置路由器A:Router ConO is now availablePress RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line. End with CNTL/

3、Z.Router(config)#hostname Router AA(config)#Hostname Router-ARouter-A(config)#int eOre pohrteannstifvieelreformdosf. thDaerseyssttemoofcpraubclik a hard nut, c serdvaarnets to sq'udesuttiyon theconsumptRaiopindfsu,rthewrh.iImpclh daresemtenotibnrgeaak t n "hheonesbtacrarieRouter-A(config-if

4、)#ip address 172.16.10.1 255.255.255.0Router-A(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up %LINK-3-UPDOWN: Interface Ethernet0, changed state to up Router-A(config-if)#int s0Router-A(config-if)#ip address 172.16.20.1 255.255.255.0 Router-A(config-

5、if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial0, changed state to upRouter-A(config-if)#int t0% Invalid input detected at 'A' marker.Router-A(config-if)#int T0% Invalid input detected at 'A' marker.Router-A(con

6、fig-if)#int t0% Invalid input detected at 'A' marker.Router-A(config-if)#int s0Router-A(config-if)#clock rate 64000%Error: This command applies only to DCE interfacesRouter-A(config-if)#int Token Ring 0% Invalid input detected at 'A' marker.Router-A(config-if)#interface ethernet 0% I

7、nvalid input detected at 'A' marker.Router-A(config-if)#Az% Invalid input detected at 'A' marker.Router-A(config-if)#int to0Router-A(config-if)#ip address 172.16.15.1 255.255.255.0 Router-A(config-if)#no shut% TokenRing0: no ring speed has been setRouter-A(config-if)#后保存:Router-A Con

8、0 is now availableBur eau, t hrougPress RETURN to get started.Router-A>enRouter-A#copy run startBuilding configuration.OKRouter-A# 设置路由器 B: Router Con0 is now availablePress RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z. Router(config

9、)#hostname Route-BRoute-B(config)#Hostname Route-BRoute-B(config)#int e0Route-B(config-if)#ip address 172.16.30.1 255.255.255.0 Route-B(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up %LINK-3-UPDOWN: Interface Ethernet0, changed state to upRoute-B(con

10、fig-if)#int s0Route-B(config-if)#ip address 172.16.20.2 255.255.255.0Route-B(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial0, changed state to upRoute-B(config-if)#int s1Route-B(config-if)#ip address 172.16.40.1 255.255

11、.255.0 Route-B(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1, changed state to up %LINK-3-UPDOWN: Interface Serial1, changed state to upRoute-B(config-if)#exit Route-B(config)#exit %SYS-5-CONFIG_I: Configured from console by consolesyostneam cnhdamenge,cghoavneirsmsntoa n

12、csetraenngdtrheenary sessi on, buil ding aRoute-B#copy run start Building configuration.OKRoute-B# 设置路由器 C: Router Con0 is now availablePress RETURN to get started.Router>enRouter#config tEnter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname Router CC(config)#Hostna

13、me Router-CRouter-C(config)#int e0Router-C(config-if)#ip address 172.16.50.1 255.255.255.0Router-C(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0, changed state to up %LINK-3-UPDOWN: Interface Ethernet0, changed state to upRouter-C(config-if)#int s0Router-C(config-if)#ip

14、 address 172.16.40.2 255.255.255.0Router-C(config-if)#no shut%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up %LINK-3-UPDOWN: Interface Serial0, changed state to upRouter-C(config-if)#int to0Router-C(config-if)#ip address 172.16.55.1 255.255.255.0 Router-C(config-if)#no s

15、hut% TokenRing0: no ring speed has been setRouter-C(config-if)#exitRouter-C(config)#exit%SYS-5-CONFIG_I: Configured from console by console Router-C#copy run startBuilding configuration.OKRouter-C# 静态路由:配置静态路由表 A:Router-A ConO is now availablere pohrteannstifvieelreformdosf. thDaerseyssttemoofcpraub

16、clik a hard nut, c serdvaarnets to sq'udesuttiyon theconsumptRaiopindfsu,rthewrh.iImpclh daresemtenotibnrgeaak t n "hheonesbtacrariePress RETURN to get started.Router-A>enRouter-A#copy run startBuilding configuration.OKRouter-A#Router-A#config tEnter configuration commands, one per line.

17、 End with CNTL/Z.Router-A(config)#ip route 172.16.30.0 255.255.255.0 172.16.20.1 Router-A(config)#ip route 172.16.40.0 255.255.255.0.172.16.20.1 % Incomplete command.Router-A(config)#ip route 172.16.40.0 255.255.255.0 172.16.20.1 Router-A(config)#ip route 172.16.50.0 255.255.255.0 172.16.20.1 Router

18、-A(config)#ip route 172.16.55.0 255.255.255.0 172.16.20.1Router-A(config)#AZ%SYS-5-CONFIG_I: Configured from console by consoleRouter-A#copy run startBuilding configuration.OKRouter-A#配置静态路由表 B:Route-B Con0 is now availablePress RETURN to get started.Route-B>enRoute-B#config tEnter configuration

19、commands, one per line. End with CNTL/Z.Route-B(config)#ip route 172.16.10.0 255.255.255.0 172.16.20.2Route-B(config)#ip route 172.16.15.0 255.255.255.0 172.16.20.2Route-B(config)#ip route 172.16.50.0 255.255.255.0 172.16.20.2Route-B(config)#ip route 172.16.55.0 255.255.255.0 172.16.20.2Route-B(conf

20、ig)#AZ%SYS-5-CONFIG_I: Configured from console by consoleBur eau, t hrougRoute-B#copy run start Building configuration.OKRoute-B# 配置静态路由表 C: Router-C Con0 is now availablePress RETURN to get started.Router-C>enRouter-C#config tEnter configuration commands, one per line. End with CNTL/Z.Router-C(c

21、onfig)#ip route 172.16.10.0 255.255.255.0 172.16.40.2Router-C(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.2Router-C(config)#ip route 172.16.15.0 255.255.255.0 172.16.40.2Router-C(config)#ip rpute 172.16.30.0 255.255.255.0 172.16.40.2% Invalid input detected at 'A' marker.Router-C(co

22、nfig)#ip route 172.16.30.0 255.255.255.0 172.16.40.2Router-C(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.2 Router-C(config)#AZ%SYS-5-CONFIG_I: Configured from console by consoleRouter-C#copy run startBuilding configuration.OKRouter-C#syostneam cnhdamenge,cghoavneirsmsntoa ncsetraenngdtrheen

23、ary sessi on, buil ding a检验是否正常工作:A、B在cmd中适用ping语句检查;C在模拟器界面中适用 ping语句检查。SE 言疋豆:C Wi ridewsiystenn J2crnd. extC: Misers Adriinistrator>ping 172 -16.50.116-50-1具W 32日勺数界p龍醤烈比歸r去失=4 <100K圭失人C s Mlsc r® S/ldnxn is七irmltoir'jpirksii 1?2.1G . GG -1172.16.55.11 QZp®起起+4 Kilr-uK.K一?11*4至冃靑清请4 <100 丢失,L72.16 .5S .1 的 Pinu 疑计信息,数据包=己发送- 4,已接收址去失-C: Misers fidninistFatot*>Router-C ConO is now avai

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论