查看完整版本: 控制路由更新数据流(被动接口和分布列表)

还是我 2007-11-14 09:09

控制路由更新数据流(被动接口和分布列表)

[size=3][font=宋体]本文档使用[/font][font=Times New Roman]topo[/font][/size][font=宋体][size=3]:[img=736,423]http://www.one-tom.com/bbs/uploads/20061118_172844_232.gif[/img][/size]
[size=3][/size]
[size=3][font=宋体]在[/font][font=Times New Roman]R1[/font][font=宋体]上建立一个环回口模拟[/font][font=Times New Roman]R4[/font][/size]
[size=3][font=Times New Roman]1[/font][font=宋体].为什么要控制路由更新[/font][/size]
[size=3][font=Times New Roman]   [/font][font=宋体]首先假设我们在上面的拓扑中配置[/font][font=Times New Roman]rip[/font][font=宋体]协议。在默认情况下,[/font][font=Times New Roman]r1[/font][font=宋体]将通告以下网络[/font][font=Times New Roman]:10.1.1.0
10.1.2.0
10.1.3.0
10.1.4.0[/font][/size]
[size=3][font=宋体][font=Times New Roman]A.[/font]由于子网[/font][font=Times New Roman]10.1.3.0[/font][font=宋体]没有其他的路由器能接受路由更新。所以向[/font][font=Times New Roman]e0/0[/font][font=宋体]口发送[/font][font=Times New Roman]rip[/font][font=宋体]更新没有意义。不但产生了一些不必要的额外开销,并可能引起安全风险。[/font][/size]
[size=3][font=宋体][font=Times New Roman]B.[/font]若[/font][font=Times New Roman]r1[/font][font=宋体]和[/font][font=Times New Roman]r4[/font][font=宋体]是通过[/font][font=Times New Roman]dial-on-demand([/font][font=宋体]按需拨号[/font][font=Times New Roman])[/font][font=宋体]的[/font][font=Times New Roman]ISDN[/font][font=宋体]链路相连,那么定期的路由更新会让链路保持在线状态,从而产生高额的费用。[/font][/size]
[size=3][font=Times New Roman]2[/font][font=宋体].通过[/font][font=Times New Roman]passive-interface[/font][font=宋体]控制路由更新[/font][/size]
[size=3][font=Times New Roman]   [/font][font=宋体]被动接口可以完全阻止接口发送路由更新。此命令适用于所有的[/font][font=Times New Roman]IGP[/font][font=宋体]协议。[/font][/size]
[size=3][font=Times New Roman]   [/font][font=宋体]命令格式:[/font][font=Times New Roman](config-router)#passive-interface [i]
type
number[/i][/font][/size]
[size=3][i][font=Times New Roman]   [/font][/i][font=宋体]实例[/font][font=Times New Roman]1[/font][font=宋体]:禁止[/font][font=Times New Roman]e[/font][font=宋体]口上发送路由更新。[/font][/size]
[size=3][font=宋体]在没有输入这个命令时的[/font][font=Times New Roman]debug[/font][font=宋体]信息:[/font][/size]
[font=Times New Roman][size=3]*Nov 18 08:14:28.087: RIP: sending v1 update to 255.255.255.255 via Loopback1 (10.1.4.2)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:28.087: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:28.087:
subnet 10.1.1.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:28.087:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:28.087:
subnet 10.1.3.0 metric 1[/size][/font]
[b][color=red][font=Times New Roman][size=3]*Nov 18 08:14:41.527: RIP: sending v1 update to 255.255.255.255 via Ethernet0/0 (10.1.3.1)[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]*Nov 18 08:14:41.527: RIP: build update entries[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]*Nov 18 08:14:41.527:
subnet 10.1.1.0 metric 1[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]*Nov 18 08:14:41.527:
subnet 10.1.2.0 metric 1[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]*Nov 18 08:14:41.527:
subnet 10.1.4.0 metric 1[/size][/font][/color][/b]
[font=Times New Roman][size=3]*Nov 18 08:14:47.639: RIP: sending v1 update to 255.255.255.255 via Serial1/0 (10.1.1.1)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.639: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.639:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.639:
subnet 10.1.3.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.639:
subnet 10.1.4.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.891: RIP: sending v1 update to 255.255.255.255 via Serial2/0 (10.1.2.1)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.891: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.891:
subnet 10.1.1.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.891:
subnet 10.1.3.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:47.891:
subnet 10.1.4.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:57.079: RIP: sending v1 update to 255.255.255.255 via Loopback1 (10.1.4.2)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:57.079: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:57.079:
subnet 10.1.1.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:57.079:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:14:57.079:
subnet 10.1.3.0 metric 1[/size][/font]
[font=宋体][size=3]现在输入这个命令:[/size][/font]
[b][color=red][font=Times New Roman][size=3]R1(config)#router rip[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]R1(config-router)#passive-interface ethernet 0/0[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]R1(config-router)#end[/size][/font][/color][/b]
[size=3][font=宋体]观察[/font][font=Times New Roman]debug[/font][font=宋体]信息[/font][/size]
[font=Times New Roman][size=3]*Nov 18 08:15:15.507: RIP: sending v1 update to 255.255.255.255 via Serial1/0 (10.1.1.1)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:15.507: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:15.507:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:15.507:
subnet 10.1.3.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:15.507:
subnet 10.1.4.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:25.967: RIP: sending v1 update to 255.255.255.255 via Loopback1 (10.1.4.2)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:25.967: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:25.967:
subnet 10.1.1.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:25.967:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:25.967:
subnet 10.1.3.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.587: RIP: sending v1 update to 255.255.255.255 via Serial1/0 (10.1.1.1)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.587: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.587:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.587:
subnet 10.1.3.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.587:
subnet 10.1.4.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.639: RIP: sending v1 update to 255.255.255.255 via Serial2/0 (10.1.2.1)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.639: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.639:
subnet 10.1.1.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.639:
subnet 10.1.3.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:41.639:
subnet 10.1.4.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:55.907: RIP: sending v1 update to 255.255.255.255 via Loopback1 (10.1.4.2)[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:55.907: RIP: build update entries[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:55.907:
subnet 10.1.1.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:55.907:
subnet 10.1.2.0 metric 1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:15:55.907:
subnet 10.1.3.0 metric 1[/size][/font]
[size=3][font=宋体]此时没有[/font][font=Times New Roman]e[/font][font=宋体]口的更新。[/font][/size]
[font=宋体][size=3]此命令在不同协议下的工作方式:[/size][/font]
[size=3][font=Times New Roman]
RIP:[/font][font=宋体]只接受路由更新但是不发送[/font][/size]
[size=3][font=Times New Roman]
OSPF:[/font][font=宋体]即不发送也不接受[/font][/size]
[size=3][font=Times New Roman]
EIGRP和OSPF:[/font][font=宋体]不发送[/font][font=Times New Roman]hello[/font][font=宋体]分组,不能在接口上与其他路由器建立邻居关系。[/font][/size]
[size=3][font=宋体]实例[/font][font=Times New Roman]2[/font][font=宋体]:在[/font][font=Times New Roman]OSPF[/font][font=宋体]上运用此命令观察现象。[/font][/size]
[font=Times New Roman][size=3]R1(config)#router ospf 10[/size][/font]
[font=Times New Roman][size=3]R1(config-router)#net 10.1.1.0 0.0.0.255 area 0[/size][/font]
[font=Times New Roman][size=3]R1(config-router)#net 10.1.2.0 0.0.0.255 area 0[/size][/font]
[font=Times New Roman][size=3]R1(config-router)#net 10.1.3.0 0.0.0.255 area 0[/size][/font]
[font=Times New Roman][size=3]R1(config-router)#net 10.1.4.0 0.0.0.255 area 0[/size][/font]
[font=Times New Roman][size=3]R2(config)#router ospf 10[/size][/font]
[font=Times New Roman][size=3]R2(config-router)#net 10.1.1.0 0.0.0.255 area 0[/size][/font]
[font=Times New Roman][size=3]R3(config)#router ospf 10[/size][/font]
[font=Times New Roman][size=3]R3(config-router)#net 10.1.2.0 0.0.0.255 area 0[/size][/font]
[font=Times New Roman][size=3]R1#sho ip ospf nei[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]Neighbor ID
Pri
State
Dead Time
Address
Interface[/size][/font]
[font=Times New Roman][size=3]10.1.1.2
0
FULL/
-
00:00:38
10.1.1.2
Serial1/0[/size][/font]
[font=Times New Roman][size=3]10.1.2.2
0
FULL/
-
00:00:35
10.1.2.2
Serial2/0[/size][/font]
[font=Times New Roman][size=3]R1#debug ip ospf hell[/size][/font]
[font=Times New Roman][size=3]OSPF hello events debugging is on[/size][/font]
[font=Times New Roman][size=3]R1#[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:32:18.611: OSPF: Rcv hello from 10.1.2.2 area 0 from Serial2/0 10.1.2.2[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:32:18.611: OSPF: End of hello processing[/size][/font]
[b][color=red][font=Times New Roman][size=3]*Nov 18 08:32:19.659: OSPF: Send hello to 224.0.0.5 area 0 on Serial1/0 from 10.1.1.1[/size][/font][/color][/b]
[font=Times New Roman][size=3]*Nov 18 08:32:20.459: OSPF: Send hello to 224.0.0.5 area 0 on Serial2/0 from 10.1.2.1[/size][/font]
[font=Times New Roman][size=3]*Nov 18 08:32:31.019: OSPF: Send hello to 224.0.0.5 area 0 on Ethernet0/0 from 10.1.3.1[/size][/font]
[size=3][font=宋体]在接口[/font][font=Times New Roman]s1/0[/font][font=宋体]上运行此命令:[/font][/size]
[b][color=red][font=Times New Roman][size=3]R1(config)#router ospf 10[/size][/font][/color][/b]
[b][color=red][font=Times New Roman][size=3]R1(config-router)#passive-interface serial 1/0[/size][/font][/color][/b]
[font=Times New Roman][size=3]R1#sho ip ospf nei[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]Neighbor ID
Pri
State
Dead Time
Address
Interface[/size][/font]
[font=Times New Roman][size=3]10.1.2.2
0
FULL/
-
00:00:33
10.1.2.2
Serial2/0[/size][/font]
[size=3][font=宋体]此时发现[/font][font=Times New Roman]10.1.1.2[/font][font=宋体]这个邻居已经没有了。[/font][/size]
[size=3][font=Times New Roman]3[/font][font=宋体].用分布控制列表过滤路由更新[/font][/size]
[size=3][font=Times New Roman]   [/font][font=宋体]分布控制列表只抑制某些特定的路由不被发送或接受。[/font][/size]
[size=3][font=Times New Roman] [/font][font=宋体]命令格式:[/font][/size]
[size=3][font=宋体][font=Times New Roman]A.[/font]应用于进入路由更新[/font][/size]
[font=Times New Roman][size=3]
(config-router)#distribute-list
[i]access-list number [/i]
[color=red]in [/color]
[i]{interfacename}[/i][/size][/font]
[size=3][font=宋体][font=Times New Roman]B.[/font]应用于出口路由更新[/font][/size]
[font=Times New Roman][size=3](config-router)#distribute-list [i]access-listnumber [/i][color=red]out[/color][i] (interface name |routing pro|as-number)[/i][/size][/font]
[size=3][font=宋体]实例[/font][font=Times New Roman]3[/font][font=宋体]:禁止[/font][font=Times New Roman]R2[/font][font=宋体]接受有关于网络[/font][font=Times New Roman]10.1.2.0[/font][font=宋体]的路由更新[/font][/size]
[font=Times New Roman][size=3]R2#sho ip rou[/size][/font]
[font=Times New Roman][size=3]Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP[/size][/font]
[font=Times New Roman][size=3]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/size][/font]
[font=Times New Roman][size=3]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/size][/font]
[font=Times New Roman][size=3]
E1 - OSPF external type 1, E2 - OSPF external type 2[/size][/font]
[font=Times New Roman][size=3]
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2[/size][/font]
[font=Times New Roman][size=3]
ia - IS-IS inter area, * - candidate default, U - per-user static route[/size][/font]
[font=Times New Roman][size=3]

