configuring frame relay - mik

30
CHAPTER Configuring Frame Relay 9-379 Configuring Frame Relay 9 This chapter describes the tasks for configuring Frame Relay on the router. For a complete description of the commands mentioned in this chapter, refer to the “Frame Relay Commands” chapter in the Router Products Command Reference publication. For historical background and a technical overview of Frame Relay, see the Internetworking Technology Overview publication. Although Frame Relay access was originally restricted to leased lines, dial-up access is now supported. For more information, see the “Configure DDR over Frame Relay” section in the “Configuring DDR” chapter of this publication. To install software on a new router by downloading software from a central server over an interface that supports Frame Relay, see the “Loading System Images, Microcode Images, and Configuration Files” chapter in this publication. To configure access between SNA devices over a Frame Relay network, see the “Configuring SNA Frame Relay Access Support” chapter of this publication. Cisco’s Implementation of Frame Relay Cisco’s Frame Relay implementation currently supports routing on IP, DECnet, AppleTalk, Xerox Network Service, Novell IPX, ISO CLNS, Banyan VINES, and transparent bridging. The Frame Relay software provides the following capabilities: Support for the three generally implemented specifications of Frame Relay Local Management Interfaces (LMIs): The Frame Relay Interface joint specification produced by Northern Telecom, Digital Equipment Corporation, StrataCom, and Cisco Systems The ANSI-adopted Frame Relay signal specification, T1.617 Annex D The International Telecommunication Union Telecommunication Standardization Sector (ITU-T)-adopted Frame Relay signal specification, Q.933 Annex A Note The ITU-T carries out the functions of the former Consultative Committee for International Telegraph and Telephone (CCITT). Conformity to ITU-T I-series (ISDN) recommendation as I122, “Framework for Additional Packet Mode Bearer Services.” The ANSI-adopted Frame Relay encapsulation specification, T1.618

Upload: others

Post on 17-Mar-2022

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Configuring Frame Relay - MIK

C H A P T E R

9

Configuring Frame Relay

This chapter describes the tasks for configuring Frame Relay on the router. For a completedescription of the commands mentioned in this chapter, refer to the “Frame Relay Commands”chapter in theRouter Products Command Reference publication. For historical background and atechnical overview of Frame Relay, see theInternetworking Technology Overview publication.

Although Frame Relay access was originally restricted to leased lines, dial-up access is nowsupported. For more information, see the “Configure DDR over Frame Relay” section in the“Configuring DDR” chapter of this publication.

To install software on a new router by downloading software from a central server over an interfacethat supports Frame Relay, see the “Loading System Images, Microcode Images, and ConfigurationFiles” chapter in this publication.

To configure access between SNA devices over a Frame Relay network, see the “Configuring SNAFrame Relay Access Support” chapter of this publication.

Cisco’s Implementation of Frame RelayCisco’s Frame Relay implementation currently supports routing on IP, DECnet, AppleTalk, XeroxNetwork Service, Novell IPX, ISO CLNS, Banyan VINES, and transparent bridging.

The Frame Relay software provides the following capabilities:

• Support for the three generally implemented specifications of Frame Relay Local ManagementInterfaces (LMIs):

— The Frame Relay Interface joint specification produced by Northern Telecom, DigitalEquipment Corporation, StrataCom, and Cisco Systems

— The ANSI-adopted Frame Relay signal specification, T1.617 Annex D

— The International Telecommunication Union Telecommunication Standardization Sector(ITU-T)-adopted Frame Relay signal specification, Q.933 Annex A

Note The ITU-T carries out the functions of the former Consultative Committee for InternationalTelegraph and Telephone (CCITT).

• Conformity to ITU-T I-series (ISDN) recommendation as I122, “Framework for AdditionalPacket Mode Bearer Services.”

— The ANSI-adopted Frame Relay encapsulation specification, T1.618

Configuring Frame Relay 9-379

Page 2: Configuring Frame Relay - MIK

Frame Relay Hardware Configurations

— The ITU-T-adopted Frame Relay encapsulation specification, Q.922 Annex A

• Conformity to Internet Engineering Task Force (IETF) encapsulation in accordance withRFC 1490, except bridging.

• Support for a keepalive mechanism, a multicast group, and a status message, as follows:

— The keepalive mechanism provides an exchange of information between the network serverand the switch to verify that data is flowing.

— The multicast mechanism provides the network server with a local data link connectionidentifier (DLCI) and a multicast DLCI. This feature is specific to our implementation of theFrame Relay joint specification.

— The status mechanism provides an ongoing status report on the DLCIs known by the switch.

• Transmission of congestion information from Frame Relay to DECnet Phase IV and CLNS. Thismechanism promotes Forward Explicit Congestion Notification (FECN) bits from the FrameRelay layer to upper-layer protocols after checking for the FECN bit on the incoming DLCI. Usethis Frame Relay congestion information to adjust the sending rates of end hosts. FECN-bitpromotion is enabled by default on any interface using Frame Relay encapsulation. Noconfiguration is required.

• Support for Frame Relay Inverse Address Resolution Protocol (InvARP) as described inRFC 1293 for the AppleTalk, Banyan VINES, DECnet, IP, and IPX protocols, as well as nativeHello packets for DECnet, CLNP, and Banyan VINES. It allows a router running Frame Relayto discover the protocol address of a device associated with the virtual circuit.

• Support for Frame Relay switching, whereby packets are switched based on the DLCI (a FrameRelay equivalent of a MAC-level address). Routers are configured as a hybrid DTE switch orpure Frame Relay DCE access node in the Frame Relay network. Cisco’s implementation ofFrame Relay switching allows the following configurations:

— Switching over an IP tunnel

— Network to Network Interface (NNI) to other Frame Relay switches

— Local serial-to-serial switching

Frame Relay switching is used when all traffic arriving on one DLCI can be sent out on anotherDLCI to the same next-hop address. In such cases, the router does not have to examine the framesindividually to discover the destination address, and as a result, the processing load on the routerdecreases.

• Support forsubinterfacesassociated with a physical interface. The software groups one or morepermanent virtual circuits under separate subinterfaces, which in turn are located under a singlephysical interface. See the “Understand and Define Frame Relay Subinterfaces” and the“Subinterface Examples” sections later in this chapter.

• Support of the Frame Relay DTE MIB specified in RFC 1315. However, the error table is notimplemented. To use the Frame Relay MIB, refer to your MIB publications.

Frame Relay Hardware ConfigurationsOne of the following hardware configurations is possible for Frame Relay connections:

• Routers can connect directly to the Frame Relay switch.

• Routers can connect directly to a Channel Service Unit/Digital Service Unit (CSU/DSU) first,and the CSU/DSU connects to a remote Frame Relay switch.

9-380 Router Products Configuration Guide

Page 3: Configuring Frame Relay - MIK

Frame Relay Configuration Task List

Note A Frame Relay network is not required to support only routers that are connected directly oronly routers connected via CSU/DSUs. Within a network, some routers can connect to a FrameRelay switch through a direct connection and others through connections via CSU/DSUs. However,a single router interface configured for Frame Relay can be only one or the other.

