路由器网

cisco动态路由配置教程 cisco动态路由配置之EIGRP的实例

cisco动态路由配置教程 cisco动态路由配置之EIGRP的实例

原标题:"cisco动态路由配置之EIGRP的实例"的相关路由192.168.1.1登录设置教程。来源 - 【路由器之家】。

Cisco配置动态路由,可以使用EIGRP(增强型内部网关路由选择协议)进行配置。组网为R1、R2和R3连成一个链式的拓扑。

首先说一下EIGRP支持的功能:

快速收敛:使用DUAL(弥散更新算法)来实现快速收敛。

带宽的有效利用:发送部分、增量的路由更新而不是发送整个路由表,从而实现带宽的有效利用。

支持多个网络层协议:使用独立于协议的模块(PDM)来支持IP、IPX和Appletalk等协议。

支持VLSM(变长子网掩码)和CIDR(无类域间路由)。

这次实例的思路:分别配置各个路由器的端口IP,使用EIGRP 在各自路由器配置所属的网段。

  1. R1#CONF T   
  2. Enter configuration commands, one per line.  End with CNTL/Z.  
  3. R1(config)#int fa 0/0  
  4. R1(config-if)#ip add 1.1.1.1 255.255.255.0  
  5. R1(config-if)#no sh   
  6. R1(config-if)#exit   
  7. R1(config)#router eigrp ?  
  8.   <1-65535>  Autonomous system number      //自治系统号  
  9.   
  10. R1(config)#router eigrp 10  
  11. R1(config-router)#network 1.1.1.0 0.0.0.255  
  12.   
  13.   
  14. R2(config)#int fa 0/0  
  15. R2(config-if)#ip add 1.1.1.2 255.255.255.0  
  16. R2(config-if)#no sh   
  17. R2(config-if)#exit   
  18. R2(config)#int fa 1/0  
  19. R2(config-if)#ip add 2.2.2.2 255.255.255.0  
  20. R2(config-if)#no sh   
  21. R2(config-if)#exit   
  22. R2(config)#router eigrp 10   
  23. R2(config-router)#network 1.1.1.0 0.0.0.255  
  24. R2(config-router)#network 2.2.2.0 0.0.0.255    
  25.   
  26.   
  27. R3(config)#int fa 0/0  
  28. R3(config-if)#ip add 2.2.2.3 255.255.255.0  
  29. R3(config-if)#no sh   
  30. R3(config-if)#exit   
  31. R3(config)#router eigrp 10   
  32. R3(config-router)#network 2.2.2.0 0.0.0.255  

配置完成之后,可以通过sh ip eigrp top 查看R1上eigrp的拓扑数据结构:

  1. R1#sh ip eigrp top  www.19216811.la  
  2. IP-EIGRP Topology Table for AS(10)/ID(1.1.1.1)    //自治系统号为10  
  3.   
  4. Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,  
  5.        r - reply Status, s - sia Status  
  6.   
  7. P 1.1.1.0/24, 1 successors, FD is 28160  
  8.         via Connected, FastEthernet0/0  
  9. P 2.2.2.0/24, 1 successors, FD is 30720  
  10.         via 1.1.1.2 (30720/28160), FastEthernet0/0  

使用命令sh ip route eigrp 查看R1上eigrp学来的路由:

  1. R1#sh ip route eigrp   
  2.      2.0.0.0/24 is subnetted, 1 subnets  
  3. D       2.2.2.0 [90/30720] via 1.1.1.2, 00:25:42, FastEthernet0/0  

标签: