1 / 83

Mod 5 – Frame Relay

Mod 5 – Frame Relay. Overview. Frame Relay has replaced X.25 as the packet-switching technology of choice in many nations, particularly the United States. First standardized in 1990, Frame Relay streamlines Layer 2 functions and provides only basic error checking rather than error correction.

ruby
Download Presentation

Mod 5 – Frame Relay

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mod 5 – Frame Relay

  2. Overview • Frame Relay has replaced X.25 as the packet-switching technology of choice in many nations, particularly the United States. • First standardized in 1990, Frame Relay streamlines Layer 2 functions and provides only basic error checking rather than error correction. • This low-overhead approach to switching packets increases performance and efficiency. • Modern fiber optic links and digital transmission facilities offer much lower error rates than their copper predecessors. • For that reason, the use of X.25 reliability mechanisms at Layer 2 and Layer 3 is now generally regarded as unnecessary overhead. • This module presents Frame Relay technology, including its benefits and requirements.

  3. Frame Relay overview • Frame Relay is an International Telecommunications Union (ITU-T) and American National Standards Institute (ANSI) standard that defines the process for sending data over a packet-switched network. • It is a connection-oriented data-link technology that is optimized to provide high performance and efficiency.

  4. Frame Relay overview • Modern telecommunications networks are characterized by relatively error-free digital transmission and highly reliable fiber infrastructures. • Frame Relay takes advantage of these technologies by relying almost entirely on upper-layer protocols to detect and recover from errors. • Frame Relay does not have the sequencing, windowing, and retransmission mechanisms that are used by X.25. • Without the overhead associated with comprehensive error detection, the streamlined operation of Frame Relay outperforms X.25. • Typical speeds range from 56 kbps up to 2 Mbps, although higher speeds are possible. (45 Mbps) • The network providing the Frame Relay service can be either a carrier-provided public network or a privately owned network.

  5. Frame Relay overview • Like X.25, Frame Relay defines the interconnection process between the customer's data terminal equipment (DTE), such as the router, and the service provider's data communication equipment (DCE). • Frame Relay does not define the way the data is transmitted within the service provider's network once the traffic reaches the provider's switch. • Therefore, a Frame Relay provider could use a variety of technologies, such as Asynchronous Transfer Mode (ATM) or Point-to-Point Protocol (PPP), to move data from one end of its network to another.

  6. Frame Relay devices - DTE • DTEs generally are considered to be terminating equipment for a specific network and typically are located on the premises of the customer. • The customer may also own this equipment. • Examples of DTE devices are: • routers • Frame Relay Access Devices (FRADs). • A FRAD is a specialized device designed to provide a connection between a LAN and a Frame Relay WAN.

  7. Frame Relay devices - DCE • DCEs are carrier-owned internetworking devices. • The purpose of DCE equipment is to provide clocking and switching services in a network. • In most cases, these are packet switches, which are the devices that actually transmit data through the WAN

  8. Frame Relay devices – UNI and NNI NNI • It is quite common to find ATM as the technology used within the service provider’s Frame Relay network or cloud. • Regardless of the technology used inside the cloud, the connection between the customer and the Frame Relay service provider is still Frame Relay. • The connection between the customer and the service provider is known as the User-to-Network Interface (UNI). • The Network-to-Network Interface (NNI) is used to describe how Frame Relay networks from different providers connect to each other. UNI

  9. Frame Relay operation Access circuits • Generally, the greater the distance covered by a leased line, the more expensive the service. • Maintaining a full mesh of leased lines to remote sites proves too expensive for many organizations. • On the other hand, packet-switched networks provide a means for multiplexing several logical data conversations over a single physical transmission link. • A single connection to a provider’s packet-switched network will be less expensive than separate leased lines between the customer and each remote site. • Packet-switched networks use virtual circuits to deliver packets from end to end over a shared infrastructure.

  10. Frame Relay operation Access circuits • A packet-switched service such as Frame Relay requires that a customer maintain only one circuit, typically a T1, to the provider's Central Office (CO). (Access Circuit) • Frame Relay provides tremendous cost-effectiveness, since one site can connect many geographically distant sites using a single T1 and single channel service unit/data service unit (CSU/DSU) to the local CO.

  11. Frame Relay operation - VC Access circuits • In order for any two Frame Relay sites to communicate, the service provider must set up a virtual circuit between these sites within the Frame Relay network. • Service providers will typically charge for each virtual circuit. • However, the charge for each virtual circuit is typically very low. • This makes Frame Relay an ideal technology when full-mesh topologies are needed. • As discussed later, many enterprises use a hub and spoke topology using only virtual circuits between a central site and each of the branch offices. • For two branch offices to reach each other, the traffic must pass through the central site.

  12. Frame Relay operation - PVC An SVC between the same two DTEs may change. A PVC between the same two DTEs will always be the same. • Frame Relay and X.25 networks support both permanent virtual circuits (PVCs) and switched virtual circuits (SVCs). • A PVC is the most common type of Frame Relay virtual circuit. • PVCs are permanently established connections that are used when there is frequent and consistent data transfer between DTE devices across a Frame Relay network. • PVC are VCs that have been preconfigured by the carrier are used. • The switching information for a VC is stored in the memory of the switch. Path may change. Always same Path.

  13. Frame Relay operation - SVC An SVC between the same two DTEs may change. A PVC between the same two DTEs will always be the same. • SVCs are temporary connections that are only used when there is sporadic data transfer between DTE devices across the Frame Relay network. • Because they are temporary, SVC connections require call setup and termination for each connection supported by Cisco IOS Release 11.2 or later. • Before implementing these temporary connections, determine whether the service carrier supports SVCs since many Frame Relay providers only support PVCs. Path may change. Always same Path.

  14. DLCI • RTA can use only one of three configured PVCs to reach RTB. • In order for router RTA to know which PVC to use, Layer 3 addresses must be mapped to DLCI numbers. • RTA must map Layer 3 addresses to the available DLCIs. • RTA maps the RTB IP address 1.1.1.3 to DLCI 17. • Once RTA knows which DLCI to use, it can encapsulate the IP packet with a Frame Relay frame, which contains the appropriate DLCI number to reach that destination.

  15. DLCI • Cisco routers support two types of Frame Relay headers, encapsulation. • One type is cisco, which is a 4-byte header. • The second is itef, which is a 2-byte header that conforms to the IETF standards. • The Cisco proprietary 4-byte header is the default and cannot be used if the router is connected to another vendor's equipment across a Frame Relay network.

  16. IETF Frame Relay Frame

  17. IETF Frame Relay Frame

  18. DLCI • By including a DLCI number in the Frame Relay header, RTA can communicate with both RTB and RTC over the same physical circuit. • This technique of allowing multiple logical channels to transmit across a single physical circuit is called statistical multiplexing. • Statistical multiplexing dynamically allocates bandwidth to active channels. • If RTA has no packets to send RTB, RTA can use all the available bandwidth to communicate with RTC. • Statistical multiplexing contrasts with time-division multiplexing (TDM), which is typically used over dedicated circuits or leased lines. • Unfortunately, TDM allocates bandwidth to each channel regardless of whether the station has data to transmit.

  19. DLCI • A data-link connection identifier (DLCI)identifies the logical VC between the CPE and the Frame Relay switch. • The Frame Relay switch maps the DLCIs between each pair of routers to create a PVC. • DLCIs have local significance, although there some implementations that use global DLCIs. • DLCIs 0 to 15 and 1008 to 1023 are reserved for special purposes. • Service providers assign DLCIs in the range of 16 to 1007. • DLCI 1019, 1020: Multicasts • DLCI 1023: Cisco LMI • DLCI 0: ANSI LMI • Remember that DLCI is a 10-bit field

  20. DLCI • In order to build a map of DLCIs to Layer 3 addresses, the router must first know what VCs are available. • Typically, the process of learning about available VCs and their DLCI values is handled by theLMI signaling standard. • LMI is discussed in the next section. • Once the DLCIs for available VCs are known, the router must learn which Layer 3 addresses map to which DLCIs. • The address mapping can be either configured manuallyor dynamically. • Whether the mapping of a DLCI to remote IP address happens manually or dynamically, the DLCI that is used does not have to be the same number at both ends of the PVC.

  21. DLCI • Your Frame Relay provider sets up the DLCI numbers to be used by the routers for establishing PVCs.

  22. LMI – Local Management Interface • LMI is a signaling standard between theDTE and the Frame Relay switch. • LMI is responsible for managing the connection and maintaining the status between devices. • LMI includes: • A keepalive mechanism, which verifies that data is flowing • A multicast mechanism, which provides the network server (router) with its local DLCI. • A status mechanism, which provides an ongoing status on the DLCIs known to the switch 1023 0

  23. LMI • The three types of LMIare not compatible with each others. • The LMI type must match between the provider Frame Relay switch and the customer DTE device. LMI

  24. LMI • In Cisco IOS releases prior to 11.2, the Frame Relay interface must be manually configured to use the correct LMI type, which is furnished by the service provider. • If using Cisco IOS Release 11.2 or later, the router attempts to automatically detect the type of LMI used by the provider switch. • This automatic detection process is called LMI autosensing. • No matter which LMI type is used, when LMI autosense is active, it sends out a full status request to the provider switch. LMI

  25. LMI • Frame Relay devices can now listen in on both DLCI 1023 (Cisco LMI) and DLCI 0 (ANSI and ITU-T) simultaneously. • The order is ansi, q933a, cisco and is done in rapid succession to accommodate intelligent switches that can handle multiple formats simultaneously. • The Frame Relay switch uses LMI to report the status of configured PVCs. • The three possible PVC states are as follows: • Active state – Indicates that the connection is active and that routers can exchange data. • Inactive state – Indicates that the local connection to the Frame Relay switch is working, but the remote router connection to the Frame Relay switch is not working. • Deleted state – Indicates that no LMI is being received from the Frame Relay switch, or that there is no service between the CPE router and Frame Relay switch.

  26. DLCI Mapping to Network Address RTA will know how to reach RTB from the routing information; however, it will need to use a statically or dynamically configure frame map to encapsulate the frame at layer 2 with the correct DLCI • Manual • Manual: Administrators use a frame relay map statement. • Dynamic • Inverse Address Resolution Protocol (I-ARP) provides a given DLCI and requests next-hop protocol addresses for a specific connection. • The router then updates its mapping table and uses the information in the table to forward packets on the correct route.

  27. Inverse ARP • Once the router learns from the switch about available PVCs and their corresponding DLCIs, the router can send an Inverse ARP request to the other end of the PVC. (unless statically mapped – later) • In effect, the Inverse ARP requestasks the remote station for its Layer 3 address. • At the same time, it provides the remote system with the Layer 3 address of the local system. • The return information from the Inverse ARP is then used to build the Frame Relay map. 2 1

  28. Inverse ARP • Inverse Address Resolution Protocol (Inverse ARP) was developed to provide a mechanism for dynamic DLCI to Layer 3 address maps. • Inverse ARP works much the same way Address Resolution Protocol (ARP) works on a LAN. • However, with ARP, Layer 3 address (IP) is used to learn layer 2 address (MAC). • With Inverse Layer 2 address (DLCI) is used to learn Layer 3 address (IP)

  29. Frame Relay Encapsulation • cisco - Default. • Use this if connecting to another Cisco router. • Ietf - Select this if connecting to a non-Cisco router. • RFC 1490 Router(config-if)#encapsulation frame-relay{cisco | ietf}

  30. Frame Relay LMI • It is important to remember that the Frame Relay service provider maps the virtual circuit within the Frame Relay network connecting the two remote customer premises equipment (CPE) devices that are typically routers. • Once the CPE device, or router, and the Frame Relay switch are exchanging LMI information, the Frame Relay network has everything it needs to create the virtual circuit with the other remote router. • The Frame Relay network is not like the Internet where any two devices connected to the Internet can communicate. • In a Frame Relay network, before two routers can exchange information, a virtual circuit between them must be set up ahead of time by the Frame Relay service provider. Router(config-if)#frame-relay lmi-type{ansi | cisco | q933a}

  31. Minimum Frame Relay Configuration HubCity(config)# interface serial 0 HubCity(config-if)# ip address 172.16.1.2 255.255.255.0 HubCity(config-if)# encapsulation frame-relay Spokane(config)# interface serial 0 Spokane(config-if)# ip address 172.16.1.1 255.255.255.0 Spokane(config-if)# encapsulation frame-relay

  32. Minimum Frame Relay Configuration • Cisco Router is now ready to act as a Frame-Relay DTE device. The following process occurs: 1. The interface is enabled. 2. The Frame-Relay switch announces the configured DLCI(s) to the router. 3. Inverse ARP is performed to map remote network layer addresses to the local DLCI(s). The routers can now ping each other!

  33. Inverse ARP HubCity# show frame-relay map Serial0 (up): ip 172.16.1.1 dlci 101, dynamic, broadcast, status defined, active • dynamic refers to the router learning the IP address via Inverse ARP • The DLCI 101 is configured on the Frame Relay Switch by the provider. • We will see this in a moment.

  34. Inverse ARP Limitations • Inverse ARP only resolves network addresses of remote Frame-Relay connections that are directly connected. • Inverse ARP does not work with Hub-and-Spoke connections. (We will see this in a moment.) • When using dynamic address mapping, Inverse ARP requests a next-hop protocol address for each active PVC. • Once the requesting router receives an Inverse ARP response, it updates its DLCI-to-Layer 3 address mapping table. • Dynamic address mapping is enabled by default. • If the Frame Relay environment supports LMI autosensing and Inverse ARP, dynamic address mapping takes place automatically. • Therefore, no static address mapping is required.

  35. Configuring Frame Relay maps • If the environment does not support LMI autosensing and Inverse ARP, a Frame Relay map must be manually configured. • Use the frame-relay map command to configure static address mapping. • Once a static map for a given DLCI is configured, Inverse ARP is disabled on that DLCI. (Not on the entire interface. Inverse ARP could be still working for other DLCIs on the same interface). • The broadcast keyword provides two functions. • Forwards broadcasts when multicasting is not enabled. • Simplifies the configuration of OSPF for nonbroadcast networks that use Frame Relay. (coming) Router(config-if)#frame-relay map protocol protocol-address dlci [broadcast] [ietf | cisco]

  36. Frame Relay Maps By default, cisco is the default encapsulation Local DLCI Remote IP Address Uses cisco encapsulation for this DLCI (not needed, default)

  37. More on Frame Relay Encapsulation • If the Cisco encapsulation is configured on a serial interface, then by default, that encapsulation applies to all VCs on that serial interface. • If the equipment at the destination is Cisco and non-Cisco, configure the Cisco encapsulation on the interface and selectively configure IETF encapsulation per DLCI, or vice versa. • These commands configure the Cisco Frame Relay encapsulation for all PVCs on the serial interface. • Except for the PVC corresponding to DLCI 49, which is explicitly configured to use the IETF encapsulation. Applies to all DLCIs unless configured otherwise

  38. Verifying Frame Relay interface configuration • The show interfaces serial command displays information regarding the encapsulation and the status of Layer 1 and Layer 2. • It also displays information about the multicast DLCI, the DLCIs used on the Frame Relay-configured serial interface, and the DLCI used for the LMI signaling.

  39. show interfaces serial • To simplify the WAN management, use the description command at the interface level to record the circuit number. Atlanta(config)#interface serial 0/0 Atlanta(config-if)#description Circuit-05QHDQ101545-080TCOM-002 Atlanta(config-if)#^z Atlanta#show interfaces serial 0/0 Serial 0/0 is up, line protocol is up Hardware is MCI Serial Description Circuit-05QHDQ101545-080TCOM-002 Internet address is 150.136.190.203, subnet mask 255.255.255.0 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 uses, rely 255/255, load 1/255

  40. show frame-relay pvc • The show frame-relay pvc command displays the status of each configured connection, as well as traffic statistics. • This command is also useful for viewing the number of Backward Explicit Congestion Notification (BECN) and Forward Explicit Congestion Notification (FECN) packets received by the router. • The command show frame-relay pvc shows the status of all PVCs configured on the router. • If a single PVC is specified, only the status of that PVC is shown.

  41. show frame-relay map • The show frame-relay map command displays the current map entries and information about the connections. This command also displays the status of the PVC

  42. show frame-relay lmi • The show frame-relay lmi command displays LMI traffic statistics showing the number of status messages exchanged between the local router and the Frame Relay switch.

  43. clear frame-relay-inarp • To clear dynamically created Frame Relay maps, which are created using Inverse ARP, use the clear frame-relay-inarp command.

  44. Troubleshooting the Frame Relay configuration • Use the debug frame-relay lmi command to determine whether the router and the Frame Relay switch are sending and receiving LMI packets properly. Enquiry Response

  45. debug frame-relay lmi (continued) • The possible values of the status field are as follows: • 0x0 – Added/inactive means that the switch has this DLCI programmed but for some reason it is not usable. The reason could possibly be the other end of the PVC is down. • 0x2 – Added/active means the Frame Relay switch has the DLCI and everything is operational. • 0x4 – Deleted means that the Frame Relay switch does not have this DLCI programmed for the router, but that it was programmed at some point in the past. This could also be caused by the DLCIs being reversed on the router, or by the PVC being deleted by the service provider in the Frame Relay cloud.

  46. Frame Relay Topologies

  47. NBMA – Non Broadcast Multiple Access • An NBMA network is the opposite of a broadcast network. • On a broadcast network, multiple computers and devices are attached to a shared network cable or other medium. When one computer transmits frames, all nodes on the network "listen" to the frames, but only the node to which the frames are addressed actually receives the frames. Thus, the frames are broadcast. • A nonbroadcast multiple access network is a network to which multiple computers and devices are attached, but data is transmitted directly from one computer to another over a virtual circuit or across a switching fabric. The most common examples of nonbroadcast network media include ATM (Asynchronous Transfer Mode), frame relay, and X.25. • http://www.linktionary.com/ Frames between two routers are only seen by those two devices (non broadcast). Similar to a LAN, multiple computers have access to the same network and potentially to each other (multiple access).

  48. Star Topology • A star topology, also known as a hub and spoke configuration, is the most popular Frame Relay network topology because it is the most cost-effective. • In this topology, remote sites are connected to a central site that generally provides a service or application. • This is the least expensive topology because it requires the fewest PVCs. • In this example, the central router provides a multipoint connection, because it is typically using a single interface to interconnect multiple PVCs.

  49. Full Mesh Full Mesh Topology Number of Number of Connections PVCs ----------------- -------------- 2 1 4 6 6 15 8 28 10 45 • In a full mesh topology, all routers have PVCs to all other destinations. • This method, although more costly than hub and spoke, provides direct connections from each site to all other sites and allows for redundancy. • For example, when one link goes down, a router at site A can reroute traffic through site C. • As the number of nodes in the full mesh topology increases, the topology becomes increasingly more expensive. • The formula to calculate the total number of PVCs with a fully meshed WAN is [n(n - 1)]/2, where n is the number of nodes.

  50. A Frame-Relay Configuration Supporting Multiple Sites Hub Router • This is known as a Hub and Spoke Topology, where the Hub router relays information between the Spoke routers. • Limits the number of PVCs needed as in a full-mesh topology (coming). Spoke Routers

More Related