The CSU/DSU converts V.35 or RS-449 signals to the properly coded T1 transmission signal forsuccessful reception by the Frame Relay network. Figure 9-1 illustrates the connections between thedifferent components.

Figure 9-1 Typical Frame Relay Configuration

The Frame Relay interface actually consists of one physical connection between the network serverand the switch that provides the service. This single physical connection provides direct connectivityto each device on a network, such as a StrataCom FastPacket wide-area network.

Frame Relay Configuration Task ListThere are required, basic steps you must follow to enable Frame Relay for your network. In addition,you can customize Frame Relay for your particular network needs and monitor Frame Relayconnections. The following sections outline these tasks. The tasks in the first three sections arerequired.

• Enable Frame Relay Encapsulation

• Configure Dynamic or Static Address Mapping

• Configure the LMI

• Customize Frame Relay for Your Network

• Monitor the Frame Relay Connections

The following sections describe these tasks. See the examples at the end of this chapter for ideas ofhow to configure Frame Relay on your network. See the “Frame Relay Commands” chapter in theRouter Products Command Referencepublication for information about the commands listed in thetasks.

Router

DSU/CSUV.35

S2

30

4

Public FrameRelay network

4-wire T1

Router

V.35

Configuring Frame Relay 9-381

Page 4: Configuring Frame Relay - MIK

Enable Frame Relay Encapsulation

Enable Frame Relay EncapsulationTo set Frame Relay encapsulation at the interface level, perform the following tasks beginning inglobal configuration mode:

Frame Relay supports encapsulation of all supported protocols except bridging in conformance withRFC 1490, allowing interoperability between multiple vendors. Use the IETF form of Frame Relayencapsulation if your router is connected to another vendor’s equipment across a Frame Relaynetwork. IETF encapsulation is supported at either the interface level or on a per-DLCI (map entry)basis.

For an example of how to enable Frame Relay and set the encapsulation method, see the sections“IETF Encapsulation Examples” and “Two Routers in Static Mode Example” later in this chapter.Also see the “Configuring Interfaces” chapter if you want to configure subinterfaces on serialinterfaces running Frame Relay encapsulation.

Configure Dynamic or Static Address MappingDynamic address mapping uses Frame Relay Inverse ARP to request the next-hop protocol addressfor a specific connection, given its known DLCI. Responses to Inverse ARP requests are entered inan address-to-DLCI mapping table on the router; the table is then used to supply the next-hopprotocol address or the DLCI for outgoing traffic.

Inverse ARP is enabled by default for all protocols it supports, but can be disabled for specificprotocol-DLCI pairs. As a result, you can use dynamic mapping for some protocols and staticmapping for other protocols on the same DLCI. You can explicitly disable Inverse ARP for aprotocol-DLCI pair if you know the protocol is not supported on the other end of the connection. Seethe “Disable or Reenable Frame Relay Inverse ARP” section later in this chapter for moreinformation.

Configure Dynamic MappingBecause Inverse ARP is enabled by default for all protocols that it supports, no additional commandis required to configure dynamic mapping on an interface.

Configure Static MappingA static map links a specified next-hop protocol address to a specified DLCI. Static mappingremoves the need for Inverse ARP requests; when you supply a static map, Inverse ARP isautomatically disabled for the specified protocol on the specified DLCI.

You must use static mapping if the router at the other end either does not support Inverse ARP at allor does not support Inverse ARP for a specific protocol that you want to use over Frame Relay.

Task Command

Specify the serial interface, and enter interfaceconfiguration mode.

interface serialnumber1

1. This command is documented in the “Interface Commands” chapter of theRouter Products Command Referencepublication.

Enable Frame Relay and specify the encapsulationmethod.

encapsulation frame-relay[ietf]

9-382 Router Products Configuration Guide

Page 5: Configuring Frame Relay - MIK

Configure the LMI

To establish static mapping according to your network needs, perform one of the following tasks ininterface configuration mode:

The supported protocols and the corresponding keywords to enable them are as follows:

• IP—ip

• DECnet—decnet

• AppleTalk—appletalk

• XNS—xns

• Novell IPX—ipx

• VINES—vines

• ISO CLNS—clns

You can be greatly simplify the configuration for the Open Shortest Path First (OSPF) protocol byadding the optionalbroadcastkeyword when doing this task. See theframe-relay map descriptionin theRouter Products Command Referencepublication and the examples at the end of this chapterfor more information about using thebroadcastkeyword.

For an example of how to establish static address mapping, see the sections “Two Routers in StaticMode Example,” “DECnet Routing Example,” and “IPX Routing Example” later in this chapter.

Configure the LMIOur Frame Relay software supports the industry-accepted standards for addressing the LocalManagement Interface (LMI), including the Cisco specification. To configure the LMI, complete thetasks in the following sections. The tasks in the first two sections are required.

• Set the LMI Type

• Set the LMI Keepalive Interval

• Set the LMI Polling and Timer Intervals

Set the LMI TypeIf the router is attached to a public data network, the LMI type must match the type used on thepublic network. Otherwise, you can select an LMI type to suit the needs of your private Frame Relaynetwork.

Task Command

Define the mapping between anext-hop protocol address and theDLCI used to connect to the address.

frame-relay map protocol protocol-address dlci[broadcast][ietf] [cisco]

Define a DLCI used to send ISO CLNSframes.

frame-relay map clns dlci [broadcast]

Define a DLCI used to connect to abridge.

frame-relay map bridge dlci [broadcast]

Configuring Frame Relay 9-383

Page 6: Configuring Frame Relay - MIK

Configure the LMI

You can set one of three types of LMIs on our router: ANSI T1.617 Annex D, Cisco, and ITU-TQ.933 Annex A. To do so, perform the following task in interface configuration mode:

The default LMI type iscisco.

For an example of how to set the LMI type, see the “Pure Frame Relay DCE Example” section laterin this chapter.

Set the LMI Keepalive IntervalA keepalive interval must be set to enable the LMI. By default, this interval is ten seconds and, perthe LMI protocol, must be less than the corresponding interval on the switch. To set the keepaliveinterval, perform the following task in interface configuration mode:

This command has the same effect as thekeepalive interface configuration command.

For an example of how to specify an LMI keepalive interval, see the “Two Routers in Static ModeExample” section later in this chapter.

Set the LMI Polling and Timer IntervalsYou can set various optional counters, intervals, and thresholds to fine-tune the operation of yourLMI DTE and DCE devices. Set these attributes by performing one or more of the following tasksin interface configuration mode:

See the “Frame Relay Commands” chapter in theRouter Products Command Referencepublicationfor details about commands used to set the polling and timing intervals.

Task Command

Set the LMI type. frame-relay lmi-type { ansi | cisco | q933a}

Task Command

Set the keepalive interval. frame-relay keepalivenumber

Turn off keepalives on networkswithout an LMI.

no frame-relay keepalive

Task Command

Set the DCE and NNI error threshold. frame-relay lmi-n392dcethreshold

Set the DCE and NNI monitored eventscount.

frame-relay lmi-n393dceevents

Set the polling verification timer on aDCE or NNI interface.

frame-relay lmi-t392dcetimer

Set a full status polling interval on aDTE or NNI interface.

frame-relay lmi-n391dtekeep-exchanges

Set the DTE or NNI error threshold. frame-relay lmi-n392dte threshold

Set the DTE and NNI monitored eventscount.

frame-relay lmi-n393dteevents

9-384 Router Products Configuration Guide

Page 7: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

Customize Frame Relay for Your NetworkPerform the tasks in the following sections to customize Frame Relay:

• Understand and Define Frame Relay Subinterfaces

• Configure Frame Relay Switching

• Disable or Reenable Frame Relay Inverse ARP (multipoint communication only)

• Create a Broadcast Queue for an Interface

• Configure TCP/IP Header Compression

• Configure Discard Eligibility

Understand and Define Frame Relay SubinterfacesFrame Relay networks provide multiple point-to-point links, or permanent virtual circuits (PVCs),through the same physical serial interface. Subinterfaces allow blocks of one or more Frame RelayPVCs to be treated as separate subnetworks. A subinterface with a single Frame Relay PVC ismodeled as a point-to-point link. A subinterface with multiple Frame Relay PVCs is modeled as aLAN. Protocols such as IP, IPX, and bridging view each subinterface as a separate interface with itsown address and protocol assignments.

Subinterfaces provide a mechanism for supporting partially meshed Frame Relay networks. In thepast, a single network number (such as an IP subnet or an IPX network number) was assigned to anentire Frame Relay network. Most protocols assume transitivity on a logical network; that is, ifstation A can talk to station B, and station B can talk to station C, then station A should be able totalk to station C directly. This is true on LANs, but is not true on Frame Relay networks unless theyare fully meshed. Additionally, certain protocols such as AppleTalk and transparent bridging couldnot be supported on partially meshed networks because they require “split horizon,” in which apacket received on an interface cannot be transmitted out the same interface even if the packet isreceived and transmitted on different virtual circuits.

Subinterfaces address these limitations by providing a way to subdivide a partially meshed FrameRelay network into a number of smaller, fully meshed (or point-to-point) subnetworks. Eachsubnetwork is assigned its own network number and appears to the protocols as if it is reachablethrough a separate interface. (Note that point-to-point subinterfaces can be unnumbered for use withIP, reducing the addressing burden that might otherwise result.)

For example, suppose you have a five-node Frame Relay network (see Figure 9-2) that is partiallymeshed (Network A). If the entire network is viewed as a single subnetwork (with a single networknumber assigned), most protocols assume that node A can transmit a packet directly to node E, whenin fact it must be relayed through nodes C and D. This can be made to work with certain protocols(for example, IP) but will not work at all with other protocols (for example, AppleTalk) becausenodes C and D will not relay the packet out the same interface on which it was received. One wayto make this work fully is to create a fully meshed network (Network B), but that requires a largenumber of PVCs, which may not be economically feasible.

Using subinterfaces, the Frame Relay network can be subdivided into three smaller networks(Network C) with separate network numbers. Nodes A, B, and C are connected to a fully meshednetwork, and nodes C and D, as well as nodes D and E are connected via point-to-point networks.In this configuration, nodes C and D would see two subinterfaces, allowing them to forward packetswithout violating split horizon rules. If transparent bridging is being used, each subinterface isviewed as a separate bridge port.

Configuring Frame Relay 9-385

Page 8: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

Figure 9-2 Using Subinterfaces to Provide Full Connectivity on a Partially Meshed FrameRelay Network

A

B

C

DE

Network B: Fully meshed Frame Relay network with full connectivity

A

B

C

DE

Network A: Partially meshed Frame Relay network without full connectivity

Network C: Partially meshed Frame Relay network with full connectivity (configuring subinterfaces) S

3299

B

A C

DE

9-386 Router Products Configuration Guide

Page 9: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

Define Frame Relay SubinterfacesTo configure subinterfaces on a Frame Relay network, perform the following tasks:

Subinterfaces can be configured for multipoint or point-to-point communication. Multipoint is thedefault.

Once you have defined the subinterface, perform the tasks in the following sections in interfaceconfiguration mode. You must perform one of the tasks in the first three sections; the task in thefourth section is optional:

• Associate a DLCI with a Subinterface (for point-to-point communications)

• Configure Dynamic or Static Address Mapping (for multipoint communications)

• Configure a Backup Interface for a Subinterface

If you define a subinterface for multipoint communication, you do not need to associate a DLCI withthe subinterface (and you cannot use the frame-relay interface-dlci command). If you define asubinterface for point-to-point communication, you do not need to establish mapping (and youcannot use theframe-relay map command). Theframe-relay inverse-arp command is designedfor use with an interface configured for multipoint communication and should not be used for asubinterface configured for point-to-point communication.

Note If you define a subinterface for point-to-point communication, you cannot reassignthe samesubinterface number to be used for multipoint communication without first rebooting the router.However, you can use a different subinterface number.

For an example of how to define a subinterface, see the section “Basic Subinterface Examples” laterin this chapter.

Associate a DLCI with a SubinterfaceYou must associate a Frame Relay DLCI with a subinterface to use subinterfaces in the Frame Relaynetwork for point-to-point communication. If you associate a DLCI with a point-to-pointsubinterface, you cannot use theframe-relay map command.

To associate a DLCI with a subinterface, perform the following task in interface configuration mode:

Task Command

Step 1 Specify a serial interface. interface serialnumber1

1. This command is documented in the “Interface Commands” chapter of theRouter Products Command Referencepublication.

Step 2 Configure Frame Relay encapsulationon the serial interface.

encapsulation frame-relay

Step 3 Specify a subinterface. interface serialnumber.subinterface-number[multipoint | point-to-point ]1

Task Command

Associate a DLCI with a subinterface. frame-relay interface-dlci dlci [option]

Configuring Frame Relay 9-387

Page 10: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

For an example of how to associate a DLCI with a subinterface, see the section “Basic SubinterfaceExamples” later in this chapter.

Configure Dynamic or Static Address MappingYou can configure static or dynamic address mapping on subinterfaces, just as you can on majorinterfaces.

Dynamic address mapping uses Frame Relay Inverse ARP to request the next-hop protocol addressfor a specific connection, given its known DLCI. Responses to Inverse ARP requests are entered inan address-to-DLCI mapping table on the router; the table is then used to supply the next-hopprotocol address or the DLCI for outgoing traffic.

Inverse ARP is enabled by default for all protocols it supports, but can be disabled for specificprotocol-DLCI pairs. As a result, you can use dynamic mapping for some protocols and staticmapping for other protocols on the same DLCI. You can explicitly disable Inverse ARP for aprotocol-DLCI pair if you know the protocol is not supported on the other end of the connection. Seethe “Disable or Reenable Frame Relay Inverse ARP” section later in this chapter for moreinformation.

Configure Dynamic MappingBecause Inverse ARP is enabled by default for all protocols that it supports, no additional commandis required to configure dynamic mapping on an interface.

