设为首页收藏本站language 语言切换
查看: 2962|回复: 7
收起左侧

[求助] EIGRP被动接口的问题

[复制链接]
发表于 2016-1-8 19:20:53 | 显示全部楼层 |阅读模式
3鸿鹄币
实验中把一个eigrp的物理接口置为被动接口后,邻居为什么马上就down了?接口置为被动接口后,无法收发任何形式的报文,也包括hello报文,但是eigrp必须要3倍hello时间后才会down邻居,现在问题就是置为被动接口后,是无法收发hello报文了,但是hold-time根本没有到期,为什么邻居依然会down

最佳答案

查看完整内容

我说说自己的理解,你设置了Passive interface之后,不需要等待hello的时间是因为这个机制直接停止发送和接收相关的信息了,不再执行EIGRP的正常流程。也就是说是EIGRP这个Passive INT特性让它马上进入不接受和发送模式。 我在思科网站看到的debug 的输出 http://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/13675-16.html This is a sample output of debug eigrp packet he ...
发表于 2016-1-8 19:20:54 | 显示全部楼层
我说说自己的理解,你设置了Passive interface之后,不需要等待hello的时间是因为这个机制直接停止发送和接收相关的信息了,不再执行EIGRP的正常流程。也就是说是EIGRP这个Passive INT特性让它马上进入不接受和发送模式。

我在思科网站看到的debug 的输出
http://www.cisco.com/c/en/us/support/docs/ip/enhanced-interior-gateway-routing-protocol-eigrp/13675-16.html

This is a sample output of debug eigrp packet hello with the passive-interface command not configured for Serial0:
R1#debug eigrp packet hello
EIGRP Packets debugging is on   
      (HELLO)
R1#
Nov 20 08:07:33.131: EIGRP: Sending HELLO on Serial0
Nov 20 08:07:33.135:   AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0
Nov 20 08:07:35.327: EIGRP: Received HELLO on Serial0 nbr 192.168.1.1
Nov 20 08:07:35.331:   AS 1, Flags 0x0, Seq 0/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
You can see that hello packets are being exchanged in both directions. This is the output of the show ip eigrp neighbors .
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H   Address                 Interface   Hold Uptime   SRTT   RTO  Q  Seq Type
                                        (sec)         (ms)       Cnt Num
0   192.168.1.1             Se0           13 00:24:47    1  3000  0  1
Note: The interface both sends and receives hellos, and the two routers are neighbors.
This is a sample debug output after the passive-interface command has been configured for Serial0.
R1(config)#router eigrp 1
R1(config-router)#passive-interface serial 0

R1# debug eigrp packet hello
EIGRP Packets debugging is on
    (HELLO)
Note: Since no output is displayed, EIGRP is not only suppressing outbound hellos, but ignores inbound ones as well. The two routers are not neighbors any more. Here is the output of the show ip eigrp neighbors after you enter the passive-interface command.
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 1

============================
沙发 2016-1-8 19:20:54 回复 收起回复
回复

使用道具 举报

发表于 2016-1-8 20:12:57 | 显示全部楼层
板凳 2016-1-8 20:12:57 回复 收起回复
回复

使用道具 举报

发表于 2016-1-8 20:21:12 | 显示全部楼层
这有蛮给力
地板 2016-1-8 20:21:12 回复 收起回复
回复

使用道具 举报

发表于 2016-1-8 21:05:39 | 显示全部楼层
啥也不说了,楼主就是给力!
5# 2016-1-8 21:05:39 回复 收起回复
回复

使用道具 举报

 楼主| 发表于 2016-1-9 10:21:14 | 显示全部楼层
bw126 发表于 2016-1-9 06:02
我说说自己的理解,你设置了Passive interface之后,不需要等待hello的时间是因为这个机制直接停止发送和接 ...

这个说法比较有说服力,好吧,就这样理解了,谢谢!
6# 2016-1-9 10:21:14 回复 收起回复
回复

使用道具 举报

发表于 2016-1-9 11:10:08 | 显示全部楼层
邪恶二进制 发表于 2016-1-9 10:21
这个说法比较有说服力,好吧,就这样理解了,谢谢!

不用谢,我自己也是摸索看看而已,也不算很正规的答案。而且楼主你的想法很好啊,你真的很认真研究,这样对于其他网友也是一种很好的激发思维的方式。以前我也从来没有认真考虑过这个问题。
7# 2016-1-9 11:10:08 回复 收起回复
回复

使用道具 举报

发表于 2016-1-9 17:33:40 | 显示全部楼层
支持鸿鹄论坛
8# 2016-1-9 17:33:40 回复 收起回复
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-24 22:17 , Processed in 0.186046 second(s), 26 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表