.1.2, 00:02:06, Serial2/2
下面,我们开始试验,在Rc上没有设置stub的时候,在Rb上打开debug
- RB#debug eigrp packets query
- RB EIGRP Packets debugging is on
- (QUERY)
- RB#config t
- Enter configuration commands, one per line. End with CNTL/Z.
- RB(config)#
- RB(config)#int loopback 0
- RB(config-if)#shu
- *Mar 1 00:16:38.587: EIGRP: Enqueueing QUERY on Serial2/1 iidbQ un/rely 0/1 serno 6-6
- *Mar 1 00:16:38.591: EIGRP: Enqueueing QUERY on Serial2/1 nbr 12.1.1.1 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 6-6
- *Mar 1 00:16:38.599: EIGRP: Sending QUERY on Serial2/1 nbr 12.1.1.1 (向RA发送查询)
- *Mar 1 00:16:38.603: AS 10, Flags 0x0, Seq 10/3 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 6-6
- *Mar 1 00:16:38.607: EIGRP: Enqueueing QUERY on Serial2/2 iidbQ un/rely 0/1 serno 6-6
- *Mar 1 00:16:38.611: EIGRP: Enqueueing QUERY on Serial2/2 nbr 23.1.1.1 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 6-6
- *Mar 1 00:16:38.619: EIGRP: Sending QUERY on Serial2/2 nbr 23.1.1.1 (向RC发送查查询)
- *Mar 1 00:16:38.623: AS 10, Flags 0x0, Seq 11/3 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 6-6
可以看到,没有设置stub的时候 Rb会向RA和 Rc发送查询消息。下面我们把Rc做成 STUB区域.
我们先把RB上的loopback 0 打开,让网络回到正常的收敛
- Rb(config-it)# int lo 0
- Rb(config-it)#no sh
然后把RC设置成STUB区域
- RC(config)#router ei 100
- RC(config-router)#eigrp stub receive-only
再关掉RB上的loopback 0
再来看RB的查询情况:
- *Mar 1 00:28:13.139: EIGRP: Enqueueing QUERY on Serial2/2 iidbQ un/rely 0/1 serno 9-9
- *Mar 1 00: 28:13.143: EIGRP: Enqueueing QUERY on Serial2/2 nbr 23.1.1.1 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 9-9
- *Mar 1 00: 28:13.151: EIGRP: Enqueueing QUERY on Serial2/1 iidbQ un/rely 0/1 serno 9-9
- *Mar 1 00: 28:13.155: EIGRP: Enqueueing QUERY on Serial2/1 nbr 12.1.1.1 ii
|