ospf区域RIPEIGRP注入.docx

上传人:b****5 文档编号:7237395 上传时间:2023-01-22 格式:DOCX 页数:19 大小:70.37KB
下载 相关 举报
ospf区域RIPEIGRP注入.docx_第1页
第1页 / 共19页
ospf区域RIPEIGRP注入.docx_第2页
第2页 / 共19页
ospf区域RIPEIGRP注入.docx_第3页
第3页 / 共19页
ospf区域RIPEIGRP注入.docx_第4页
第4页 / 共19页
ospf区域RIPEIGRP注入.docx_第5页
第5页 / 共19页
点击查看更多>>
下载资源
资源描述

ospf区域RIPEIGRP注入.docx

《ospf区域RIPEIGRP注入.docx》由会员分享,可在线阅读,更多相关《ospf区域RIPEIGRP注入.docx(19页珍藏版)》请在冰豆网上搜索。

ospf区域RIPEIGRP注入.docx

ospf区域RIPEIGRP注入

OSPF区域RIPEIGRP注入

2007-01-2000:

58:

49

 标签:

ospfEIGRPRIP   [推送到技术圈]

版权声明:

原创作品,如需转载,请与作者联系。

否则将追究法律责任。

可以在R3上的端口f1/0上加上几句

(config-router)#ipsummary-addresseigrp100192.168.0.0255.255.0.0

减少R4中的路由条目

因为路由器的路由ID为了好看,所以取了A类的1.1.1.1~6.6.6.6导致汇总不好汇总.失败.呵呵.

r1>en

Password:

r1#showrun

Buildingconfiguration...

Currentconfiguration:

871bytes

!

version12.3

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer1  //主机名

!

boot-start-marker

boot-end-marker

!

enablesecret5$1$nFbz$rMMnSa5j4as5.FCiB0BlE0 //加密口令

!

noaaanew-model

ipsubnet-zero   //可使用子网0

!

!

noipdomainlookup    //no掉name-server

!

ipcef

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interfaceLoopback0       //本地回环0           

 ipaddress192.168.50.1255.255.255.255

!

interfaceLoopback1       //本地回环1(虚拟出来测试用的)

 ipaddress192.168.30.1255.255.255.248

!

interfaceFastEthernet0/0

 ipaddress192.168.30.9255.255.255.248

 duplexhalf

interfaceFastEthernet1/0

 noipaddress

 shutdown

 duplexhalf

!

routerospf1        //ospf进程1

 log-adjacency-changes

 area1stub         //stub区域,在ABR设置no-summary,变成totallystub

 network192.168.30.00.0.0.255area1  //宣告

!

ipclassless           //无类路由查询

noiphttpserver

!

!

!

!

!

!

!

!

!

gatekeeper

 shutdown

!

linecon0

 stopbits1

lineaux0

linevty04        //开启telnet

 password123       //telnet密码

 login

!

!

end

r1#showipospfdatabasedatabase-summary

           OSPFRouterwithID(192.168.50.1)(ProcessID1)

Area1databasesummary                  

 LSAType     Count   Delete  Maxage

 Router       2       0       0      

 Network      1       0       0      

 SummaryNet  1       0       0      

 SummaryASBR 0       0       0      

 Type-7Ext   0       0       0      

 OpaqueLink  0       0       0      

 OpaqueArea  0       0       0      

 Subtotal     4       0       0      

Process1databasesummary               

 LSAType     Count   Delete  Maxage

 Router       2       0       0      

 Network      1       0       0      

 SummaryNet  1       0       0      

 SummaryASBR 0       0       0      

 Type-7Ext   0       0       0      

 OpaqueLink  0       0       0      

 OpaqueArea  0       0       0      

 Type-5Ext   0       0       0      

 OpaqueAS    0       0       0      

 Total        4       0       0      

r1#showiproute

Codes:

C-connected,S-static,R-RIP,M-mobile,B-BGP

      D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

      N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

      E1-OSPFexternaltype1,E2-OSPFexternaltype2

      i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2

      ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute

      o-ODR,P-periodicdownloadedstaticroute

Gatewayoflastresortis192.168.30.10tonetwork0.0.0.0

    192.168.30.0/29issubnetted,2subnets

C      192.168.30.0isdirectlyconnected,Loopback1

C      192.168.30.8isdirectlyconnected,FastEthernet0/0

      192.168.50.0/32issubnetted,2subnets

O      192.168.50.2[110/2]via192.168.30.10,00:

22:

37,FastEthernet0/0 

C      192.168.50.1isdirectlyconnected,Loopback0

O*IA0.0.0.0/0[110/2]via192.168.30.10,00:

22:

05,FastEthernet0/0  //3类缺省,优化r1的路由表

r1#192.168.30.10                  //telnet到r2

Trying192.168.30.10...Open

UserAccessVerification

Password:

r2>en

Password:

r2#showrun

Buildingconfiguration...

Currentconfiguration:

875bytes

!

version12.3

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer2      //主机名r2

!

boot-start-marker

boot-end-marker

!

enablesecret5$1$Hfq3$r7mcZQStWzg7BVqq.26pO0  //加密口令

!

noaaanew-model

ipsubnet-zero //使用子网0

!

!

noipdomainlookup //关闭域名解析

!

ipcef

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interfaceLoopback0

 ipaddress192.168.50.2255.255.255.255

!

interfaceFastEthernet0/0

 ipaddress192.168.30.10255.255.255.248

 duplexhalf

!

interfaceFastEthernet1/0

 ipaddress192.168.20.1255.255.255.252

 duplexhalf

!

routerospf1

 log-adjacency-changes

 area1stubno-summary                  //ABR,stub区域所有router必须都配置为stub,在ABR配置no-summary,使区域称为totallystubarea

 network192.168.20.00.0.0.255area0   //宣告

 network192.168.30.00.0.0.255area1   //宣告

 network192.168.50.20.0.0.0area1     //宣告

!

ipclassless     //无类路由查询

noiphttpserver

!

!

!

!

!

!

!

!

!

gatekeeper

 shutdown

!

linecon0

 stopbits1

lineaux0

linevty04    //开启telnet

 password123   //telnet密码

 login

!

!

end

r2#showipospfdatabasedatabase-summary

           OSPFRouterwithID(192.168.50.2)(ProcessID1)

Area0databasesummary

 LSAType     Count   Delete  Maxage

 Router       2       0       0       

 Network      1       0       0      

 SummaryNet  6       0       0      

 SummaryASBR 0       0       0      

 Type-7Ext   0       0       0      

 OpaqueLink  0       0       0      

 OpaqueArea  0       0       0      

 Subtotal     9       0       0      

Area1databasesummary

 LSAType     Count   Delete  Maxage

 Router       2       0       0      

 Network      1       0       0      

 SummaryNet  1       0       0      

 SummaryASBR 0       0       0      

 Type-7Ext   0       0       0      

 OpaqueLink  0       0       0      

 OpaqueArea  0       0       0      

 Subtotal     4       0       0      

Process1databasesummary

 LSAType     Count   Delete  Maxage

 Router       4       0       0      

 Network      2       0       0     

 SummaryNet  7       0       0      

 SummaryASBR 0       0       0      

 Type-7Ext   0       0       0      

 OpaqueLink  0       0       0      

 OpaqueArea  0       0       0      

 Type-5Ext   5       0       0      

 OpaqueAS    0       0       0      

 Total        18      0       0      

r2#showiproute

Codes:

C-connected,S-static,R-RIP,M-mobile,B-BGP

      D-EIGRP,EX-EIGRPexternal,O-OSPF,IA-OSPFinterarea

      N1-OSPFNSSAexternaltype1,N2-OSPFNSSAexternaltype2

      E1-OSPFexternaltype1,E2-OSPFexternaltype2

      i-IS-IS,su-IS-ISsummary,L1-IS-ISlevel-1,L2-IS-ISlevel-2

      ia-IS-ISinterarea,*-candidatedefault,U-per-userstaticroute

      o-ODR,P-periodicdownloadedstaticroute

