欢迎来到天天文库
浏览记录
ID:37240304
大小:71.00 KB
页数:8页
时间:2019-05-20
《RIP和OSPF重分布》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、R1Router>enRouter#conftRouter(config)#hostR1R1(config)#intf0/1R1(config-if)#ipadd192.168.1.1255.255.255.0R1(config-if)#noshutR1(config-if)#exR1(config)#intf0/0R1(config-if)#ipadd192.168.2.1255.255.255.0R1(config-if)#noshutR1(config-if)#exR1(config)#routerripR1(config-router)#version2R1(config-r
2、outer)#network192.168.2.0R1(config-router)#network192.168.1.0R1(config-router)#exR1(config)#R1(config)#exR1参考配置:R1#showrunBuildingconfiguration...Currentconfiguration:495bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-encryption!hostnameR
3、1!!!!!!!!!!!!!!!!!!interfaceFastEthernet0/0ipaddress192.168.2.1255.255.255.0duplexautospeedauto!interfaceFastEthernet0/1ipaddress192.168.1.1255.255.255.0duplexautospeedauto!routerripversion2network192.168.1.0network192.168.2.0!ipclassless!!!!!!!linecon0linevty04login!!!endR1#R2Router>enRouter#c
4、onftRouter(config)#hostR2R2(config)#intf0/0R2(config-if)#ipadd192.168.2.2255.255.255.0R2(config-if)#exR2(config)#intf0/0R2(config-if)#noshutR2(config-if)#exR2(config)#intf0/1R2(config-if)#R2(config-if)#ipadd192.168.4.2255.255.255.0R2(config-if)#noshutR2(config-if)#exR2(config)#routerripR2(confi
5、g-router)#version2R2(config-router)#network192.168.2.0R2(config-router)#exR2(config)#routerospf1R2(config-router)#network192.168.4.0255.255.255.0area0R2(config-router)#exR2(config)#exR2#路由重分布R2(config)#routerospf1R2(config-router)#redistributeripR2(config-router)#redistributeconnectedR2(config-
6、router)#exR2(config)#routerripR2(config-router)#redistributeospf1R2(config-router)#redistributeconnectedR2(config-router)#exR2参考配置:R2#showrunBuildingconfiguration...Currentconfiguration:642bytes!version12.2noservicetimestampslogdatetimemsecnoservicetimestampsdebugdatetimemsecnoservicepassword-e
7、ncryption!hostnameR2!!!!!!!!!!!!!!!!!!interfaceFastEthernet0/0ipaddress192.168.2.2255.255.255.0duplexautospeedauto!interfaceFastEthernet0/1ipaddress192.168.4.2255.255.255.0duplexautospeedauto!routerospf1log-adjacency-changesredist
此文档下载收益归作者所有