Configure Static MappingA static map links a specified next-hop protocol address to a specified DLCI. Static mappingremoves the need for Inverse ARP requests; when you supply a static map, Inverse ARP isautomatically disabled for the specified protocol on the specified DLCI.

You must use static mapping if the router at the other end either does not support Inverse ARP at allor does not support Inverse ARP for a specific protocol that you want to use over Frame Relay.

To establish static mapping according to your network needs, perform one of the following tasks ininterface configuration mode:

The supported protocols and the corresponding keywords to enable them are as follows:

• IP—ip

• DECnet—decnet

• AppleTalk—appletalk

• XNS—xns

Task Command

Define the mapping between anext-hop protocol address and theDLCI used to connect to the address.

frame-relay map protocol protocol-address dlci[broadcast][ietf] [cisco]

Define a DLCI used to send ISO CLNSframes.

frame-relay map clns dlci [broadcast]

Define a DLCI used to connect to abridge.

frame-relay map bridge dlci [broadcast]

9-388 Router Products Configuration Guide

Page 11: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

• Novell IPX—ipx

• VINES—vines

• ISO CLNS—clns

You can be greatly simplify the configuration for the Open Shortest Path First (OSPF) protocol byadding the optionalbroadcastkeyword when doing this task. See theframe-relay map descriptionin theRouter Products Command Referencepublication and the examples at the end of this chapterfor more information about using thebroadcastkeyword.

For an example of how to establish static address mapping, see the sections “Two Routers in StaticMode Example,” “DECnet Routing Example,” and “IPX Routing Example” later in this chapter.

Configure a Backup Interface for a SubinterfaceBoth point-to-point and multipoint Frame Relay subinterfaces can be configured with a backupinterface. This allows individual PVCs to be backed up in case of failure rather than depending onthe entire Frame Relay connection to fail before the backup takes over. You can configure asubinterface for backup on failure only, not for backup based on loading of the line.

If the serial interface has a backup interface, it will have precedence over the subinterface’s backupinterface in the case of complete loss of connectivity with the Frame Relay network. As a result, asubinterface backup is activated only if the serial interface is up, or if the serial interface is down anddoes not have a backup interface defined. If a subinterface has failed while its backup is in use, andthen the serial interface goes down, the subinterface backup stays connected.

To configure a backup interface for a Frame Relay subinterface, perform the following tasks,beginning in global configuration mode:

Configure Frame Relay SwitchingFrame Relay switching is a means of switching packets based upon the DLCI, which can be lookedupon as the Frame Relay equivalent of a MAC address. The switching is performed by configuringyour router as a Frame Relay network. There are two parts to a Frame Relay network: a Frame RelayDTE (the router) and a Frame Relay DCE switch. Figure 9-3 illustrates this concept.

Task Command

Step 1 Specify the interface. interface serialnumber1

1. This command is documented in the “Interface Commands” chapter of theRouter Products Command Referencepublication.

Step 2 Configure Frame Relay encapsulation. encapsulation frame-relay

Step 3 Configure the subinterface. interface serialnumber.subinterface-numberpoint-to-point1

Step 4 Specify a DLCI for the subinterface. frame-relay interface-dlci dlci

Step 5 Specify a backup interface for thesubinterface.

backup interface serialnumber1

Step 6 Specify backup enable and disable delay.backup delayenable-delay disable-delay1

Configuring Frame Relay 9-389

Page 12: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

Figure 9-3 Frame Relay Switched Network

In Figure 9-3, Routers A, B, and C are Frame Relay DTEs connected to each other via a Frame Relaynetwork. Our implementation of Frame Relay switching allows our routers to be used as depicted inthis Frame Relay network.

Perform the tasks in the following sections, as necessary, to configure Frame Relay switching:

• Enable Frame Relay switching.

• Configure a Frame Relay DTE device, DCE switch, or NNI support.

• Specify the static route.

These tasks are described in the following sections.

Enable Frame Relay SwitchingYou must enable packet switching before you can configure it on a Frame Relay DTE, DCE, or withNetwork to Network Interface (NNI) support. Do so by performing the following task in globalconfiguration mode before configuring the switch type:

For an example of how to enable Frame Relay switching, see the switching examples later in thischapter.

Configure a Frame Relay DTE Device, DCE Switch, or NNI SupportYou can configure an interface as a DTE device, DCE switch, or as a switch connected to a switchto support NNI connections. (DCE is the default.) To do so, perform the following task in interfaceconfiguration mode:

For an example of how to configure a DTE device or DCE switch, see the section “Hybrid DTE/DCEPVC Switching Example” later in this chapter.

Task Command

Enable Frame Relay switching. frame-relay switching

Task Command

Configure a Frame Relay DTE deviceor DCE switch.

frame-relay intf-type [dce | dte | nni]

Router C

Router A Router B

Frame Relay network

S14

63a

Networkinterface

DLCI 50

DLCI 60DLCI 70

DLCI 80

DTE

DTEDTE

Implements the user interface

Frame Relay DCEswitch implements

the networkinterface

9-390 Router Products Configuration Guide

Page 13: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

For an example of how to configure NNI support, see the section “Pure Frame Relay DCE Example”later in this chapter.

Specify the Static RouteYou must specify a static route for PVC switching. To do so, perform the following task in interfaceconfiguration mode:

For an example of how to specify a static route, see the section “Pure Frame Relay DCE Example”later in this chapter.

Disable or Reenable Frame Relay Inverse ARPFrame Relay Inverse ARP is a method of building dynamic address mappings in Frame Relaynetworks running AppleTalk, Banyan VINES, DECnet, IP, Novell IPX, and XNS. Inverse ARPallows the router to discover the protocol address of a device associated with the virtual circuit.

Inverse ARP creates dynamic address mappings, as contrasted with theframe-relay mapcommand,which defines static mappings between a specific protocol address and a specific DLCI (see thesection “Configure Dynamic or Static Address Mapping” earlier in this chapter for moreinformation).

Inverse ARP is enabled by default but can be disabled explicitly for a given protocol and DLCI pair.Disable or reenable Inverse ARP in the following conditions:

• Disable Inverse ARP for a selected protocol and DLCI pair when you know that the protocol isnot supported on the other end of the connection.

• Reenable Inverse ARP for a protocol and DLCI pair if conditions or equipment change and theprotocol is then supported on the other end of the connection.

Note If you change from a point-to-point subinterface to a multipoint subinterface, then change thesubinterface number. Frame Relay Inverse ARP will be on by default, and no further action isrequired.

You do not need to enable or disable Inverse ARP if you have a point-to-point interface, becausethere is only a single destination and discovery is not required.

To select Inverse ARP, perform the following task in interface configuration mode:

Task Command

Specify a static route for PVCswitching.

frame-relay route in-dlci out-interface out-dlci

Task Command

Enable Frame Relay Inverse ARP for aspecific protocol and DLCI pair, only ifit was previously disabled.

frame-relay inverse-arpprotocol dlci

