2010年5月22日 星期六

Lab 2-4ab EIGRP Frame Relay Hub and Spoke: Router Used As Frame Switch

Topology

image 

GNS檔案

FRSW
!
!Step 0: Basic Setting
conf
hostname FRS
no ip domain-lookup
!
!Step 2: Configuring the Frame Relay Switch
!啟用Frame-Realy Switch功能
frame-relay switching
!
!設定HQ to East Frame-Rleay route
!設定HQ to West Frame-Rleay route
interface Serial 1/1
description FR to HQ
no ip address
encapsulation frame-relay
clock rate 128000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 interface Serial 1/2 201
frame-relay route 103 interface Serial 1/3 301
no shutdown
!
!設定East to HQ Frame-Rleay route
interface Serial 1/2
description FR to East
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 interface Serial 1/1 102
no shutdown
!
!設定West to HQ Frame-Rleay route
interface Serial 1/3
description FR to West
no ip address
encapsulation frame-relay
clock rate 64000
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 interface Serial 1/1 103
no shutdown 

HQ 
!
!Step 0: Basic Setting
conf terminal
hostname HQ
no ip domain-lookup
!
!Step 1: Addressing
interface Loopback1
ip address 10.1.1.1 255.255.224.0
interface Loopback33
ip address 10.1.33.1 255.255.224.0
interface Loopback65
ip address 10.1.65.1 255.255.224.0
interface Loopback97
ip address 10.1.97.1 255.255.224.0
interface Loopback129
ip address 10.1.129.1 255.255.224.0
interface Loopback161
ip address 10.1.161.1 255.255.224.0
!
!Step 3: Configuring the Frame Relay Endpoints
!設定介面IP/Frame-Relay Map
int s 0/0 
ip add 172.16.124.1 255.255.255.248 
encapsulation frame-relay ietf
!
!關閉dlci自動識別(需手動指令frame-relay map) 
no frame-relay inverse-arp
!
!Broadcast環境(自動識別鄰居)
frame-relay map ip 172.16.124.1 102 broadcast
frame-relay map ip 172.16.124.2 102 broadcast
frame-relay map ip 172.16.124.3 103 broadcast
!
!NonBroadcast環境(需手動指定鄰居)
frame-relay map ip 172.16.124.1 102
frame-relay map ip 172.16.124.2 102
frame-relay map ip 172.16.124.3 103

!
!Step 4: Setting Interface-Level Bandwidth
conf t
int s 0/0
bandwidth 128
end
!
!設定Frame-Relay介面上EIGRP最大允許使用頻寬百分比(40%)
int s 0/0
ip bandwidth-percent eigrp 1 40
end
!
!Step 5: Configuring EIGRP
router eigrp 1
network 172.16.0.0
network 10.0.0.0
no auto-summary
!
!關閉split-horizon機制讓East與West可以學到對方的路由
no ip split-horizon eigrp 1
end
!
!Step 6: Using Non-broadcast EIGRP Mode
!NonBroadcast環境下需手動指定eigrp鄰居
neighbor 172.16.124.2 Serial0/0
neighbor 172.16.124.3 Serial0/0

end
!
!Step 7: Implementing EIGRP Manual Summarization
!手動摘要eigrp要送出的路由資訊
ip summary-address eigrp 1 10.1.0.0 255.255.0.0 5
end


EAST
!
!Step 0: Basic Setting
conf terminal
hostname East
no ip domain-lookup
!
!Step 1: Addressing
interface Loopback1
ip address 10.2.1.1 255.255.224.0
interface Loopback33
ip address 10.2.33.1 255.255.224.0
interface Loopback65
ip address 10.2.65.1 255.255.224.0
interface Loopback97
ip address 10.2.97.1 255.255.224.0
interface Loopback129
ip address 10.2.129.1 255.255.224.0
interface Loopback161
ip address 10.2.161.1 255.255.224.0
!
!Step 3: Configuring the Frame Relay Endpoints
!設定介面IP/Frame-Relay Map
int s 0/0
ip add 172.16.124.2 255.255.255.248
encapsulation frame-relay ietf
!
!關閉dlci自動識別(需手動指令frame-relay map)  
no frame-relay inverse-arp
!
!Broadcast環境(自動識別鄰居)
frame-relay map ip 172.16.124.1 201 broadcast
frame-relay map ip 172.16.124.2 201 broadcast
frame-relay map ip 172.16.124.3 201 broadcast
!
!NonBroadcast環境(需手動指定鄰居)
frame-relay map ip 172.16.124.1 201
frame-relay map ip 172.16.124.2 201
frame-relay map ip 172.16.124.3 201

!
!Step 4: Setting Interface-Level Bandwidth
conf t
int s 0/0
bandwidth 128
end
!
!設定Frame-Relay介面上EIGRP最大允許使用頻寬百分比(40%)
int s 0/0
ip bandwidth-percent eigrp 1 40
end
!
!Step 5: Configuring EIGRP
router eigrp 1
network 172.16.0.0
network 10.0.0.0
no auto-summary
!
!Step 6: Using Non-broadcast EIGRP Mode
!NonBroadcast環境下需手動指定eigrp鄰居
neighbor 172.16.124.1 Serial0/0

end 
!
!Step 7: Implementing EIGRP Manual Summarization
!手動摘要eigrp要送出的路由資訊
ip summary-address eigrp 1 10.2.0.0 255.255.0.0 5
end

WEST
!
!Step 0: Basic Setting
conf terminal
hostname West
no ip domain-lookup
!
!Step 1: Addressing
interface Loopback1
ip address 10.3.1.1 255.255.224.0
interface Loopback33
ip address 10.3.33.1 255.255.224.0
interface Loopback65
ip address 10.3.65.1 255.255.224.0
interface Loopback97
ip address 10.3.97.1 255.255.224.0
interface Loopback129
ip address 10.3.129.1 255.255.224.0
interface Loopback161
ip address 10.3.161.1 255.255.224.0
!
!Step 3: Configuring the Frame Relay Endpoints
!設定介面IP/Frame-Relay Map(採用Broadcast方式自動識別鄰居)
int s 0/0
ip add 172.16.124.3 255.255.255.248
encapsulation frame-relay ietf
!
!關閉dlci自動識別(需手動指令frame-relay map) 
no frame-relay inverse-arp
!
!Broadcast環境(自動識別鄰居)
frame-relay map ip 172.16.124.1 301 broadcast
frame-relay map ip 172.16.124.2 301 broadcast
frame-relay map ip 172.16.124.3 301 broadcast

!
!NonBroadcast環境(需手動指定鄰居)
frame-relay map ip 172.16.124.1 301
frame-relay map ip 172.16.124.2 301
frame-relay map ip 172.16.124.3 301
!
!Step 4: Setting Interface-Level Bandwidth
conf t
int s 0/0
bandwidth 128
end
!
!設定Frame-Relay介面上EIGRP最大允許使用頻寬百分比(40%)
int s 0/0
ip bandwidth-percent eigrp 1 40
end
!
!Step 5: Configuring EIGRP
router eigrp 1
network 172.16.0.0
network 10.0.0.0
no auto-summary
end
!
!Step 6: Using Non-broadcast EIGRP Mode
!NonBroadcast環境下需手動指定eigrp鄰居
neighbor 172.16.124.1 Serial0/0

end
!
!Step 7: Implementing EIGRP Manual Summarization
!手動摘要eigrp要送出的路由資訊
ip summary-address eigrp 1 10.3.0.0 255.255.0.0 5 
end

Show指令
show frame-relay route
show frame-relay map
show ip route
show interface (介面 代號)
show ip protocol
show ip eigrp neighbors
show ip eigrp interface 
show ip eigrp topology

參考文件
Configuring Frame Relay Switching

Configuring Basic Frame Relay

Configuring Hub and Spoke Frame Relay

Configuration Notes for the Implementation of EIGRP over Frame Relay and Low Speed Links

Comprehensive Guide to Configuring and Troubleshooting Frame Relay

沒有留言:

張貼留言