本20083在07年8月份的时候_第1页
本20083在07年8月份的时候_第2页
本20083在07年8月份的时候_第3页
本20083在07年8月份的时候_第4页
本20083在07年8月份的时候_第5页
已阅读5页,还剩131页未读 继续免费阅读

下载本文档

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

文档简介

1、自学之家收集整理作者:红盟过客CCIE 理论 RHCE杭州 CCIE0576311时间:2008 年三月地点:浙江杭州软件:Visio 2003 CorelDRAW 12 WPS 2005说明:一般情况下三台路由器。顺序:R1 的s0 接R2 的 s0 ,R2 的s1 接R3 的 R1。R2 提供时钟。在这里用 lookback 接口来模拟不同网段。路由器都为最小配置cisco2501.IOS 是 12.0 以上。提醒一下:现在可以用 Dynamips 软件完全模拟所有的实验。为了使实验更有价值,所写实验均在真实路由器上完成。自学之家收集整理第二版修正前言在 07 年 8 月份的时候,我出了一

2、个 ospf 命令与配置手册,后来放到网上供大家学习,一些过了 CCIE 的朋友在最后给我留言中说的我 ospf 与bgp 手册写的不错,给他们提供了一个很好的实验笔记。并且提醒我,第一版中有一些小的错误。我在看到他们过了 IE后也为他们的努力高兴,所以在我有时间的时候,我将版一中有一些问题的地方进行了改正 。并且加入了一些新的实验。在杭州也认识了很多优秀的 IE 朋友,大家在一起学习,一起聊的经验。有时候帮助别人就是帮助,就像有一些朋友看到实验后在考过了 IE 也将他们最珍贵的资料与一些模拟题留给我,让我也从中获益颇丰。现在正在备考 CCIE SP 方向,有考这个方向的朋友,多交流mpls

3、学习方法与心得。OSPF 学习心得第一版前言经常问你,你是否真的尽了力。如果是:那么在坏的结果也就无所谓了。这个实验手册是我在学习 ospf 时,参照ospf 命令与配置手册做实验时,写的实验笔记。Ospf 相对于 IGP 中的所有实验,是重要也是最实用。原来的这本书有几百页,本以为肯定会做很长时间,但是真正去做完,整本书的实验也就三四天,这三四天,基本上是每天十个小时的实验时间。做实验也是很枯燥的,一天到晚就是不停的输命令,很少有时间能停下来思考。我后来发现这种学习方法并不是很好,对着书本上输命令,没有一个人的 ,但是真正到实际工作中了,可能就了。所以,我后来改变了学习方法,在学习命令的同时

4、,多动脑用心去思考,放到真实的环境中去做实验。这样学习的效果好了很多了,ospf 没有太大的难点,卷一,是ospf 的精典。前几年时,看一个人 IGP 学的多好,就是看他卷一看了多少遍。在 07 年卷一的第二版出来,在原来的基础上增加了很多内容,是一本不可多得的精典书籍。但凡是学习思科的,没有人不知道卷一这本书。有时候,就是这样了,思科的书出的都是很少。很多精典的书就是有钱也买不到。特别是像 mpls 与 is-is 这类书,只自学之家收集整理能去买打印版的。Ospf 在实际工作中是遇得最多的,只要是大一点的网络,基本上就是 ospf,当然了, 不能说 ospf 是最好的,但却是最实用的。能用

5、到ospf 的地方,一定可以被集成is-is 代替,但是反过来就不能成立。看来在 IGP 中,最历害的还是IS-IS,只是这方面的太少了。就像这方面的书一样了,除了白皮书,就只有一本IS-IS 网络设计方案要成为 ospf 高手并不是很难,但是要真正搞懂 is-is 那就要花很多精力。更不用说 bgp。适用才是最好的,学到什么程度完全是需要了。Ospf 实验也是很简单的,大家不要被那个实验手册所吓到了,全书本有四百多页了,看上去好像有很多实验了,但是真正要搞懂的是很少了,还有一部分只要了解就行,特别是时间方面的修改问题。一般情况下,没有人去修改这个时间了。在工程中更是不可能。当然了 , 也有一

