Thu, Jun
4 New Articles

Floating in a Frame Relay Cloud

  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The efficiency of a corporation’s communication links has become increasingly important as the demand for LAN and WAN connectivity increases. Frame relay has moved to the forefront of fast-packet technologies and is quickly gaining acceptance as the solution to expensive leased lines and slow packet-switching networks. Frame relay excels in its ability to offer significant savings over private lines, providing greater bandwidth while still reducing telecommunications complexity for network managers. But what is frame relay, and can you implement it on an AS/400?

In this article, I take a quick look at frame relay on the AS/400. I explain what frame relay is and how it’s set up and configured on your AS/400 and offer you some tips for improving its performance.

Understanding the Frame Relay “Cloud”

Frame relay is a high-speed communications technology that is currently being used in hundreds of networks worldwide. In addition to providing LAN-to-LAN connectivity, frame relay can deliver WAN interconnection of Token-Ring, Ethernet, or Fiber Distributed Data Interface (FDDI) networks while still providing solutions for legacy SNA networks. It provides users with higher transmission speeds than X.25, as frames are switched to their destination with a delay of only a few bytes at a time.

Frame relay defines how frames, or packets, of information are routed through a fast-packet network. One of the key features of packet technology is that it contains the destination address in addition to the data. In a packet-switching network, each packet is transmitted individually and can even follow different routes to its ultimate destination. After all packets that form the message have arrived, they are recompiled to form the original message. Frame relay has the ability to deliver low overhead and reliable data transfer with little delay. It accomplishes all of this because frame relay operates at the physical and data link layers (layers one and two) of the Open Systems Interconnection (OSI) model for networking. That is, it operates below the network layer (layer three) of the model. Consequently, throughput is dramatically increased because each frame requires much less processing.

The high speed you can achieve makes frame relay a valuable asset in the connection of WANs of two or more LANs. Quite often, these connections exist in

geographically dispersed locations that are separated over long distances. A frame relay network, then, is often represented in diagrams as a cloud. This “network cloud” analogy exists for a couple of reasons. First, it is a good representation of the geographic distance that a frame relay network has the ability to close. Second, a frame relay connection is not a physical path but a logical path.

The AS/400’s Head Is in the Network Cloud

You can easily configure the AS/400 to take advantage of what frame relay has to offer. Starting with V3R2, the system provides support for the following frame relay connections:

• Direct supports communication using SNA, TCP/IP, and IPX. This support allows for multiple networks to communicate using the frame relay network as a backbone while excluding the need for expensive T1 lines.

• Bridged allows the AS/400 to communicate over a frame relay network through a remote bridge. These connections allow your AS/400 to appear as if it were locally attached to the LANs that are connected to the bridge.

Frame relay is connection-oriented with virtual circuits. A virtual circuit is essentially a connection between devices that acts as though it may be a physical connection between two hosts in a packet-switching network. Each virtual circuit is defined between endstations (the frame relay terminating equipment or FRTE). The switching is accomplished by the frame relay frame handler (FRFH). The frame handler can also be viewed as the network node in a frame relay network.

The connection from the FRTE to the FRFH is made through a Data Service Unit (DSU) and a Channel Service Unit (CSU). The DSU is a device that performs protective and diagnostic functions for a telecommunications line. The CSU is a device that connects a terminal to a digital line. Typically, the two devices are packaged as a single unit in a DSU/CSU. An effective analogy is to view this pair as a high-powered modem. Together, they convert the FRTE physical interface to the FRFH interface that the frame relay network uses. The three physical interfaces supported by the AS/400 to attach to the DSU/CSU are RS-449(V.36), X.21, and V.35.

On your AS/400, you use the Create Network Interface (frame relay) command (CRTNWIFR) to specify the physical interface (the Interface parameter) and the data transmission rate (the Linespeed parameter) of the line being used. The actual type of physical interface depends on the cable being used. To allow a frame relay connection to your AS/400, you must use an input/output processor (IOP). This IOP must be used in conjunction with the physical interface that attaches to the frame relay DSU. Consult Figure 1 for more information on data parameters and physical specifications for different types of AS/400 IOPs.