Gatewayoflastresortisnotset

    192.168.30.0/24isvariablysubnetted,2subnets,2masks

O      192.168.30.1/32[110/2]via192.168.30.9,00:

22:

31,FastEthernet0/0

C      192.168.30.8/29isdirectlyconnected,FastEthernet0/0

    192.168.10.0/27issubnetted,1subnets

OIA   192.168.10.0[110/2]via192.168.20.2,00:

17:

54,FastEthernet1/0

    172.19.0.0/25issubnetted,1subnets

OE2   172.19.35.0[110/10]via192.168.20.2,00:

17:

49,FastEthernet1/0         

    192.168.20.0/30issubnetted,1subnets

C      192.168.20.0isdirectlyconnected,FastEthernet1/0

    10.0.0.0/8isvariablysubnetted,2subnets,2masks

OE2   10.2.2.0/24[110/10]via192.168.20.2,00:

17:

49,FastEthernet1/0         

OE2   10.1.1.0/29[110/10]via192.168.20.2,00:

17:

49,FastEthernet1/0         

    192.168.50.0/24isvariablysubnetted,6subnets,2masks

C      192.168.50.2/32isdirectlyconnected,Loopback0

O      192.168.50.3/32[110/2]via192.168.20.2,00:

22:

32,FastEthernet1/0

OE2   192.168.50.0/24[110/10]via192.168.20.2,00:

02:

00,FastEthernet1/0

O      192.168.50.1/32[110/2]via192.168.30.9,00:

22:

32,FastEthernet0/0

OE2   192.168.50.4/32[110/10]via192.168.20.2,00:

17:

50,FastEthernet1/0     

OIA   192.168.50.5/32[110/3]via192.168.20.2,00:

17:

50,FastEthernet1/0

r2#192.168.20.2                   //telnet到r3

Trying192.168.20.2...Open

UserAccessVerification

Password:

r3>en

Password:

r3#showrun

Buildingconfiguration...

Currentconfiguration:

1143bytes

!

version12.3

servicetimestampsdebugdatetimemsec

servicetimestampslogdatetimemsec

noservicepassword-encryption

!

hostnamer3

!

boot-start-marker

boot-end-marker

!

enablesecret5$1$fLpG$ugh.ML9BEMnh.jlccxY9S1

!

noaaanew-model

ipsubnet-zero

!

!

noipdomainlookup

!

ipcef

!

!

!

!

!

!

!

!

!

!

!

!

!

!

interfaceLoopback0

 ipaddress192.168.50.3255.255.255.255

!

interfaceFastEthernet0/0

 ipaddress192.168.20.2255.255.255.252

 duplexhalf

!

interfaceFastEthernet1/0

 ipaddress10.1.1.5255.255.255.248

 duplexhalf

!

interfaceFastEthernet2/0

 ipaddress192.168.10.1255.255.255.224

 duplexhalf

!

routereigrp100                                   //进程号必须相同

 redistributeospf1metric10000010025551500  //把ospf注入ergip 带宽时延可靠性负载MTU

 network10.0.0.0          //宣告

 auto-summary

!

routerospf1

 log-adjacency-changes

 area2nssano-redistributiondefault-information-originateno-summary  //这里其实no-summary是不用再default-information-originate的,但是变相看出r5的缺

                                                                            省路由变成了3类,7类其实只有再没有no-summary才启效,否则屏蔽在3类下.

 redistributeeigrp100metric10subnets                                //把eigrp注入ospf                         

 network192.168.10.00.0.0.255area2                                   //宣告

 network192.168.20.00.0.0.255area0                                   //宣告

 network19

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > PPT模板 > 动物植物

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1