6、些是工程中遇到比较多,比如像虚链路,书上说是很不稳定的,但是在实际工作中, 还是用的很多,实际上也还不错,并不是像书上说的那样不稳定,当然,像末梢区等等,算是 ospf 中一个难点,但是要注意是思科专有的。这很重要。不一定支持。有一部分路由是支持 EIGRP 这只有做过这方面工作的知道。实验还是多做为好,很多实验,当你做的多了,才能真正明白卷一上面真正的意思。Ospf 实验中没有什么难点,但是要记住的内容还是很多了,只要多看卷一,学好 ospf 并不是什么难事的。希望这个实验手册给考 ie 的朋友一点帮助。完工的实验笔记: 已完成的实验手册2008 ospf 命令与配置手册实验笔记2008 b

7、gp 命令与配置手册实验笔记RHCE5.0 实验手册3600 交换机实验笔记BGP 设计与实现笔记JUNIPER NETSCREEN杭州某中学断网解决办法基础实验OSPF 常用命令Sh ip os int e0用来查看接口信息。Show ip ospf用来查看 ospf 参数Sh ip ospf process-id用来查看 ospf 参数自学之家收集整理Sh ip ospf border-routers用来查看到达 abr 或 asbr 的路由表。Sh ip os database用来显示 ospf 数据库中的信息Sh ip os process-id databaes用来显示特定进程号的数

8、据库信息Sh ip os intSh ip os nei显示接口信息显示邻居关系。Sh ip os virtual-links用来显示虚连接Debug ip os adj用来显示关于一个 ospf 邻居关系的信息。也可以用来确定 ospf 问题。Cle ip os processDebug ip os events用来重新建立邻居关系。用来显示 ospf有关的信息。Debu ip os flood用来显示有关扩散信息Debu ip os packet用来显示 ospf 数据包的情况Sh ip os da router查看数据库。Sh ip os virtual-links查看虚链路第一章命令:

9、Router-id ip-address作用:用来设置路由器id。路由器id:首先是手工设置为最高,第二为环回接口的最高地址, 最后为物理接口最高地址。自学之家收集整理命令:Summary-address ip-address mask作用:用来聚合在次分发到 ospf 的路由设备需求:cisco 2501 路由器二台ra(config)#int lo0ra(config-if)#ip add 1.1.1.1 255.255.255.255 ra(config-if)#int s0ra(config-if)#ip ad 10.1.1.1 255.255.255.252 ra(config-if

10、)#no shra(config-if)#exit ra(config)#router os 1ra(config-router)#net 10.1.1.0 0.0.0.3 ar 0 ra(config-router)#endrb(config)#int lo0rb(config-if)#ip add 2.2.2.2 255.255.255.255 rb(config-if)#int lo1rb(config-if)#ip add 156.26.32.1 255.255.255.240 rb(config-if)#int lo2rb(config-if)#ip add 156.26.32.17

11、 255.255.255.240 rb(config-if)#int lo3rb(config-if)#ip add 156.26.32.33 255.255.255.240 rb(config-if)#int lo4rb(config-if)#ip ad 156.26.32.49 255.255.255.240 rb(config-if)#int s0rb(config-if)#ip ad 10.1.1.2 255.255.255.252 rb(config-if)#no shrb(config-if)#cl ra 64000rb(config)#router os 1自学之家收集整理rb(

12、config-router)#net 10.1.1.0 0.0.0.3 ar 0 rb(config-router)#redistribute connected subnets rb(config-router)#end注意:这里是路由重分发验证ra#sh ip rouCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type

13、1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - 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 set1.0.0.