The NWI Clock Parameter specification has three values associated with it. *MODEM is the default value. You can use *LOOP to improve performance if your modem supports it, and you can use *INVERT if the modem does not support looped clocking. If you choose a transmission rate of 512,000 bps, you may need to specify *LOOP or *INVERT clocking.

One Quick Example

You can integrate frame relay into SNA with very few modifications and minimal disruption. If you decide to run SNA over a frame relay network, frame relay acts as the interface to a separate network. At the interface between the SNA equipment and the frame relay network, many virtual links are multiplexed over a single physical connection. The SNA equipment must be able to multiplex these links over a single real link. Figure 2 shows an SNA direct connection of two AS/400 systems, one in St. John’s and one in Ottawa. You can configure a direct connection using SNA, like the scenario above, by entering the commands shown in Figure 3. The CRTNWIFR command specifies that you

will create a frame relay communications interface, while Create Line Description (frame relay) specifies the physical connection that you will create between the AS/400 and the network. In this example, I define Advanced Program-to-Program Communications (APPC) controller and device descriptions by using the Create Controller Description (APPC) command (CRTCTLAPPC) and the Create Device Description (APPC) command (CRTDEVAPPC).

You can use the Data Link Connection Identifier (DLCI) to identify the logical connections between nodes. Each permanent virtual connection (PVC) is identified by a DLCI number that is assigned by the frame relay network. You can specify the DLCI number for your AS/400 on the DLC identifier (NWIDLCI) parameter of its line description commands or by specifying the number in the DLCI parameter of the CRTNWIFR command. The AS/400 will support up to 256 of these virtual circuits for each physical connection.

A frame relay network routes frames through a network by examining the DLCI field and then routing each frame to an outgoing link. At each node within the network, the frame format, size, and frame check sequence (FCS) are verified. If valid, the DLCI and FCS are replaced and the frame is routed to the next node. If invalid or damaged, the frame is discarded.

Tweaking Frame Relay Performance

Performance is always of concern for your network. If you choose a frame relay connection, consider increasing your frame sizes to supply better performance. Large frame sizes may not work well for error-prone lines or networks because longer times are required to retransmit large frames when errors are encountered. When frame relay networks become congested, frames are discarded to alleviate the congestion. Therefore, large frame sizes may not work well on congested frame relay networks where many retries for transmissions are necessary. The frame size is specified in the Maximum frame size (MAXFRAME) parameter in the line and controller descriptions. Discarded frames represent an overflow situation where the data sent is greater than the Committed Information Rate, so they are never re-sent.

The frame size is usually determined by the particular frame relay network to which the system is attached. The AS/400 system allows a maximum frame size of up to 8,182 bytes. Other frame sizes (265 through 8,182 bytes) may be supported.

Send in the Clouds

When evaluating frame relay for the AS/400, network configuration, speed, and economics all play decisive roles. The ability to offer reliable performance, scalability, and significant savings while still working with existing technologies makes frame relay an attractive alternative for most networking environments. Ultimately, however, only your requirements will be able to determine your choice of technology.

2666 High-speed Communications IOP Physical Interface Cable length NWI Clock Parameter Max. Data Transmission Rate RS-449 20 ft. (6.1 m) *MODEM, *LOOP 2,048,000 bps

80 ft. (24.4 m) *MODEM 64,000 bps

*LOOP 2,048,000 bps 150 ft. (45.7 m) *MODEM 64,000 bps

*LOOP 2,048,000 bps
V.35 20 ft. (6.1 m) *MODEM, *LOOP 2,048,000 bps 80 ft. (24.4 m) *MODEM, *LOOP 64,000 bps
X.21 20 ft. (6.1 m) *MODEM 2,048,000 bps

