静态路由的配置实例(绝对全面)_第1页
静态路由的配置实例(绝对全面)_第2页
静态路由的配置实例(绝对全面)_第3页
静态路由的配置实例(绝对全面)_第4页
静态路由的配置实例(绝对全面)_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

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

文档简介

1、静态路由的配置实例(绝对全面)    静态路由的配置实例(绝对全面)文/-溡绱.,配置路由器Router_A各接口的IP地址Router_A>enablePassword:Router_A(config)#linevtu04Router_A(config-line)#loginRouter_A(config-line)#passwordRouter_A(config-line)#exitRouter_A(config)#intf0/0Router_A(config-if)#shutdownRouter_A(config-if)#exitRouter

2、_A(config)#intf0/1Router_A(config-if)#exitRouter_A(config)#ints0/0/0Router_A(config-if)#clock2000000/配置时钟频率Router_A(config-if)#noshutRouter_A(config-if)#*Dec608:33:34.087:%LINK-3-UPDOWN:Inte*ceSerial0/0/0,changedstatetoup*Dec608:33:35.087:%LINEPROTO-5-UPDOWN:LineprotocolonInte*ceSerial0/0/0,changeds

3、tatetoupRouter_A(config-if)#exitRouter_A(config)#exitRouter_A#Router_A#clearip/清空路由表的内容Router_A#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router_A(config)#norouterpip/删除RIP协议动态路由配置%NomatchingroutetodeleteRouter_A(config)#exitRouter_A#Router_A#configtEnterconfigurationcommands,oneper

4、line.EndwithCNTL/Z.Router_A(config)#exitRouter_A#*Dec608:38:47.979:%SYS-5-CONFIG_I:ConfiguredfromconsolebyconsoleRouter_A#showiproute/查看路由表中的内容Codes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFextern

5、altype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotsetRouter_A#copyrunning-configstartup-configDestinationfilenamestartup-config?Buildingconfiguratio

6、n.OK配置路由器Router_B各接口的IP地址Enterconfigurationcommands,oneperline.EndwithCNTL/Z.Router_B(config)#inte*cef0/0Router_B(config-if)#noshutdownRouter_B(config-if)#exitRouter_B(config)#inte*ces0/1/0Router_B(config-if)#noshutdownRouter_B(config-if)#ZRouter_B#clearip/清空路由表的内容Router_B#showrunningRouter_B#config

7、tEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router_B(config)#norouter?bgpBorderGatewayProtocol(BGP)eigrpEnhancedInteriorGatewayRoutingProtocol(EIGRP)isisISOIS-ISiso-igrpIGRPforOSInetworksmobileMobileroutesodrOnDemandstubRoutesospfOpenShortestPathFirst(OSPF)ripRoutingInformationProtocol(RIP)

8、Router_B(config)#norouterrip/删除RIP协议动态路由配置Router_B(config)#norouterospf%Incompletecommand.Router_B#Router_B#configtEnterconfigurationcommands,oneperline.EndwithCNTL/Z.Router_B(config)#exitRouter_B#showiprouteCodes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFintera

9、reaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedstaticrouteGatewayoflastresortisnotsetRouter_B#configtEnterconfigura

10、tioncommands,oneperline.EndwithCNTL/Z.Router_B(config)#exitRouter_B#showiproute/查看路由表中的内容Codes:C-connected,S-static,R-RIP,M-mobile,B-BGPD-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterareaN1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2E1-OSPFexternaltype1,E2-OSPFexternaltype2i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticrouteo-ODR,P-periodicdownloadedst

温馨提示

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

评论

0/150

提交评论