Disable Frame Relay Inverse ARP for aspecific protocol and DLCI pair.

no frame relay inverse-arpprotocol dlci

Configuring Frame Relay 9-391

Page 14: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

Create a Broadcast Queue for an InterfaceVery large Frame Relay networks might have performance problems when very many DLCIsterminate in a single router and the router must replicate routing updates and service advertisingupdates on each DLCI. The updates can consume access-link bandwidth and cause significantlatency variations in user traffic; the updates can also consume interface buffers and lead to higherpacket rate loss for both user data and routing updates.

To avoid such problems, you can create a special broadcast queue for an interface. The broadcastqueue is managed independently of the normal interface queue, has its own buffers, and has aconfigurable size and service rate.

A broadcast queue is given a maximum transmission rate (throughput) limit measured in both bytesper second and packets per second. The queue is serviced to ensure that no more than this maximumis provided. The broadcast queue has priority when transmitting at a rate below the configuredmaximum, and hence has a guaranteed minimum bandwidth allocation. The two transmission ratelimits are intended to avoid flooding the interface with broadcasts. The actual transmission rate limitin any second is the first of the two rate limits that is reached.

To create a broadcast queue, complete the following task in interface configuration mode:

Configure TCP/IP Header CompressionTCP/IP header compression, as described by RFC 1144, is designed to improve the efficiency ofbandwidth utilization over low-speed serial links. A typical TCP/IP packet includes a 40-bytedatagram header. Once a connection is established, the header information is redundant and need notbe repeated in every packet that is sent. By reconstructing a smaller header that identifies theconnection and indicates the fields that changed and the amount of change, fewer bytes can betransmitted. The average compressed header is 10 bytes long.

For this algorithm to function, packets must arrive in order. If packets arrive out of order, thereconstruction will appear to create regular TCP/IP packets but the packets will not match theoriginal. Because priority queuing changes the order in which packets are transmitted, enablingpriority queueing on the interface is not recommended.

You can configure TCP/IP header compression in either of two ways, as described in the followingsections:

• Configure an individual IP map for TCP/IP header compression.

• Configure an interface for TCP/IP header compression.

The “Disable TCP/IP Header Compression” section describes how to disable this feature.

Note If you configure an interface with Cisco encapsulation and TCP/IP header compression,Frame Relay IP maps inherit the compression characteristics of the interface. However, if youconfigure the interface with IETF encapsulation, the interface cannot be configured for compression.Frame Relay maps will have to be configured individually to support TCP/IP header compression.

Task Command

Create a broadcast queue for an interface. frame-relay broadcast-queuesize byte-ratepacket-rate

9-392 Router Products Configuration Guide

Page 15: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

Configure an Individual IP Map for TCP/IP Header CompressionTCP/IP header compression requires Cisco encapsulation. If you need to have IETF encapsulationon an interface as a whole, you can still configure a specific IP map to use Cisco encapsulation andTCP header compression.

In addition, even if you configure the interface to perform TCP/IP header compression, you can stillconfigure a specific IP map not to compress TCP/IP headers.

You can specify whether TCP/IP header compression is active or passive. Active compressionsubjects every outgoing packet to TCP/IP header compression. Passive compression subjects anoutgoing TCP/IP packet to header compression only if the packet had a compressed TCP/IP headerwhen it was received.

To configure an IP map to use Cisco encapsulation and TCP/IP header compression, perform thefollowing task in interface configuration mode:

The default encapsulation iscisco.

Note An interface that is configured to support TCP/IP header compression cannot also supportpriority queuing or custom queuing.

For an example of how to configure TCP header compression on an IP map, see the “TCP/IP HeaderCompression Examples” section later in this chapter.

Configure an Interface for TCP/IP Header CompressionYou can configure the interface with active or passive TCP/IP header compression. Activecompression, the default, subjects all outgoing TCP/IP packets to header compression. Passivecompression subjects an outgoing packet to header compression only if the packet had a compressedTCP/IP header when it was received on that interface.

To apply TCP/IP header compression to an interface, you must perform the following tasks ininterface configuration mode:

Note If an interface configured with Cisco encapsulation is later configured with IETFencapsulation, all TCP/IP header compression characteristics are lost. To apply TCP/IP headercompression over an interface configured with IETF encapsulation, you must configure individualIP maps, as described in the section “Configure an Individual IP Map for TCP/IP HeaderCompression.”

Task Command

Configure an IP map to use Cisco encapsulationand TCP/IP header compression.

frame-relay map ip-address dlci [broadcast]cisco tcp header-compression {active | passive}

Task Command

Configure Cisco encapsulation on the interface. encapsulation frame-relay

Enable TCP/IP header compression on theinterface.

frame-relay ip tcp header-compression [passive]

Configuring Frame Relay 9-393

Page 16: Configuring Frame Relay - MIK

Customize Frame Relay for Your Network

For an example of how to configure TCP header compression on an interface, see the “TCP/IPHeader Compression Examples” section later in this chapter.

Disable TCP/IP Header CompressionYou can disable TCP/IP header compression by using either of two commands that have differenteffects, depending on whether Frame Relay IP maps have been explicitly configured for TCP/IPheader compression or have inherited their compression characteristics from the interface.

Frame Relay IP maps that have explicitly configured TCP/IP header compression must also haveTCP/IP header compression explicitly disabled.

To disable TCP/IP header compression, perform one of the following tasks in interface configurationmode:

For an example of how to turn off TCP header compression, see the section “Disabling InheritedTCP/IP Header Compression Example.”

Configure Discard EligibilityYou can specify which Frame Relay packets have low priority or low time sensitivity and will be thefirst to be dropped when a Frame Relay switch is congested. The mechanism that allows a FrameRelay switch to identify such packets is the discard eligibility (DE) bit.

This feature requires that the Frame Relay network be able to interpret the DE bit. Some networkstake no action when the DE bit is set. Other networks use the DE bit to determine which packets todiscard. The most desirable interpretation is to use the DE bit to determine which packets should bedropped first and also which packets have lower time sensitivity.

You can define DE lists that identify the characteristics of packets to be eligible for discarding, andyou can also specify DE groups to identify the DLCI that is affected.

To define a DE list specifying the packets that can be dropped when the Frame Relay switch iscongested, perform the following task in global configuration mode:

You can specify DE lists based on the protocol or the interface, and on characteristics such asfragmentation of the packet, a specific TCP or UDP port, an access list number, or packet size. Seetheframe-relay de-list command for arguments and other information.

Task Command

Disable TCP header compression on all FrameRelay IP maps that are not explicitly configured forTCP header compression.

or

Disable TCP header compression on a specifiedFrame Relay IP map.

no frame-relay ip tcp header-compression

frame-relay map ip ip-address dlcinocompress

Task Command

Define a DE list. frame-relay de-list list-number{ protocolprotocol | interface type number} characteristic

9-394 Router Products Configuration Guide

Page 17: Configuring Frame Relay - MIK

Monitor the Frame Relay Connections

To define a DE group specifying the DE list and DLCI affected, perform the following task ininterface configuration mode:

