EIGRP协议的基本配置(2)

王朝other·作者佚名  2008-05-31
宽屏版  字体: |||超大  

第1段:杳看EIGRP路由信息

R3#sh ip route

Codes: C -connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP

D - EIGRjP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2

E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP

i- IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area

* - candidate default, U - per-user static route, o - ODR

P - periodic downloaded static route

Gateway of last resort is not set

C200.1.1.0/24 is directly connected, Ethernet0

201.1.13.0/30 is subnetted, 1 subnets

C201.1.13.0 is directly connected, Serial0

201.1.12.0/30 is subnetted, 1 subnets

D201.1.12.0 [90/1817600] via 200,1.1.2,00:02:57, Ethernet0

10.0.0.0/24 is subnetted, I mibnets

D10.1.1.0 [90/1920000] via 201.1,13,1,00:02:57, Seriai0

R3#

Term_Server2

[Resuming connection 1 to R1 ...]

R2#

R2#sh ip route eigrp

201.1.13.0/30 is subnetted, 1 subnets

D201.1.13.0190/1817600) via 200.1.1.3, 00:07:31, Ethernet0

10.0.0.0/24is subnetted,1 subnets

D10.1.1.0[90/1920000]via 201.1.1.12.1,00:07:26,Serial0

R2#

Term Server1

[Resuming connection 1 to R1 ...]

R1#sh ip route etgrp

D200.1.1.0/24 [90/1817600] via 201.1.12,2, 00:07:40,

[90/18176003 via 201.1.13.2,00:07:41,Serial1

R1#

[90/1817600] via 201.1.13.2, 00:07:41, Serial1

R1#sh ip route 200.1.1.0

Routing entry for 200.1.1.0/24

Known via "eigrp 100", distance 90,metric 1817600, type internal

Redistributing via eigrp 100

Last update from 201.1.13.2 on Serial1, 00:35:12 ago)

Routing Descriptor Blocks:

*201.1.12.2, from 201.1,12.2,00:35:12 ago, via Serial0

Route metric is 1817600, traffic share count is 1

Total delay is 21000 microseconds, minimum bandwicll is. 1000 Kbit

Reliability 255/255, minimum MTU 1500 bytes

Loading 1/255, Hops 1

201.1.13.2, from 201.1.13.2, 00:35:12 ago, via Serial1

Route metric is 1817600, traffic share count is 1

Total delay is 21000 microseconds, minimum banchvidt@ii 1000111

Reliability 255/255, minimum MTU 1500 bytes

Loading 1/255, Hops 1

第2段:查看EIGRP协议配置信息

R1#ship protocol

Routing Protocol is "eigrp 100"

Outgoing update filter list for all interfaces is

Incoming update filter list for all interfaces is

Default networks flagged in outgoing updates

Default networks accepted from incoming updates

EIGRP metric weight K1=1,K2=0,K3=1,K4=0,K5=0

EIGRP maximum hopcount 100

EIGRP maximum metric variance1

Redistributing: eigrp 100

Automatic network summarization is not in effect

Routing for Networks:

10.1.1.0/24

201.1.12.0/30

201.1.13.0/30

Routing Information Sources:

GatewayDistanceLast Update

(this router)9000:42:44

201,1.12.290 00:35:29

201.1.13.29000:35:27

Distance: internal 90 external 170

第3段:查看EIGRP邻居路由器

R1#sh ip eigrp neighbor

IP-EIGRP neighbors for process 100

HAddressInterfaceHoldUptimeSRTTRTOQSeq Type

(sec)(ms)CntNum

1201.1,13.2Se11200:36:092020006

0201.1.12.2Se01200:38:501020006

R1#

(1)在R3路由器上使用show ip route命令查看其路由表,可以看到有2个由EIGRP协议所获取的路由表项,分别是关于10.1.1.0/24网段和201.1.12.0/24网段的,前面的字母"D"代表EIGRP。

至于为什么用"D"而不用"E"代表EIGRP,是因为"E"已经代表了EGP(外部网关协议),而"D"是DUAL(扩散更新算法,EEGRP的路由算法)的头一个字母的缘故。

在路由表项中的"[90/1817600]",斜线前的数字"90"是EIGRP协议的治理距离;斜线后的数宇"1817600"是本条路由的度量值(Metric)。

(2)使用show ip route eigrp命令可以只列出由ETGRP协议所获取的路由信息。

(3)在R1路由器上查看路由表,显示对200.1.1.0/24于网有2条路径,即201.1.12.2(通过R2路由器)和201.1.13.2(通过R3路由器),这是相等度量值负载均衡的情况。在后续验中我们可以看到在EIGRP协议中不等度量值负载均衡的情况。

(4)在R1上发出show ip route 200.1.1.0命令,查看对于网络地址为200.1.10的网段的路由表项的具体信息。信息包括:

此网段是由EIGRP获取Known via"eigrp 100";

对应的治理距离为90——distance 9O;

相应的度量值为1817600——metric 1817600;

路由类型为EIGRP内部路由type internal;

最后一次更新的源地址。接口和时间Last update form 201.1.13.2 on Seriall,00:35:12ago。

本路由表项有2个路由源,即2O1.1.12.2(R2)和201.1.13.2(R3),对于每一个路由源,列表中给出了相应的Metric值,同时给出了延迟、带宽、可靠性。MTU和负载的值。

(5)在第2段中,使用show ip protocol命令查看了有关EIGRP协议的配置信息和统计信息。其主要信息为:

EIGRP的variance(变量)值为1,即只进行等度量值的负载均衡;

自动汇总处于关闭状态;

所路由的网络为10.1.1.0/24、201.1.12.0/30和201.1.13.0/30,这是通过network语句配置进R1路由器中的3个网段;

路由信息源为201.1.12.2和201.1.13.2,即R2和R3,R1由这2个路由器学习来其他网段的路由信息。

治理距离为:内部90,外部170。这里的内部指由EIGRP协议本身产生的路由信息,外部是指由其他协议再分发(Redistribute)过来的路由信息。这两者的治理距离是不同的,两者的可信程度的区别较大。

(6)EIGRP协议能够在两个路由器之间交换路由信息的基础是它们彼此形成EIGRP邻居关系,成为EIGRP邻居。

show ip eigrp neighbors命令列出了有关EIGRP邻居的信息摘要,我们主要关注其中的Address、Interfce和Uptime字段下对应的信息:

Address项对应的是邻居路由器的IP地址;

Interface项对应的接口是与邻居路由器相连的本路由器上的接口号;

Uptime项对应的时间表示与相应的邻居路由器建立EIGRP邻接关系的时间。

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有