2629-2699 and 2809-2721 High-speed Communications IOP Physical Interface Cable length NWI Clock Parameter Max. Data Transmission Rate RS-449 20 ft. (6.1 m) *MODEM, *LOOP, *INVERT 2,048,000 bps

50 ft. (15.2 m) 80 ft. (24.4 m) 150 ft. (45.7 m) *MODEM 64,000 bps

*LOOP 2,048,000 bps
V.35 20 ft. (6.1 m) , 50 ft. (15.2 m) *MODEM, *LOOP, *INVERT 2,048,000 bps 80 ft. (24.4 m) *MODEM, *LOOP, *INVERT 64,000 bps
X.21 20 ft. (6.1 m) *MODEM, 2,048,000 bps 50 ft. (15.2 m) *MODEM, *INVERT 64,000 bps

Figure 1: Here are the supported physical interace specifications.

Frame Relay Network

Figure 2: Here's a diagram of the SNA direct connection between St. John's and Ottawa systems.

Configuration for the St. John’s Connection:
CLOCK(*MODEM) LINESPEED(1536000) LMIMODE(*TE) + TEXT(‘Frame Relay NWI at St. Johns’)

EXCHID(05601300) TEXT(‘Frame Relay DLCI to Ottawa + Branch’)
RMTCPNAME(STJOHNS) EXCHID(05633966) DSAP(04) SSAP(04) TEXT(‘APPN Connection to Ottawa Office’)
LOCADR(00) TEXT(‘APPC connection to AS/400 in Ottawa’)

Configuration for the Ottawa Connection:
CLOCK(*MODEM) LINESPEED(64000) LMIMODE(*TE) + TEXT(‘Frame Relay NWI in Ottawa’)

Floating_in_a_Frame_Relay_Cloud04-00.png 127x41

Floating_in_a_Frame_Relay_Cloud04-03.png 102x41

Floating_in_a_Frame_Relay_Cloud04-05.png 162x41

Floating_in_a_Frame_Relay_Cloud04-08.png 200x41

Floating_in_a_Frame_Relay_Cloud04-01.png 127x41

Floating_in_a_Frame_Relay_Cloud04-04.png 102x41

Floating_in_a_Frame_Relay_Cloud04-06.png 162x41

Floating_in_a_Frame_Relay_Cloud04-09.png 200x39

Floating_in_a_Frame_Relay_Cloud04-02.png 135x189

Floating_in_a_Frame_Relay_Cloud04-07.png 135x189

EXCHID(05633966) TEXT(‘Frame Relay DLCI to St. Johns + Branch’)
RMTCPNAME(OTTAWA) EXCHID(05601300) DSAP(04) SSAP(04) TEXT(‘APPN Connection to St Johns Office’)
LOCADR(00) TEXT(‘APPC connection to AS/400 in St Johns’)

Figure 3: These are the commands used to configure the frame relay connection between St. John’s and Ottawa.



Support MC Press Online

$0.00 Raised:

Book Reviews

