14F NET3008 - Ch2 Ref - FR Primer.140924
14F NET3008 - Ch2 Ref - FR Primer.140924
Primer
Supplement
Frame Relay Primer
David Bray
[email protected]
with contributions obtained from Rick Graziani & Cisco
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
2
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
??
• Like X.25, Frame Relay only defines the interconnection 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
Frame Relay switch.
• Therefore, a Frame Relay provider could use a variety of technologies,
such as Asynchronous Transfer Mode (ATM) or Multi-Protocol Label
Switching (MPLS), to transport data within the Frame Relay cloud.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
5
FRAD
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
NNI
UNI
• The DTE-DCE connection at the local loop, between the CPE and the
CO, is known as the User-to-Network Interface (UNI).
• It is quite common to find ATM or MPLS as the technology used within a
Frame Relay provider’s network cloud.
• But, to promote interoperability, there needs to be commonality at the
DCE-DCE connections, between providers.
– The Network-to-Network Interface (NNI) is used to describe how
Frame Relay networks from different providers connect to each other.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
8
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
– 1 CSU/DSU Branch 2
Virtual Circuits
Access circuits
Virtual 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.
– Although service providers typically charge for each virtual circuit,
the cost is quite low compared to a leased line.
• This makes Frame Relay an ideal technology when full-mesh
topologies are needed.
• Even so, a hub and spoke topology is sufficient for many enterprises.
– For two branch offices to reach each other (RTB & RTC), the traffic
must pass through a central site (RTA).
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
10
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Non-Broadcast Multi-Access
Access circuits
(NBMA)
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
• SVCs are temporary connections that are only used when there is
sporadic data transfer between DTE devices.
• Because they are temporary, SVC connections require call setup and
termination for each connection, just like an ISDN or POTS call.
(requires Cisco IOS Release 11.2 or later)
• Before designing your network for Frame Relay SVCs, check with your
carrier since many Frame Relay providers only support PVCs.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
13
DLCI
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
DLCI
Mapping
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
15
6 bits 4 bits
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
16
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
IETF Frame
Header
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
17
Statistical Multiplexing
• Because each frame header includes the DLCI number, 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 a form of statistical multiplexing.
• Statistical multiplexing dynamically allocates frames (bandwidth) to
channels, based on transmission needs.
– If RTA has no packets to send RTB, RTA can use all the available
bandwidth to communicate with RTC.
• Contrast this with time-division multiplexing (TDM) used over leased
lines, where a fixed frame reserves equal space for each channel,
without regard for traffic or usage.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
18
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
DLCI Values
Sw2
Sw1
Sw3
DLCI Magic
Revealed
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
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.
• When LMI autosense is active, it sends out a full status request to the
provider switch in all 3 formats, and configures LMI type based on the
response.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
22
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
PVC Status
• 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.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
24
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Inverse ARP
• Inverse ARP works much the same way Address Resolution Protocol
(ARP) works on a LAN.
– 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 (the
DLCI), but needs to know the remote Layer 3 IP address.
• Don't confuse this with Reverse ARP. (What is Reverse ARP?)
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
26
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
28
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
172.16.1.2 172.16.1.1
Frame Relay
DLCI 101 Network DLCI 102
Headquarters Satellite Office 1
Hub City Spokane
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
29
• Both WAN peers are now configured as Frame-Relay DTE devices &
can ping each other.
172.16.1.2 172.16.1.1
Frame Relay
DLCI 101 Network DLCI 102
Headquarters Satellite Office 1
Hub City Spokane
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
30
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Dynamic FR Mapping
172.16.1.2 172.16.1.1
Frame Relay
DLCI 101 Network DLCI 102
Headquarters Satellite Office 1
Hub City Spokane
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
31
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Memory Aid
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
33
• If the environment does not support Inverse ARP (or I-ARP is not
effective), a Frame Relay map must be statically configured using the
frame-relay map command.
• Optionally, a PVC-specific encapsulation type can also be specified (to
override the one in effect for the interface).
• Once a static map is so configured on a given DLCI, Inverse ARP
is disabled for that protocol on that DLCI.
• The broadcast keyword is specified (at most) once per DLCI on a
mapping associated with a direct PVC, and serves to:
– allow broadcast forwarding
– simplify OSPF configuration for nonbroadcast networks over
Frame Relay (e.g. point-to-multipoint discussed in NET3008)
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
34
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Static
Example
By default, cisco is
the encapsulation
type
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
Interface Description
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
38
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
40
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
41
clear frame-relay-inarp
• To clear dynamic Frame Relay maps created via Inverse ARP, use the
clear frame-relay-inarp command.
• You can also force re-discovery via Inverse ARP at the interface, by
either:
1. disabling inverse ARP (no frame-relay inverse-arp)
then re-enabling it (frame-relay inverse-arp)
or
2. bouncing the interface (via shut / no shut)
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
42
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer
Frame Relay
Primer
FR Primer © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved. (140924)
44
Copyright © 2010-14, David Bray, Algonquin College, Rick Graziani, Cisco Systems, Inc. All rights reserved.
NET3008 Reference - Frame Relay Primer