|
发表于 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
回复(0)
收起回复
|