14、0/32 is subnetted, 1 subnets1.1.1.1 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnets2.2.2.2 110/20 via 10.1.1.2, 00:01:22, Serial0156.26.0.0/28 is subnetted, 4 subnets156.26.32.32 110/20 via 10.1.1.2, 00:01:22, Serial0156.26.32.48 110/20 via 10.1.1.2, 00:01:22, Serial0156.26.32.0

15、110/20 via 10.1.1.2, 00:01:22, Serial0156.26.32.16 110/20 via 10.1.1.2, 00:01:22, Serial010.0.0.0/30 is subnetted, 1 subnets10.1.1.0 is directly connected, Serial0CO E2O E2 O E2 O E2 O E2C现在来聚合路由条目,聚合路由条目目的两个,一是可减少对路由器的cpu 的占用。二是可以减少不稳定的路由条目。rb(config)#router os 1rb(config-router)#summary-address 15

16、6.26.32.0 255.255.255.192 rb(config-router)#endra#sh ip rouCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF extern

17、al type 2, E - EGPi - 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 route自学之家收集整理Gateway of last resort is not set1.0.0.0/32 is subnetted, 1 subnets1.1.1.1 is directly connected, Loopback0

18、2.0.0.0/32 is subnetted, 1 subnets2.2.2.2 110/20 via 10.1.1.2, 00:03:27, Serial0156.26.0.0/26 is subnetted, 1 subnets156.26.32.0 110/20 via 10.1.1.2, 00:00:16, Serial010.0.0.0/30 is subnetted, 1 subnets10.1.1.0 is directly connected, Serial0CO E2O E2C现在查看一下路由器 id,来验证第一条命令。ra#sh ip ospfRouting Proces

19、s "ospf 1" with ID 1.1.1.1Start time: 00:01:16.780, Time elapsed: 00:04:11.008 Supports only single TOS(TOS0) routesSupports opaque LSASupports Link-local Signaling (LLS) Supports area transit capability在没配置的情况下路由将选环回接口最高地址。现在来配置一下路由器 id.建议,一般情况下,主动配置一个路由器 id 能更好的路由器。ra(config)#router os 1

20、ra(config-router)#router-id 1.1.1.2Reload or use "clear ip ospf process" command, for this to take effect ra(config-router)#endra#clear ip os processRes ra#*MarL OSPF processes? no: y1 00:07:32.067: %OSPF-5-ADJCHG: Process 1, Nbr 156.26.32.49on orFastEthernet2/0 from FULL to DOWN, Neighbor

21、 Down: Interface down detached*Mar1 00:07:32.295: %OSPF-5-ADJCHG: Process 1, Nbr 156.26.32.49onFastEthernet2/0 from LOADING to FULL, Loading Done ra#sh ip osRouting Process "ospf 1" with ID 1.1.1.2Start time: 00:01:16.780, Time elapsed: 00:06:24.688 Supports only single TOS(TOS0) routesSup

22、ports opaque LSA自学之家收集整理Supports Link-local Signaling (LLS)配置实例 2:将聚合路由打上标记。ra(config)#int lo0ra(config-if)#ip add 1.1.1.1 255.255.255.255 ra(config-if)#int s0ra(config-if)#ip ad 10.1.1.1 255.255.255.252 ra(config-if)#no shra(config-if)#exit ra(config)#router os 1ra(config-router)#net 10.1.1.0 0.0.0

23、.3 ar 0 ra(config-router)#endrb(config)#int lo0rb(config-if)#ip add 2.2.2.2 255.255.255.255 rb(config-if)#int lo1rb(config-if)#ip add 156.26.32.1 255.255.255.240 rb(config-if)#int lo2rb(config-if)#ip add 156.26.32.17 255.255.255.240 rb(config-if)#int lo3rb(config-if)#ip add 156.26.32.33 255.255.255.

24、240 rb(config-if)#int lo4rb(config-if)#ip ad 156.26.32.49 255.255.255.240 rb(config-if)#int s0rb(config-if)#ip ad 10.1.1.2 255.255.255.252自学之家收集整理rb(config-if)#no sh rb(config-if)#cl ra 64000rb(config)#router os 1rb(config-router)#net 10.1.1.0 0.0.0.3 ar 0 rb(config-router)#red con subrb(config-rout

