Home > Frame Relay Tutorial

Frame Relay Tutorial

September 7th, 2011 Go to comments

Let’s start this article with the question: Why do we need Frame Relay?

Let’s take a simple example. Suppose you are working in a big company and your company has just expanded to two new locations. The main site is connected to two branch offices, named Branch 1 & Branch 2 and your boss wants these two branches can communicate with the main site. The most simple solution is to connect them directly (called a leased line) as shown below:

Frame_Relay_before_using_Frame_Relay.jpg

To connect to these two branches, the main site router, HeadQuarter, requires two serial interfaces which a router can provide. But what happens when the company expands to 10 branches, 50 branches? For each point-to-point line, HeadQuarter needs a separate physical serial interface (and maybe a separate CSU/DSU if it is not integrated into the WAN card). As you can imagine, it will need many routers with many interfaces and lots of rack space for the routers and CSU/DSUs. Maybe we should use another solution for this problem? Luckily, Frame Relay can do it!

By using Frame Relay we only need one serial interface at the HeadQuarter to connect to all branches. This is also true when we expand to 10 or 50 branches. Moreover, the cost is much lesser than using leased-lines.

Frame_Relay_implement_Frame_Relay.jpg

Frame Relay is a high-performance WAN protocol that operates at the physical and data link layers of the OSI reference model. It offers lower-cost data transfer when compared to typical point-to-point applications, by using virtual connections within the frame relay network and by combining those connections into a single physical connection at each location. Frame relay providers use a frame relay switch to route the data on each virtual circuit to the appropriate destination.

Maybe these terminologies of Frame Relay are difficult to understand so we will explain them in more detail in this article.

DCE & DTE

The first concept in Frame Relay you must grasp is about DTE & DCE:

+ Data terminal equipment (DTE), which is actually the user device and the logical Frame-relay end-system
+ Data communication equipment (DCE, also called data circuit-terminating equipment), which consists of modem and packet switch

In general, the routers are considered DTE, and the Frame Relay switches are DCE. The purpose of DCE equipment is to provide clocking and switching services in a network. In our example, HeadQuarter, Branch 1 & Branch 2 are DTEs while Frame Relay switches are DCEs.

Virtual Circuits

The logical connection through the Frame Relay network between two DTEs is called a virtual circuit (VC). The term “virtual” here means that the two DTEs are not connected directly but through a network. For example, the HeadQuarter & Branch 1 (or Branch 2) can communicate with each other as if they were directly connected but in fact they are connected through a Frame Relay network with many Frame Relay switches between them.

Frame_Relay_virtual_circuit.jpg

There are two types of VCs
+ switched virtual circuits (SVCs): are temporary connections that are only used when there is sporadic data transfer between DTE devices across the Frame Relay network. SVC is set up dynamically when needed. SVC connections require call setup and termination for each connection.
+ permanent virtual circuits (PVCs): A predefined VC. A PVC can be equated to a leased line in concept.

Nowadays most service providers offer PVC service only to save additional costs for signaling and billing procedures.

