




已阅读5页,还剩59页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
CCIE学习OSPF配置 配置拓扑图: 配置要求: 1)证明在不同路由器上OSPF的PID不用匹配也可以建立邻接关系。 2)使用network命令来匹配借口,从而在网络内触发邻接路由器发现进程。 3)配置S1的RID为。 4)在骨干LAN上设置合适的优先权值以使得CCIE学习OSPF配置配置拓扑图: 配置要求: 1)证明在不同路由器上OSPF的PID不用匹配也可以建立邻接关系。 2)使用network命令来匹配借口,从而在网络内触发邻接路由器发现进程。 3)配置S1的RID为。 4)在骨干LAN上设置合适的优先权值以使得S1和S2成为DR/BDR。 5)在骨干LAN上配置dead间隔为最小(1秒),它是hello间隔的4倍,所以hello间隔为250毫秒。 6)配置区域3为完全NSSA区域,区域4为完全桩区域,区域5为桩区域。 具体配置: 1)R1的配置: interface FastEthernet0/0 ip address ip ospf dead-interval minimal hello-multiplier 4 ! router ospf 1 area 3 nssa no-summary area 4 stub no-summary area 5 stub network 55 area 0 network 55 area 3 network 55 area 4 network 55 area 5 2)R2的配置: interface FastEthernet0/0 ip address ip ospf dead-interval minimal hello-multiplier 4 ! router ospf 2 area 5 stub network 55 area 0 network area 5 3)R3的配置: router ospf 1 area 3 nssa no-summary network 55 area 3 4)R4的配置: router ospf 1 area 4 stub no-summary network 55 area 4 5)S1的配置: interface Vlan1 ip address ip ospf dead-interval minimal hello-multiplier 4 ip ospf priority 255 ! router ospf 1 router-id network 55 area 0 6)S2的配置: interface Vlan1 ip address ip ospf dead-interval minimal hello-multiplier 4 ip ospf priority 254 ! router ospf 1 network 55 area 0 OSPF的开销以及怎样重启OSPF进程 IOS确定OSPF接口开销的方法: 1)使用neighbor neighbor cost value命令对每台邻接路由器设置开销(对于允许使用neighbor命令的网络类型)。 2)使用ip ospf cost value接口子命令对每个接口设置开销。 3)开销默认为OSPF参考带宽(默认108)/接口带宽(bps)。 4)在OSPF进程下使用ospf auto-cost reference-bandwidth value命令设置OSPF参考带宽。 注意:IOS的接口带宽的单位是kbps,而auto-cost reference-bandwidth命令的单位是Mbps。当两数相除时,所得结果会向下取整,如100/1.544=64。 如果要重启OSPF进程,可以使用clear ip ospf process命令,路由器会要求你确认,输入“y”即表示确认重启。 OSPF网络命令的替代 从Cisco IOS 12.3(11)T开始,OSPF的配置中可以完全省去network命令部分,取而代之的是ip ospf process-id area area-id接口子命令。新命令可在接口上激活OSPF并选择区域。例如,前面例子中的network 55 area 3命令可以用S0/0.1和e0/0接口上的命令ip ospf 1 area 3替换。 如果使用了从IP地址,network和ip ospf area命令会有一些细微的差别。当使用network命令的时候,OSPF只将匹配命令的从IP子网广播为桩网络,而ip ospf area命令则使所配置接口上的所有从子网广播为桩网络(除非配置了secondaries none参数)。区域间和外部路由汇总案例主题关键词:无线网络破解CISCO允许对地址进行汇总,以通过限制区域间通告的路由来达到节省资源的目的。 CISCO路由器支持两种类型的地址汇总:区域间汇总和外部路由汇总。区域间汇总用于在区域间汇总地址,而外部汇总用于收集到某个Cisco CCNP培训域中的一系列外部路由的汇总。 5.jpg (30.79 KB)2009-10-25 20:38路由器A将通过V。35交叉电缆连接到路由器B上。路由器B作为DCE为路由器A提供时钟。B和C通过以太网集线器连接。C通过交叉电缆连接到 D上。C作为DCE为D提供时钟。D和E通过以太网集线器连接BT无线网络破解教程B和C上的第二个以太网接口将不连到任何地方,所以需要禁用其活跃状 态。这里使用以太网接口代替回送接口的原因是,回送接口在区域边界间是作为/32位网络通告的。 RIP运行D和E之间;E将通告所有连接的子网。D将把学习到的RIP路由重分布到OSPF中,这里不使用相互的重分布,因为不需要它来验证汇总。但是, 如果你希望E能够看见OSPF网络,就需要加上它。所有IP地址分配如图。 /router a int e0 ip addr int s0 ip addr 52 router ospf 64 network 55 area 1/指定运行OSPF的接口以及该接口位于的区域 /router b int e1/0 ip addr 29 92 no keepalive int e0/0 ip addr 28 int s0/0 ip addr 52 no ip direct-broadcast no ip mroute-cache no fair-queue clockrate 1000000 router ospf 64 netw 55 area 0 netw 55 area 1 /router c int e1/0 ip addr 93 92 no ip direct-broadcast no keepalive int e0/0思科培训团购 ip addr 28 no ip direct-broadcast int s0/0 ip addr 52 no ip direct-broadcast no ip mroute-cache no fair-queue clockrate 1000000 router ospf 64 netw 55 area 0 netw 55 area 2 /router d int e0 ip addr no ip direct-broadcast int s0 ip addr 52 no ip direct-broadcast ip ospf interface-retry 0 router ospf 64 redistribute rip metric 10 sunets/重分布RIP到OSPF中(对于此实验,仅仅只需要一个方向上的重分布) network 55 area 2 router rip network Cisco 模拟器 /router e int lo0 ip addr no ip direct-broadcast int lo1 ip addr no ip direct-broadcast int lo2 ip addr no ip direct-broadcast int lo3 ip addr router rip netw /监视和测试配置 show ip ro检测一下路由表 O IA152.1。1.128/26110/65 VIA SERIAL 0 O IA592/26 110/94 VIA SERIAL 0 因为所有它些网络都是区域0的一部分。所以区域边界路由器ABR B和C都可以将网络汇总到一个项目152.1。1.0/24中: routerb# router ospf 64思科模拟器 routerb(config-router)# area 0 range routerc# router ospf 64 routerc(config-router)# area range show ip ro O IA /24110/84VIA SERIAL 0 路由器D做为ASBR,将把E学到的RIP重分布到OSPF中。使用SHOW IP RO /24 IS SUBNETTED, 7 SUBNETS O E2130.1。3.0 O E2130.1。2.0 O E2130.1。1.0 O E2130.1。7.0 O E2130.1。6.0 O E2130.1。5.0 O E2130.1。4.0 routerd# router ospf 64 routerd(config-router)# summary-address sh ip ro /21 IS SUBNETTED,1 SUBNETS O E2 Cisco ios 下载 思科论坛 Cisco首先我们还是看一看今天实验的拓扑图吧:帧中继链接详细拓扑图:看一看在PacketTracert中我们是如何配置帧中继服务的吧:接下来看看路由器是如何配置的:路由器R1的配置:R1#sh runBuilding configuration.Current configuration : 908 bytes!version 12.3no service password-encryption!hostname R1!interface FastEthernet0/0ip address 54 duplex autospeed auto!interface FastEthernet0/1no ip addressduplex autospeed autoshutdown!interface Serial0/0/0no ip addressencapsulation frame-relay ietf!interface Serial0/0/0.12 point-to-pointip address frame-relay interface-dlci 102!interface Serial0/0/0.13 point-to-pointip address frame-relay interface-dlci 103!interface Vlan1no ip addressshutdown!router eigrp 100network network network auto-summary!ip classless!ip dhcp excluded-address 00 54!ip dhcp pool 51network default-router 54dns-server 51!line con 0line vty 0 4login!end路由器R2的配置:R2#sh runBuilding configuration.Current configuration : 908 bytes!version 12.3no service password-encryption!hostname R2!interface FastEthernet0/0ip address 54 duplex autospeed auto!interface FastEthernet0/1no ip addressduplex autospeed autoshutdown!interface Serial0/0/0no ip addressencapsulation frame-relay ietf!interface Serial0/0/0.21 point-to-pointip address frame-relay interface-dlci 201!interface Serial0/0/0.23 point-to-pointip address frame-relay interface-dlci 203!interface Vlan1no ip addressshutdown!router eigrp 100network network network auto-summary!ip classless!ip dhcp excluded-address 00 54!ip dhcp pool 51network default-router 54dns-server 51!line con 0line vty 0 4login!end路由器R3的配置:R3#sh runBuilding configuration.Current configuration : 908 bytes!version 12.3no service password-encryption!hostname R3!interface FastEthernet0/0ip address 54 duplex autospeed auto!interface FastEthernet0/1no ip addressduplex autospeed autoshutdown!interface Serial0/0/0no ip addressencapsulation frame-relay ietf!interface Serial0/0/0.31 point-to-pointip address frame-relay interface-dlci 301!interface Serial0/0/0.32 point-to-pointip address frame-relay interface-dlci 302!interface Vlan1no ip addressshutdown!router eigrp 100network network network auto-summary!ip classless!ip dhcp excluded-address 00 54!ip dhcp pool 51network default-router 54dns-server 51!line con 0line vty 0 4login!end路由器的配置就算是完成了。在前面几篇文章中我介绍了PacketTracert中服务器的设置,再此不再赘述,在该实验中DNS服务器IP为:51;WEB服务器的IP地址为:53(/url)。下面看看路由表吧:R1:R1#SH IP ROUTECodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 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, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, Serial0/0/0.13C /24 is directly connected, Serial0/0/0.12D /24 90/2681856 via , 01:01:01, Serial0/0/0.12 90/2681856 via , 01:00:36, Serial0/0/0.13C /24 is directly connected, FastEthernet0/0D /24 90/2172416 via , 01:00:36, Serial0/0/0.13D /24 90/2172416 via , 01:00:58, Serial0/0/0.12R2:R2#SH IP ROUTECodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 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, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setD /24 90/2681856 via , 01:01:37, Serial0/0/0.21 90/2681856 via , 01:01:15, Serial0/0/0.23C /24 is directly connected, Serial0/0/0.21C /24 is directly connected, Serial0/0/0.23D /24 90/2172416 via , 01:01:37, Serial0/0/0.21D /24 90/2172416 via , 01:01:17, Serial0/0/0.23C /24 is directly connected, FastEthernet0/0R3:R3#R3#SH IP ROUTECodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 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, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static routeGateway of last resort is not setC /24 is directly connected, Serial0/0/0.31D /24 90/2681856 via , 01:02:15, Serial0/0/0.32 90/2681856 via , 01:02:08, Serial0/0/0.31C /24 is directly connected, Serial0/0/0.32D /24 90/2172416 via , 01:02:08, Serial0/0/0.31C /24 is directly connected, FastEthernet0/0D /24 90/2172416 via , 01:02:15, Serial0/0/0.32通过对路由表的观察我们知道网络已经联通了最后我们就在这个模拟器中小小应用一把吧:用PC0访问/url(53)。实验:OSPF高级配置(三)绝对末节区域 2009-06-26 02:08:38本篇只介绍绝对末节区域的配置,及实验结果显示。如需查看之前配置,可参看本专题前两篇文章(一)、(二)。 拓扑图: 将区域1配置为绝对末节区域,要R2、R3、R4均设置为末节路由器,并且R2不能转发汇总信息到区域1内(只通告给R3、R4默认路由)。 路由器配置: R2: R2(config)#router ospf 1R2(config-router)#area 1 stub no-summary R3: R3(config)#router ospf 1R3(config-router)#area 1 stub R4: R4(config)#router ospf 1R4(config-router)#area 1 stub 查看末节区域内的路由表: R3#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is to network C /24 is directly connected, FastEthernet1/0C /24 is directly connected, FastEthernet0/0O*IA /0 110/2 via , 00:06:56, FastEthernet0/0 R4#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is to network C /24 is directly connected, FastEthernet0/0O /24 110/2 via , 00:07:13, FastEthernet0/0O*IA /0 110/3 via , 00:07:13, FastEthernet0/0 /img.类别:路由|阅读(232)|回复(1)|赞(0)阅读全文 原创 实验:OSPF高级配置(二)路由汇总 2009-06-26 01:53:00接上篇实验:OSPF高级配置(一)连通性目标实现本片主要介绍OSPF地址汇总在ABR(R2)和ASBR(R5)上实现路由汇总:路由器关键配置:R2:R2(config)#router ospf 1R2(config-router)#area 1 range 55 advertise R5:R5(config)#router ospf 1R5(config-router)#summary-address 查看路由汇总会的路由表:R1:R1#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set C /24 is directly connected, FastEthernet0/0C /24 is directly connected, FastEthernet1/0O E2 /20 110/20 via , 00:02:15, FastEthernet1/0O IA /20 110/2 via , 00:03:40, FastEthernet0/0 R2:R2#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set O /24 110/2 via , 00:04:11, FastEthernet1/0C /24 is directly connected, FastEthernet0/0C /24 is directly connected, FastEthernet1/0O /24 110/2 via , 00:04:11, FastEthernet0/0O E2 /20 110/20 via , 00:02:46, FastEthernet0/0O /20 is a summary, 00:04:11, Null0 R4:R4#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set C /24 is directly connected, FastEthernet0/0O IA /24 110/3 via , 00:38:40, FastEthernet0/0O /24 110/2 via , 00:38:40, FastEthernet0/0O IA /24 110/4 via , 00:38:40, FastEthernet0/0O E2 /20 110/20 via , 00:03:42, FastEthernet0/0 R5:R5#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set O /24 110/2 via , 00:36:21, FastEthernet0/0C /24 is directly connected, FastEthernet1/0C /24 is directly connected, FastEthernet0/0R /24 120/1 via , 00:00:03, FastEthernet1/0O /20 is a summary, 00:04:01, Null0O IA /20 110/3 via , 00:05:26, FastEthernet0/0 R6#sh ip route Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025年其他航空运输辅助活动新员工岗位专业知识笔试题目及答案
- 高速地基强夯施工合同(3篇)
- 外来务工人员就业困境-洞察及研究
- n2护士考试试题及答案多选
- 个人信用贷款连带责任保证协议
- 高端定制印刷包装项目居间代理合同
- 橱柜企业加盟合作协议
- 互联网金融担保人更替及信用保障协议
- 食品加工企业生产人员劳动合同
- 2025公务员应变面试题及答案
- 九一八警钟长鸣强国有我+课件-2025-2026学年高一上学期爱国主义主题班会教育+-
- 山东省汽车维修工时定额(T-SDAMTIA 0001-2023)
- 体育原理课件
- 超分子化学-杯芳烃课件
- 2022年医院消防安全知识培训课件
- (完整word)毛坯余量与精度
- 商务英语综合教程第一册ppt课件(完整版)
- DB23∕T 1019-2020 黑龙江省建筑工程资料管理标准
- 无尘车间异物管理及人员教育培训课件
- fy13及on动手实验中文版factorytalk historian基础mi
- 电弧跟踪介绍
评论
0/150
提交评论