25、er)#end将其聚路由并打上标记。rb(config)#router os 1rb(config-router)#summary-address 156.26.32.0 255.255.255.224 tag 88rb(config-router)#summary-address 156.26.32.32 255.255.255.224 tag 43 rb(config-router)#endra#sh ip rouCodes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX -

26、EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGPi - 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

27、P - periodic downloaded static routeGateway of last resort is not set1.0.0.0/32 is subnetted, 1 subnets1.1.1.1 is directly connected, Loopback0 2.0.0.0/32 is subnetted, 1 subnets2.2.2.2 110/20 via 10.1.1.2, 00:23:48, Serial0156.26.0.0/27 is subnetted, 2 subnets156.26.32.32 110/20 via 10.1.1.2, 00:00

28、:19, Serial0156.26.32.0 110/20 via 10.1.1.2, 00:00:52, Serial010.0.0.0/30 is subnetted, 2 subnets10.1.1.8 is directly connected, Serial110.1.1.0 is directly connected, Serial0CO E2O E2 O E2C Cra#sh ip os daOSPF Router with ID (1.1.1.1) (Process ID 1)Router Link States (Area 0)Link IDADV RouterAgeSeq

29、#Checksum Link count自学之家收集整理1.1.1.1156.26.32.491.1.1.1156.26.32.49145614500x80000003 0x4B3120x80000003 0xD2A22Type-5 AS External Link StatesLink ID 2.2.2.2156.26.32.31156.26.32.32ADV Router 156.26.32.49156.26.32.49156.26.32.49Age 14506733Seq#Checksum Tag0x80000001 0x315F0x80000001 0x43260x80000001 0

30、xC8908843可以看到打上了标记验配置实例验证二:使用标记来路由的在发布rc(config-if)#int s0rc(config-if)#ip add 10.1.1.9 255.255.255.252 rc(config-if)#no shrc(config-if)#cl ra 64000rc(config)#router rip rc(config-router)#ver 2rc(config-router)#net 10.0.0.0 rc(config-router)#no au rc(config-router)#endra(config-if)#int s 0ra(config-

31、if)#ip add 10.1.1.10255.255.255.252 ra(config-if)#no shra(config)#router rip ra(config-router)#ver 2ra(config-router)#net 10.0.0.0 ra(config-router)#no aura(config-router)#red ospf 1 met 1 route-map ccna ra(config-router)#exitra(config)#route-map ccna per 10 ra(config-route-map)#mat tag 88 ra(config

32、-route-map)#end验证,只有打上标记的 88 才会重分发。rc#sh ip rou自学之家收集整理Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external t

33、ype 2, E - EGPi - 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 set156.26.0.0/27 is subnetted, 1 subnets156.26.32.0 120/1 via 10.1.1.10, 00:00:16, Serial0

34、10.0.0.0/30 is subnetted, 2 subnets10.1.1.8 is directly connected, Serial0 10.1.1.0 120/1 via 10.1.1.10, 00:00:17, Serial0RC R第二章OSPF 认证明文认证命令:Router ospf process-id作用:用来激活一个进程,大小为 1-65535 ,这个进程仅在本地有效,也可以用 no 删除进程命令: Area area-id authentication作用:在一个区域内实现简单的明文认证。注意:Ospf 认证可以在一个接口上的认证与区域内的认证不一样,只要两边一

35、样就可以。自学之家收集整理认证是通过区域启动的。如果用明文认证,那么在改变md5 认证 。时候将会出现断流,一般建议用命令:Ip ospf authentication-key password作用:在需要认证的接口上启用认证。设备需求:cisco 2501 路由器三台配置实例:ra(config)#int lo0ra(config-if)#ip add 1.1.1.1 255.255.255.255 ra(config-if)#int s0ra(config-if)#ip add 10.1.1.1 255.255.255.252 ra(config-if)#no shra(config-if

