CCNP Day6 EIGRP查询机制
1、网络拓扑

1、 当1.1.1.0网络断开后,R1向R2发Querry包,查询R2到1.1.1.0的路由是否存在,如果R2到1.1.1.0的路由不存在,这时R2回复Replay给R1,R1更新删除1.1.1.0的路由条目。
2、 当1.1.1.0网络断开后,R1向R2发Querry包,查询R2到1.1.1.0的路由是否存在,如果R2到1.1.1.0的路由存在,但下一跳在R3上,这时R2回复Replay给R1,R1更新删除1.1.1.0的路由条目。
3、当1.1.1.0网络断开后,R1向R2发Querry包,查询R2到1.1.1.0的路由是否存在,如果R2到1.1.1.0的路由存在,且下一跳是R1,这时R2继续向R3查询到1.1.1.0网络的路由是否存在,此查询一直查到边界路由器。当边界路由器也无此路由时会回复Replay给上一跳路由器,全网删除到1.1.1.0的路由。
4、当1.1.1.0网络断开后,R1向R2发Querry包,查询R2到1.1.1.0的路由是否存在,如果R2到1.1.1.0的路由不存在,R2向R3查询,如果R3不向R2回复Replay,R2也无法及时向R1回复Replay, R2到R3的查询会在3分钟后超时;此时R1在等待90秒后,想R2发ISA的Query查询,R2收到后回复ISA的Replay。
2、R1 shutdown Loopback 0后的Debug信息
R1#debug eigrp packets query reply ack EIGRP Packets debugging is on (QUERY, REPLY, ACK) R1# R1# R1# R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#interface loopback 0 R1(config-if)#shutdown R1(config-if)# *Nov 28 13:51:29.555: EIGRP: Enqueueing QUERY on FastEthernet0/0 iidbQ un/rely 0/1 serno 16-16 *Nov 28 13:51:29.559: EIGRP: Sending QUERY on FastEthernet0/0 *Nov 28 13:51:29.559: AS 100, Flags 0x0, Seq 15/0 idbQ 0/0 iidbQ un/rely 0/0 serno 16-16 *Nov 28 13:51:29.603: EIGRP: Received ACK on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.603: AS 100, Flags 0x0, Seq 0/15 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 *Nov 28 13:51:29.619: EIGRP: Received QUERY on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.619: AS 100, Flags 0x0, Seq 18/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0 *Nov 28 13:51:29.619: EIGRP: Enqueueing ACK on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.623: Ack seq 18 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:29.623: EIGRP: Sending ACK on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.623: AS 100, Flags 0x0, Seq 0/18 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:29.635: EIGRP: Enqueueing REPLY on FastEthernet0/0 R1(config-if)#nbr 172.16.12.2 iidbQ un/rely 0/1 peerQ un/rely 0/0 serno 17-17 *Nov 28 13:51:29.643: EIGRP: Sending REPLY on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.643: AS 100, Flags 0x0, Seq 16/18 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 17-17 *Nov 28 13:51:29.663: EIGRP: Received ACK on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.663: AS 100, Flags 0x0, Seq 0/16 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 *Nov 28 13:51:29.699: EIGRP: Received REPLY on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.699: AS 100, Flags 0x0, Seq 19/16 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0 *Nov 28 13:51:29.699: EIGRP: Enqueueing ACK on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.703: Ack seq 19 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:29.703: EIGRP: Sending ACK on FastEthernet0/0 nbr 172.16.12.2 *Nov 28 13:51:29.703: AS 100, Flags 0x0, Seq 0/19 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 1/0 R1(config-if)# *Nov 28 13:51:31.539: %LINK-5-CHANGED: Interface Loopback0, changed state to administratively down R1(config-if)# R2# *Nov 28 13:51:30.287: EIGRP: Received QUERY on FastEthernet0/0 nbr 172.16.12.1 /****收到R1的Querr *Nov 28 13:51:30.287: AS 100, Flags 0x0, Seq 15/0 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0 *Nov 28 13:51:30.287: EIGRP: Enqueueing ACK on FastEthernet0/0 nbr 172.16.12.1 *Nov 28 13:51:30.291: Ack seq 15 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:30.291: EIGRP: Sending ACK on FastEthernet0/0 nbr 172.16.12.1 *Nov 28 13:51:30.291: AS 100, Flags 0x0, Seq 0/15 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:30.303: EIGRP: Enqueueing QUERY on Serial1/0 iidbQ un/rely 0/1 serno 15-15 *Nov 28 13:51:30.303: EIGRP: Enqueueing QUERY on FastEthernet0/0 iidbQ un/rely 0/1 serno 15-15 *Nov 28 13:51:30.307: EIGRP: Enqueueing QUERY on Serial1/0 nbr 192.168.23.2 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 15-15 *Nov 28 13:51:30.307: EIGRP: Sending QUERY on FastEthernet0/0 *Nov 28 13:51:30.307: AS 100, Flags 0x0, Seq 18/0 idbQ 0/0 iidbQ un/rely 0/0 serno 15-15 *Nov 28 13:51:30.311: EIGR R2#P: Sending QUERY on Serial1/0 nbr 192.168.23.2 R3#debug eigrp packets query reply ack EIGRP Packets debugging is on (QUERY, REPLY, ACK) R3# *Nov 28 13:51:39.075: EIGRP: Received QUERY on Serial1/0 nbr 192.168.23.1 *Nov 28 13:51:39.075: AS 100, Flags 0x0, Seq 17/8 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0 *Nov 28 13:51:39.079: EIGRP: Enqueueing ACK on Serial1/0 nbr 192.168.23.1 *Nov 28 13:51:39.079: Ack seq 17 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:39.087: EIGRP: Sending ACK on Serial1/0 nbr 192.168.23.1 *Nov 28 13:51:39.087: AS 100, Flags 0x0, Seq 0/17 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 1/0 *Nov 28 13:51:39.091: EIGRP: Enqueueing REPLY on Serial1/0 nbr 192.168.23.1 iidbQ un/rely 0/1 peerQ un/rely 0/0 serno 10-10 *Nov 28 13:51:39.099: EIGRP: Sending REPLY on Serial1/0 nbr 192.168.23.1 R3# *Nov 28 13:51:39.099: AS 100, Flags 0x0, Seq 9/17 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 10-10 *Nov 28 13:51:39.123: EIGRP: Received ACK on Serial1/0 nbr 192.168.23.1 *Nov 28 13:51:39.123: AS 100, Flags 0x0, Seq 0/9 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 R3#
浙公网安备 33010602011771号