Wednesday, February 2, 2011

FRAME-RELAY

Frame-relay is a layer 2 technology to create vpn based network.It supports the data rate of 1.544 MBPS and to the maximum of 44 MBPS.Frame-relay cloud is a pool of bandwith supporting bursty nature of data. In frame-relay no error correction, error detection are implemented.In this technology the end devices are connected to the switching network called frame-relay cloud.Frame-relay cloud is the collection of frame-relay switches,the purpose of frame-relay switches is to transfer the packets across the virtual circuit implemented in the frame-relay cloud.
The DTE end to which the end devices are attached is connected to the Csu/Dsu device which in turn is connected to the frame-relay switch which is a DCE device.The clock rate is set on the dce device.The path to the destination in the virtual circuit is identified by DLCI(data link connection identifier) which are set at the ISP end.




Implementing Frame-relay on cisco routers

This is the configuration for NBMA rfc standard.
In this configuration neighbours are not discovered dynamically and there is the contest for DR/ BDR.







Scenario

connecting R1 R2 and R3 across the framerelay cloud.

Configuration

framerelay router as a frame-relay switch

r>en
r#conf t
r(config)#hostname fr-sw
fr-sw(config)#frame-relay switching
fr-sw(config)#int s 1/0
fr-sw(config-if)#encapsulation frame-relay
fr-sw(config-if)#frame-relay intf dce
fr-sw(config-if)#frame-relay route 102 interface serial 1/1 201
fr-sw(config-if)#frame-relay route 103 interface serial 1/2 301
fr-sw(config-if)#clock rate 128000
fr-sw(config-if)#no shutdown
fr-sw(config-if)#exit
fr-sw(config)#int s 1/1
fr-sw(config-if)#encapsulation frame-relay
fr-sw(config-if)#frame-relay intf dce
fr-sw(config-if)#frame-relay route 201 interface serial 1/0 102
fr-sw(config-if)#clock rate 128000
fr-sw(config-if)#no shutdown
.
.

fr-sw(config)#int s 1/2
fr-sw(config-if)#encapsulation frame-relay
fr-sw(config-if)#frame-relay intf dce
fr-sw(config-if)#frame-relay route 301 interface serial 1/0 103
fr-sw(config-if)#clock rate 128000
fr-sw(config-if)#no shutdown
fr-sw(config)#exit



commands associated for troubeshooting

show frame-relay route
show frame-relay pvc

router configuration

R1>en
R1#conf terminal
R1(config)#hostname hub
hub(config)#int s 1/0
hub(config-if)#encapsulation frame-relay
hub(config-if)#ip address 10.0.0.1 255.0.0.0
hub(config-if)#no shut
hub(config-if)#int lo 0
hub(config-if)#ip add 1.1.1.1 255.0.0.0
hub(config-if)#exit
hub(config)#int s 1/0
hub(config-if)#frame-relay route map ip 10.0.0.2 102 broadcast
hub(config-if)#frame-relay route map ip 10.0.0.3 103 broadcast
exit
hub(config)#router ospf 10
hub(config)#network 10.0.0.0 0.0.0.255 area 0
hub(config-router)#network 1.1.1.1 0.0.0.0 area 0
hub(config-router)#neighbor 10.0.0.2
hub(config-router)#neighbor 10.0.0.3
exit


R1
R1#conf terminal
R1(config)#hostname spoke1
spoke1(config)#int s 1/0
spoke1(config-if)#ip add 10.0.0.2 255.0.0.0
spoke1(config-if)#no shutdown
spoke1(config-if)#int lo 0
spoke1(config-if)#ip add 2.2.2.2 255.0.0.0
spoke1(config-if)#exit
spoke1(config)#int s 1/0
spoke1(config-if)#encapsulation frame-relay
spoke1(config-if)#frame-relay route map ip 10.0.0.1 201 broadcast
exit
spoke1(config)#router ospf 10
spoke1(config)#network 10.0.0.0 0.0.0.255 area 0
spoke1(config-router)#network 2.2.2.2 0.0.0.0 area 0
spoke1(config-router)#neighbor 10.0.0.1
exit

R3
R3#conf terminal
R3(config)#hostname spoke2
spoke2(config)#int s 1/0
spoke2(config-if)#ip add 10.0.0.2 255.0.0.0
spoke2(config-if)#no sh
spoke2(config-if)#exit
spoke2(config)#int lo 0
spoke2(config-if)#ip add 3.3.3.3 255.0.0.0
spoke2(config-if)#int s 1/0
spoke2(config-if)#encapsulation frame-relay
spoke2(config-if)#frame-relay route map ip 10.0.0.1 301 broadcast
exit
spoke2(config)#router ospf 10
spoke2(config)#network 10.0.0.0 0.0.0.255 area 0
spoke2(config-router)#network 3.3.3.3 0.0.0.0 area 0
spoke1(config-router)#neighbor 10.0.0.1
exit