36、)#exitrb(config)#int s0rb(config-if)#ip add 10.1.1.2 255.255.255.252 rb(config-if)#no shrb(config-if)#cl ra 64000 rb(config-if)#int s1rb(config-if)#ip add 10.1.1.5 255.255.255.252 rb(config-if)#no shrb(config-if)#cl ra 64000 rb(config-if)#int lo0rb(config-if)#ip add 2.2.2.2 255.255.255.255 rb(config

37、-if)#end自学之家收集整理rc#conf t rc(config)#int s1rc(config-if)#ip add 10.1.1.6 255.255.255.252 rc(config-if)#no shrc(config-if)#end开始在每台路由器上配置 ospf 但是不用认证ra(config)#router os 1ra(config-router)#net 10.1.1.0 0.0.0.15 ar 0 ra(config-router)#endrb(config)#router os 1rb(config-router)#net 10.1.1.0 0.0.0.15 ar

38、 0 rb(config-router)#endrc(config)#router os 1rc(config-router)#net 10.1.1.0 0.0.0.15 ar 0 rc(config-router)#end邻居关系全部建立好了rb#sh ip os neiNeighbor ID 1.1.1.110.1.1.6Pri 11State FULL/ FULL/Dead Time 00:00:3700:00:33Address 10.1.1.110.1.1.6Interface Serial0Serial1-rb#sh ip osRouting Process "ospf

39、1" with ID 2.2.2.2 Supports only single TOS(TOS0) routes Supports opaque LSASPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0x0Number of opaque AS LSA 0. Checksum Sum 0x0 Number of DCbit

40、less external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa External flood list length 0Area BACKBONE(0)Number of interfaces in this area is 2自学之家收集整理Area has no authentication SPF algorithm executed 3 times Area range

41、s areNumber of LSA 3. Checksum Sum 0x25923 Number of opaque link LSA 0. Checksum Sum 0x0 Number of DCbitless LSA 0Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0通过命令可以看到,区域 0 没有使用认证。现在通过命令来使用明文认证ra(config)#int s0ra(config-if)#ip ospf authentication-key ccna ra(config-if)#endr

42、a(config)#router os 1ra(config-router)#area 0 authentication ra(config-router)#endrb(config)#int s0rb(config-if)#ip ospf authentication-key ccna rb(config-if)#int s1rb(config-if)#ip ospf authentication-key ccna rb(config-if)#exitrb(config)#router os 1rb(config-router)#area 0 authentication rb(config

43、-router)#endrc(config)#int s1rc(config-if)#ip ospf authentication-key ccna rc(config-if)#exitrc(config)#router os 1rc(config-router)#area 0 auth rc(config-router)#end现在邻居关系起来了rb#sh ip os neiNeighbor ID 1.1.1.110.1.1.6Pri 11State FULL/ FULL/Dead Time 00:00:3000:00:36Address 10.1.1.110.1.1.6Interface

44、Serial0Serial1-rb#sh ip os自学之家收集整理Routing Process "ospf 1" with ID 2.2.2.2 Supports only single TOS(TOS0) routes Supports opaque LSASPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0

45、x0Number of opaque AS LSA 0. Checksum Sum 0x0 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa External flood list length 0Area BACKBONE(0)Number of interfaces in this area is 2Area has simple

46、 password authentication上面显示的是区域经过认证:注意,一般情况下,加上 service password-encryption 来让加密。因为是明文认证,所以改变或是区域认证取消,那么邻居关系都会切断 。ra#conf tEnter configuration commands, one per line. ra(config)#int s0ra(config-if)#ip ospf authentication-k ccnp ra(config-if)#exitEnd with CNTL/Z.rc#conf t rc(config)#router ospf 1rc(

