Frame Relay: CCNA 4 Version 3.0 Rick Graziani Cabrillo College
Frame Relay: CCNA 4 Version 3.0 Rick Graziani Cabrillo College
5 Frame Relay
CCNA 4 version 3.0 Rick Graziani Cabrillo College
Note to instructors
If you have downloaded this presentation from the Cisco Networking
Academy Community FTP Center, this may not be my latest version of this PowerPoint. For the latest PowerPoints for all my CCNA, CCNP, and Wireless classes, please go to my web site: http://www.cabrillo.cc.ca.us/~rgraziani/ The username is cisco and the password is perlman for all of my materials. If you have any questions on any of my materials or the curriculum, please feel free to email me at [email protected] (I really dont mind helping.) Also, if you run across any typos or errors in my presentations, please let me know. I will add (Updated date) next to each presentation on my web site that has been updated since these have been uploaded to the FTP center. Thanks! Rick
Rick Graziani [email protected] 2
Note
Much of the information in this presentation comes from the CCNP 2 version 3.0 module on Frame Relay. I find a lot of the information in CCNA 4 module 5 Frame Relay not very well written or not well explained. CCNP 3 does a much better job of presenting and explaining these concepts.
Overview
Identify the components of a Frame Relay network Explain the scope and purpose of Frame Relay Discuss the technology of Frame Relay Compare point-to-point and point-to-multipoint topologies Examine the topology of a Frame Relay network Configure a Frame Relay Permanent Virtual Circuit (PVC) Create a Frame Relay Map on a remote network Explain the issues of a non-broadcast multi-access
network Describe the need for subinterfaces and how to configure them Verify and troubleshoot a Frame Relay connection
4
Access circuits
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 and Frame Relay Access Devices (FRADs). A FRAD is a specialized device designed to provide a connection between a LAN and a Frame Relay WAN.
8
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. 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.
9
The connection through the Frame Relay network between two DTEs is
called a virtual circuit (VC). Switched Virtual Circuits (SVCs) are Virtual circuits may be established dynamically by sending signaling messages to the network. However, SVCs are not very common. Permanent Virtual Circuits (PVCs) are more common. 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.
Rick Graziani [email protected] 10
The FRAD or router connected to the Frame Relay network may have
multiple virtual circuits connecting it to various end points. This makes it a very cost-effective replacement for a full mesh of access lines. Each end point needs only a single access line and interface. More savings arise as the capacity of the access line is based on the average bandwidth requirement of the virtual circuits, rather than on the maximum bandwidth requirement. Note: Also do not have to pay for leased line between two sites even when no traffic is being sent. Rick Graziani [email protected]
11
13
14
DLCI
DLCI
17
Local access rate This is the clock speed or port speed of the
connection or local loop to the Frame Relay cloud. It is the rate at which data travels into or out of the network, regardless of other settings. Committed Information Rate (CIR) This is the rate, in bits per second, at which the Frame Relay switch agrees to transfer data. The rate is usually averaged over a period of time, referred to as the committed rate measurement interval (Tc). In general, the duration of Tc is proportional to the "burstiness" of the traffic.
18
per VC
Committed burst (Bc) The maximum number of bits that the switch
agrees to transfer during any Tc. The higher the Bc-to-CIR ratio, the longer the switch can handle a sustained burst. For example, if the Tc is 2 seconds and the CIR is 32 kbps, the Bc is 64 kbps. The Tc calculation is Tc = Bc/CIR. Committed Time Interval (Tc) Tc is not a recurrent time interval. It is used strictly to measure inbound data, during which time it acts like a sliding window. Inbound data triggers the Tc interval.
20
23
Several factors determine the rate at which a customer can send data
on a Frame Relay network. Foremost in limiting the maximum transmission rate is the capacity of the local loop to the provider. If the local loop is a T1, no more than 1.544 Mbps can be sent. In Frame Relay terminology, the speed of the local loop is called the local access rate. Providers use the CIR parameter to provision network resources and regulate usage. For example, a company with a T1 connection to the packet-switched network (PSN) may agree to a CIR of 768 Kbps. This means that the provider guarantees 768 Kbps of bandwidth to the customers link at all times.
24
Typically, the higher the CIR, the higher the cost of service. Customers can choose the CIR that is most appropriate to their
bandwidth needs, as long as the CIR is less than or equal to the local access rate. If the CIR of the customer is less than the local access rate, the customer and provider agree on whether bursting above the CIR is allowed. If the local access rate is T1 or 1.544 Mbps, and the CIR is 768 Kbps, half of the potential bandwidth (as determined by the local access rate) remains available.
25
Many providers allow their customers to purchase a CIR of 0 (zero). This means that the provider does not guarantee any throughput. In practice, customers usually find that their provider allows them to
burst over the 0 (zero) CIR virtually all of the time. If a CIR of 0 (zero) is purchased, carefully monitor performance in order to determine whether or not it is acceptable. Frame Relay allows a customer and provider to agree that under certain circumstances, the customer can burst over the CIR. Since burst traffic is in excess of the CIR, the provider does not guarantee that it will deliver the frames.
26
transmitted beyond the CIR as eligible to be discarded. When a frame is tagged DE, a single bit in the Frame Relay frame is set to 1. This bit is known as the discard eligible (DE) bit. The Frame Relay specification also includes a protocol for congestion notification. This mechanism relies on the FECN/ BECN bits in the Q.922 header of the frame. The providers switches or the customers routers can selectively set the DE bit in frames. These frames will be the first to be dropped when congestion occurs.
27
the DTE 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. The multicast addressing, which can give DLCIs global rather than local significance in Frame Relay networks (not common). A status mechanism, which provides an ongoing status on the DLCIs known to the switch
28
LMI
LMI
LMI
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.
30
LMI
Frame Relay devices can now listen in on both DLCI 1023 or Cisco
LMI and DLCI 0 or 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.
Rick Graziani [email protected] 31
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.
32
Inverse ARP
2 1
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) For each supported and configured protocol on the interface, the router sends an Inverse ARP request for each DLCI. (unless statically mapped) In effect, the Inverse ARP request asks 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.
33
Inverse ARP
Inverse ARP works much the same way Address Resolution Protocol
(ARP) works on a LAN.
However, with ARP, the device knows the Layer 3 IP address and
needs to know the remote data link MAC address.
With Inverse ARP, the router knows the Layer 2 address which is the
DLCI, but needs to know the remote Layer 3 IP address.
Rick Graziani [email protected] 34
cisco - Default.
36
DLCI 101
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
37
DLCI 101
Inverse ARP
172.16.1.2
DLCI 101
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
DLCI 101
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. The broadcast keyword is commonly used with the frame-relay map command. 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)
Rick Graziani [email protected] 41
Remote IP Address
Local DLCI
42
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.
44
45
47
48
clear frame-relay-inarp
49
Use the debug frame-relay lmi command to determine whether the router and the Frame Relay switch are sending and receiving LMI packets properly.
Rick Graziani [email protected] 50
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.
51
52
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/
53
Star Topology
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.
55
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).
Hub Router
DLCI 101 172.16.1.2 DLCI 112
Spoke Routers
DLCI 112
57
58
DLCI 112
HubCity# show frame-relay map Serial0 (up): ip 172.16.1.1 dlci 101, dynamic, broadcast, status defined, active Serial0 (up): ip 172.16.1.3 dlci 112, dynamic, broadcast, status defined, active Spokane# show frame-relay map Serial0 (up): ip 172.16.1.2 dlci 102, dynamic, broadcast, status defined, active Spokomo# show frame-relay map Serial0 (up): ip 172.16.1.2 dlci 211, dynamic, broadcast, status defined, active
Rick Graziani [email protected] 59
DLCI 112
Can HubCity ping both Spokane and Spokomo? Yes! Can Spokane and Spokomo ping HubCity? Yes! Can Spokane and Spokomo ping each other? No! The Spoke
routers serial interfaces (Spokane and Spokomo) drop the ICMP packets because there is no DLCI-to-IP address mapping for the destination address.
Solutions to the limitations of Inverse ARP 1. Add an additional PVC between Spokane and Spokomo (Full Mesh) 2. Configure Frame-Relay Map Statements 3. Configure Point-to-Point Subinterfaces.
Rick Graziani [email protected] 61
Instead of using additional PVCs, Frame-Relay map statements can be used to: Statically map local DLCIs to an unknown remote network layer addresses. Also used when the remote router does not support Inverse ARP
62
HubCity interface Serial0 ip address 172.16.1.2 255.255.255.0 encapsulation frame-relay (Inverse-ARP still works here) Spokane interface Serial0 ip address 172.16.1.1 255.255.255.0 encapsulation frame-relay frame-relay map ip 172.16.1.3 102 frame-relay map ip 172.16.1.2 102 Spokomo interface Serial0 ip address 172.16.1.3 255.255.255.0 encapsulation frame-relay frame-relay map ip 172.16.1.1 211 frame-relay map ip 172.16.1.2 211
DLCI 112
Notice that the routers are configured to use either IARP or Frame Relay maps. Using both on the same interface will cause problems.
Rick Graziani [email protected] 63
DLCI 112
The previous configuration works fine and all routers can ping each
other. What if we were to use I-ARP between the spoke routers and the hub, and frame relay map statements between the two spokes? There would be a problem!
64
DLCI 112
65
66
Good News: Everything looks fine! Now all routers can ping each other! Bad News: Problem when using Frame-Relay map statements AND Inverse ARP. This will only work until the router is reloaded, here is why...
Rick Graziani [email protected] 67
Frame-Relay Map Statement Rule: When a Frame-Relay map statement is configured for a particular protocol (IP, IPX, ) Inverse-ARP will be disabled for that specific protocol, only for the DLCI referenced in the Frame-Relay map statement.
68
The previous solution worked only because the Inverse ARP had taken place between Spokane and HubCity, and between Spokomo and HubCity, before the Frame-Relay map statements were added. (The Frame-Relay map statement was added after the Inverse ARP took place.) Both the Inverse-ARP and Frame-Relay map statements are in effect. Once the router is reloaded (rebooted) the Inverse-ARP will never occur because of the configured Frame-Relay map statement. (assuming the running-config is copied to the startup-config) Rule: Inverse-ARP will be disabled for that specific protocol, for the DLCI referenced in the Frame-Relay map statement.
69
70
Spokane and Spokomo can no longer ping HubCity because they do not have a dlci-to-IP mapping for the others IP address!
71
HubCity interface Serial0 ip address 172.16.1.2 255.255.255.0 encapsulation frame-relay (Inverse-ARP still works here) Spokane interface Serial0 ip address 172.16.1.1 255.255.255.0 encapsulation frame-relay frame-relay map ip 172.16.1.3 102 frame-relay map ip 172.16.1.2 102 Spokomo interface Serial0 ip address 172.16.1.3 255.255.255.0 encapsulation frame-relay frame-relay map ip 172.16.1.1 211 frame-relay map ip 172.16.1.2 211
DLCI 112
Solution: Do not mix IARP with Frame Relay maps statements. If need be use Frame-Relay map statements instead of IARP.
Rick Graziani [email protected] 72
The Central router must receive the broadcast from Branch A and then
send its own broadcast to Branch B. In this example, there are problems with routing protocols because of the split horizon rule. A full mesh topology with virtual circuits between every site would solve this problem, but having additional virtual circuits is more costly and does not scale well.
74
Using a hub and spoke topology, the split horizon rule reduces the
chance of a routing loop with distance vector routing protocols. It prevents a routing update received on an interface from being forwarded through the same interface. If the Central router learns about Network X from Branch A, that update is learned via S0/0. According to the split horizon rule, Central could not update Branch B or Branch C about Network X. This is because that update would be sent out the S0/0 interface, which is the same interface that received the update.
75
To remedy this situation, turn off split horizon for IP. When configuring a serial interface for Frame Relay encapsulation,
split horizon for IP is automatically turned off. Of course, with split horizon disabled, the protection it affords against routing loops is lost. Split horizon is only an issue with distance vector routing protocols like RIP, IGRP and EIGRP. It has no effect on link state routing protocols like OSPF and IS-IS.
76
Mulitpoint
Point-to-point
Mulitpoint
Point-to-point
Physical interfaces: With a hub and spoke topology Split Horizon will
prevent the hub router from propagating routes learned from one spoke router to another spoke router. Point-to-point subinterfaces: Each subinterface is on its own subnet. Broadcasts and Split Horizon not a problem because each point-topoint connection is its own subnet. Multipoint subinterfaces: All participating subinterfaces would be in the same subnet. Broadcasts and routing updates are also subject to the Split Horizon Rule and may pose a problem.
79
Router(config-if)#interface serial number subinterface-number {multipoint | point-to-point} Router(config-subif)# frame-relay interface-dlci dlci-number
With multipoint subinterfaces, they are listed as an inverse ARP entry, dynamic
Router#show frame-relay map Serial0 (up): ip 172.30.2.1 dlci, 301 (0x12D, 0x48D0), dynamic,, broadcast status defined, active
82
Point-to-point Subinterfaces
Mulitpoint
Point-to-point Point-to-point subinterfaces are like conventional point-to-point interfaces (PPP, ) and have no concept of (do not need): Inverse-ARP mapping of local DLCI address to remote network address (frame-relay map statements) Frame-Relay service supplies multiple PVCs over a single physical interface and point-to-point subinterfaces subdivide each PVC as if it were a physical point-to-point interface. Point-to-point subinterfaces completely bypass the local DLCI to remote network address mapping issue.
Rick Graziani [email protected] 83
Point-to-point Subinterfaces
Mulitpoint
Point-to-point With point-to-point subinterfaces you: Cannot have multiple DLCIs associated with a single point-to-point subinterface Cannot use frame-relay map statements Cannot use Inverse-ARP
Can use the frame-relay interface dlci statement (for both point-topoint and multipoint)
Rick Graziani [email protected] 84
Point-to-point Subinterfaces
Each subinterface is on a separate network or subnet with a single remote router at the other end of the PVC.
85
172.30.1.1/24
172.30.2.1/24
172.30.3.1/24
S0
S1
S2
172.30.1.2/24
172.30.2.2/24
172.30.3.2/24
Site A
Site B
Site C
Point-to-point Subinterfaces
Each point-to-point connection is its own subnet. In this environment, broadcasts are not a problem because the
routers are point-to-point and act like a leased line.
Rick Graziani [email protected] 87
Point-to-point Subinterfaces
Point-to-point subinterface configuration, minimum of two commands:
Router(config)# interface Serial0.1 point-to-point Router(config-subif)# frame-relay interface-dlci dlci
Rules: 1. No Frame-Relay map statements can be used with point-to-point subinterfaces. 2. One and only one DLCI can be associated with a single point-to-point subinterface By the way, encapsulation is done only at the physical interface: interface Serial0 no ip address encapsulation frame-relay
Rick Graziani [email protected] 88
Each subinterface on Hub router requires a separate subnet (or network) Each subinterface on Hub router is treated like a regular physical point-to-point interface, so split horizon does not need to be disabled.
Interface Serial0 (for all routers) encapsulation frame-relay no ip address HubCity interface Serial0.1 point-to-point ip address 172.16.1.1 255.255.255.0 encapsulation frame-relay frame-relay interface dlci 301 interface Serial0.2 point-to-point ip address 172.16.2.1 255.255.255.0 encapsulation frame-relay frame-relay interface dlci 302
DLCI 103
DLCI 203
Spokane interface Serial0.1 point-to-point ip address 172.16.1.2 255.255.255.0 frame-relay interface dlci 103 Spokomo interface Serial0.1 point-to-point ip address 172.16.2.2 255.255.255.0 frame-relay interface dlci 203
Rick Graziani [email protected]
Two subnets
89
Multipoint Subinterfaces
Mulitpoint
Point-to-point
Share many of the same characteristics as a physical Frame-Relay interface With multipoint subinterface you can have: can have multiple DLCIs assigned to it. can use frame-relay map & interface dlci statements can use Inverse-ARP Remember, with point-to-point subinterfaces you: cannot have multiple DLCIs associated with a single point-to-point subinterface cannot use frame-relay map statements cannot use Inverse-ARP (can use the frame-relay interface dlci statement for both point-to-point and multipoint) Rick Graziani [email protected] 90
Multipoint subinterfaces
Each subinterface is on a separate network or subnet but may have multiple connections, with a different DLCI for each connection.
91
172.30.1.1/24
172.30.2.1/24
172.30.3.1/24
S0
S1
S2
172.30.1.2/24
172.30.3.3/24
Site A1
172.30.1.3/24 172.30.2.2/24 172.30.2.3/24
Site C2
172.30.3.2/24
Site A2
DLCI 302
DLCI 103
DLCI 203
Spokomo interface Serial0.1 point-to-point ip address 172.16.3.2 255.255.255.0 frame-relay interface-dlci 203
Serial 0 172.16.3.1
One subnet
Serial 0 172.16.3.2
93