ImageVerifierCode 换一换
格式:DOCX , 页数:17 ,大小:21.74KB ,
资源ID:5626554      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/5626554.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(ospf配置笔记.docx)为本站会员(b****6)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

ospf配置笔记.docx

1、ospf配置笔记NBMA环境R3配置Enter configuration commands, one per line. End with CNTL/Z.r3(config)#router ospf 1*Mar 1 00:19:59.083: %OSPF-5-ADJCHG: Process 100, Nbr 8.8.8.6 on Serial1/1 from LOADING to FULL, Loading Doner3(config-router)#netr3(config-router)#network 8.8.8.3 0.0.0.0 arer3(config-router)#netwo

2、rk 8.8.8.3 0.0.0.0 area 0r3(config-router)#Zr3#*Mar 1 00:20:33.067: %SYS-5-CONFIG_I: Configured from console by consoler3#r3#r3#r3#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface8.8.8.5 1 FULL/DROTHER 00:01:51 4.4.4.2 Serial1/18.8.8.6 1 FULL/DR 00:01:46 4.4.4.3 Serial1/1r3#sh runBuil

3、ding configuration.hostname r3 interface Loopback0 ip address 8.8.8.3 255.255.255.255 interface Serial1/1 ip address 4.4.4.1 255.255.255.0 encapsulation frame-relay serial restart-delay 0 router ospf 100 log-adjacency-changes network 4.4.4.1 0.0.0.0 area 1 neighbor 4.4.4.2 priority 1 neighbor 4.4.4.

4、3 priority 1! router ospf 1 log-adjacency-changes network 8.8.8.3 0.0.0.0 area 0! R5配置Router#sh runBuilding configuration.hostname Routerinterface Loopback0 ip address 8.8.8.5 255.255.255.255! interface Serial1/1 ip address 4.4.4.2 255.255.255.0 encapsulation frame-relay serial restart-delay 0! rout

5、er ospf 100 log-adjacency-changes network 4.4.4.2 0.0.0.0 area 1 network 8.8.8.5 0.0.0.0 area 1! r6配置Router#sh runBuilding configuration.hostname Router interface Loopback0 ip address 8.8.8.6 255.255.255.255interface Serial1/1 ip address 4.4.4.3 255.255.255.0 encapsulation frame-relay serial restart

6、-delay 0router ospf 100 log-adjacency-changes network 4.4.4.3 0.0.0.0 area 1 network 8.8.8.6 0.0.0.0 area 1配置OSPF网络类型非广播r3#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface8.8.8.5 1 FULL/DROTHER 00:01:52 4.4.4.2 Serial1/18.8.8.6 1 FULL/DR 00:01:44 4.4.4.3 Serial1/1可能是r3比较早开启,所以作为DR。R5和

7、r6配上frame-relay map ip 4.4.4.3 100 broadcast和frame-relay map ip 4.4.4.3 200 broadcast后才能ping通在一个自治area中,没有area0依然能通信。竞选DR:让r5和r6的优先级为0,丧失竞选:r5(config)#int s1/1r5(config-if)#ip ospf pr5(config-if)#ip ospf priority 0r6(config)#int s 1/1r6(config-if)#ip ospf pr6(config-if)#ip ospf priority 0在三台路由器上运行cl

8、ear ip ospf processr3#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface8.8.8.5 0 2WAY/DROTHER 00:01:13 4.4.4.2 Serial1/18.8.8.6 0 2WAY/DROTHER 00:01:38 4.4.4.3 Serial1/1配置OSPF网络类型点到多点r3(config)#int s1/1r3(config-if)#ip ospf network point-to-multipointr5(config)#int s 1/1r5(config-if)#i

9、p ospf network point-to-multipointr5(config-if)#no ip ospf priority 0r6(config)#int s 1/1r6(config-if)#ip ospf network point-to-multipointr6(config-if)#no ip ospf priority 0r3#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface8.8.8.6 1 FULL/ - 00:01:31 4.4.4.3 Serial1/18.8.8.5 1 FULL/ -

10、 00:01:43 4.4.4.2 Serial1/1r5#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface8.8.8.3 0 FULL/ - 00:01:40 4.4.4.1 Serial1/1r6#sh ip ospf neiNeighbor ID Pri State Dead Time Address Interface8.8.8.3 0 FULL/ - 00:01:44 4.4.4.1 Serial1/1r6#ping 8.8.8.5Type escape sequence to abort.Sending

11、5, 100-byte ICMP Echos to 8.8.8.5, timeout is 2 seconds:!为什么8.8.8.3优先级为0?配置汇总(使用设备:r5,r6,r3,r4,switch)Router(config)#hostname r4r4(config)#int s 1/0r4(config-if)#ip addr4(config-if)#ip address 3.3.3.2 255.255.255.0r4(config-if)#no shutr4(config)#int loopback 0r4(config-if)#ip addr4(config-if)#ip add

12、ress 8.8.8.4 255.255.255.255r4(config-if)#exitr4(config)#ospfr4(config)#router ospf 100r4(config-router)#netr4(config-router)#network 3.3.3.2 0.0.0.0 arer4(config-router)#network 3.3.3.2 0.0.0.0 area 0r4(config-router)#netr4(config-router)#network 8.8.8.4 0.0.0.0 area 0r3(config)#int s 1/0r3(config-

13、if)#ip addr3(config-if)#ip address 3.3.3.1 255.255.255.0r3(config-if)#no shutr3(config-router)#network 3.3.3.1 0.0.0.0 area 0r3#sh ip routeCodes: 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

14、- 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 routeGateway of last resort is not se