47、config-router)#no area 0 auth rc(config-router)#endrb#sh ip os neirb#现在邻居关系全部断开。MD5 认证命令:Area area-id authentication message-digest自学之家收集整理作用:在一个区域内使用 md5 加密认证。使用med 认证不仅安全可靠,而且更大的好处在于,可以定期更改,而出现断流情况。命令: Ip ospf message-digest-key key-id md5 password作用:在接口下启用 md5 认证,先使用密钥 后使用命令:Ip ospf authenticatio

48、n null 可以在接口上删除认证。ra#conf t ra(config)#int lo0ra(config-if)#ip add 1.1.1.1 255.255.255.255 ra(config-if)#int s0ra(config-if)#ip add 10.1.1.1 255.255.255.252 ra(config-if)#no shra(config-if)#exitrb#conf t rb(config)#int s0rb(config-if)#ip add 10.1.1.2 255.255.255.252 rb(config-if)#no shrb(config-if)#

49、cl ra 64000 rb(config-if)#int s1rb(config-if)#ip add 10.1.1.5 255.255.255.252 rb(config-if)#no shrb(config-if)#cl ra 64000 rb(config-if)#int lo0rb(config-if)#ip add 2.2.2.2 255.255.255.255自学之家收集整理rb(config-if)#endrc#conf t rc(config)#int s1rc(config-if)#ip add 10.1.1.6 255.255.255.252 rc(config-if)#

50、no shrc(config-if)#end开始在每台路由器上配置 ospf 但是不用认证ra(config)#router os 1ra(config-router)#net 10.1.1.0 0.0.0.15 ar 0 ra(config-router)#endrb(config)#router os 1rb(config-router)#net 10.1.1.0 0.0.0.15 ar 0 rb(config-router)#endrc(config)#router os 1rc(config-router)#net 10.1.1.0 0.0.0.15 ar 0 rc(config-ro

51、uter)#end邻居关系全部建立好了rb#sh ip os neiNeighbor ID 1.1.1.110.1.1.6Pri 11State FULL/ FULL/Dead Time 00:00:3700:00:33Address 10.1.1.110.1.1.6Interface Serial0Serial1-rb#sh ip osRouting Process "ospf 1" with ID 2.2.2.2 Supports only single TOS(TOS0) routes Supports opaque LSASPF schedule delay 5 s

52、ecs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0x0Number of opaque AS LSA 0. Checksum Sum 0x0 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in th

53、is router is 1. 1 normal 0 stub 0 nssa External flood list length 0Area BACKBONE(0)Number of interfaces in this area is 2自学之家收集整理Area has no authentication SPF algorithm executed 3 times Area ranges areNumber of LSA 3. Checksum Sum 0x25923 Number of opaque link LSA 0. Checksum Sum 0x0 Number of DCbi

54、tless LSA 0Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0通过命令可以看到,区域 0 没有使用认证。现在通过命令来使用 md5 加认证ra(config)#int s0ra(config-if)#ip os message-digest-key 1 md5 ccna ra(config-if)#exitra(config)#router os 1ra(config-router)#area 0 authentication message-digest ra(config-router)#

55、endrb#conf t rb(config)#int s0rb(config-if)#ip os message-digest-key 1 md5 ccna rb(config-if)#int s1rb(config-if)#ip os message-digest-key 1 md5 ccnp rb(config-if)#exitrb(config)#router os 1rb(config-router)#ar 0 authentication message-digest rb(config-router)#endrc#conf t rc(config)#int s1rc(config

56、-if)#ip os message-digest-key 1 md5 ccnp rc(config-if)#exitrc(config)#router os 1rc(config-router)#ar 0 authentication message-digest rc(config-router)#end邻居关系起来rb#sh ip os neiNeighbor IDPriStateDead TimeAddressInterface自学之家收集整理1.1.1.110.1.1.6rb#11FULL/-FULL/-00:00:3000:00:3610.1.1.110.1.1.6Serial0 Serial1现在证明,在同一个区域每个接口可以不一样,只需要接口两边的一样

温馨提示

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

评论

0/150

提交评论