Monitor the Frame Relay ConnectionsTo monitor Frame Relay connections, perform any of the following tasks in EXEC mode:

Frame Relay Configuration ExamplesThis section provides examples of Frame Relay configurations. It includes the following sections:

• IETF Encapsulation Examples

• Static Address Mapping Examples

• Subinterface Examples

• Configuration Providing Backward Compatibility Example

• Booting from a Network Server over Frame Relay Example

• Frame Relay Switching Examples

• TCP/IP Header Compression Examples

• Disabling TCP/IP Header Compression Examples

IETF Encapsulation ExamplesThe first example that follows sets IETF encapsulation at the interface level. The second examplesets IETF encapsulation on a per-DLCI basis. In the first example, the keywordietf sets the defaultencapsulation method for all maps to IETF.

encapsulation frame-relay IETFframe-relay map ip 131.108.123.2 48 broadcastframe-relay map ip 131.108.123.3 49 broadcast

Task Command

Define a DE group. frame-relay de-groupgroup-number dlci

Task Command

Clear dynamically created FrameRelay maps, which are created by theuse of inverse ARP.

clear frame-relay-inarp

Display information about FrameRelay DLCIs and the LMI.

show interfaces serialnumber1

1. This command is documented in the “Interface Commands” chapter of theRouter Products CommandReference publication.

Display LMI statistics. show frame-relay lmi [type number]

Display the current Frame Relay mapentries.

show frame-relay map

Display PVC statistics. show frame-relay pvc[type number[dlci]]

Display configured static routes. show frame-relay route

Display Frame Relay traffic statistics. show frame-relay traffic

Configuring Frame Relay 9-395

Page 18: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

In the following example, IETF encapsulation is configured on a per-DLCI basis. This configurationhas the same result as the configuration in the first example.

encapsulation frame-relayframe-relay map ip 131.108.123.2 48 broadcast ietfframe-relay map ip 131.108.123.3 49 broadcast ietf

Static Address Mapping ExamplesThe following sections provide examples of static address mapping for the IP, AppleTalk, DECnet,and IPX protocols.

Two Routers in Static Mode ExampleThe following examples illustrate how to configure two routers for static mode.

Configuration for Router 1interface serial 0!ip address 131.108.64.2 255.255.255.0encapsulation frame-relaykeepalive 10frame-relay map ip 131.108.64.1 43

Configuration for Router 2interface serial 0!ip address 131.108.64.1 255.255.255.0encapsulation frame-relaykeepalive 10frame-relay map ip 131.108.64.2 43

AppleTalk Routing ExampleThe following example illustrates how to configure two routers to communicate with each otherusing AppleTalk over a Frame Relay network. Each router has a Frame Relay static address map forthe other router. The use of theappletalk cable-range command indicates that this is extendedAppleTalk (Phase II).

Configuration for Router 1!interface Serial0ip address 172.21.59.24 255.255.255.0encapsulation frame-relayappletalk cable-range 10-20 18.47appletalk zone engframe-relay map appletalk 18.225 100 broadcast

Configuration for Router 1!interface Serial2/3ip address 172.21.177.18 255.255.255.0encapsulation frame-relay

9-396 Router Products Configuration Guide

Page 19: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

appletalk cable-range 10-20 18.225appletalk zone engclockrate 2000000frame-relay map appletalk 18.47 100 broadcast!

DECnet Routing ExampleThe following example sends all DECnet packets destined for address 56.4 out on DLCI 101. Inaddition, any DECnet broadcasts for interface serial 1 will be sent on that DLCI.

decnet routing 32.6!interface serial 1encapsulation frame-relayframe-relay map decnet 56.4 101 broadcast

IPX Routing ExampleThe following example illustrates how to send packets destined for IPX address 200.0000.0c00.7b21out on DLCI 102:

ipx routing 000.0c00.7b3b!interface ethernet 0ipx network 2abc!interface serial 0ipx network 200encapsulation frame-relayframe-relay map ipx 200.0000.0c00.7b21 102 broadcast

Subinterface ExamplesThe following sections provide basic Frame Relay subinterface examples and variations appropriatefor different routed protocols and for bridging.

Basic Subinterface ExamplesIn the following example, subinterface 1 models a point-to-point subnet and subinterface 2 modelsa broadcast subnet. For emphasis, themultipoint keyword is used for serial subinterface 2, eventhough a subinterface is multipoint by default.

interface serial 0encapsulation frame-relayinterface serial 0.1 point-to-pointip address 10.0.1.1 255.255.255.0frame-relay interface-dlci 42

interface serial 0.2 multipointip address 10.0.2.1 255.255.255.0frame-relay map 10.0.2.2 18

Configuring Frame Relay 9-397

Page 20: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

To use Frame Relay DLCIs 42, 64, and 73 as separate point-to-point links and run transparentbridging over them, the configuration might look like the following example:

interface serial0encapsulation frame-relayinterface serial 0.1 point-to-pointbridge-group 1frame-relay interface-dlci 42 broadcastinterface serial 0.2 point-to-pointbridge-group 1frame-relay interface-dlci 64 broadcastinterface serial 0.3 point-to-pointbridge-group 1frame-relay interface-dlci 73 broadcast

From the bridging spanning tree algorithm’s point of view, each PVC is a separate bridge port, anda frame arriving on a PVC can be relayed back out a separate PVC.

IPX Routes over Frame Relay Subinterfaces ExampleThe following example configures a serial interface for Frame Relay encapsulation and sets upmultiple IPX virtual networks corresponding to Frame Relay subinterfaces:

ipx routing 0000.0c02.5f4f!interface serial 0encapsulation frame-relayinterface serial 0.1 multipointipx network 1frame-relay map ipx 1.000.0c07.d530 200 broadcastipx network 2frame-relay map ipx 2.000.0c07.d530 300 broadcast

For subinterface serial 0.1, the router at the other end might be configured as follows:

ipx routinginterface serial 2 multipointipx network 1frame-relay map ipx 1.000.0c02.5f4f 200 broadcast

Unnumbered IP over a Point-to-Point Subinterface ExampleThe following example sets up unnumbered IP over subinterfaces at both ends of a point-to-pointconnection. In this example, Router A functions as the DTE, and Router B functions as the DCE.Routers A and B are both attached to Token Ring networks.

Configuration for Router Aframe-relay switching!interface token-ring 0ip address 131.108.177.1 255.255.255.0!interface serial 0no ip addressencapsulation frame-relay IETF!interface Serial0.2 point-to-pointip unnumbered TokenRing0ip pim sparse-modeframe-relay interface-dlci 20

9-398 Router Products Configuration Guide

Page 21: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

Configuration for Router B:frame-relay switching!interface token-ring 0ip address 131.108.178.1 255.255.255.0!interface serial 0no ip addressencapsulation frame-relay IETFbandwidth 384clockrate 4000000frame-relay intf-type dce!interface serial 0.2 point-to-pointip unnumbered TokenRing1ip pim sparse-modebandwidth 384frame-relay interface-dlci 20