o - ODR, P - periodic downloaded static route[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]Gateway of last resort is not set[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]
10.0.0.0/24 is subnetted, 4 subnets[/size][/font]
[font=Times New Roman][size=3]R
10.1.3.0 [120/1] via 10.1.1.1, 00:00:07, Serial2/0[/size][/font]
[color=red][font=Times New Roman][size=3]R
10.1.2.0 [120/1] via 10.1.1.1, 00:00:07, Serial2/0[/size][/font][/color]
[font=Times New Roman][size=3]C
10.1.1.0 is directly connected, Serial2/0[/size][/font]
[font=Times New Roman][size=3]R
10.1.4.0 [120/1] via 10.1.1.1, 00:00:07, Serial2/0 [/size][/font]
[font=Times New Roman][size=3]R2(config)#access-list 1 deny 10.1.2.0[/size][/font]
[font=Times New Roman][size=3]R2(config)#access-list 1 permit any[/size][/font]
[font=Times New Roman][size=3]R2(config)#router rip[/size][/font]
[b][color=red][font=Times New Roman][size=3]R2(config-router)#distribute-list 1 in[/size][/font][/color][/b]
[size=3][font=Times New Roman]180s[/font][font=宋体]后查看路由表:[/font][/size]
[font=Times New Roman][size=3]R2#sh ip rou[/size][/font]
[font=Times New Roman][size=3]Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP[/size][/font]
[font=Times New Roman][size=3]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/size][/font]
[font=Times New Roman][size=3]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/size][/font]
[font=Times New Roman][size=3]
E1 - OSPF external type 1, E2 - OSPF external type 2[/size][/font]
[font=Times New Roman][size=3]
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2[/size][/font]
[font=Times New Roman][size=3]
ia - IS-IS inter area, * - candidate default, U - per-user static route[/size][/font]
[font=Times New Roman][size=3]
o - ODR, P - periodic downloaded static route[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]Gateway of last resort is not set[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[font=Times New Roman][size=3]
10.0.0.0/24 is subnetted, 4 subnets[/size][/font]
[font=Times New Roman][size=3]R
10.1.3.0 [120/1] via 10.1.1.1, 00:00:16, Serial2/0[/size][/font]
[color=red][font=Times New Roman][size=3]R
10.1.2.0/24 is possibly down,[/size][/font][/color]
[color=red][font=Times New Roman][size=3]
routing via 10.1.1.1, Serial2/0[/size][/font][/color]
[font=Times New Roman][size=3]C
10.1.1.0 is directly connected, Serial2/0[/size][/font]
[font=Times New Roman][size=3]R
10.1.4.0 [120/1] via 10.1.1.1, 00:00:16, Serial2/0[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=宋体]实例[/font][font=Times New Roman]4[/font][font=宋体]:利用[/font][font=Times New Roman]distribute-list[/font][font=宋体]“伪”被动[/font][font=Times New Roman]EIGRP OSPF[/font][font=宋体]的接口。观察效果。[/font][/size]
[size=3][font=Times New Roman]R1(config)#router eigrp 10[/font][/size]
[size=3][font=Times New Roman]R1(config-router)#net 10.1.1.0 0.0.0.255[/font][/size]
[size=3][font=Times New Roman]R1(config-router)#net 10.1.2.0 0.0.0.255[/font][/size]
[size=3][font=Times New Roman]R1(config-router)#net 10.1.3.0 0.0.0.255[/font][/size]
[font=Times New Roman][size=3]R1(config-router)#net 10.1.4.0 0.0.0.255[/size][/font]
[size=3][font=Times New Roman]R2(config)#router eigrp 10[/font][/size]
[font=Times New Roman][size=3]R2(config-router)#net 10.1.1.0 0.0.0.255[/size][/font]
[size=3][font=Times New Roman]R3(config)#router eigrp 10[/font][/size]
[font=Times New Roman][size=3]R3(config-router)#net 10.1.2.0 0.0.0.255[/size][/font]
[size=3][font=Times New Roman]R2#sho ip rou[/font][/size]
[size=3][font=Times New Roman]Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP[/font][/size]
[size=3][font=Times New Roman]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/font][/size]
[size=3][font=Times New Roman]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/font][/size]
[size=3][font=Times New Roman]
E1 - OSPF external type 1, E2 - OSPF external type 2[/font][/size]
[size=3][font=Times New Roman]
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2[/font][/size]
[size=3][font=Times New Roman]
ia - IS-IS inter area, * - candidate default, U - per-user static route[/font][/size]
[size=3][font=Times New Roman]
o - ODR, P - periodic downloaded static route[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]Gateway of last resort is not set[/font][/size]
[font=Times New Roman][size=3] [/size][/font]
[size=3][font=Times New Roman]
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks[/font][/size]
[size=3][font=Times New Roman]D
10.1.3.0/24 [90/2195456] via 10.1.1.1, 00:00:27, Serial2/0[/font][/size]
[size=3][font=Times New Roman]D
10.1.2.0/24 [90/2681856] via 10.1.1.1, 00:00:27, Serial2/0[/font][/size]
[size=3][font=Times New Roman]C
10.1.1.0/24 is directly connected, Serial2/0[/font][/size]
[font=Times New Roman][size=3]D
10.1.4.0/24 [90/2297856] via 10.1.1.1, 00:00:27, Serial2/0[/size][/font]
[size=3][font=Times New Roman]R2#sho ip eigrp nei[/font][/size]
[size=3][font=Times New Roman]IP-EIGRP neighbors for process 10[/font][/size]
[size=3][font=Times New Roman]H
Address
Interface
Hold Uptime
SRTT
RTO
Q
Seq[/font][/size]
[size=3][font=Times New Roman]
(sec)
(ms)
Cnt Num[/font][/size]
[font=Times New Roman][size=3]0
10.1.1.1
Se2/0
11 00:03:42
283
1698
0
1[/size][/font]
[font=Times New Roman][size=3] [/size][/font]
[b][color=red][size=3][font=Times New Roman]R2(config)#access-list 3 deny any[/font][/size][/color][/b]
[b][color=red][size=3][font=Times New Roman]R2(config)#router eigrp 10[/font][/size][/color][/b]
[color=red][font=Times New Roman][b][size=3]R2(config-router)#distribute-list 3 out serial 1/0[/size][/b]
[size=3][/size]
[color=#000000][size=3][font=宋体]在[/font]240s[font=宋体]后查看路由表[/font][/size][/color]
[color=#000000][size=3]R2#sho ip rou[/size][/color]
[color=#000000][size=3]Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP[/size][/color]
[color=#000000][size=3]
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area [/size][/color]
[color=#000000][size=3]
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2[/size][/color]
[color=#000000][size=3]
E1 - OSPF external type 1, E2 - OSPF external type 2[/size][/color]
[color=#000000][size=3]
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2[/size][/color]
[color=#000000][size=3]
ia - IS-IS inter area, * - candidate default, U - per-user static route[/size][/color]
[color=#000000][size=3]
o - ODR, P - periodic downloaded static route[/size][/color]
[size=3][color=#000000] [/color][/size]
[color=#000000][size=3]Gateway of last resort is not set[/size][/color]
[size=3][color=#000000] [/color][/size]
[color=#000000][size=3]
10.0.0.0/8 is variably subnetted, 5 subnets, 2 masks[/size][/color]
[size=3][color=#000000]D
10.1.3.0/24 [90/2195456] via 10.1.1.1, [/color][color=red]00:11:54[/color][color=#000000], Serial2/0[/color][/size]
[size=3][color=#000000]D
10.1.2.0/24 [90/2681856] via 10.1.1.1, [/color][color=red]00:11:54, [/color][color=#000000]Serial2/0[/color][/size]
[size=3][color=#000000]C
10.1.1.0/24 is directly connected, Serial2/0[/color][/size]
[size=3][color=#000000]O
10.1.4.2/32 [110/65] via 10.1.1.1, 00:19:37, Serial2/0[/color][/size]
[size=3][color=#000000]D
10.1.4.0/24 [90/2297856] via 10.1.1.1, 00:11:54, Serial2/0[/color][/size]
[size=3][color=#000000] [/color][/size]
[font=宋体][size=3][color=#000000]此时发现路由器已经有很长时间没有收到路由更新。[/color][/size][/font]
[size=3][color=#000000]R2#sho ip eigrp nei [/color][/size]
[size=3][color=#000000]IP-EIGRP neighbors for process 10[/color][/size]
[size=3][color=#000000]H
Address
Interface
Hold Uptime
SRTT
RTO
Q
Seq[/color][/size]
[size=3][color=#000000]
(sec)
(ms)
Cnt Num[/color][/size]
[size=3][color=#000000]0
10.1.1.1
Se2/0

13 00:13:45
60
360
0
3[/color][/size]
[font=宋体][size=3][color=#000000]发现邻居信息依然存在。说明利用分布列表仍然可以保持邻居信息。[/color][/size][/font]
[/font][/color][/font]

岁月无痕 2007-12-5 14:35

我是路过,看到楼主这么辛苦就顶一下,不是专业人士,懂得就不多了
页: [1]
查看完整版本: 控制路由更新数据流(被动接口和分布列表)