This chapter describes how to provide Synchronous Data Link Control (SDLC) connectivity over local and wide area networks, how the SDLC works on the router, and gives guidelines for operating and managing your SDLC configuration.
For conceptual information, see "How SDLC Conversion Works" later in this chapter. For information about the parameters in the SDLC Service, see the SDLC Service Parameters chapter in Reference for Enterprise OS Software.
On the NETBuilder II system, SDLC is supported only on the HSS 3-Port modules.
This section describes various SDLC connections. For configuration procedures, see "Configuring the Router for SDLC" later in this chapter.
Figure 226 shows an SDLC point-to-point configuration where remote PU2 devices use SDLC to connect to an SDLC- or token ring-attached host front end processor (FEP) through the WAN. In this configuration, the SNA and SDLC data is passed through the bridge/router using data link switching (DLSw).
Figure 226
SDLC Point-to-Point Configuration
A multipoint configuration may consist of several remote SDLC devices using SDLC connections to a 3Com bridge/router to reduce the number of independent (SDLC and other) links required by the site. In this configuration, the SDLC data is passed through the bridge/router using DLSw. As shown in Figure 227, a remote site may be configured as an SDLC primary node talking to 3x74 cluster controllers and other SDLC secondary devices (486x).
Figure 227
SDLC Multipoint Configuration
The SDLC connectivity of the NETBuilder II bridge/router also allows an SDLC-attached device to communicate with a local LAN-attached device or with a front-end processor (FEP) through Frame Relay (see Figure 228).
Figure 228
SDLC Connectivity through a LAN and Frame Relay
This section describes how to configure the bridge/router for SDLC. After you complete the procedures in this section, proceed to "Configuring the CU Devices on the Link" later in this chapter.
Before beginning this procedure, complete the following tasks:
SDLC is affected by parameter settings in other services. For more information, see "Configuring LLC2 with Other Services" in the Configuring the LLC2 Data Link Interface chapter.
To configure SDLC, perform the procedures in the following section on bridge/router A (see Figure 229), which has the attached SDLC devices.
Figure 229
Configuring the Router for SDLC
To configure the port attributes for SDLC, follow these steps:
1 . For the port running SDLC, set the OWNer parameter using:
SETDefault !<port> -PORT OWNer = SDLC
2 . Set the communication mode (using the PATH Service DUplex parameter) and the transmission encoding method (using the PATH Service ENCoding parameter) for the path assigned to the SDLC port.
SETDefault !<path> -PATH DUplex = Half
SETDefault !<path> -PATH ENCoding = NRZ
SETDefault !<path> -PATH TxIdle = Mark
3 . Make sure the LineType and clocking parameters in the PATH Service are set correctly.
SETDefault !<path> -PATH LineType = Leased
SETDefault !<path> -PATH Clock = External
4 . Disable Link Access Procedure, Balanced (LAPB) on the selected path using:
SETDefault !<path> -LAPB CONTrol = Disable
If SDLC devices attached to the bridge/router need to communicate with LAN (LLC2) devices attached to the same bridge/router, the bridge/router must be set up to support LLC2 connections. You also must set up DLSw to perform internal switching. If this has not already been done, see the Configuring Data Link Switching for SNA and NetBIOS Networks chapter.
If you want your NETBuilder II bridge/router to connect the SDLC devices to a LAN, the LLC2 ports must be configured as described for DLSw in the Configuring Data Link Switching for SNA and NetBIOS Networks chapter.
To configure SDLC for communication with the connected devices, follow these steps:
1 . Define the control units (CUs) attached to the port.
ADD !<port> -SDLC PortCU <CU name>
The SDLC parameters for a port are inaccessible. They cannot be viewed or modified until at least one CU is assigned to the port with the Port CU parameter.
2 . Configure whether the port will act in a primary or secondary role in the connection.
SETDefault !<port> -SDLC PROle = Primary
3 . Display the current parameter settings using:
SHow !<port> -SDLC PCONFig
4 . Define whether the port operates in half- or full-duplex mode with the connected device.
SETDefault !<port> -SDLC PDatmode = Half
5 . Set the maximum amount of data contained in a single frame (basic transmission unit (BTU) size) using:
SETDefault !<port> -SDLC PMaxData = 521
6 . Set the frame numbering method used by the CUs attached to this port using:
SETDefault !<port> -SDLC PMODulo = 128
To configure the timing of the port, which affects how the port waits and responds to communication with the CUs attached to this port, follow these steps:
1 . Set the number of times the bridge/router attempts to complete a protocol exchange with an SDLC connected device before considering that device as having failed using:
SETDefault !<port> -SDLC PT1Retry = 3
2 . Set the no-response time-out waiting period for the port using:
SETDefault !<port> -SDLC PT1Timer = 400
3 . Set the delay between attempts to connect the network data link (LLC2) partner for CUs whose mode is set to originate using:
SETDefault !<port> -SDLC PRetryTimer = 20
This section describes how to configure the SDLC connection for the CU devices the bridge/router has configured on each SDLC port.
Before beginning this procedure, complete the following steps:
To configure the link for the CU, follow these steps:
1 . Define the type of CU you are configuring by entering:
SETDefault !LS22 -SDLC CUType = T1
2 . Set the CU device identification if required using:
SETDefault !<CU name> -SDLC CUXId = 0179097C
SETDefault !<CU name> -SDLC CUXidDefined = Yes
3 . Configure the poll address of the secondary CU using:
SETDefault !<CU name> -SDLC CUAddr = C2
4 . Configure the local MAC address for the CU using:
SETDefault !<CU name> -SDLC CULocalMac = %50004080C940
Two CUs may not use the same CULocalMac and CULocalSap combination.
5 . Configure the local SAP used by the CU using:
SETDefault !<CU name> -SDLC CULocalSap = 08
6 . Set the maximum number of frames that may be transmitted before waiting for a response using:
SETDefault !<port> -SDLC CUMaxOut = 4
7 . Set up the operating mode for the CU by entering:
SETDefault !<CU name> -SDLC CUMOde = Originate
8 . Configure the remote MAC address for the CU using:
SETDefault !<CU name> -SDLC CURemoteMac = %60003070C940
9 . Configure the remote SAP used by the CU using:
SETDefault !<CU name> -SDLC CURemoteSap = 08
10 . Enable SDLC for the port.
SETDefault !<port> -SDLC PCOntrol = Enable
11 . Check that there is a one-to-one port-to-path mapping by displaying the PORT Service PAths parameter by entering:
SHow !1 -PORT PAths
12 . Enable the CU using:
SETDefault !<CU name> -SDLC CUCONTrol = Enabled
After you have configured SDLC, you can display SDLC port and CU configuration information. You can also add or delete CUs assigned to a port. Deleting all CUs assigned to a port also deletes the SDLC configuration of the port.
To display all of the SDLC port parameters configured for the specified port and the CU configuration for all CUs assigned to that port, enter:
SHow -SDLC PCONFig
To display the SDLC configuration for a specific port, for example port 1, enter:
SHow !1 -SDLC PCONFig
Display the value of all CU-related parameters for each CU by entering:
SHow !* -SDLC CUCONFig
To display a specific CU, use:
SHow !<CU name> -SDLC CUCONFig
You can display a log of SDLC activity by entering:
SHow -SDLC SdlcLOG
The log displays a history of the most recent 256 log entries including the following actions:
If SDLC devices attached to the bridge/router need to communicate with a FEP attached directly to the bridge/router through Frame Relay, the bridge/router must be set up to support the mapping of LLC2 traffic to Frame Relay. If you have not already configured Frame Relay, perform the procedures in the Configuring Wide Area Networking Using Frame Relay chapter.
You can configure Advanced Peer-to-Peer Networking (APPN) traffic to run over SDLC. To configure the bridge/router network node to run over SDLC, you first configure the SDLC port and path attributes between the network node and the partner node using the procedures in this chapter. You then configure the APPN network node following the procedures in the Configuring APPN Intermediate Session Routing chapter; the procedures are similar to configuring APPN over other data link control (DLC) types, except that you do the following tasks:
For information about these APPN Service parameters, see the APPN Service Parameters chapter in Reference for Enterprise OS Software.
Figure 230 shows a configuration in which APPN traffic is being sent over SDLC connections. The NETBuilder II bridge/router acting as a network node is shown sending APPN over SDLC connections to a peer NETBuilder II network node, to a network control program (NCP), and to a 3174 PU2.0 type node. The network node is also serving as a DLUr for the VTAM Dependent LU server (DLUs).
Figure 230
APPN Traffic over SDLC
You can send either APPN ISR traffic or APPN HPR traffic over SDLC connections. For information about configuring APPN Intermediate Session Routing (ISR) over SDLC, follow the procedures in the Configuring APPN Intermediate Session Routing chapter. For information about configuring APPN High Performance Routing (HPR), see the APPN High Performance Routing chapter.
SDLC devices generally are referred to as physical units (PUs), control units (CUs), and linkstations. CU is used in parameter descriptions and names. The term PU is used in some examples and general discussion and when referring to device type. The term link station may also be used to see the device type. Except for parameter names or specific device types, these terms may be used interchangeably.
SDLC connectivity allows SDLC devices to communicate with local or remote non-SDLC (LLC2, Frame Relay devices, or other remote SDLC devices, using an SDLC connection to your bridge/router. SDLC polling and response occur locally between the SDLC device and the NETBuilder II bridge/router; the SNA data stream is tunneled through the network using the DLSw protocol. Figure 231 shows a typical SDLC/DLSw configuration.
Figure 231
SDLC/DLSw Configuration
The NETBuilder II bridge/router provides SDLC connectivity by mapping the SDLC device to a "virtual" LLC2 device, or an LLC2 device to an SDLC device. Other systems in the network communicate with this LLC2 device, for example, through DLSw. The bridge/router passes the data to and from the SDLC device.
In addition to the configuration information required to communicate with the SDLC device, the bridge/router must be given the LLC2 information used to communicate with non-SDLC devices, for example, MAC and SAP values.
Operating the bridge/router with SDLC is accomplished by mapping (or conversion) of SDLC connections into LLC2 connections. This section describes the key aspects of this mapping, how the configuration parameters relate to (and affect) the mapping behavior, and illustrates the configuration for common applications.
Both SDLC and LLC2 are reliable data link protocols. They provide sequenced, acknowledged, and retransmitted delivery of data frames, and include special frames for session initiation and termination. Although similar, SDLC and LLC2 operate in different environments using different modes. Because of this different frame sequences are used for session initiation, and different addressing schemes are used in each service.
Data Link Switch is a protocol (defined by RFC 1434) used to link LLC2 sessions together across an internetworked reliable transport protocol. The protocol definition for DLSw includes addressing schemes and session startup sequences that readily correspond to LLC2 addressing and session startup.
To link SDLC sessions with LLC2 or DLSw sessions, the bridge/router must handle two major functions: address mapping and session initiation.
In an LLC2 (LAN) or DLSw environment, addressing consists of MAC/SAP pairs. Each station has a MAC (LAN) address; every frame sent from one station (A) to another station (B) contains both a source and a destination MAC address to distinguish the sending and receiving stations on the shared-access medium. Each LLC2 frame also contains a source and destination LLC2 SAP (LSAP). A pair of LAN stations may have multiple sessions between them; the LSAP values are used to distinguish between frames belonging to different sessions.
In an SDLC environment, each frame carries only a single address value; the identifier of the secondary station that is to receive, or that sent, this frame.
To allow stations in an LLC2 environment to communicate with an attached SDLC station, the bridge/router maps a set of LLC2 (LAN) addresses to each CU. This address mapping is configured using the CULocalMac, CURemoteMac, CULocalSap, and CURemoteSap parameters in the SDLC Service. The bridge/router appears as a LAN-based CU mapped to the SDLC CU, which uses the CULocalMac and CULocalSap to communicate with other LAN stations. Figure 232 shows various types of address mapping for SDLC.
In the LLC2 or DLSw environment, the CUs supported by the bridge/router appear to be attached to the LAN: Frames can be sent to them using the MAC/SAP values assigned as CULocalMac and CULocalSap. Frames sent by the bridge/router on behalf of the CU use the CULocalMac and CULocalSap values as the source address values.
If the bridge/router is initiating an LLC2 session on behalf of a CU (see "Session Initiation" next), it must know which LLC2 station to send the connection request to. This destination is determined by the CURemoteMac and CURemoteSap parameter values. These values are used as the destination for LLC2 frames when the bridge/router initiates such sessions.
Figure 232
SDLC Address Mapping
In addition to address mapping, the SDLC configuration determines how the bridge/router initiates SDLC and LLC2/DLSw connections. The CUMOde parameter for the specific CU, in conjunction with the SDLC role of the port (the PROle parameter) determines the system's behavior as follows:
When CUMOde is set to Originate, the bridge/router initiates datalink connections in the LLC2/DLSw environment. Contact is achieved by sending an XID or SNRM and receiving a response. When the bridge/router is secondary, contact is achieved by receiving an XID or SNRM from the primary station. However, if the bridge/router is a secondary station in Originate mode, it will not respond until it has completed the LLC2/DLSw connection.
When the CUMOde is set to Answer, the bridge/router will only accept datalink connections from the LLC2/DLSw environment. When a connection request is received, the bridge/router attempts to set up the corresponding SDLC connection before accepting the LLC2/DLSw connection. When you set up the SDLC connection, an XID or SNRM is sent if the bridge/router is acting as a primary station; if the bridge/router is acting as a secondary station, an XID or SNRM response is made.