Transparent Bridging Using Subinterfaces ExampleIn the following example, Frame Relay DLCIs 42, 64, and 73 are to be used as separatepoint-to-point links with transparent bridging running over them. The bridging spanning treealgorithm views each PVC as a separate bridge port, and a frame arriving on the PVC can be relayedback out a separate PVC. Be sure that routing is not enabled when configuring transparent bridgingusing subinterfaces.

interface serial 0bridge-group 1encapsulation frame-relayinterface serial 0.1bridge-group 1frame-relay interface-dlci 42interface serial 0.2bridge-group 1frame-relay interface-dlci 64interface serial 0.3bridge-group 1frame-relay interface-dlci 73

Configuration Providing Backward Compatibility ExampleThe following configuration provides backward compatibility and interoperability with earlierversions that are not compliant with RFC 1490. Theietf keyword is used to generate RFC 1490traffic. This configuration is possible because of the flexibility provided by separately defining eachmap entry.

encapsulation frame-relayframe-relay map ip 131.108.123.2 48 broadcast ietf! interoperability is provided by IETF encapsulationframe-relay map ip 131.108.123.3 49 broadcast ietfframe-relay map ip 131.108.123.7 58 broadcast! this line allows the router to connect with a! device running an older version of softwareframe-relay map DECNET 21.7 49 broadcast

Configure IETF based on map entries and protocol for more flexibility. Use this method ofconfiguration for backward compatibility and interoperability.

Configuring Frame Relay 9-399

Page 22: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

Booting from a Network Server over Frame Relay ExampleWhen booting from a TFTP server over Frame Relay, you cannot boot from a network server via abroadcast. You must boot from a specific TFTP host. Also, aframe-relay map command must existfor the host that you will boot from.

For example, if file gs3-bfx is to be booted from a host with IP address 131.108.126.2, the followingcommands would need to be in the configuration:

boot system gs3-bfx 131.108.126.2

interface Serial 0encapsulation frame-relayframe-relay map IP 131.108.126.2 100 broadcast

Theframe-relay map command is used to map an IP address into a DLCI address. In order to bootover Frame Relay, the address of the machine to netboot from must be given explicitly, and aframe-relay map entry must exist for that site. For example, if file gs3-bfx.83-2.0 is to be bootedfrom a host with IP address 131.108.126.111, the following commands would need to be in theconfiguration:

boot system gs3-bfx.83-2.0 131.108.13.111!interface Serial 1ip address 131.108.126.200 255.255.255.0encapsulation frame-relayframe-relay map ip 131.108.126.111 100 broadcast

In this case, 100 is the DLCI that can get to host 131.108.126.111.

9-400 Router Products Configuration Guide

Page 23: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

The remote router must have the following frame-relay map entry:

frame-relay map ip 131.108.126.200 101 broadcast

This entry allows the remote router to return a boot image (from the netboot host) to the routernetbooting over Frame Relay. Here, 101 is a DLCI of the router being netbooted.

Frame Relay Switching ExamplesThe following sections provide several examples of configuring one or more routers as Frame Relayswitches:

• PVC Switching Configuration Example—In this example, one router has two interfacesconfigured as DCEs; the router switches frames from the incoming interface to the outgoinginterface on the basis of the DLCI alone.

• Pure Frame Relay DCE Example—In this example, a Frame Relay network is set up with tworouters functioning as switches; standard NNI signaling is used between them.

• Hybrid DTE/DCE PVC Switching Example—In this example, one router is configured with bothDCE and DTE interfaces (a hybrid DTE/DCE Frame Relay switch). It can switch framesbetween two DCE ports and between a DCE port and a DTE port.

• Switching over an IP Tunnel Example—In this example, two routers are configured to switchFrame Relay PVCs over a point-to-point IP tunnel.

PVC Switching Configuration ExampleYou can configure your router as a dedicated, DCE-only Frame Relay switch. Switching is based onDLCIs. The incoming DLCI is examined, and the outgoing interface and DLCI are determined.Switching takes place when the incoming DLCI in the packet is replaced by the outgoing DLCI, andthe packet is sent out the outgoing interface.

In the following example, the router switches two PVCs between interface serial 1 and 2. Frameswith DLCI 100 received on serial 1 will be transmitted with DLCI 200 on serial 2 (see Figure 9-4).

Figure 9-4 PVC Switching Configuration

Configuration for Router Aframe-relay switching!interface Ethernet0ip address 131.108.160.58 255.255.255.0!interface Serial1no ip addressencapsulation frame-relaykeepalive 15frame-relay lmi-type ansiframe-relay intf-type dce

Router B Router A

S1

47

4a

Router C

ANSILMI

CiscoLMI

S1

DCE

S2

DCE

100

101

200

201

Configuring Frame Relay 9-401

Page 24: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

frame-relay route 100 interface Serial2 200frame-relay route 101 interface Serial2 201clockrate 2000000!interface Serial2encapsulation frame-relaykeepalive 15frame-relay intf-type dceframe-relay route 200 interface Serial1 100frame-relay route 201 interface Serial1 101clockrate 64000

Pure Frame Relay DCE ExampleUsing the PVC switching feature, it is possible to build an entire Frame Relay network using ourrouters. In the following example, Router A and Router C act as Frame Relay switches implementinga two-node network. The standard Network to Network Interface (NNI) signaling protocol is usedbetween Router A and Router C (see Figure 9-5).

Figure 9-5 Frame Relay DCE Configuration

Configuration for Router Aframe-relay switching!interface ethernet 0no ip addressshutdown!interface ethernet 1no ip addressshutdown!

Router A Router C

Router B Router D S2

31

0NNI

NNI

Frame Relaynetwork

DTE DTE

DCE DCES1S1

S2S2

100 300

200200

9-402 Router Products Configuration Guide

Page 25: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

interface ethernet 2no ip addressshutdown!interface ethernet 3no ip addressshutdown!interface serial 0ip address 131.108.178.48 255.255.255.0shutdown!interface serial 1no ip addressencapsulation frame-relayframe-relay intf-type dceframe-relay lmi-type ansiframe-relay route 100 interface serial 2 200!interface serial 2no ip addressencapsulation frame-relayframe-relay intf-type nniframe-relay lmi-type q933aframe-relay route 200 interface serial 1 100clockrate 2048000!interface serial 3no ip addressshutdown

Configuration for Router Cframe-relay switching!interface ethernet 0no ip addressshutdown!interface ethernet1no ip addressshutdown!interface ethernet 2no ip addressshutdown!interface ethernet 3no ip addressshutdown!interface serial 0ip address 131.108.187.84 255.255.255.0shutdown!interface serial 1no ip addressencapsulation frame-relayframe-relay intf-type dceframe-relay route 300 interface serial 2 200!interface serial 2no ip addressencapsulation frame-relay

Configuring Frame Relay 9-403

Page 26: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

frame-relay intf-type nniframe-relay lmi-type q933aframe-relay route 200 interface serial 1 300!interface serial 3no ip addressshutdown

Hybrid DTE/DCE PVC Switching ExampleRouters can also be configured as hybrid DTE/DCE Frame Relay switches (see Figure 9-6).

