This document describes OpenROUTE Networks implementation of Synchronous Data Link Control Relay (SRLY). It includes the following sections:
About SDLC Relay
How SDLC Relay Works
Setting Up SDLC Relay
Sample SDLC Relay Configuration
About SDLC Relay Configuration and Monitoring Commands
Accessing the SDLC Relay Configuration Environment
Accessing the SDLC Relay Monitoring Environment
SDLC Relay Commands
About SDLC Relay
Like DLSw, SRLY is a method for consolidating SDLC traffic onto the corporate multiprotocol backbone.
Unlike DLSw, SDLC Relay does not terminate the SDLC data link to reduce the likelihood of session timeouts, and does nothing to help reduce congestion on the WAN link. What SRLY provides is a serviceable method for shipping HDLC-formatted frames across WAN links.
How SDLC Relay Works
Despite its name, the SDLC Relay protocol (SRLY) is designed to handle other protocols besides SDLC. The protocol works by encapsulating SDLC or any bit-oriented protocol (HDLC, LAPB) in UDP packets, and transmitting them through the IP cloud on a point-to-point connection to another SRLY device.
These connections are established by matching SRLY traffic to specific ports and groups. During configuration, each group has a unique group number assigned, and exactly two ports: one SDLC primary port, and one SDLC secondary. Matching SRLY traffic to group numbers and ports ensures that attached end stations can only send packets to the end stations for which they are intended.
Once the router receives packets, it strips them of their UDP/IP header and transmits them to their destination address in their original protocol format.

Figure 1 SDLC Primary/Secondary Stations and Local/Remote Ports
SDLC Primary and Secondary Stations
When configuring SRLY, you must connect a router's primary port to its primary end station, and connect its secondary port to its secondary end station. Within the primary-secondary communication process, the primary end station is responsible for initiating, scheduling, and terminating the session. The secondary station does not initiate communication, but responds to commands from its primary partner.
When running balanced protocols like LAP-B or HDLC, you can assign roles arbitrarily as long as one device is Primary, and its connected counterpart is Secondary.
When to Use SDLC Relay
Generally, you would use SRLY instead of DLSw when you need to exchange any bit-oriented protocol, such as LAPB, HDLC, or SDLC primary over the wide area, between SNA or non-SNA devices.
DLSw can be configured for Host 1 and end station C in Figure 2: other wide-area connections would have to be accomplished using SDLC Relay.
Figure 2 SDLC Relay Configurations

Setting Up SDLC Relay
Configuring SDLC Relay (SRLY) involves performing these steps on each of two routers.