Comments (150) Comments
Comment pages
  1. 9tut
    July 24th, 2012

    @Pijush: You can find the Frame Relay switch configuration in the Frame Relay GNS3 Lab: http://www.9tut.com/frame-relay-gns3-lab

  2. Pijush
    July 26th, 2012

    Thanks 9tut

  3. Muditha
    August 4th, 2012

    Are there any frame relay lab questions too in the exam?

  4. Mohammed Osman
    August 5th, 2012

    very fantastic explanation, just like spoon feeding!

  5. Anonymous
    August 9th, 2012

    very nice study material to clear basic of frame relay

  6. Ghulam Abbas
    September 16th, 2012

    Thanks a lot for such a brilliant explanation, i recently completed my CCNA Discovery n soon to take my certification, but only after reading thia tut i v understood fram relay, so thanks 9tut. Can u plz sugest some practice exam for me, i ll b grateful.

  7. ruban
    October 2nd, 2012

    Hi! I have a simple question, PVC states are DTE’s side or DCE’s side??

  8. crispy chirey
    October 9th, 2012

    @ruban: PVC is a circuit (virtual) and not an equipment as oppose to wether it is a DTE or a DCE.

  9. Marvin
    October 9th, 2012

    regarding the keyword “broadcast,” the definition above merely said that you can avoid split-horizon just by putting the keyword “broadcast” in the command statement?? correct me if I’m wrong, but split-horizon cannot be ignore that way. remember, a packet received on an interface cannot be transmitted over the same interface, even if the packet is received and transmitted on different virtual circuits.

  10. kushal arora
    October 9th, 2012

    @ruban
    pvc r the virtual ckt from dte to dte through dce…
    tht is csu/dsu or modem

  11. geedub
    October 9th, 2012

    Looking at your example: — you have dlci 23 twice — I know that this is possible – but isn’t it confusing? I am still confused about q7 — of the WAN section — the output shown — is not clear as to which is router A or B — I will return to that section and ask my questions there

  12. Marvin
    October 9th, 2012

    @ruban
    PVC is a circuit, meaning the actual link, although virtual, comprising the DTE and the DCE
    PVC = DTE + DCE + Frame Network + DCE + DTE

  13. Marvin
    October 9th, 2012

    @geedub
    with reference to the show output stated at q7, your queue there is the DLCI 50, meaning it is in reference with Router A since DLCIs are locally significant and the ip address shown there are the remote ip add of the next hop

  14. Riya Sharma
    October 17th, 2012

    Thanks to giving us such a excellent example to understand about the use of Fram Relay

  15. Bexc
    October 19th, 2012

    This is site is excellent for when I am bored at work :)

  16. Shrirang
    October 19th, 2012

    Simply and easily explained..!!

  17. Doug
    October 31st, 2012

    Brilliantly put together

  18. sharva
    November 4th, 2012

    really good notes,,,simple and understanding…thanks for such good notes

  19. Vinay
    November 25th, 2012

    Nicely explained…thanks 9tut..

  20. Oulkarnain
    December 26th, 2012

    I knew that in a serial connection, one router port should have DCE and another should be DTE. So, for frame relay setup this type of clocking on one side is not reuqired I think? Can anybody please suggest? Thanks in advance.

  21. Virtualyzer
    December 27th, 2012

    i spend hours on google to find clearly information related frame-relay and this is definitely the best explanation i find ! top work 9tut ! keep going!!

  22. keepAlive
    January 31st, 2013

    @9tut
    You are a wonder 9tut wht you are doing here is superheroe stuff you are saving the world one network admin at a time God bless u you

  23. Islam From Egypt
    February 2nd, 2013

    a lot of thanks 9tut :D

  24. TOMS
    February 6th, 2013

    @ 9tut

    I will register here at soon

  25. Mohammed Osman
    February 9th, 2013

    * Dynamic: the router can send an Inverse ARP request to the other end of the PVC for its Layer 2 address. In short, Inverse ARP will attempt to learn its neighboring devices IP addresses and automatically create a dynamic map table. By default, physical interfaces have Inverse ARP enabled.

    THere is a small mistake in this statement, its suppose to be Layer 3 address, so please dont get confuse here

  26. nel
    February 15th, 2013

    Thank you so much 9tut for this tutorial i’ve learn a lot. more power 9tut.

  27. 9tut
    February 17th, 2013

    @Mohammed Osman: Thanks for your detection. I updated it!

  28. kelum
    February 22nd, 2013

    very easy to understant

  29. vousnan
    February 24th, 2013

    good explanation

  30. Anonymous
    February 25th, 2013

    Is there anyway to change the VCE file format to a PDF format?
    Kindly reply at earliest. Exam on March 1,2013

  31. John
    February 26th, 2013

    what cli command will use in dynacmic dlci?

  32. raamia
    February 27th, 2013

    very excellent but what’s the importance of the lim interface?

  33. sathish
    March 9th, 2013

    good explanation.

  34. Richard
    March 15th, 2013

    Thanks for the explanation it is superb.

  35. Anonymous
    March 27th, 2013

    Kudos!! Very good and simple explanation!

  36. Richard
    April 8th, 2013

    Good job thanks 9tut.

  37. Richard
    May 9th, 2013

    that’s true, it is well explained but it is not sufficient enough because it’s just the basic about FR. You still have something to know about frame relay…

  38. makoma,sylvia leseka
    May 9th, 2013

    thanks a lot

  39. Trainer
    May 16th, 2013

    @richard but do you think it’s enough to answers frame relay questions in the ccna exam?

  40. Trainer
    May 16th, 2013

    *to answer .. Obviously

  41. raymond simon
    May 17th, 2013

    9tut is really a tutor,very simple and precise language. i’ ve been using it and now fill confident with my preparation for next month CCNA exam.
    dear readers work hard to your capability, Cisco certification pays a lot.
    may 17 2013

  42. Mamun
    May 19th, 2013

    very helpful tutorial

  43. gowtham chutti
    May 20th, 2013

    thank you

  44. Rakhim
    May 23rd, 2013

    Today I have an exam. I am still preparing, Thank you alot for you suggestions, It was very easy to understand,

  45. ndane
    May 27th, 2013

    interesting thanks to 9tut

  46. shashank
    June 8th, 2013

    @9tut: it would be even better if you can show some configurations along with the theory.

  47. Mongnguyen
    June 27th, 2013

    How to get GNS3 software download? please help

  48. Mongnguyen
    June 27th, 2013

    I would like to practice the gns3 labs above, how to do ? need download something? please help

  49. ajmal
    July 5th, 2013

    thanks brother

  50. mithu
    July 23rd, 2013

    so easy tutorial

Comment pages
Add a Comment