糯米文學吧

位置:首頁 > 計算機 > 網絡技術

EIGRP帶寬實例配置詳解

實際上串行接口的帶寬並不是默認值,這裏我們按照需求修改接口的帶寬並修改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 (Serial0/0) is resync: split horizon changed

*Mar 1 01:45:30.367: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is resync: split horizon changed

*Mar 1 01:45:30.779: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: interface down

*Mar 1 01:45:30.787: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (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

R1(config-subif)#fram interface-dlci 102 //指定接口DLCI 號

R1(config-fr-dlci)#int s0/0.2 point //配置R1 和R3 之間的子接口

R1(config-subif)#ip add

R1(config-subif)#fram interface-dlci 103

*Mar 1 01:47:05.767: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0.1) is up: new adjacency

*Mar 1 01:47:06.651: IP-EIGRP(Default-IP-Routing-Table:100): Neighbor 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

因為R1 和R3 相連的子接口IP 地址和子網掩碼有所變化必須修改

R3(config)#int s0/0

R3(config-if)#ip add

*Mar 1 01:47:51.331: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: address changed

*Mar 1 01:47:51.343: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is down: address changed

*Mar 1 01:47:52.463: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor (Serial0/0) is up: new adjacency

R3(config-if)#no frame-relay map ip 301 broadcas //將之前配置的取消

R3(config-if)#fram map ip 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 Se0/0.2 173 00:06:53 117 1053 0 15

0 Se0/0.1 135 00:07:12 1055 5000 0 16

R3#ping

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to , timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 20/89/180 ms