Friday, January 6, 2012

How to create a frame relay switch

Here I am going to demonstrate how to configure cisco router as a frame relay switch. The configuration is very simple. So check the figure below carefully and understand the configuration.
frame relay switch
Connect the routers as in the figure.Here I am creating two PVCs – first one between R1 & R2, and second one between  R1 & R3

FR-SW(config)#frame-relay switching  (Enables frame relay switching)
FR-SW(config)#int s0/1
FR-SW(config-if)#encapsulation frame-relay
FR-SW(config-if)#frame-relay intf-type dce
FR-SW(config-if)#clock rate 64000         (This specifies the speed of connection; v.35 serial cable support up to 2mbps)
FR-SW(config-if)#frame-relay route 102 interface s0/2 201      (This tells the router if anything comes from DLCI 102, send it to S0/2 interface which has the destination DLCI of  201)
FR-SW(config-if)#frame-relay route 103 interface s0/3 301
FR-SW(config)#int s0/2
FR-SW(config-if)#encapsulation frame-relay
FR-SW(config-if)#clock rate 64000
FR-SW(config-if)#frame-relay intf-type dce
FR-SW(config-if)#frame-relay route 201 interface s0/1 102
FR-SW(config)#int s0/3
FR-SW(config-if)#encapsulation frame-relay
FR-SW(config-if)#clock rate 64000
FR-SW(config-if)#frame-relay intf-type dce
FR-SW(config-if)#frame-relay route 301 interface s0/1 102
If you are using GNS3 the commands are same. Also if you want to add a PVC between R2 and R3, we need two more DLCI’s. For example, we can use DLCI 203 on R2 end and DLCI 302 on R3 end. Then then command will be as follows.
FR-SW(config)#int s0/2
FR-SW(config-if)#frame-relay route 203 interface s0/3 302
FR-SW(config)#int s0/3
FR-SW(config-if)#frame-relay route 302 interface s0/2 203

2 comments:

irshad network said...

thanx dude it's very useful for me...

irshad network said...

thanx dude it's very useful for me thank you very much..