CCNP:EIGRP带宽实例配置解析

网络
EIGRP在帧中继网络中使用点对点子接口的方式。第下文配置中,可以看到路由器互相学习到对方宣告的网络,必须将接口水平分割关闭才可以。这里我们使用帧中继网络点对点子接口的方法来完成。

EIGRP路由信息在默认情况下占用接口带宽的50%,而串行接口默认的带宽为T1(1.544M),但在实际上串行接口的带宽并不是默认值,这里我们按照需求修改接口的带宽并修改EIGRP 占用带宽的百分比例。拓扑图如下:

CCNP:EIGRP带宽实例配置解析

修改带宽占用比:

  1. R1(config)# interface s0/0  
  2. R1(config-if)# bandwidth 128  //注意,这里的单位是KB/s  
  3. R1(config-if)# ip bandwidth-percent eigrp 100 40  //修改EIGRP 路由信息占用带宽的百分比为40  
  4. R1(config-if)# end  
  5.  
  6. R2(config)# interface s0/0  
  7. R2(config-if)# bandwidth 64 //注意,这里的单位是KB/s  
  8. R2(config-if)# end  
  9.  
  10. R3(config)# interface s0/0  
  11. R3(config-if)# bandwidth 64 //注意,这里的单位是KB/s  
  12. R3(config-if)# end 

验证:

  1. R1#show interfaces serial 0/0 | include BW  
  2.   MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, 

EIGRP 在帧中继网络中使用点对点子接口的方式。第4 步配置中,可以看到R2 和R3 想要通过R1 学习到对方宣告的网络,必须将R1 的接口S0/0 水平分割关闭才可以。这里我们使用帧中继网络点对点子接口的方法来完成。

点对点子接口方式:

  1. R1(config)#default interface Serial 0/0 //将接口的配置还原为默认值  
  2. Building configuration…  
  3.  
  4. Interface Serial0/0 set to default configuration  
  5. R1(config)#  
  6. *Mar  1 01:45:30.363: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is resync: split horizon changed  
  7. *Mar  1 01:45:30.367: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is resync: split horizon changed  
  8. *Mar  1 01:45:30.779: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is down: interface down  
  9. *Mar  1 01:45:30.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is down: interface down  
  10. *Mar  1 01:45:31.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down  
  11. *Mar  1 01:45:33.499: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up  
  12. R1(config)#interface Serial 0/0  
  13. R1(config-if)#encapsulation fram  //封装为帧中继模式  
  14. R1(config-if)#no fram inv //关闭自动获取  
  15. R1(config-if)#no sh  
  16. R1(config-if)#ip split eigrp 100 //打开水平分割  
  17. R1(config-if)#int s0/0.1 point  //设置点对点子接口  
  18. R1(config-subif)#ip add 192.168.1.1 255.255.255.252  
  19. R1(config-subif)#fram interface-dlci 102 //指定接口DLCI 号  
  20. R1(config-fr-dlci)#int s0/0.2 point  //配置R1 和R3 之间的子接口  
  21. R1(config-subif)#ip add 192.168.1.5 255.255.255.252  
  22. R1(config-subif)#fram interface-dlci 103            
  23. *Mar  1 01:47:05.767: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0.1) is up: new adjacency  
  24. *Mar  1 01:47:06.651: IP-EIGRP(Default-IP-Routing-Table:100): Neighbor 192.168.1.3 not on common subnet for Serial0/0.2  
  25. R1(config-fr-dlci)#end 

因为R1 和R2 相连的子接口IP 地址和子网掩码有所变化必须修改

  1. R2(config)#int s0/0  
  2. R2(config-if)#ip add 192.168.1.2 255.255.255.252 

因为R1 和R3 相连的子接口IP 地址和子网掩码有所变化必须修改

  1. R3(config)#int s0/0  
  2. R3(config-if)#ip add 192.168.1.6 255.255.255.252  
  3. *Mar  1 01:47:51.331: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.5 (Serial0/0) is down: address changed  
  4. *Mar  1 01:47:51.343: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.1 (Serial0/0) is down: address changed  
  5. *Mar  1 01:47:52.463: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.5 (Serial0/0) is up: new adjacency  
  6. R3(config-if)#no frame-relay map ip 192.168.1.1 301 broadcas  //将之前配置的取消  
  7. R3(config-if)#fram map ip 192.168.1.5 301 br 

验证配置:

  1. R1#show ip eigrp neighbors  
  2. IP-EIGRP neighbors for process 100  
  3. H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq  
  4.                                             (sec)         (ms)       Cnt Num  
  5. 1   192.168.1.6             Se0/0.2          173 00:06:53  117  1053  0  15  
  6. 0   192.168.1.2             Se0/0.1          135 00:07:12 1055  5000  0  16  
  7.  
  8. R3#ping 10.1.1.1  
  9.  
  10. Type escape sequence to abort.  
  11. Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:  
  12. !!!!!  
  13. Success rate is 100 percent (5/5), round-trip min/avg/max = 20/89/180 ms 

 EIGRP和帧中继的配置实例说明请阅读:帧中继交换机和路由器模拟配置EIGRP路由协议的配置实例解析

责任编辑:佚名 来源: 咦哇噢博客
相关推荐

2011-08-16 11:22:09

EIGRP帧中继

2011-04-13 11:27:28

EIGRP路由

2011-04-13 13:14:41

EIGRP STUB

2009-05-05 10:39:10

CCNP数据包路由

2011-04-02 16:36:52

NAT

2009-09-02 16:24:44

CCNP配置实验MPLS

2010-08-17 12:09:24

CCNP认证

2011-09-07 10:44:36

DHCP服务器配置

2009-12-02 10:34:04

华为路由器配置实例

2011-09-15 13:56:35

2011-04-13 11:16:10

路由器WCCPWeb

2010-09-17 16:54:26

Java运行环境

2011-08-16 11:06:12

帧中继

2011-08-16 10:50:35

DHCP路由器配置

2009-09-10 10:29:53

交换机背板带宽

2009-05-13 10:50:59

CCNPHSRP路由

2011-04-02 11:02:24

2009-09-23 15:12:41

Hibernate视图

2010-08-02 09:43:00

Flex应用

2013-12-19 09:43:43

点赞
收藏

51CTO技术栈公众号