EIGRP带宽实例配置详解
实际上串行接口的带宽并不是默认值,这里我们按照需求修改接口的带宽并修改EIGRP 占用带宽的百分比例。拓扑图如下:
CCNP:
修改带宽占用比:
R1(config)# interface s0/0
R1(config-if)# bandwidth 128 //注意,这里的单位是KB/s
R1(config-if)# ip bandwidth-percent eigrp 100 40 //修改EIGRP 路由信息占用带宽的百分比为40
R1(config-if)# end
R2(config)# interface s0/0
R2(config-if)# bandwidth 64 //注意,这里的单位是KB/s
R2(config-if)# end
R3(config)# interface s0/0
R3(config-if)# bandwidth 64 //注意,这里的单位是KB/s
R3(config-if)# end
验证:
R1#show interfaces serial 0/0 | include BW
MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec,
EIGRP 在帧中继网络中使用点对点子接口的方式。第4 步配置中,可以看到R2 和R3 想要通过R1 学习到对方宣告的网络,必须将R1 的接口S0/0 水平分割关闭才可以。这里我们使用帧中继网络点对点子接口的`方法来完成。
点对点子接口方式:
R1(config)#default interface Serial 0/0 //将接口的配置还原为默认值
Building configuration…
Interface Serial0/0 set to default configuration
R1(config)#
*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
*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
*Mar 1 01:45:30.779: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.3 (Serial0/0) is down: interface down
*Mar 1 01:45:30.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.2 (Serial0/0) is down: interface down
*Mar 1 01:45:31.483: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
*Mar 1 01:45:33.499: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R1(config)#interface Serial 0/0
R1(config-if)#encapsulation fram //封装为帧中继模式
R1(config-if)#no fram inv //关闭自动获取
R1(config-if)#no sh
R1(config-if)#ip split eigrp 100 //打开水平分割
R1(config-if)#int s0/0.1 point //设置点对点子接口
R1(config-subif)#ip add 192.168.1.1 255.255.255.252
R1(config-subif)#fram interface-dlci 102 //指定接口DLCI 号
R1(config-fr-dlci)#int s0/0.2 point //配置R1 和R3 之间的子接口
R1(config-subif)#ip add 192.168.1.5 255.255.255.252
R1(config-subif)#fram interface-dlci 103
*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
*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
R1(config-fr-dlci)#end
因为R1 和R2 相连的子接口IP 地址和子网掩码有所变化必须修改
R2(config)#int s0/0
R2(config-if)#ip add 192.168.1.2 255.255.255.252
因为R1 和R3 相连的子接口IP 地址和子网掩码有所变化必须修改
R3(config)#int s0/0
R3(config-if)#ip add 192.168.1.6 255.255.255.252
*Mar 1 01:47:51.331: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.5 (Serial0/0) is down: address changed
*Mar 1 01:47:51.343: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.1 (Serial0/0) is down: address changed
*Mar 1 01:47:52.463: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 192.168.1.5 (Serial0/0) is up: new adjacency
R3(config-if)#no frame-relay map ip 192.168.1.1 301 broadcas //将之前配置的取消
R3(config-if)#fram map ip 192.168.1.5 301 br
验证配置:
R1#show ip eigrp neighbors
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 192.168.1.6 Se0/0.2 173 00:06:53 117 1053 0 15
0 192.168.1.2 Se0/0.1 135 00:07:12 1055 5000 0 16
R3#ping 10.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/89/180 ms
【EIGRP带宽实例配置详解】相关文章: