解析驗(yàn)證EIGRP STUB區(qū)域
IGRP STUB區(qū)域設(shè)置了之后,路由器在丟失路由條目的時(shí)候不會(huì)向 STUB區(qū)域發(fā)查詢消息,在上述top中我們可以把Rc做成 STUB區(qū)域,假如Rb的loop0 口down掉了之后,Rb不會(huì)向Rc發(fā)送查詢消息。下面是小編帶來(lái)的實(shí)例,歡迎學(xué)習(xí)!
我們先在這3太路由器上全部啟用EIGRP 10 ,所有的'接口都參與到EIGRP 10 在沒有設(shè)置stub的時(shí)候,得到路由表如下:
RA:
1.0.0.0/24 is subnetted, 1 subnets
C 1.1.1.0 is directly connected, Loopback0
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/2297000] via 12.1.1.2, 00:01:26, Serial2/1
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2297000] via 12.1.1.2, 00:00:37, Serial2/1
23.0.0.0/30 is subnetted, 1 subnets
D 23.1.1.0 [90/2297000] via 12.1.1.2, 00:01:26, Serial2/1
12.0.0.0/30 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, Serial2/1
Rb:
1.0.0.0/24 is subnetted, 1 subnets
D 1.1.1.0 [90/2297000] via 12.1.1.1, 00:02:30, Serial2/1
2.0.0.0/24 is subnetted, 1 subnets
C 2.2.2.0 is directly connected, Loopback0
3.0.0.0/24 is subnetted, 1 subnets
D 3.3.3.0 [90/2297000] via 23.1.1.1, 00:01:41, Serial2/2
23.0.0.0/30 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial2/2
12.0.0.0/30 is subnetted, 1 subnets
C 12.1.1.0 is directly connected, Serial2/1
Rc:
1.0.0.0/24 is subnetted, 1 subnets
D 1.1.1.0 [90/2297000] via 23.1.1.2, 00:02:06, Serial2/2
2.0.0.0/24 is subnetted, 1 subnets
D 2.2.2.0 [90/2297000] via 23.1.1.2, 00:02:06, Serial2/2
3.0.0.0/24 is subnetted, 1 subnets
C 3.3.3.0 is directly connected, Loopback0
23.0.0.0/30 is subnetted, 1 subnets
C 23.1.1.0 is directly connected, Serial2/2
12.0.0.0/30 is subnetted, 1 subnets
D 12.1.1.0 [90/2297000] via 23.1.1.2, 00:02:06, Serial2/2
下面,我們開始試驗(yàn),在Rc上沒有設(shè)置stub的時(shí)候,在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發(fā)送查詢)
*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發(fā)送查查詢)
*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
可以看到,沒有設(shè)置stub的時(shí)候 Rb會(huì)向RA和 Rc發(fā)送查詢消息。下面我們把Rc做成 STUB區(qū)域.
我們先把RB上的loopback 0 打開,讓網(wǎng)絡(luò)回到正常的收斂
Rb(config-it)# int lo 0
Rb(config-it)#no sh
然后把RC設(shè)置成STUB區(qū)域
RC(config)#router ei 100
RC(config-router)#eigrp stub receive-only
再關(guān)掉RB上的loopback 0
再來(lái)看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 iidbQ un/rely 0/0 peerQ un/rely 0/0 serno 9-9
*Mar 1 00: 28:13.163: EIGRP: Sending QUERY on Serial2/1 nbr 12.1.1.1 (向RA發(fā)送查詢)
*Mar 1 00: 28:13.163: AS 10, Flags 0x0, Seq 19/8 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/1 serno 9-9
*Mar 1 00: 28:13.351: EIGRP: Received QUERY on Serial2/2 nbr 23.1.1.1
RB(config-if)#
*Mar 1 00: 28:13.355: AS 10, Flags 0x0, Seq 11/21 idbQ 0/0 iidbQ un/rely 0/0 peerQ un/rely 0/0
自始至終沒有發(fā)現(xiàn)去往Rc的查詢消息,所以,EIGRP的 STUB區(qū)域驗(yàn)證成功。
【解析驗(yàn)證EIGRP STUB區(qū)域】相關(guān)文章:
EIGRP實(shí)驗(yàn)配置過(guò)程解析05-10
華為認(rèn)證考試輔導(dǎo):stub、nssa區(qū)域配置09-30
EIGRP協(xié)議理論詳解05-11
EIGRP帶寬實(shí)例配置11-13
EIGRP和OSPF的區(qū)別05-11
EIGRP帶寬實(shí)例配置詳解05-10
OSPF與EIGRP的比較分析08-14