Figure 9-6 Hybrid DTE/DCE PVC Switching

In the following example, Router B acts as a hybrid DTE/DCE Frame Relay switch. It can switchframes between the two DCE ports and between a DCE port and a DTE port. Traffic from the FrameRelay network can also be terminated locally. In the example, three PVCs are defined, as follows:

DLCI 400 is also defined for locally terminated traffic.

Configuration for Router Bframe-relay switching!interface ethernet 0ip address 131.108.123.231 255.255.255.0!

Serial 1, DLCI 102 to serial 2, DLCI 201 :DCE switching

Serial 1, DLCI 103 to serial 3, DLCI 301 :DCE/DTE switching

Serial 2, DLCI 203 to serial 3, DLCI 302 :DCE/DTE switching

Router D

Router B

S23

09

Frame Relaynetwork

DCEDTEDCE

DTE

DTE

102 201

301103

302

203

S1S2

S3

Router A Router C

9-404 Router Products Configuration Guide

Page 27: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

interface ethernet 1ip address 131.108.5.231 255.255.255.0!interface serial 0no ip addressshutdown!interface serial 1no ip addressencapsulation frame-relayframe-relay intf-type dceframe-relay route 102 interface serial 2 201frame-relay route 103 interface serial 3 301!interface serial 2no ip addressencapsulation frame-relayframe-relay intf-type dceframe-relay route 201 interface serial 1 102frame-relay route 203 interface serial 3 302!interface serial 3ip address 131.108.111.231encapsulation frame-relayframe-relay lmi-type ansiframe-relay route 301 interface serial 1 103frame-relay route 302 interface serial 1 203frame-relay map ip 131.108.111.4 400 broadcast

Switching over an IP Tunnel ExampleSwitching over an IP tunnel is done by creating a point-to-point tunnel across the internetwork overwhich PVC switching can take place (see Figure 9-7).

Figure 9-7 Frame Relay Switch over IP Tunnel

The following configurations illustrate how to create the IP network depicted in Figure 9-7.

Router A Router D

Router B Router C

IP network

Frame Relay network

S23

08

DTE

DTE DTE

DCE

E0 S0

S1

S1200

100

200

300

Configuring Frame Relay 9-405

Page 28: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

Configuration for Router Aframe-relay switching!interface Ethernet0ip address 108.131.123.231 255.255.255.0!interface Ethernet1ip address 131.108.5.231 255.255.255.0!interface Serial0no ip addressshutdown!interface Serial1ip address 131.108.222.231 255.255.255.0encapsulation frame-relayframe-relay map ip 131.108.222.4 400 broadcastframe-relay route 100 interface Tunnel1 200!interface Tunnel1tunnel source Ethernet0tunnel destination 150.150.150.123

Configuration for Router Dframe-relay switching!interface Ethernet0ip address 131.108.231.123 255.255.255.0!interface Ethernet1ip address 131.108.6.123 255.255.255.0!interface Serial0ip address 150.150.150.123 255.255.255.0encapsulation ppp!interface Tunnel1tunnel source Serial0tunnel destination 108.131.123.231!interface Serial1ip address 131.108.7.123 255.255.255.0encapsulation frame-relayframe-relay intf-type dceframe-relay route 300 interface Tunnel1 200

TCP/IP Header Compression ExamplesThe following examples show various combinations of TCP/IP header compression andencapsulation characteristics on the interface and the effect on the inheritance of thosecharacteristics on a Frame Relay IP map.

IP Map with Inherited TCP/IP Header Compression ExampleThe following example shows an interface configured for TCP/IP header compression and an IP mapthat inherits the compression characteristics. Note that the Frame Relay IP map is not explicitlyconfigured for header compression.

9-406 Router Products Configuration Guide

Page 29: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

interface serial 1encapsulation frame-relayip address 131.108.177.178 255.255.255.0frame-relay map ip 131.108.177.177 177 broadcastframe-relay ip tcp header-compression passive

Use of theshow frame-relay map command will display the resulting compression andencapsulation characteristics; the IP map has inherited passive TCP/IP header compression:

Router> show frame-relay mapSerial 1 (administratively down): ip 131.108.177.177 dlci 177 (0xB1,0x2C10), static, broadcast, CISCO TCP/IP Header Compression (inherited), passive (inherited)

Using an IP Map to Override TCP/IP Header Compression ExampleThe following example shows the use of a Frame Relay IP map to override the compression set onthe interface:

interface serial 1encapsulation frame-relayip address 131.108.177.178 255.255.255.0frame-relay map ip 131.108.177.177 177 broadcast nocompressframe-relay ip tcp header-compression passive

Use of theshow frame-relay map command will display the resulting compression andencapsulation characteristics; the IP map has not inherited TCP header compression:

Serial 1 (administratively down): ip 131.108.177.177 dlci 177 (0xB1,0x2C10), static, broadcast, CISCO

Disabling TCP/IP Header Compression ExamplesThe following examples show the use of two different commands to disable TCP/IP headercompression.

Disabling Inherited TCP/IP Header Compression ExampleIn this first example, the initial configuration is the following:

interface serial 1encapsulation frame-relayip address 131.108.177.179 255.255.255.0frame-relay ip tcp header-compression passiveframe-relay map ip 131.108.177.177 177 broadcastframe-relay map ip 131.108.177.178 178 broadcast tcp header-compression

You enter the following commands:

serial interface 1no frame-relay ip tcp header-compression

Use of theshow frame-relay map command will display the resulting compression andencapsulation characteristics:

Router> show frame-relay mapSerial 1 (administratively down): ip 131.108.177.177 177

Configuring Frame Relay 9-407

Page 30: Configuring Frame Relay - MIK

Frame Relay Configuration Examples

dlci 177(0xB1, 0x2C10), static, broadcast CISCOSerial 1 (administratively down): ip 131.108.177.178 178 dlci 178(0xB2,0x2C20), static broadcast CISCO TCP/IP Header Compression (enabled)

As a result, header compression is disabled for the first map (with DLCI 177), which inherited itsheader compression characteristics from the interface, but not disabled for the second map(DLCI 178), which is explicitly configured for header compression.

Disabling Explicit TCP/IP Header Compression ExampleIn this second example, the initial configuration is the same as the previous example, but you enterthe following commands:

serial interface 1no frame-relay ip tcp header-compressionframe-relay map ip 131.108.177.178 178 nocompress

Use of theshow frame-relay map command will display the resulting compression andencapsulation characteristics:

Router> show frame-relay mapSerial 1 (administratively down): ip 131.108.177.177 177 dlci 177(0xB1,0x2C10), static, broadcast CISCOSerial 1 (administratively down): ip 131.108.177.178 178 dlci 178(0xB2,0x2C20), static broadcast CISCO

The result of the commands is to disable header compression for the first map (with DLCI 177),which inherited its header compression characteristics from the interface, and also explicitly todisable header compression for the second map (with DLCI 178), which had been explicitlyconfigured for header compression.

9-408 Router Products Configuration Guide