Config>set data srly 2You can list the devices to confirm that an SDLC Relay device has been added.
Config>list dev
Ifc 0 (Token Ring): CSR 6000000, vector 28
Ifc 1 (WAN Proteon Serial): CSR 81620, CSR2 80D00, vector 93
Ifc 2 (WAN SDLC Relay): CSR 81640, CSR2 80E00, vector 92
Config>network 2For RBX Series routers, you must also set the cable type.
SDLC relay interface user configuration
SRLY 2 Config>set clock internal
Must also SET SPEED for internal or mixed clocking
SLC Config>set speed
Internal Clock Speed [0]? 56000
SRLY 2 Config>set cable rs-232 dceAfter setting the line speed, clocking, and cable type, you can check the configuration with the list command.
SRLY 2 Config>list
Synchronous serial line interface configuration Maximum frame size in bytes = 2048
Encoding: NRZ
Idle State: Flag
Clocking: Internal
Cable type: RS-232 DCE
Internal Clock Speed: 56000
Transmit Delay Counter: 0
SLC Config>exit
Config>protocol sdlcAs this example shows, the prompt for the SDLC Relay (SRLY) area is SDLC config>. Commands entered at this prompt only affect the SDLC Relay protocol. They have nothing to do with, and do not affect, SDLC data links or devices. Exit the SDLC Relay configuration procedure at any time by entering exit.
SDLC relay protocol user configuration
SDLC config>
SDLC config>add groupNotice that the list group command shows that no ports have yet been configured for group 1.
Group number: [1]?
SDLC config>list group
Group number: [1]? 1 SDLC Relay ConfigurationGroup Number Port Status Net SDLC Station IP Address
Number address(hex)
---------- ---------- ----- ----------- -----------
No ports configured for group 1
SDLC config>add localNotice that the list all command shows that a local secondary port is configured for group 1.
Group number: [1]?
Interface number: [0]? 2
(P)rimary or (S)econdary: [P]?
SDLC config>list all SDLC Relay ConfigurationThe (E) shown within the Port Status column stands for Enabled. By default, SRLY ports are enabled; SRLY ports must remain enabled in order to use the feature.Group Number Port Status Net SDLC Station IP Address
Number address(hex)
---------- ---------- ----- ----------- -----------
1 (E) Local PRIMRY (E) 2
SDLC config>add remote
Group number: [1]?
IP address of remote router: [0.0.0.0]? 10.2.50.30
(P)rimary or (S)econdary: [S]? p
SDLC config>list all SDLC Relay Configuration
Group Number Port Status Net SDLC Station IP Address
Number address(hex)
---------- ---------- ----- ----------- -----------
1 (E) Local PRMRY (E) 2 10.2.50.30
1 (E) Remote SCNDRY (E)
Set Data Link, Add Group, and Add Port
First, set up an SRLY data link for R2. Do this in the same manner as shown earlier for R1.
Next, add a group for R2, assigning the same group number (1, in this case) as that assigned on R1. Add a local port for the assigned group. This is the SRLY line you have already defined. In this case, the port type is secondary since a front end processor (FEP) (which, like a host, is always primary) is on the line.
SDLC config>add local
Group number: [1]?
Interface number: [0]?
(P)rimary or (S)econdary: [S]?
SDLC config>list all SDLC Relay Configuration
Group Number Port Status Net SDLC Station IP Address
Number address(hex)
---------- ---------- ----- ----------- -----------
1 (E) Local SCNDRY (E) 0 10.2.50.30
SDLC config>add remote
Group number: [1]?
IP address of remote router: [0.0.0.0]? 10.1.50.7
(P)rimary or (S)econdary: [S]? pSDLC config>list all SDLC Relay Configuration
Group Number Port Status Net SDLC Station IP Address
Number address(hex)
---------- ---------- ----- ----------- -----------
1 (E) Remote PRMRY (E) 10.1.50.7
1 (E) Local SCNDRY (E) 0
MOS Operator ControlIf the Config> prompt does not appear immediately, press Return again. Enter SDLC Relay configuration commands at the SDLC config> prompt. To access this prompt, enter protocol sdlc as shown:
* config
Gateway user configuration
Config>
Config>protocol sdlc
SDLC Relay user configuration
SDLC config>
MOS Operator ControlEnter SDLC Relay monitoring commands at the SDLC> prompt. To access this prompt, enter protocol sdlc at the + prompt as shown:
*monitor
+
+ protocol sdlc
SDLC>
Press Space twice after you type a command to display the available options for each command. Enter help for information about using the command line interface. [C] means the command is available at the SDLC Config> prompt. [M] means the command is available at the SDLC> prompt.
Add [C]
Adds group numbers, local ports, and remote ports.
Syntax: add
add group
Group number: [1]? 1
Point to Point connection: (Yes of No)? Y
|
Group number
| The group number that you are designating for the port. |
|
Point to point
| Is the connection a point-to-point link, yes (Y) or no (N). |
local-port
Identifies the interface that you are using for the local port.
Example: add local-port
Group number: [1]?1
Interface number: [0]? 0
(P)rimary or (S)econdary:[S}? p
remote-port
Identifies the IP address of the port directly connected to the serial line on the remote router.
Example: add remote-port
Group number: [1]? 1
IP address of remote router:[0.0.0.0]? 128.185.121.97
(P)rimary or (S)econdary:[S]? s
Clear-Port-Statistics [M]
Resets the SDLC Relay statistics for all ports. The statistics include counters for packets forwarded and packets discarded.
Syntax: clear-port-statistics
clear-port-statistics
Clear all port statistics? (Yes or No): Y
delete group 1
delete local-port 0
delete remote-port
Group number: [1]? 1
(P)rimary or (S)econdary:[S}? S
|
Group number
| The group number for the remote port. |
|
Primary or Secondary
| Designates the port type, primary (P) or secondary (S). |
Disable [C] [M]
Suppresses forwarding for an entire relay group or a specific relay port.
When you use this command within the monitoring process, its effects are not stored in the router's non-volatile configuration memory.
Syntax: disable
disable group 1
disable port
Interface number: [0]? 0
(P)rimary or (S)econdary:[S]? s
|
Interface number
| The interface number of the port that you want to disable. |
|
Primary or Secondary
| Designates the port type, primary (P) or secondary (S). |
Enable [C] [M]
Enables data transfer for an entire group or a specific local interface port.
When you use this command within the monitoring process, its effects are not stored in the router's non-volatile configuration memory.
Syntax: enable
enable group 1
enable port
Interface number: [0]? 0
(P)rimary or (S)econdary:[S]? s
|
Interface number
| The interface number of the port that you want to enable. |
|
Primary or Secondary
| Designates the port type, primary (P) or secondary (S). |
List [C] [M]
Displays the configuration or status of a specific group or of all groups.
Syntax: list
list all
SDLC Relay Configuration
Group Number Port Status Net Number IP Address
-----------------------------------------------------------------
1 (E) Local PRMRY (D) 2
1 (E) Remote SCNDRY (E) 128.185.452.11
2 (D) Local PRMRY (D) 0
2 (D) Remote SCNDRY (D) 128.185.450.31
group group#
Displays the configuration of a specified group.
Example: list group 1
SDLC Relay Configuration
Group Number Port Status Net Number IP Address
-----------------------------------------------------------------
1 (E) Local PRMRY (D) 2
1 (E) Remote SCNDRY (E) 128.185.452.11
Exit [C] [M]
Exits the SDLC Relay configuration or monitoring process.
Syntax: exit
exit