OSPF单区域修改cost开销_第1页
OSPF单区域修改cost开销_第2页
OSPF单区域修改cost开销_第3页
OSPF单区域修改cost开销_第4页
OSPF单区域修改cost开销_第5页
全文预览已结束

下载本文档

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

文档简介

1、OSPF单区域,在没有修改链路开销其路由线路是:下面的两台路由器模拟PC:4台路由器的配置模板:DR:conf tint e0/Oip add 10.0.1.1 255.255.255.252no shutint e0/1ip add 10.0.1.5 255.255.255.252no shutexitint e0/2ip add 10.0.1.9 255.255.255.252no shutint loopback 0ip add 172.16.1.100 255.255.255.255 (router ID)no shutexitrouter ospf 10network 10.0.1.

2、0 0.0.0.3 area 0network 10.0.1.4 0.0.0.3 area 0network 10.0.1.8 0.0.0.3 area 0exitexitwriteBDR:备份指定路由器conf tint e0/1ip add 10.0.1.6 255.255.255.252no shutint e0/2ip add 10.0.1.13 255.255.255.252no shutint e0/3ip add 10.0.1.17 255.255.255.252no shutexitint loopback 0ip add 172.16.1.90 255.255.255.255

3、 (router ID)no shutexitrouter ospf 10network 10.0.1.4 0.0.0.3 area 0network 10.0.1.12 0.0.0.3 area 0network 10.0.1.16 0.0.0.3 area 0exitexitwrite第三台:conf tint e0/0ip add 10.0.1.2 255.255.255.252no shutint e0/2ip add 10.0.1.18 255.255.255.252no shutint e0/1ip add 1.1.1.1 255.255.255.252no shutexitint

4、 loopback 0ip add 172.16.1.80 255.255.255.255 (router ID)no shutexitrouter ospf 10network 10.0.1.0 0.0.0.3 area 0network 10.0.1.16 0.0.0.3 area 0network 1.1.1.0 0.0.0.3 area 0pass e0/1 (用户端口排除掉)exitexitwrite第四台路由器:conf tint e0/0ip add 10.0.1.10 255.255.255.252no shutint e0/2ip add 10.0.1.14 255.255.

5、255.252no shutint e0/3ip add 2.2.2.2 255.255.255.252no shutexitint loopback 0ip add 172.16.1.70 255.255.255.255 (router ID ) no shutexitrouter ospf 10network 10.0.1.8 0.0.0.3 area 0network 10.0.1.12 0.0.0.3 area 0network 2.2.2.2 0.0.0.3 area 0pass e0/3exitexitwrite模拟PC2:conf t no ip routingint e0/3i

6、p add 2.2.2.1 255.255.255.252no shut模拟PCI:conf tno ip routingint e0/Oip add 1.1.1.2 255.255.255.252 no shut配置好之后,PC1到PC2走如图所示路线:DR数据链路库的情况:show ip ospf neighboru#l#shQW ip ospf :nl#show ip ospf neighborleighbor IDPriStateDead TimeAddressInterfaceL72.16.1.701FULL/BDR00:00:3410.0.1.10Ether:net0/2L72.1

7、6.1.901FOLL/RDR00:00:3810.0.1.6EthernetO/1L72.16.1.80E口1FULL/BDR00:00:3610.0.1.2Eth已工n已七0/。Show ip ospfl#show ip ospf :nl#show ip ospfRouting Process ospf 10n with ID 172.16.1.100Supports only single TO5 (1050) routesSupports opaque LSASupports Link-local Signaling (LLS)Initial SPF schedule delay 50

8、00 msecsMinimum hold time between two consecutive SPFs 10000 nctsecsMaximum wait time between two consecutive SPFs 10000 msecsXinimurci LSA interval 5 secs Minimum LSA arrival 1 secsLSA group pacing timer 240 secsInterface flood pacing timer 33 msecsRetransmission pacing timer 66 msecsdumber of exte

9、rnal LSA 0.Checksum Sum 0 x000000dumber of opaque AS LSA 0 Checksum Sum 0 x000000dumber of DCbitless external and opaque AS LSA 0dumber of DoNotAge external and opaque AS LSA 0 dumber of areas in this router is 1. 1 normal 0 stub 0 nssaExternal flood list length 0Area BACKBONE(0) Number of interface

10、s in this area is 3Area has :no authenticationSPF algorithra last executed 00:03:19.944 ago SPF algorithra executed 5 times Area ranges areNumberof L5A 9 Checksum Sum OX0420E2Number of opaque link LSA 0. Checksum Sum 0 x000000Number of DCbitless LSA 0Numberof indicatian LSA 0Number of DoNotAgeLSA 0F

11、lood list length 0Show ip routeRl# show ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRPf EX - ElGRP external, 0 - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 El - OSPF external type lf E2 - OSPF external type 2 i 一 IS-ISf

12、 5U 一 IS-IS suimary, LI - IS-IS level-1, L2 一 IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route 一 ODR, P periodic downloaded static routeGateway of lastresort is not set1.0.0.0/301.1.1.02.0.0.0/302.2.2.0is siibnettedf 1 subnets 110/20 via 10.0.1.2, 00:03:45, Ether

13、net0/0 is siibnettedf 1 subnets 110/20 via 10.0.1.10, 00:03:45, Ethernet0/2172.16.0.0/32 is subnetted, 1 subnets172.16.1.100 is directly connected, LoopbackO 10.0.0.0/30 is subnettedf 5 subnets10.0.1.8 is directly coimecred, Ether:net0/210.0.1.12 |110/20 via 10.0.1.10, 00:03:45, EthernetO/2 110/20 via 10.0.1.6, 00:03:45, Ethernet0/l 10.0.1.0 is di

温馨提示

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

最新文档

评论

0/150

提交评论