15、t 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Serial1/0 4.0.0.0/8 is variably subnetted, 3 subnets, 2 masksC 4.4.4.0/24 is directly connected, Serial1/1O 4.4.4.2/32 110/64 via 4.4.4.2, 00:16:24, Serial1/1O 4.4.4.3/32 110/64 via 4.4.4.3, 00:16:24, Serial1/1 8.0.0.0/32 is subnet

16、ted, 4 subnetsC 8.8.8.3 is directly connected, Loopback0O 8.8.8.4 110/65 via 3.3.3.2, 00:05:16, Serial1/0O 8.8.8.5 110/65 via 4.4.4.2, 00:16:24, Serial1/1O 8.8.8.6 110/65 via 4.4.4.3, 00:16:24, Serial1/1r4#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGR

17、P 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

18、 o - ODR, P - periodic downloaded static routeGateway of last resort is not set 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Serial1/0 4.0.0.0/32 is subnetted, 3 subnetsO IA 4.4.4.1 110/64 via 3.3.3.1, 00:01:00, Serial1/0O IA 4.4.4.2 110/128 via 3.3.3.1, 00:01:00, Serial1/0O IA

19、 4.4.4.3 110/128 via 3.3.3.1, 00:01:00, Serial1/0 8.0.0.0/32 is subnetted, 4 subnetsO 8.8.8.3 110/65 via 3.3.3.1, 00:01:00, Serial1/0C 8.8.8.4 is directly connected, Loopback0O IA 8.8.8.5 110/129 via 3.3.3.1, 00:01:00, Serial1/0O IA 8.8.8.6 110/129 via 3.3.3.1, 00:01:00, Serial1/0r5#sh ip route Code

20、s: 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

21、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 set 3.0.0.0/24 is subnetted, 1 subnetsO IA 3.3.3.0 110/128 via 4.4.4.1, 00:00:15, Serial1/1 4.0.0.0/8 is variably subnetted, 3 subnets, 2 masksC

22、4.4.4.0/24 is directly connected, Serial1/1O 4.4.4.1/32 110/64 via 4.4.4.1, 00:11:13, Serial1/1O 4.4.4.3/32 110/128 via 4.4.4.1, 00:11:13, Serial1/1 8.0.0.0/32 is subnetted, 4 subnetsO IA 8.8.8.3 110/65 via 4.4.4.1, 00:11:13, Serial1/1O IA 8.8.8.4 110/129 via 4.4.4.1, 00:00:05, Serial1/1C 8.8.8.5 is

23、 directly connected, Loopback0O 8.8.8.6 110/129 via 4.4.4.1, 00:11:13, Serial1/1在r3上做汇总:r3(config)#router ospf 100r3(config-router)#area 1 rar3(config-router)#area 1 range 4.4.4.0 255.255.255.248r3(config-router)#area 0 range 3.3.3.0 255.255.255.252r4#sh ip routeCodes: C - connected, S - static, R -

24、 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, *

25、- candidate default, U - per-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Serial1/0 4.0.0.0/29 is subnetted, 1 subnetsO IA 4.4.4.0 110/64 via 3.3.3.1, 00:00:55, Serial1/0 8.0.0.0/32

26、 is subnetted, 4 subnetsO 8.8.8.3 110/65 via 3.3.3.1, 00:09:57, Serial1/0C 8.8.8.4 is directly connected, Loopback0O IA 8.8.8.5 110/129 via 3.3.3.1, 00:09:57, Serial1/0O IA 8.8.8.6 110/129 via 3.3.3.1, 00:09:57, Serial1/0r5#sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D

27、- 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

28、-user static route o - ODR, P - periodic downloaded static routeGateway of last resort is not set 3.0.0.0/24 is subnetted, 1 subnetsO IA 3.3.3.0 110/128 via 4.4.4.1, 00:12:16, Serial1/1 4.0.0.0/8 is variably subnetted, 3 subnets, 2 masksC 4.4.4.0/24 is directly connected, Serial1/1O 4.4.4.1/32 110/6

29、4 via 4.4.4.1, 00:23:13, Serial1/1O 4.4.4.3/32 110/128 via 4.4.4.1, 00:23:13, Serial1/1 8.0.0.0/32 is subnetted, 4 subnetsO IA 8.8.8.3 110/65 via 4.4.4.1, 00:23:13, Serial1/1O IA 8.8.8.4 110/129 via 4.4.4.1, 00:12:06, Serial1/1C 8.8.8.5 is directly connected, Loopback0O 8.8.8.6 110/129 via 4.4.4.1,

30、00:23:13, Serial1/1R5#sh ip ospf database OSPF Router with ID (8.8.8.5) (Process ID 100) Router Link States (Area 1)Link ID ADV Router Age Seq# Checksum Link count8.8.8.3 8.8.8.3 1555 0x80000007 0x0053A3 38.8.8.5 8.8.8.5 1695 0x80000008 0x0041FC 38.8.8.6 8.8.8.6 1670 0x80000002 0x0083BB 3 Summary Ne

31、t Link States (Area 1)Link ID ADV Router Age Seq# Checksum3.3.3.0 8.8.8.3 893 0x80000001 0x00CC0C8.8.8.3 8.8.8.3 1550 0x80000001 0x0081848.8.8.4 8.8.8.3 883 0x80000001 0x00F9CAr3#sh ip ospf database OSPF Router with ID (8.8.8.3) (Process ID 100) Router Link States (Area 0)Link ID ADV Router Age Seq# Checksum Link count8.8.8.3 8.8.8.3 970 0x80000003 0x00729D 38.8.8.4 8.8.8.4 970 0x80000004 0x

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

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