Resource Center

  • SB Profound WC 5536 Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application. You can find Part 1 here. In Part 2 of our free Node.js Webinar Series, Brian May teaches you the different tooling options available for writing code, debugging, and using Git for version control. Brian will briefly discuss the different tools available, and demonstrate his preferred setup for Node development on IBM i or any platform. Attend this webinar to learn:

  • SB Profound WP 5539More than ever, there is a demand for IT to deliver innovation. Your IBM i has been an essential part of your business operations for years. However, your organization may struggle to maintain the current system and implement new projects. The thousands of customers we've worked with and surveyed state that expectations regarding the digital footprint and vision of the company are not aligned with the current IT environment.

  • SB HelpSystems ROBOT Generic IBM announced the E1080 servers using the latest Power10 processor in September 2021. The most powerful processor from IBM to date, Power10 is designed to handle the demands of doing business in today’s high-tech atmosphere, including running cloud applications, supporting big data, and managing AI workloads. But what does Power10 mean for your data center? In this recorded webinar, IBMers Dan Sundt and Dylan Boday join IBM Power Champion Tom Huntington for a discussion on why Power10 technology is the right strategic investment if you run IBM i, AIX, or Linux. In this action-packed hour, Tom will share trends from the IBM i and AIX user communities while Dan and Dylan dive into the tech specs for key hardware, including:

  • Magic MarkTRY the one package that solves all your document design and printing challenges on all your platforms. Produce bar code labels, electronic forms, ad hoc reports, and RFID tags – without programming! MarkMagic is the only document design and print solution that combines report writing, WYSIWYG label and forms design, and conditional printing in one integrated product. Make sure your data survives when catastrophe hits. Request your trial now!  Request Now.

  • SB HelpSystems ROBOT GenericForms of ransomware has been around for over 30 years, and with more and more organizations suffering attacks each year, it continues to endure. What has made ransomware such a durable threat and what is the best way to combat it? In order to prevent ransomware, organizations must first understand how it works.

  • SB HelpSystems ROBOT GenericIT security is a top priority for businesses around the world, but most IBM i pros don’t know where to begin—and most cybersecurity experts don’t know IBM i. In this session, Robin Tatam explores the business impact of lax IBM i security, the top vulnerabilities putting IBM i at risk, and the steps you can take to protect your organization. If you’re looking to avoid unexpected downtime or corrupted data, you don’t want to miss this session.

  • SB HelpSystems ROBOT GenericCan you trust all of your users all of the time? A typical end user receives 16 malicious emails each month, but only 17 percent of these phishing campaigns are reported to IT. Once an attack is underway, most organizations won’t discover the breach until six months later. A staggering amount of damage can occur in that time. Despite these risks, 93 percent of organizations are leaving their IBM i systems vulnerable to cybercrime. In this on-demand webinar, IBM i security experts Robin Tatam and Sandi Moore will reveal:

  • FORTRA Disaster protection is vital to every business. Yet, it often consists of patched together procedures that are prone to error. From automatic backups to data encryption to media management, Robot automates the routine (yet often complex) tasks of iSeries backup and recovery, saving you time and money and making the process safer and more reliable. Automate your backups with the Robot Backup and Recovery Solution. Key features include:

  • FORTRAManaging messages on your IBM i can be more than a full-time job if you have to do it manually. Messages need a response and resources must be monitored—often over multiple systems and across platforms. How can you be sure you won’t miss important system events? Automate your message center with the Robot Message Management Solution. Key features include:

  • FORTRAThe thought of printing, distributing, and storing iSeries reports manually may reduce you to tears. Paper and labor costs associated with report generation can spiral out of control. Mountains of paper threaten to swamp your files. Robot automates report bursting, distribution, bundling, and archiving, and offers secure, selective online report viewing. Manage your reports with the Robot Report Management Solution. Key features include:

  • FORTRAFor over 30 years, Robot has been a leader in systems management for IBM i. With batch job creation and scheduling at its core, the Robot Job Scheduling Solution reduces the opportunity for human error and helps you maintain service levels, automating even the biggest, most complex runbooks. Manage your job schedule with the Robot Job Scheduling Solution. Key features include:

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • LANSAWhen it comes to creating your business applications, there are hundreds of coding platforms and programming languages to choose from. These options range from very complex traditional programming languages to Low-Code platforms where sometimes no traditional coding experience is needed. Download our whitepaper, The Power of Writing Code in a Low-Code Solution, and:

  • LANSASupply Chain is becoming increasingly complex and unpredictable. From raw materials for manufacturing to food supply chains, the journey from source to production to delivery to consumers is marred with inefficiencies, manual processes, shortages, recalls, counterfeits, and scandals. In this webinar, we discuss how:

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • Profound Logic Have you been wondering about Node.js? Our free Node.js Webinar Series takes you from total beginner to creating a fully-functional IBM i Node.js business application.

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: