網路技術

當前位置 /首頁/計算機/網路技術/列表

EIGRP頻寬例項配置

EIGRP路由資訊在預設情況下佔用介面頻寬的50%,而序列介面預設的頻寬為T1(1.544M),但在實際上序列介面的頻寬並不是預設值,這裡我們按照需求修改介面的頻寬並修改EIGRP 佔用頻寬的百分比例。拓撲圖如下:

EIGRP頻寬例項配置

  修改頻寬佔用比:

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

TAG標籤:例項 頻寬 EIGRP 配置 #