Configuring TN3270 Server
Configuring TN3270 Server
The implementation of TN3270 Server on a channel-attached router using the CIP or CPA provides an
effective method of removing the processing of TN3270 sessions from valuable mainframe cycles to a
faster and more efficient router. This chapter provides information about configuring TN3270 Server
support on the CIP and CPA types of CMCC adapters on a Cisco router.
This information is described in the following sections:
• Overview, page 765
• Benefits, page 766
• Preparing to Configure the TN3270 Server, page 780
• Configuring the TN3270 Server, page 791
• Configuring the TN3270 Server for Response-Time Monitoring, page 822
• Monitoring and Maintaining the TN3270 Server, page 824
• TN3270 Server Configuration Examples, page 827
For general information about configuring CMCC adapters, refer to the “Configuring Cisco Mainframe
Channel Connection Adapters” chapter in this publication.
For a complete description of the TN3270 server commands in this chapter, refer to the “TN3270 Server
Commands” chapter of the Cisco IOS Bridging and IBM Networking Command Reference
(Volume 2 of 2). To locate documentation of other commands that appear in this chapter, use the
command reference master index or search online.
To identify the hardware platform or software image information associated with a feature, use the
Feature Navigator on Cisco.com to search for information about the feature or refer to the software
release notes for a specific release. For more information, see the “Identifying Platform Support for
Cisco IOS Software Features” section on page lv in the “Using Cisco IOS Software” chapter.
Overview
This section provides a brief introduction to the environments where the TN3270 server feature is used
and describes some of the primary benefits and functions of the TN3270 server.
The following sections in this topic provide background information about the TN3270 Server:
• Benefits, page 766
• TN3270 Server Environments, page 766
• TN3270 Server Architecture, page 768
Benefits
The latest release of the TN3270 Server feature on the CMCC implements RFC 2355, TN3270
Enhancements and RFC 2562, Definitions of Protocol and Managed Objects for TN3270E Response
Time Collection Using SMIv2 (TN3270E-RT-MIB).
The TN3270 server provides the following benefits:
• Supports clients using the ASSOCIATE request.
• Maintains knowledge of printer and terminal relationships when an association is defined between
LU resources.
• Enables clients to acquire a terminal LU and its associated printer without desktop configuration to
specific LUs by grouping LUs in clusters.
• Enables you to capture response-time statistics for individual sessions and clients or for groups of
sessions and clients.
• Supports specification of LU names for dynamic definition of dependent LUs (DDDLUs).
• Controls how keepalives are generated and keepalive responses are handled by the CMCC adapter.
• Prevents VTAM security problems when the UNBIND request is used with CICS.
• Supports deletion of LUs automatically on session termination.
• Supports Dynamic LU Naming.
• Supports Inverse DNS Nailing.
• Provides security through SSL Encryption.
The TN3270 server feature offers an attractive solution when the following conditions need to be
supported in an SNA environment:
• Maintaining an IP backbone while providing support for SNA 3270-type clients.
• Offloading mainframe CPU cycles when using a TN3270 host TCP/IP stack with a TN3270 server.
• Providing support for high session density or high transactions per second.
The TN3270 server feature on a CMCC adapter card provides mapping between an SNA 3270 host and
a TN3270 client connected to a TCP/IP network as shown in Figure 274. Functionally, it is useful to view
the TN3270 server from two different perspectives:
• SNA Functions, page 767
• Telnet Server Functions, page 767
TN3270
server
27990
TN3270
client
SNA TCP/IP
SNA Functions
From the perspective of an SNA 3270 host connected to the CMCC adapter, the TN3270 server is an
SNA device that supports multiple PUs, with each PU supporting up to 255 logical units (LUs). The LU
can be Type 1, 2, or 3. The SNA host is unaware of the existence of the TCP/IP extension on the
implementation of these LUs.
The LUs implemented by the TN3270 server are dependent LUs. To route these dependent LU sessions
to multiple VTAM hosts connected to the TN3270 server in the CMCC adapter card, rather than routing
in the VTAM hosts, the TN3270 server implements a SNA session switch with end node (EN) dependent
LU requester (DLUR) function. SNA session switching allows you to eliminate SNA subarea routing
between hosts of TN3270 traffic by establishing Advanced Peer-to-Peer Networking (APPN) links with
the primary LU hosts directly.
Using the DLUR function is optional so that the TN3270 server can be used with VTAM versions prior
to version 4.2, which provide no APPN support. In these non-APPN environments, access to multiple
hosts is accomplished using direct PU configuration in the TN3270 server.
Supported PU Types
The TN3270 server supports two types of PUs:
• Direct PUs—Used in subarea SNA
• DLUR PUs—Used with APPN
Direct PUs and DLUR PUs can coexist on the same CIP or CPA. Both types of PUs support either static
or dynamic LUs. However, the LU type is defined only in VTAM and is not explicitly defined in the
TN3270 server.
Direct PUs
The TN3270 server supports direct PUs when you want to configure a PU entity that has a direct link to
a host. Direct PUs are used in non-APPN environments.
The definition of each direct PU within the router requires that you define a local service access point
(SAP). Each PU on the TN3270 server must have a unique local/remote media access control
(MAC)/SAP quadruple. If you want to connect PUs on the same adapter to the same remote MAC
(RMAC) and remote SAP (RSAP), then you must configure each PU with a different link SAP (LSAP).
With direct PUs, the LU names in the TN3270 server do not necessarily match the LU names defined in
VTAM. However, there are a couple of ways to accomplish matching LU names for direct PUs:
• LU seed configuration—To ensure that the LU seed configurations in the router and VTAM match
for direct PUs, you need to define the value for the lu-seed parameter in the pu (TN3270) or pu
(listen-point) command in the router, the same as the LUSEED value in the VTAM PU definition.
• INCLUD0E function available as of VTAM version 4.4—To allow the XCA to provide the LU name
in the ACTLU message, use the INCLUD0E function. The TN3270 server then uses the LU name
provided by the ACTLU.
DLUR PUs
When the SNA network uses APPN and the TN3270 server can reach multiple hosts, the DLUR function
of the TN3270 server is recommended. Note that by using the DLUR function of the TN3270 server, all
of the LUs in the server can be defined and owned by a controlling VTAM. When a client requests an
application residing on a different VTAM host, the controlling VTAM will issue the request to the target
host which will send a BIND directly to the client. All LU-LU data will then flow directly between the
target host and the client without needing to go through the controlling VTAM.
DLUR allows the routing of TN3270 LUs to be performed in the CMCC adapter card using SNA session
switching to multiple VTAM hosts rather than routing the sessions on the VTAM hosts. This feature is
especially important with the multi-CPU CMOS mainframe, which comprises up to 16 CPUs that appear
as separate VTAMs.
The implementation of TN3270 server LUs under DLUR also allows the server to learn about the LU
names from VTAM in the ACTLU message, which greatly simplifies the configuration to support
specifically requestable LUs such as printers.
Supported LU Types
The TN3270 server supports two types of LUs:
• Static LUs—Defined explicitly within VTAM. Allocation of static LUs requires a client to specify
the PU and LU name. LU name requests are only supported by TN3270E clients.
• Dynamic LUs—Use the DDDLU feature of VTAM. Allocation of dynamic LUs requires a client to
specify only a terminal type. LU name requests to be fulfilled by DDDLUs for PUs configured with
the generic-pool deny command are supported.
The type of LU that is allocated is defined only in the VTAM switched major node. The TN3270 server
does not specify the LU type.
LU Allocation
This section provides information about the following aspects of LU allocation:
• Formation of LU Model Type and Number, page 770
• Static LU Allocation, page 771
• Dynamic LU Allocation, page 771
• Dynamic LU Naming, page 772
• LU Nailing, page 772
• Inverse DNS Nailing, page 773
• LU Pooling and ASSOCIATE Requests, page 773
• Pooled LU Allocation, page 776
Note The “E” in the model string refers to 3270 Extended Datastream. It has no association with
the “E” in “TN3270E.”
• IBM-DYNAMIC: Specifies “DYNAMIC” in the model type and number field of the Reply PSID
NMVT. The VTAM configuration also must have “DYNAMIC” defined as a template in the
LUGROUP.
All other terminal strings that do not match the above syntax examples are forwarded as is to VTAM.
For example, a string of “IBM-ZZ..Z,” where “ZZ..Z” does not match the preceding syntax, is forwarded
as “ZZ..Z.”
In all cases, the string is translated from ASCII to EBCDIC and truncated at seven characters.
Clients that do not support TN3270E typically require a 3270 datastream on the System Services Control
Point (SSCP)-LU flow. Clients that are TN3270E compliant typically use the SNA Character Set (SCS)
on the SSCP-LU session. In order to accommodate these two classes of clients, the TN3270 server
directs them to different LUGROUP entries at the host. To make this as easy as possible, the SCS
requirement is also encoded into the model string sent to the host. Following the previously described
terminal type string formats accepted by the server, this additional condition is applied:
If the client has negotiated TN3270E support, the character “S” is overlaid on the fifth character of the
string, or appended if the string is less than five characters as shown in Table 18.
BIND-IMAGE
String from Client (ASCII) Requested? String to Host (EBCDIC)
IBM-3278-4 No 327804
IBM-3279-5E No 327905E
IBM-3279-3-E Yes 3279S5E
IBM-DYNAMIC Yes DYNASIC
ABC Yes ABCS
ABCDEFGH Yes ABCDSFG
Static LU Allocation
A TN3270E client can request a specific LU name by using the TN3270E command CONNECT as
documented in RFC 2355. The name requested must match the name by which the TN3270 server knows
the LU and the host must have activated the LU with an ACTLU.
TN3270 clients can also use static LUs if client nailing is configured on the TN3270 server.
Dynamic LU Allocation
Dynamic LU allocation, using VTAM’s DDDLU feature, is the most common form of request from
TN3270 clients emulating a TN3270 terminal. The user typically requests connection as a particular
terminal type and normally is not interested in what LOCADDR or LU name is allocated by the host, as
long as a network solicitor logon menu is presented. In fact, only TN3270E clients can request specific
LUs by name.
The TN3270 server performs the following functions with this type of session request:
• Forms an EBCDIC string based on the model type and number requested by the client (see the
“Formation of LU Model Type and Number” section on page 770 for information about the
algorithm used). This string is used as a field in a Reply product set ID (PSID) network management
vector transport (NMVT).
• Allocates a LOCADDR from the next available LU in the generic LU pool. This LOCADDR is used
in the NMVT.
• Sends the formatted Reply PSID NMVT to VTAM.
To support DDDLU, the PUs used by the TN3270 server have to be defined in VTAM with LUSEED and
LUGROUP parameters. When VTAM receives the NMVT it uses the EBCDIC model type and number
string to look up an LU template under the LUGROUP. For example, the string “327802E” finds a match
in the sample VTAM configuration shown in Figure 278 in the “VTAM Host Configuration
Considerations” section on page 782. An ACTLU is sent and a terminal session with the model and type
requested by the client is established.
LU name requests to be fulfilled by DDDLUs for PUs configured with the generic-pool deny command
are supported.
For more information about defining the LUSEED and LUGROUP parameters in VTAM, see the
“VTAM Host Configuration Considerations” section on page 782.
Dynamic LU Naming
The Dynamic LU Naming enhancement allows the user to configure named logical units (LUs) from the
TN3270 server side. This enhancement allows the TN3270 server to pass an LU name to the Virtual
Telecommunications Access Method (VTAM) software running on the mainframe and have VTAM
dynamically create an LU with that name. The LU name is then sent to the mainframe as part of
subvector 86 in the Reply PSID NMVT power-on frame. The TN3270 client can connect to any of the
available TN3270 servers and the selected server can request a specific LU name for the client. In
addition, the LU naming conventions have been modified to allow for more flexibility when specifying
lu-seed names.
LU Nailing
The TN3270 server allows a client IP address to be mapped or “nailed” to one or more LU local
addresses on one or more physical units (PUs) by means of router configuration commands. LU nailing
allows you to control the relationship between the TN3270 client and the LU.
Using LU nailing, clients from traditional TN3270 (non-TN3270E) devices can connect to specific LUs,
which overcomes a limitation of TN3270 devices that cannot specify a “CONNECT LU.” LU nailing is
useful for TN3270E clients because it provides central control of your configuration at the router rather
than at the client.
The “model matching” feature of Cisco’s TN3270 server is designed for efficient use of dynamic LUs.
Each TN3270E client specifies a terminal model type at connection. When a non-nailed client connects
and does not request a specific LU, the LU allocation algorithm attempts to allocate an LU that operated
with that terminal model the last time it was used. If no such model is available, the next choice is an
LU that has not been used since the PU was last activated. Failing that, any available LU is used;
however, for dynamic LUs only, there is a short delay in connecting the session.
When a client or set of clients is nailed to a set of more than one LU, the same logic applies. If the
configured LU nailing maps a screen client to a set of LUs, the LU nailing algorithm attempts to match
the client to a previously used LU that was most recently used with the same terminal model type as
requested by the client for this connection. If a match is found, then that LU is used. If a match is not
found, any LU in the set that is not currently in use is chosen. If there is no available LU in the set, the
connection is rejected.
For example, the following LUs are nailed to clients at address 192.195.80.40, and LUs BAGE1004 and
BAGE1005, which were connected but are now disconnected.
lu name client-ip:tcp nail state model frames in out idle for
1 BAGE1001 192.195.80.40:3822 Y P-BIND 327904E 4 4 0:22:35
2 BAGE1002 192.195.80.40:3867 Y ACT/SESS 327904E 8 7 0:21:20
3 BAGE1003 192.195.80.40:3981 Y ACT/SESS 327803E 13 14 0:10:13
4 BAGE1004 192.195.80.40:3991 Y ACT/NA 327803E 8 9 0:0:7
5 BAGE1005 192.195.80.40:3997 Y ACT/NA 327805 8 9 0:7:8
PU
First PU LU Pool NY Branch
Cisco 7500
series Cluster – layout xxxxx
Cluster – layout xxxxx
Cluster – layout xxxxx
PU
Second PU LU Pool NY Branch
51963
Support for the ASSOCIATE request enables you to define a partner printer in the TN3270 server for a
given terminal LU pool or single terminal. As a result, the TN3270 server maintains a knowledge of
printer and terminal relationships. The client does not need to know the LU name of the partner printer
in advance. Typically, a client can request a pool name, a specific LU, or a resource without citing a pool
name or LU name.
If the client sends an ASSOCIATE request for a resource name to the TN3270 server, the server provides
the client with a resource LU name.
In Figure 276, the client requests an LU from unixpool and is granted an LU from the specified pool.
The client then initiates a new process by requesting the printer device associated with the given resource
LU name.
The client requests a printer LU associated with termabc and the server grants the printer LU associated
with termabc. Based on the configuration in the router that specifies the clusters of printer and screen
LUs for pools, the TN3270 server assigns and allows the client to use the printer LU associated with its
terminal LU.
Figure 276 Client Request for LU from a Specific Pool and Printer LU Association
TN3270 server
running on
Cisco 7500 Server and client negotiate
series TN3270E support
Figure 277 shows the client request for a specific LU termxyz and then a request for a printer LU
associated with the LU termxyz. The TN3270 server grants the screen LU and connects the printer
associated with termxyz.
TN3270 server
running on
Cisco 7500 Server and client negotiate
series TN3270E support
51965
Request for other functions
Pooled LU Allocation
When configured, the pool becomes one of several criteria used by the TN3270 server to assign an LU
to a client. When a client requests a connection, the TN3270 server determines the authorized
capabilities of the client. For example, the TN3270 server attempts to determine whether LU nailing
definitions exist for the client.
When the client criteria is processed, the TN3270 server assigns the first available LU in the group to
the client. If an appropriate LU is not found, the TN3270 connection is closed.
Screen and printer LUs for a cluster in a pool are allocated according to the following connection
scenarios in the TN3270 server:
• The first client with an IP address that is nailed to a pool connects to the TN3270 server—A cluster
is reserved for that client IP address. The first appropriate LU in the cluster that satisfies the client
connection request is assigned.
• A client, with the same nailed IP address as a currently connected client, connects to the
TN3270 server.
– Depending on the type of LU requested by the client (screen or printer LU), the first available
screen or printer LU within a cluster that is reserved for that nailed IP address is allocated.
– If there is not an available screen or printer LU in an assigned cluster for the client connection,
a new cluster is reserved for clients with that IP address. Then, the first appropriate LU in the
cluster that satisfies the client connection request is assigned.
• A client, with a new IP address that is nailed to the same pool as other clients, connects to the
TN3270 server—The next available cluster is reserved for that client IP address.
• A client requests a specific pool when connecting to the TN3270 server, but the client IP address is
not nailed to the pool—The first available LU in the generic pool is allocated to the client.
For a detailed example of these LU allocation scenarios for a TN3270 server configuration using LU
pooling, see the “LU Pooling Configuration Example” section on page 829.
Session Termination
The TN3270 server supports two configuration options that determine how the server responds when a
client turns off the device or disconnects:
• LU Termination, page 777
• LU Deletion, page 777
LU Termination
In Cisco IOS Release 12.0(5)T and later, the TN3270 server supports LU termination options for sending
either an UNBIND or a TERMSELF RU when a client turns off the device or disconnects from the server.
The termself keyword for the lu termination command orders termination of all sessions and session
requests associated with an LU when a user turns off the device or disconnects from the server. This is
an important feature for applications such as IBM’s Customer Information Control System (CICS).
If you use an UNBIND request for session termination with CICS, Virtual Telecommunication Access
Method (VTAM) security problems can arise. When CICS terminates a session from an UNBIND
request, the application may reestablish a previous user’s session with a new user, who is now assigned
to the same freed LU.
LU Deletion
In Cisco IOS Release 12.0(5)T and later, the TN3270 server adds support for LU deletion options.
The lu deletion command specifies whether the TN3270 server sends a REPLY-PSID poweroff request
to VTAM when a client disconnects. This command is recommended in host environments running
VTAM version 4.4.1. Previous versions of VTAM are not compatible with Network Management Vector
Transport (NMVT) REPLY-PSID.
Any of the above conditions cause the server to do one of the following, depending upon how the
lu termination command is configured:
• Unbind is configured—The TN3270 server sends an UNBIND followed by a NOTIFY (Secondary
LU (SLU) DISABLED) message to the host. If the lu deletion command is configured to send a
REPLY-PSID poweroff request, then the TN3270 server sends the request upon receipt of the
NOTIFY response from the host.
• Termself is configured—The TN3270 server sends a NOTIFY (SLU DISABLED) to the host. Upon
receipt of the NOTIFY response from the host, the TN3270 server sends a TERMSELF request to
the host. If the lu deletion command is configured to send a REPLY-PSID poweroff request, then
the TN3270 server sends the request upon receipt of the TERMSELF response.
Response-Time Collection
Response-time MIB support enables you to capture response-time statistics on the router for either
individual sessions and clients or for groups of sessions and clients.
If SNMP is enabled on the router, a network management system (NMS) or users can use well-known
and router-configured client group names to obtain response-time statistics. Response-time data
collection is always enabled for all in-session clients, excluding printer clients. Table 19 shows the types
of client groups that are monitored:
The names and IP subnets for the “client subnet” type of response-time group are user-defined. All other
client groups are established dynamically by the TN3270 server as clients enter and exit applications.
These client groups are named according to the format shown in the column labeled Client Group Name
in Table 18.
In Cisco IOS Release 12.2, traps are not generated by the MIB.
Response-time data is collected using the following methods:
• Sliding-Window Average Response Times, page 779
• Response-Time Buckets, page 779
Response-Time Buckets
Response-time buckets contain counts of transactions with total response times that fall into a set of
specified ranges. Response-time data gathered into a set of five buckets is suitable for verifying
service-level agreements or for identifying performance problems through a network management
application. The total response times collected in the buckets is governed by whether IP network transit
times are included in the totals.
In Figure 278, four bucket boundaries are specified for a response-time collection, which results in five
buckets.
1 2 3 4 5
17385
The first response-time bucket counts transactions with total response times that are less than or equal
to boundary 1 (B-1), the second bucket counts transactions with response times greater than B-1 but less
than or equal to B-2, and so on. The fifth bucket is unbounded, and it counts all transactions with
response times greater than boundary 4.
The four bucket boundaries have default values of 1 second, 2 seconds, 5 seconds, and 10 seconds,
respectively.
For a detailed explanation of response-time buckets, refer to the TN3270E-RT-MIB.
Router Requirements
The Cisco TN3270 server consists of a system image and a microcode image, which are virtually
bundled as one combined image.
The following versions of hardware microcode are supported for the CIP and CPA in Cisco IOS Release
12.1:
• CIP hardware microcode—CIP27-2 and later
• CPA hardware microcode—XCPA27-2 and later
The following versions of hardware microcode are supported for the TN3270 Server Connectivity
Enhancements feature on the CIP and CPA in Cisco IOS Release 12.1(5)T:
• CIP hardware microcode—CIP28-1 and later
• CPA hardware microcode—XCPA28-1 and later
To enable the TN3270 server feature, you must have a CMCC adapter installed in a Cisco 7000 with
RSP7000, Cisco 7200 series router, or a Cisco 7500 series router.
For additional information about what is supported in the various releases of the Cisco IOS software and
the CIP microcode, see the information on Cisco.com.
To use inverse DNS Nailing on the TN3270 server, you must specify which DNS servers are required to
resolve the TN3270 server client IP addresses. To specify the DNS servers, use the following commands:
• ip domain-lookup
• ip domain-name
• ip name-server
SSL Encryption
To use TN3270 server SSL encryption, you must be running an IOS image with IPSec support. The
strength of the SSL encryption support on the TN3270 server is determined by the strength of the IPSec
image.
A server digital certificate loaded on the TN3270 router is also required.
Mainframe Requirements
Mainframe hosts using SNA with the TN3270 server must be running VTAM V4R2 or later.
Note You can use VTAM V3R4, but DLUR operation is not supported in V3R4 and proper
DDDLU operation may require program temporary fixes (PTFs) to be applied to VTAM.
Dynamic LU Naming
The TN3270 server creates and deletes LUs dynamically on VTAM by sending Reply PSID poweron and
Reply PSID poweroff messages when the named LU is connected and disconnected. To properly delete
the dynamically created LUs, VTAM requires the following APARS:
• OW41274
• OW41686
• OW40315
You must replace the default exit ISTEXCSD with the VTAM User Exit for TN3270 Name Pushing,
which you can download from the IBM website: http://www.ibm.com. This exit causes VTAM to ignore
the LUSEED parameter on the PU statement, and instead use the SLU name sent by the router in the
subvector 86 when a client connects in. If you do not configure this exit, VTAM ignores the subvector
86 and the specified LU name.
• If you specify the LUSEED operand for the PU definition in VTAM, and the subvector 86 specifies
an LU name, the VTAM User Exit for TN3270 Name Pushing ignores the LUSEED operand.
• If you do not specify the LUSEED operand for the PU definition in VTAM, and the subvector 86 is
not present, then the VTAM User Exit for TN3270 Name Pushing cannot generate an LU name.
VTAM does not log this failure, and the TN3270 server does not receive the ACTLU request. The
TN3270 server displays the following message:
*Apr 17 12:40:53:%CIP2-3-MSG:slot2 :
%TN3270S-3-NO_DYN_ACTLU_REQ_RCVD
No ACTLU REQ received on LU JJDL1.6
If there are legacy and inverse DNS nailing statements, the inverse DNS nailing statements take
precedence. The TN3270 server attempts an inverse DNS lookup before it checks for any legacy nailing
configuration.
Cisco strongly recommends that you configure inverse DNS nailing on a PU that does not support
generic LUs, or on a PU that has the generic-pool command configured but also has the deny keyword
specified.
Design Considerations
The number of sessions that a single TN3270 server can handle is directly related to the number of
transactions per second and the amount of memory available to the CIP or CPA. There are other issues
to be considered depending upon the environment that you want to support with the TN3270 server.
For comprehensive information about VTAM and router configuration issues and implementing specific
TN3270 server scenarios, refer to the TN3270 Design and Implementation Guide.
To support DDDLU, the PUs used by the TN3270 server have to be defined in VTAM with LUSEED and
LUGROUP parameters, as shown in the following sample configuration:
Example VTAM host values defining LUSEED and LUGROUP name parameters:
TN3270PU PU . * Defines other PU parameters
IDBLK=05D,
IDNUM=30001,
LUSEED=TN3X1###, * Defines the seed component of
the LU names created by DDDLU
(e.g. LOCADDR 42 will have the
name TN3X1042)
LUGROUP=AGROUP * Defines the LU group name
*
TN3X1100 LU LOCADDR=100, * Defines a terminal which
MODETAB=AMODETAB requires a specific LU name
*
TN3X1101 LU LOCADDR=101, * Defines a printer which requires
DLOGMODE=M3287CS a specific LU name
With the configuration shown above defined in the host, the ACTPU sent by VTAM for the PU
TN3270PU will have the “Unsolicited NMVT Support” set in the SSCP capabilities control vector. This
allows the PU to dynamically allocate LUs by sending network management vector transport (NMVT)
with a “Reply Product Set ID” control vector.
After the TN3270 server sends a positive response to the ACTPU, it will wait for VTAM to send
ACTLUs for all specifically defined LUs. In the sample configuration shown in Figure 278, ACTLUs
will be sent for TN3X1100 and TN3X1101. The server sends a positive response and sets SLU
DISABLED. The LOCADDRs of the TN3X1100 and TN3X1101 LUs are put into the specific LU cache
and reserved for specific LU name requests only.
To allow sufficient time for the VTAM host to send all the ACTLUs, a 30-second timer is started and
restarted when an ACTLU is received. When the timer expires it is assumed that all ACTLUs defined in
VTAM for the PU have been sent. All LUs that have not been activated are available in a generic LU
pool to be used for DDDLU unless they have been reserved by the configuration using the generic-pool
deny TN3270 configuration command.
After the VTAM activation, the server can support session requests from clients using dynamic or
specific LU allocation.
For more information about DDDLU in VTAM, refer to the VTAM operating system manuals for your
host system under the descriptions for LUGROUP.
Note If your host computer is customized for a character set other than U.S. English EBCDIC,
you might need to code some VTAM configuration tables differently than indicated in the
examples provided by Cisco.
Some VTAM configurations include the number sign (#) and at symbol (@). In the U.S.
English EBCDIC character set, these characters are stored as the hexadecimal values 7B
and 7C, respectively. VTAM will look for those hexadecimal values when processing the
configuration file.
The characters used to enter these values are different in other EBCDIC National Language
character sets. Table 20 lists the languages that have different characters for the 7B and 7C
hexadecimal values and the corresponding symbols used to enter the characters.
For example, a parameter with a value of TN3X1### would have a value of TN3X1£££ for
the French National Language character set.
Hexadecimal Value
7B 7C
Language Symbol Description Symbol Description
German # Number sign § Section symbol
German (alternate) Ä A-dieresis Ö O-dieresis
Belgian # Number sign à a-grave
Brazilian Õ O-tilde à A-tilde
Danish/Norwegian Æ AE-ligature Ø O-slash
English (U.S./UK) # Number sign @ At symbol
Finnish/Swedish Ä A-dieresis Ö O-dieresis
French £ Pound sterling à a-grave
Greek £ Pound sterling § Section symbol
Icelandic # Number sign D Uppercase eth
Italian £ Pound sterling § Section symbol
Portuguese Õ O-tilde à A-tilde
Hexadecimal Value
7B 7C
Language Symbol Description Symbol Description
Spanish Ñ N-tilde @ At symbol
Turkish Ö O-dieresis S S-cedilla
Listen-point Prompt:
configuration (tn3270-lpoint)#
mode
Listen-point Prompt:
PU configuration (tn3270-lpoint-pu)#
mode
DLUR Prompt:
configuration (tn3270-dlur)#
mode
DLUR PU Prompt:
configuration (tn3270-dlur-pu)#
mode
Response-time Prompt:
configuration (tn3270-resp-time)#
mode
Prompt:
PU configuration
(tn3270-pu)#
mode
Security Prompt:
configuration (tn3270-security)#
mode
Profile Prompt:
configuration
53635
(tn3270-sec-profile)#
mode
Note The DLUR, DLUR SAP, DLUR PU and PU configuration modes existed in Cisco IOS
Release 12.0(5)T and earlier. DLUR PU and PU configuration modes (shown in the shaded
boxes) are legacy configuration modes, whose functions can be replaced by the listen-point
configuration modes in Cisco IOS Release 12.0(5)T and later. For more information about
the relationship of these legacy configuration modes to the new listen-point configuration
modes, see the “Configuring the TN3270 Server with LU Pooling” section on page 805.
Note For the CIP, enter interface configuration mode from the virtual channel interface using
port 2; For the CPA, enter interface configuration mode from the physical channel interface
using port 0.
The pu (listen-point) command puts you in listen-point PU configuration mode and the following
prompt appears:
(tn3270-lpoint-pu)#
• From listen-point configuration mode, the following pu dlur command creates a new PU for DLUR:
router#(tn3270-lpoint)# pu pu-name idblk-idnum dlur
The pu dlur command puts you in the listen-point PU configuration mode and the following prompt
appears:
(tn3270-lpoint-pu)#
Note DLUR PU configuration mode is a legacy configuration mode whose function to define
DLUR PUs can be replaced by using the listen-point configuration modes in Cisco IOS
Release 12.0(5)T and later. When you define listen-point configurations, you can create
DLUR PUs within listen-point PU configuration mode using the pu dlur command instead.
From DLUR configuration mode, the following pu (DLUR) command creates a new PU for DLUR:
router(tn3270-dlur)# pu pu-name idblk-idnum ip-address
The pu (DLUR) command puts you in the DLUR PU configuration mode and the following prompt
appears:
(tn3270-dlur-pu)#
PU Configuration Mode
Note PU configuration mode is a legacy configuration mode whose function to define direct PUs
can be replaced by using the listen-point configuration modes in Cisco IOS
Release 12.0(5)T and later. When you define listen-point configurations, you can create
direct PUs within listen-point PU configuration mode using the pu (listen-point) command
instead.
From TN3270 server configuration mode, the following pu (TN3270) command creates a new direct PU:
router(cfg-tn3270)# pu pu-name idblk-idnum ip-address type adapno lsap [rmac rmac] [rsap
rsap] [lu-seed lu-name-stem]
The pu (TN3270) command puts you in PU configuration mode and the following prompt appears:
(tn3270-pu)#
2. To return later to the listen-point PU configuration mode for the PU1 entity, use the same pu
(listen-point) command without the “94201231 tok 1 10” parameters from listen-point configuration
mode:
router(tn3270-lpoint)# pu PU1
3. To remove the listen-point PU entity called PU1, use the same command with the no keyword:
router(tn3270-lpoint)# no pu PU1
2. To return later to the listen-point PU configuration mode for the PU2 entity, use the same pu dlur
command without the “017ABCDE dlur” parameters from listen-point configuration mode:
router(tn3270-lpoint)# pu PU2
3. To remove the listen-point PU entity called PU2, use the same command with the no keyword:
router(tn3270-lpoint)# no pu PU2
2. To return later to the DLUR configuration mode for the NETA.RTR1 entity, use the same dlur
command without the “NETA.RTR1 and NETA.HOST” parameters from TN3270 server
configuration mode:
router(cfg-tn3270)# dlur
3. To remove the NETA.RTR1 DLUR entity, use the same dlur command with the no keyword:
router(cfg-tn3270)# no dlur
2. To return later to the DLUR SAP configuration mode on the same entity, use the same lsap command
without the “84” parameter from TN3270 DLUR mode:
router(tn3270-dlur)#lsap token-adapter 1
3. To remove the DLUR LSAP entity, use the same identification parameters with the no keyword:
router(tn3270-dlur)#no lsap token-adapter 1
In this example the keepalive (TN3270) command is first configured in TN3270 server configuration
mode, which applies to all PUs supported by the TN3270 server. The keepalive command is specified
again under the listen-point PU configuration mode for PU1, which overrides the previously specified
keepalive 300 value, for PU1 only. PU2 continues to use the value of the keepalive command in the
TN3270 server configuration level.
Table 21 provides a list of the TN3270 siftdown commands and the associated configuration modes in
which they are supported. An X in the column indicates that the command is supported. A “–” indicates
that the command is not supported.
Note You cannot configure the siftdown commands shown in Table 21 while in DLUR, DLUR
SAP, or response-time configuration modes for the TN3270 server.
The siftdown commands apply to the corresponding PUs, according to the configuration mode in which
they are entered:
• TN3270 server configuration—The siftdown command at this level applies to all PUs supported by
the TN3270 server.
• Listen-point configuration—The siftdown command at this level applies to all PUs defined at the
listen point.
• Listen-point PU configuration—The siftdown command at this level applies to only the specified
PU.
• PU configuration—The siftdown command at this level applies only to the specified PU.
The no form of a siftdown command typically inherits the value from the previously configured siftdown
value from the entity above it according to the configuration mode hierarchy shown in Figure 279, or it
returns to the default value.
To configure a generic pool of LUs for the TN3270 server, use the following command in
TN3270 server, listen-point, listen-point PU, PU, or DLUR PU configuration modes:
Command Purpose
Router# generic-pool {permit | (Optional) Specifies whether leftover LUs can be used from a generic LU pool.
deny} The available options for this command are:
• permit—Specifies that leftover LUs can be used by clients that request a
generic session. Inactive LUs are immediately available for dynamic
connections. This is the default.
• deny—Specifies that the TN3270 server does not allow any further dynamic
connections of any LUs on the PU. That is, only static LUs are supported.
The generic-pool command takes effect immediately for all upcoming connections, but existing sessions
are unaffected. Once the existing sessions are terminated, then future connections will abide by the latest
generic pool configuration for that PU. Use the no form of this command to selectively remove the
permit or deny condition of generic pool use for the corresponding PU and return to the previously
configured siftdown value applicable to the PU, or to the default value.
The generic-pool command is a siftdown command that is available in multiple command modes. For
more information about configuring siftdown commands, see “Configuring TN3270 Siftdown
Commands” section on page 791.
Configuring Idle-Time
The idle time option in the TN3270 server specifies the allowable duration of inactivity in the
client-server session before the TN3270 server disconnects an LU.
To prevent an LU session from being disconnected due to inactivity, specify an idle time value of
0 seconds. Note that TIMING-MARKS generated by the TN3270 server keepalive function are not
considered “activity” on the client connection.
Note There are two TN3270 server options that can affect when a session is disconnected—idle
time and keepalive. These two options operate independently of each other and both can be
used to clean up partially disconnected sessions. Whichever option first detects that a
session is eligible for disconnect immediately causes the TN3270 server to disconnect that
session. If you are specifying both the idle time and keepalive options, then you might
consider how the values for these options determine when client sessions are disconnected
to achieve the response that you want.
To configure the allowable amount of idle time before the TN3270 server disconnects an LU, use the
following command in TN3270 server, listen-point, listen-point PU, PU, or DLUR PU configuration
modes:
Command Purpose
Router# idle-time seconds (Optional) Specifies the number of seconds of inactivity before the TN3270 server
disconnects an LU.
The default behavior in TN3270 server configuration mode is that the session is never disconnected (or,
a value of 0). The default value in other configuration modes is the value currently configured for that
PU in a previously supported mode. Use the no form of this command to cancel the idle time period and
return to the default for the corresponding PU.
The idle-time command is a siftdown command that is available in multiple command modes. For more
information about configuring siftdown commands, see “Configuring TN3270 Siftdown Commands”
section on page 791.
Configuring IP Precedence
Configuring the IP precedence option in the TN3270 server allows you to assign different priority levels
to IP traffic on a PU in the TN3270 server. IP precedence values are used with the weighted fair queueing
(WFQ) or priority queueing features on a Cisco router to allow you to prioritize traffic. IP precedence
and IP ToS values are used together to manage network traffic priorities.
The TN3270 server allows you to specify different IP precedence values for screen and printer clients
because the communication requirements for each type of client is different. Screen clients are
characterized by interactive communication which normally demands a higher priority of data transfer
than printers. Printers are characterized by bulk data transfer where priority of sending the data is not as
high.
To configure the traffic priority for screen and printer clients in the TN3270 server, use the following
command in TN3270 server, listen-point, PU, or DLUR PU configuration modes:
Command Purpose
Router# ip precedence {screen | printer} value (Optional) Specifies the precedence level (from 0 to 7) for
IP traffic in the TN3270 server. The default value is 0.
Use the no form of this command to remove the screen or printer precedence value for the corresponding
PU and return to the previously configured siftdown value applicable to the PU, or to the default value.
However, you can enter new or different values for IP precedence without first using the no form of the
command.
The ip precedence command in the TN3270 server is a siftdown command that is available in multiple
command modes. For more information about configuring siftdown commands, see “Configuring
TN3270 Siftdown Commands” section on page 791.
Configuring IP ToS
Configuring the IP ToS option in the TN3270 server allows you to assign different levels of service to
traffic on a PU in the TN3270 server. IP ToS values are used with the WFQ and NetFlow switching
features on a Cisco router. The Open Shortest Path First (OSPF) protocol can also discriminate between
different routes based on IP ToS values. IP ToS and IP precedence values are used together to manage
network traffic priorities.
The TN3270 server allows you to specify different IP ToS values for screen and printer clients because
the communication requirements for each type of client is different. Screen clients are characterized by
interactive communication which normally demands a higher priority of data transfer than printers.
Printers are characterized by bulk data transfer where priority of sending the data is not as high.
To configure the level of service for screen and printer clients in the TN3270 server, use the following
command in TN3270 server, listen-point, PU, or DLUR PU configuration modes:
Command Purpose
Router# ip tos {screen | printer} value (Optional) Specifies a type of service level (from 0 to 15)
for IP traffic in the TN3270 server.
Use the no form of this command to remove the screen or printer ToS value for the corresponding PU
and return to the previously configured siftdown value applicable to the PU, or to the default value.
However, you can enter new or different values for IP ToS without first using the no form of the
command.
The ip tos command is a siftdown command that is available in multiple command modes. For more
information about configuring siftdown commands, see the “Configuring TN3270 Siftdown Commands”
section on page 791.
Configuring Keepalive
The keepalive options for the TN3270 server allow you to monitor the availability of a TN3270 client
session by sending timing marks or Telnet no operation (nop) commands. You can configure the
frequency and the type of keepalive that the TN3270 server sends to a client and when the
TN3270 server determines that a client is inactive.
When you configure the keepalive command to send Telnet nop commands, no response is required by
the client. If you specify only the keepalive interval, then the TN3270 server sends timing marks.
The default behavior of the TN3270 server is to send timing marks every 30 minutes if there is no other
traffic flowing between the TN3270 client and server. The TN3270 server disconnects a session if the
client does not respond within 30 seconds.
The keepalive command affects currently active and future TN3270 sessions. For example, reducing the
keepalive interval for timing marks to a smaller nonzero value causes an immediate burst of
DO TIMING-MARKS on those sessions that have been inactive for a period of time greater than the new,
smaller value.
Note There are two TN3270 server options that can affect when a session is disconnected—idle
time and keepalive. These two options operate independently of each other and both can be
used to clean up partially disconnected sessions. Whichever option first detects that a
session is eligible for disconnect immediately causes the TN3270 server to disconnect that
session. If you are specifying both the idle time and keepalive options, then you might
consider how the values for these options determine when client sessions are disconnected
to achieve the response that you want.
To configure the keepalive options for the TN3270 server, use the following command in TN3270 server,
listen-point, listen-point PU, PU, or DLUR PU configuration modes:
Command Purpose
Router# keepalive seconds [send {nop | (Optional) Specifies the number of seconds (from 0 to 65535) of inactivity to
timing-mark [max-response-time]}] elapse before the TN3270 server transmits a DO TIMING-MARK or
Telnet nop to the TN3270 client. A value of 0 means that no keepalive signals
are sent. The default interval is 1800 seconds (30 minutes). The following
options are available:
• send nop—Sends the Telnet command for no operation to the
TN3270 client to verify the physical connection.
• send timing-mark [max-response-time]—Sends timing marks to verify
the status of the client session and specifies the number of seconds (from
0 to 32767) within which the TN3270 server expects a response. The
default maximum response time is 30 seconds if the keepalive interval is
greater than or equal to 30 seconds. If the value of the keepalive interval
is less than 30 seconds, then the default max-response-time is the value
of the interval. The value of max-response-time should be less than or
equal to the interval.
Use the no form of the command to cancel the current keepalive period and type and return to the
previously configured siftdown value applicable to the PU, or to the default value.
The keepalive command is a siftdown command that is available in multiple command modes. For more
information about configuring siftdown commands, see the “Configuring TN3270 Siftdown Commands”
section on page 791.
Note You cannot specify the same LOCADDR in both an individual LU nailing statement and in
a pool. The CMCC adapter does not allow a LOCADDR to be allocated multiple times, so
the LU allocations in the TN3270 server must not overlap.
To nail a client to a specific LU use the following command in PU configuration mode or listen-point
PU configuration mode:
Command Purpose
Router# client [printer] ip ip-address [mask] lu (Optional) Allocates a specific LU or range of LUs to a
first-locaddr [last-locaddr] client located at the IP address or subnet.
To nail a client to a pool of LUs use the following command in listen-point configuration mode:
Command Purpose
Router(tn3270-lpoint)# client ip ip-address [mask] pool (Optional) Nails a client located at the IP address or
poolname subnet to a pool.
To allocate LUs to a pool use the following command in listen-point PU configuration mode:
Command Purpose
Router(tn3270-lpoint-pu)# allocate lu lu-address pool (Optional) Assigns LUs to the pool beginning with the
poolname clusters count LOCADDR specified by lu-address for a total of count
LUs.
Configuring LU Deletion
The LU deletion options for the TN3270 server specify whether the TN3270 server sends a
REPLY-PSID poweroff request to VTAM to delete the corresponding LU when a client disconnects. The
LU deletion command is useful to prevent screen LUs from attaching to an LU that was used by a
previous session that designates an incompatible screen size for the current LU.
The default behavior of the TN3270 server is to never delete LUs upon disconnect. This option is useful
when you only have screen LUs and they all use the same screen size.
To configure the LU deletion options for the TN3270 server, use the following command in
TN3270 server, listen-point, listen-point PU, PU, or DLUR PU configuration modes:
Command Purpose
Router# lu deletion {always | (Optional) Specifies when the TN3270 server sends a REPLY-PSID poweroff request
normal | non-generic | never} for an LU upon disconnect. The following options are available:
• always—Specifies deletion of all dynamic LUs upon disconnect.
• normal—Specifies deletion of only screen LUs upon disconnect.
• non-generic—Specifies deletion of specified LUs. (Available when VTAM
supports deletion of specifically-named LUs. Not available as of VTAM version
4.4.1.)
• never—Specifies that LUs are never deleted upon disconnect. This is the default.
Use the no form of the command to remove LU deletion from the current configuration scope and return
to the previously configured siftdown value applicable to the PU, or to the default value.
The lu deletion command is a siftdown command that is available in multiple command modes. For
more information about configuring siftdown commands, see the “Configuring TN3270 Siftdown
Commands” section on page 791.
For additional information about how sessions are terminated, see the “Session Termination” section on
page 777.
Configuring LU Termination
The LU termination options for the TN3270 server specify the type of RU sent by the TN3270 server
upon LU disconnect. The default behavior of the TN3270 server is to send an UNBIND request to the
application to terminate the session.
With some applications (such as CICS), VTAM security problems can arise from an UNBIND request.
In some cases the application might reestablish a previous user’s session with a new user, who is now
assigned to the same freed LU. To prevent this you can configure the TN3270 server to send a
TERMSELF RU.
Use the termself keyword of the lu termination command when you want to be sure that the application
terminates the session when the LU disconnects.
To configure the LU termination options for the TN3270 server, use the following command in
TN3270 server, listen-point, listen-point PU, PU, or DLUR PU configuration modes:
Command Purpose
Router# lu termination {termself | (Optional) Specifies the type of RU sent by the TN3270 server when a
unbind} client turns off the device or disconnects. The following options are
available:
• termself—Orders termination of all sessions and session requests
associated with an LU upon disconnect.
• unbind—Requests termination of the session by the application upon
LU disconnect. This is the default.
Use the no form of the command to remove LU termination from the current configuration scope and
return to the previously configured siftdown value applicable to the PU, or to the default value.
The lu termination command is a siftdown command that is available in multiple command modes. For
more information about configuring siftdown commands, see the “Configuring TN3270 Siftdown
Commands” section on page 791.
For additional information about how sessions are terminated, see the “Session Termination” section on
page 777.
Each control block uses about 1 KB of memory, with a possible 2 KB per LU additionally required for
data during session activity. The TN3270 server attempts to allocate one LU control block for each LU
activated by the host. For DDDLU, the control block is allocated when the client requests the LU, in
anticipation of an ACTLU from the SSCP host.
By limiting the number of LU control blocks allocated, you can limit how much memory is used for the
TN3270 server and be sure that memory is available to support other CMCC functions.
To configure the maximum number of LUs allowed for the TN3270 server, use the following command
in TN3270 server configuration mode:
Command Purpose
Router(cfg-tn3270)# maximum-lus number (Optional) Specifies the maximum number (between 0
and 32000) of LU control blocks allowed for the
TN3270 server. The default is 2100.
Use the no form of the command to restore the default value. Although you can change the value of the
maximum-lus command at any time, you must deactivate the PU (DACTPU) or use the no pu command
to free allocated control blocks if you reduce the maximum number below the current number of
allowable LU control blocks.
Configuring the Maximum Number of Sessions That Can be Obtained by a Single Client
Configuring the maximum number of LU sessions for a TN3270 client limits the number of LU sessions
that a client at a specified IP address or IP subnet can establish with the TN3270 server. Establishing this
limit prevents a single workstation from using all of the available resources on the TN3270 server. If you
configure LU pools and maximum LU sessions, the maximum LU session value limits the number of
LOCADDRs that a client can connect to across all pools to which the client belongs.
If you do not configure the maximum number of LU sessions, the default configuration specifies no limit
on the number of concurrent sessions from one client IP address.
To configure the maximum number of LU sessions allowed for a TN3270 client, use the following
command in TN3270 server configuration mode:
Command Purpose
Router(cfg-tn3270)# client [ip [ip-mask]] lu maximum (Optional) Specifies the maximum number of LU sessions
number (between 0 and 65535) for each client IP address or IP
subnet address.
Use the no form of the command to remove a single LU limit associated with a particular IP address, or
to restore a default value of 65535.
Note There is no relationship between the allocate lu command and the client lu maximum
command. The allocate lu command assigns named LOCADDRs to a pool. More than one
TN3270 client can access pools and there is no relationship between the number of LUs
assigned to a pool and the maximum number of LUs that one client can use.
Legacy Configuration
To configure the TCP port in legacy configurations that do not implement a listen point, use the following
command in TN3270 server, PU, or DLUR PU configuration modes:
Command Purpose
Router(cfg-tn3270)# tcp-port (Optional) Specifies the TCP port (between 0 and 65534) to be used for the PU. The
number default TCP port number is 23.
Use the no form of the command to remove the TCP port from the current configuration scope and return
to the previously configured siftdown value applicable to the PU, or to the default value.
The tcp-port command is a siftdown command that is available in multiple command modes. For more
information about configuring siftdown commands, see the “Configuring TN3270 Siftdown Commands”
section on page 791.
Listen-point Configuration
To configure the TCP port in listen-point configurations, use the following command in TN3270 server
configuration mode:
Command Purpose
Router(cfg-tn3270)# listen-point Specifies the IP address and TCP port number to create a listen point. The default
ip-address [tcp-port [number]] TCP port number is 23. This command changes the configuration mode from
TN3270 to listen-point.
Use the no form of the command to remove a listen point for the TN3270 server.
The use of timing marks can degrade performance. Some clients do not support timing marks used in
this way. Therefore you should only configure timing marks when both of the following conditions are
true:
• All clients support this timing mark usage.
• The application benefits from end-to-end acknowledgment.
To configure the timing marks option for the TN3270 server, use the following command in
TN3270 server configuration mode:
Command Purpose
Router(cfg-tn3270)# timing-mark (Optional) Specifies that the TN3270 server sends a WILL TIMING-MARK in
response to an application request for a pacing or definite response.
Use the no form of the command to disable the sending of WILL TIMING-MARK except as used by the
keepalive function.
Command Purpose
Router(cfg-tn3270)# unbind-action (Optional) Specifies whether the TN3270 session disconnects when an UNBIND
{keep | disconnect} request is received.
Use the no form of the command to remove the unbind action from the current configuration scope and
return to the previously configured siftdown value applicable to the PU, or to the default value.
The unbind-action command is a siftdown command that is available in multiple command modes. For
more information about configuring siftdown commands, see the “Configuring TN3270 Siftdown
Commands” section on page 791.
To obtain a server digital certificate, first create a certificate signing request pointer to the Readme.csr
file. The certificate must be in PEM or Base 64 format.
After you obtain the server digital certificate, append the private key file to the digital certificate.
Loading Server Digital Certificate onto the Flash of the TN3270 Router
Copy the digital certificate to the Flash card on the TN3270 router.
Configuring Security
To configure security on the TN3270 server, use the following command beginning in TN3270 server
configuration mode:
Command Purpose
Router(cfg-tn3270)# security Enables security on the TN3270 server and enters security configuration mode.
To enable and disable security on the TN3270 server, use the following commands beginning in security
configuration mode:
Command Purpose
Router(tn3270-security)# enable (Optional) Enables security in the TN3270 server.
Router(tn3270-security)# disable (Optional) Disables the security feature in the TN3270 server.
To configure a security profile on the TN3270 server, use the following command beginning in security
configuration mode:
Command Purpose
Router(tn3270-security)# profile Specifies a name and a security protocol for a security profile.
profilename {ssl | none}
To configure the security profile options, use the following commands beginning in profile configuration
mode:
Command Purpose
Router(tn3270-sec-profile)# keylen {40 | 128} Specifies the maximum bit length for the session encryption key for the
TN3270 server.
Router(tn3270-sec-profile)# encryptorder Specifies the encryption algorithm for the TN3270 SSL Encryption
[DES] [3DES] [RC4] [RC2] [RC5] Support.
Router(tn3270-sec-profile)# servercert Specifies the location of the TN3270 server’s security certificate in the
location Flash memory. This command reads the security certificate from the
specified location.
Router(tn3270-sec-profile)# certificate (Optional) Reads the profile security certificate from the file specified
reload in the servercert command.
To configure the default security profile name to be applied to the listen-points, use the following
command beginning in security configuration mode:
Command Purpose
Router(tn3270-security)# default-profile profilename Specifies the name of the profile to be applied to
the listen-points by default.
To configure a listen-point for security, use the following command beginning in TN3270 listen-point
configuration mode:
Note The sec-profile command is optional if the default-profile command has been configured.
Command Purpose
Router(tn3270-lpoint)# sec-profile profilename Specifies the security profile to be associated with
a listen-point.
Step 1 Before configuring the TN3270 server, follow the “Guidelines for Configuring LU Pooling” section on
page 806.
Step 2 Before you begin configuring the TN3270 server, be sure that you have configured host connectivity to
the router. For more information about configuring host connectivity, see the “Configuring Host
Connections” section on page 782.
Step 3 Complete the following tasks to configure the TN3270 server with LU pooling in an APPN environment
using DLUR:
• Configuring the TN3270 Server and Defining a Pool, page 806
• Configuring DLUR, page 807
• Configuring SAPs Under DLUR, page 808
• Configuring a Listen Point and Nailing Clients to Pools, page 808
• Configuring Inverse DNS Nailing, page 809
• Configuring a Listen-Point PU to Define DLUR PUs and Allocate LUs, page 811
• Configuring a Listen-Point PU to Define DLUR PUs using Dynamic LU Naming, page 812
Note You can also use DLUR to reach a mix of APPN and non-APPN hosts. The host
owning the PUs must be an APPN network node that also supports the subarea (that
is, an interchange node). When an SLU starts a session with any of the APPN hosts,
it can use session switching to reach that host directly. When it starts a session with
a non-APPN host, the traffic will be routed through the owning host.
Step 4 Complete the following tasks to configure the TN3270 server with LU pooling in a non-APPN
environment:
• Configuring the TN3270 Server and Defining a Pool, page 813
• Configuring a Listen Point and Nailing Clients to Pools, page 814
• Configuring a Listen-Point PU to Define Direct PUs and Allocate LUs, page 815
• Configuring a Listen-Point PU to Define Direct PUs using Dynamic LU Naming, page 816
Note The differences between the configuration tasks in a non-APPN environment and
the APPN configuration tasks are that you do not configure DLUR or SAPs under
DLUR, and you configure direct PUs at the listen point instead of DLUR PUs. All
other options are the same.
Refer to the “Configuring the TN3270 Server Options” section on page 793 of this publication and the
“TN3270 Server Commands” chapter of the Cisco IOS Bridging and IBM Networking Command
Reference (Volume 2 of 2) for additional information about the commands described in this section and
chapter.
Command Purpose
Step 1 Router(config)# interface channel slot/port Selects the interface on which to configure the
TN3270 server and enters interface configuration
mode. The port value differs by the type of CMCC
adapter:
• CIP—Port value corresponds to the virtual
interface, which is port 2.
• CPA—Port value corresponds to port 0.
Step 2 Router(config-if)# tn3270-server Specifies a TN3270 server on the internal LAN
interface and enters TN3270 server
configuration mode.
Step 3 Router(cfg-tn3270)# pool poolname [cluster layout Defines clusters of LUs and allocates LOCADDRs.
[layout-spec-string]]
Step 4 Router(cfg-tn3270)# generic-pool {permit | deny} (Optional) Selects whether “leftover” LUs can be
used from a generic LU pool.
Step 5 Router(cfg-tn3270)# idle-time seconds (Optional) Specifies the idle time for server
disconnect.
Command Purpose
Step 6 Router(cfg-tn3270)# ip precedence {screen | printer} (Optional) Specifies the precedence level for IP traffic
value in the TN3270 server.
Step 7 Router(cfg-tn3270)# ip tos {screen | printer} value (Optional) Specifies the ToS level for IP traffic in the
TN3270 server.
Step 8 Router(cfg-tn3270)# keepalive seconds [send {nop | (Optional) Specifies the following keepalive
timing-mark [max-response-time]}] parameters:
• Number of seconds of inactivity to elapse before
the TN3270 server transmits a
DO TIMING-MARK or Telnet nop to the
TN3270 client.
• Maximum time within which the TN3270 server
expects a response to the DO TIMING-MARK
from the TN3270 client before the server
disconnects.
Step 9 Router(cfg-tn3270)# lu deletion {always | normal | (Optional) Specifies whether the TN3270 server
non-generic | never} sends a REPLY-PSID poweroff request to VTAM to
delete the corresponding LU when a client
disconnects.
Step 10 Router(cfg-tn3270)# lu termination {termself | unbind} (Optional) Specifies the type of termination request
that is sent by the TN3270 server when a client turns
off or disconnects a device.
Step 11 Router(cfg-tn3270)# maximum-lus number (Optional) Specifies the maximum number (between
0 and 32000) of LU control blocks allowed for the
TN3270 server. The default is 2100.
Step 12 Router(cfg-tn3270)# client [ip [ip-mask]] lu maximum (Optional) Specifies the maximum number (between
number 0 and 65535) of LU sessions allowed for a client at an
IP address or IP subnet address.
Step 13 Router(cfg-tn3270)# timing-mark (Optional) Specifies that the TN3270 server sends a
WILL TIMING-MARK in response to an application
request for a pacing or definite response.
Step 14 Router(cfg-tn3270)# unbind-action {keep | disconnect} (Optional) Specifies whether the TN3270 session will
disconnect when an UNBIND request is received.
Configuring DLUR
This task is required when configuring DLUR connected hosts. To configure DLUR parameters for the
TN3270 server, use the following commands beginning in TN3270 server configuration mode:
Command Purpose
Step 1 Router(cfg-tn3270)# dlur fq-cpname fq-dlusname Creates a DLUR function in the TN3270 server and enters
DLUR configuration mode.
Step 2 Router(tn3270-dlur)# dlus-backup dlusname2 (Optional) Specifies a backup DLUS for the DLUR function.
Step 3 Router(tn3270-dlur)# preferred-nnserver NNserver (Optional) Specifies the preferred network node (NN) server.
Command Purpose
Step 1 Router(tn3270-dlur)# lsap type adapno [lsap] Creates a SAP function under DLUR and enters
DLUR SAP configuration mode.
Step 2 Router(tn3270-dlur-lsap)# vrn vrn-name (Optional) Identifies an APPN virtual routing node
(VRN).
Step 3 Router(tn3270-dlur-lsap)# link name [rmac rmac] [rsap (Optional) Creates named links to hosts. A link
rsap] should be configured to each potential NN server.
(The alternative is to configure the NN servers to
connect to DLUR.) If VRN is used it is not
necessary to configure links to other hosts. Do not
configure multiple links to the same host.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point ip-address [tcp-port Specifies the IP address and TCP port number to
[number]] create a listen point. The default TCP port number
is 23. This command changes the configuration
mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# client ip ip-address [mask] pool Nails a client located at the IP address or subnet to
poolname a pool.
Step 3 Router(tn3270-lpoint)# generic-pool {permit | deny} (Optional) Selects whether “leftover” LUs can be
used from a generic LU pool.
Step 4 Router(tn3270-lpoint)# idle-time seconds (Optional) Specifies the idle time for server
disconnect.
Step 5 Router(tn3270-lpoint)# ip precedence {screen | printer} (Optional) Specifies the precedence level for IP
value traffic in the TN3270 server.
Step 6 Router(tn3270-lpoint)# ip tos {screen | printer} value (Optional) Specifies the ToS level for IP traffic in
the TN3270 server.
Command Purpose
Step 7 Router(tn3270-lpoint)# keepalive seconds [send {nop | (Optional) Specifies the following keepalive
timing-mark [max-response-time]}] parameters:
• Number of seconds of inactivity to elapse
before the TN3270 server transmits a DO
TIMING-MARK or Telnet nop to the TN3270
client.
• Maximum time within which the
TN3270 server expects a response to the DO
TIMING-MARK from the TN3270 client
before the server disconnects.
Step 8 Router(tn3270-lpoint)# lu deletion {always | normal | (Optional) Specifies whether the TN3270 server
non-generic | never} sends a REPLY-PSID poweroff request to VTAM
to delete the corresponding LU when a client
disconnects.
Step 9 Router(tn3270-lpoint)# lu termination {termself | (Optional) Specifies the type of termination
unbind} request that is sent by the TN3270 server when a
client turns off or disconnects a device.
Step 10 Router(tn3270-lpoint)# unbind-action {keep | (Optional) Specifies whether the TN3270 session
disconnect} will disconnect when an UNBIND request is
received.
Note You can configure Inverse DNS Nailing five different ways by using the same commands.
This task table section presents the five different configuration methods as separate task
tables.
Use the domain-id command only when you are going to configure the client pool
command with the name keyword and DNS-domain-identifier option specified or with the
domain-id keyword specified.
To nail a client to a pool of LUs by IP address, use the following commands beginning in TN3270 server
configuration mode.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point ip-address [tcp-port Specifies the IP address and TCP port number to
[number]] create a listen point. The default TCP port number
is 23. This command changes the configuration
mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# client ip ip-address [ip-mask] Nails a client located at the IP address to a pool.
pool poolname
To nail a client to a pool of LUs by device name, use the following commands beginning in
TN3270 server configuration mode.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point ip-address [tcp-port Specifies the IP address and TCP port number to
[number]] create a listen point. The default TCP port number
is 23. This command changes the configuration
mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# client name DNS-name pool Nails a client located at the DNS device name to a
poolname pool.
To nail a client to a pool of LUs by device name using a domain ID, use the following commands
beginning in TN3270 server configuration mode.
Command Purpose
Step 1 Router(cfg-tn3270)# domain-id DNS-domain-identifier (Optional) Specifies a domain name suffix to be
DNS-domain appended to the configured machine names to form
a fully qualified name.
Step 2 Router(cfg-tn3270)# listen-point ip-address [tcp-port Specifies the IP address and TCP port number to
[number]] create a listen point. The default TCP port number
is 23. This command changes the configuration
mode from TN3270 to listen-point.
Step 3 Router(tn3270-lpoint)# client name DNS-name Nails a client located at the IP address to a pool.
DNS-domain-identifier pool poolname
To nail a client to a pool of LUs by domain name, use the following commands beginning in
TN3270 server configuration mode.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point Specifies the IP address and TCP port number to create a listen
ip-address [tcp-port [number]] point. The default TCP port number is 23. This command changes
the configuration mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# client domain-name Nails a client located at the domain-name to a pool.
DNS-domain pool poolname
To nail a client to a pool of LUs by domain name using a domain ID, use the following commands
beginning in TN3270 server configuration mode.
Command Purpose
Step 1 Router(cfg-tn3270)# domain-id (Optional) Specifies a domain name suffix to be appended to the
DNS-domain-identifier DNS-domain configured machine names to form a fully qualified name.
Step 2 Router(cfg-tn3270)# listen-point Specifies the IP address and TCP port number to create a listen
ip-address [tcp-port [number]] point. The default TCP port number is 23. This command changes
the configuration mode from TN3270 to listen-point.
Step 3 Router(tn3270-lpoint)# client domain-id Nails a client located at the domain ID to a pool.
DNS-domain-identifier pool poolname
Command Purpose
Step 1 Router(tn3270-lpoint)# pu pu-name Creates a DLUR PU. This command changes the configuration
idblk-idnum dlur mode from listen-point to listen-point PU.
Step 2 Router(tn3270-lpoint-pu)# allocate lu Assigns LUs to the pool beginning with the LOCADDR specified
lu-address pool poolname clusters count by lu-address for a total of count LUs.
Step 3 Router(tn3270-lpoint-pu)# generic-pool (Optional) Selects whether “leftover” LUs can be used from a
{permit | deny} generic LU pool.
Step 4 Router(tn3270-lpoint-pu)# idle-time (Optional) Specifies the idle time for server disconnect.
seconds
Command Purpose
Step 5 Router(tn3270-lpoint-pu)# keepalive (Optional) Specifies the following keepalive parameters:
seconds [send {nop | timing-mark
[max-response-time]}] • Number of seconds of inactivity to elapse before the
TN3270 server transmits a DO TIMING-MARK or Telnet nop
to the TN3270 client.
• Maximum time within which the TN3270 server expects a
response to the DO TIMING-MARK from the TN3270 client
before the server disconnects.
Step 6 Router(tn3270-lpoint-pu)# lu deletion (Optional) Specifies whether the TN3270 server sends a
{always | normal | non-generic | never} REPLY-PSID poweroff request to VTAM to delete the
corresponding LU when a client disconnects.
Step 7 Router(tn3270-lpoint-pu)# lu termination (Optional) Specifies the type of termination request that is sent by
{termself | unbind} the TN3270 server when a client turns off or disconnects a device.
Step 8 Router(tn3270-lpoint-pu)# unbind-action (Optional) Specifies whether the TN3270 session will disconnect
{keep | disconnect} when an UNBIND request is received.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point ip-address Specifies the IP address and TCP port number to create a listen
[tcp-port [number]] point. The default TCP port number is 23. This command
changes the configuration mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# pu pu-name idblk-idnum Creates a DLUR PU and enters listen-point PU configuration
dlur [lu-seed lu-name-stem] mode.
The lu-seed optional keyword specifies the LU name that the
client uses when a specific LU name request is needed.
Step 3 Router(tn3270-lpoint-pu)# lu deletion {always Specifies whether the TN3270 server sends a REPLY-PSID
| normal | non-generic | never | named} poweroff request to VTAM to delete the corresponding LU
when a client disconnects.
When you use the pu command, you enter listen-point PU configuration mode and can use all other
commands in this task list. Values that you enter for siftdown commands (such as the lu deletion
command) in listen-point PU configuration mode will override values that you previously entered in
listen-point or TN3270 server configuration mode. For more information about configuring siftdown
commands, see the “Configuring TN3270 Siftdown Commands” section on page 791.
Command Purpose
Step 1 Router(config)# interface channel slot/port Selects the interface on which to configure the
TN3270 server and enters interface configuration
mode. The port value differs by the type of CMCC
adapter:
• CIP—port value corresponds to the virtual
interface, which is port 2.
• CPA—port value corresponds to port 0.
Step 2 Router(config-if)# tn3270-server Specifies a TN3270 server on the internal LAN
interface and enters TN3270 server configuration
mode.
Step 3 Router(cfg-tn3270)# pool poolname [cluster layout Defines clusters of LUs and allocates LOCADDRs.
[layout-spec-string]]
Step 4 Router(cfg-tn3270)# idle-time seconds (Optional) Specifies the idle time for server
disconnect.
Step 5 Router(cfg-tn3270)# keepalive seconds [send {nop | (Optional) Specifies the following keepalive
timing-mark [max-response-time]}] parameters:
• Number of seconds of inactivity to elapse
before the TN3270 server transmits a DO
TIMING-MARK or Telnet nop to the TN3270
client.
• Maximum time within which the
TN3270 server expects a response to the DO
TIMING-MARK from the TN3270 client
before the server disconnects.
Step 6 Router(cfg-tn3270)# ip precedence {screen | printer} (Optional) Specifies the precedence level for IP
value traffic in the TN3270 server.
Step 7 Router(cfg-tn3270)# ip tos {screen | printer} value (Optional) Specifies the ToS level for IP traffic in
the TN3270 server.
Step 8 Router(cfg-tn3270)# unbind-action {keep | disconnect} (Optional) Specifies whether the TN3270 session
will disconnect when an UNBIND request is
received.
Step 9 Router(cfg-tn3270)# generic-pool {permit | deny} (Optional) Selects whether “leftover” LUs can be
used from a generic LU pool.
Step 10 Router(cfg-tn3270)# lu deletion {always | normal | (Optional) Specifies whether the TN3270 server
non-generic | never} sends a REPLY-PSID poweroff request to VTAM to
delete the corresponding LU when a client
disconnects.
Step 11 Router(cfg-tn3270)# lu termination {termself | unbind} (Optional) Specifies the type of termination request
that is sent by the TN3270 server when a client
turns off or disconnects a device.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point ip-address [tcp-port Specifies the IP address and TCP port number to
[number]] create a listen point. The default TCP port number
is 23. This command changes the configuration
mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# client ip ip-address [mask] pool Nails a client located at the IP address or subnet to
poolname a pool.
Step 3 Router(tn3270-lpoint)# idle-time seconds (Optional) Specifies the idle time for server
disconnect.
Step 4 Router(tn3270-lpoint)# keepalive seconds [send {nop | (Optional) Specifies the following keepalive
timing-mark [max-response-time]}] parameters:
• Number of seconds of inactivity to elapse
before the TN3270 server transmits a DO
TIMING-MARK or Telnet nop to the TN3270
client.
• Maximum time within which the
TN3270 server expects a response to the DO
TIMING-MARK from the TN3270 client
before the server disconnects.
Step 5 Router(tn3270-lpoint)# ip precedence {screen | printer} (Optional) Specifies the precedence level for IP
value traffic in the TN3270 server.
Step 6 Router(tn3270-lpoint)# ip tos {screen | printer} value (Optional) Specifies the ToS level for IP traffic in
the TN3270 server.
Step 7 Router(tn3270-lpoint)# unbind-action {keep | (Optional) Specifies whether the TN3270 session
disconnect} will disconnect when an UNBIND request is
received.
Step 8 Router(tn3270-lpoint)# generic-pool {permit | deny} (Optional) Selects whether “leftover” LUs can be
used from a generic LU pool.
Step 9 Router(tn3270-lpoint)# lu deletion {always | normal | (Optional) Specifies whether the TN3270 server
non-generic | never} sends a REPLY-PSID poweroff request to VTAM
to delete the corresponding LU when a client
disconnects.
Step 10 Router(tn3270-lpoint)# lu termination {termself | (Optional) Specifies the type of termination
unbind} request that is sent by the TN3270 server when a
client turns off or disconnects a device.
Command Purpose
Step 1 Router(tn3270-lpoint)# pu pu-name idblk-idnum type Creates a direct PU. This command changes the
adapter-number lsap [rmac rmac] [rsap rsap] [lu-seed configuration mode from listen-point to
lu-name-stem]
listen-point PU.
Step 2 Router(tn3270-lpoint-pu)# allocate lu lu-address pool Assigns LUs to the pool beginning with the
poolname clusters count LOCADDR specified by lu-address for a total of
count LUs.
Step 3 Router(tn3270-lpoint-pu)# idle-time seconds (Optional) Specifies the idle time for server
disconnect.
Step 4 Router(tn3270-lpoint-pu)# keepalive seconds [send {nop | (Optional) Specifies the following keepalive
timing-mark [max-response-time]}] parameters:
• Number of seconds of inactivity to elapse
before the TN3270 server transmits a DO
TIMING-MARK or Telnet nop to the TN3270
client.
• Maximum time within which the
TN3270 server expects a response to the DO
TIMING-MARK from the TN3270 client
before the server disconnects.
Step 5 Router(tn3270-lpoint-pu)# unbind-action {keep | (Optional) Specifies whether the TN3270 session
disconnect} will disconnect when an UNBIND request is
received.
Step 6 Router(tn3270-lpoint-pu)# generic-pool {permit | deny} (Optional) Selects whether “leftover” LUs can be
used from a generic LU pool.
Step 7 Router(tn3270-lpoint-pu)# lu deletion {always | normal (Optional) Specifies whether the TN3270 server
| non-generic | never} sends a REPLY-PSID poweroff request to VTAM
to delete the corresponding LU when a client
disconnects.
Step 8 Router(tn3270-lpoint-pu)# lu termination {termself | (Optional) Specifies the type of termination
unbind} request that is sent by the TN3270 server when a
client turns off his device or disconnects.
Command Purpose
Step 1 Router(cfg-tn3270)# listen-point ip-address [tcp-port Specifies the IP address and TCP port number to
[number]] create a listen point. The default TCP port number
is 23. This command changes the configuration
mode from TN3270 to listen-point.
Step 2 Router(tn3270-lpoint)# pu pu-name idblk-idnum type Creates a direct PU and enters listen-point PU
adapter-number lsap [rmac rmac] [rsap rsap] [lu-seed configuration mode.
lu-name-stem]
The lu-seed optional keyword specifies the LU
name that the client uses when a specific LU name
request is needed.
Step 3 Router(tn3270-lpoint-pu)# lu deletion {always | normal Specifies whether the TN3270 server sends a
| non-generic | never | named} REPLY-PSID poweroff request to VTAM to delete
the corresponding LU when a client disconnects.
When you use the pu command, you enter listen-point PU configuration mode and can use all other
commands in this task list. Values that you enter for siftdown commands (such as the lu deletion
command) in listen-point PU configuration mode will override values that you previously entered in
listen-point or TN3270 server configuration mode. For more information about configuring siftdown
commands, see the “Configuring TN3270 Siftdown Commands” section on page 791.
Note Be sure that you use only a single configuration method for any particular IP address. Do
not configure the same IP address using legacy methods and the newer listen-point
configuration methods.
Methods of LU Nailing
LU nailing is a method by which you can associate a client’s connection request with a specific LU or
pool of LUs. Use the following different methods to nail LUs in the TN3270 server:
• Nailing Clients to Specific LUs, page 798
• Nailing Clients to Pools, page 798
• Using a Combination of Nailing Methods, page 818
This configuration method uses the allocate lu listen-point PU configuration command to assign the
range of LOCADDRS to the pool. The pool command defines the pool as a cluster of screen and printer
LUs. In this method, clients can use the ASSOCIATE request to access printers defined to the pool.
The following example shows a valid configuration where a client at IP address 10.20.30.40 is nailed to
the pool named EXAMPLE, which is allocated LOCADDRs 1 through 10, and an individual client at IP
address 10.20.30.50 that is nailed only to LU 150:
tn3270-server
pool EXAMPLE cluster layout 2s2p
listen-point 80.80.80.81
client ip 10.20.30.40 pool EXAMPLE
pu PU1 12345678 tok 0 10
allocate lu 1 pool EXAMPLE clusters 10
client ip 10.20.30.50 lu 150
Step 1 To display the current router configuration, enter the show run command:
router#show run
Building configuration...
interface Channel6/1
no ip address
no keepalive
csna E160 40
!
interface Channel6/2
ip address 172.18.4.17 255.255.255.248
no keepalive
lan TokenRing 15
source-bridge 15 1 500
adapter 15 4000.b0ca.0015
lan TokenRing 16
source-bridge 16 1 500
adapter 16 4000.b0ca.0016
tn3270-server
pool PCPOOL cluster layout 4s1p
pool SIMPLE cluster layout 1a
pool UNIXPOOL cluster layout 49s1p
dlur NETA.SHEK NETA.MVSD
lsap token-adapter 15 04
link SHE1 rmac 4000.b0ca.0016
listen-point 172.18.4.18 tcp-port 23
pu PU1 91903315 dlur
allocate lu 1 pool PCPOOL clusters 10
allocate lu 51 pool UNIXPOOL clusters 2
allocate lu 200 pool SIMPLE clusters 50
listen-point 172.18.4.19 tcp-port 2023
pu PU2 91913315 token-adapter 16 08
allocate lu 1 pool UNIXPOOL clusters 2
allocate lu 101 pool SIMPLE clusters 100
allocate lu 201 pool PCPOOL clusters 10
Step 2 To display information about the client LUs associated with a specific PU including the cluster layout
and pool name, enter the show extended channel tn3270-server pu command:
Router#show extended channel 6/2 tn3270-server pu pu1 cluster
Step 1 Issue the show extended channel tn3270-server command. Confirm that lu-deletion is set to named.
Router# show extended channel 3/2 tn3270-server
Step 2 To verify that dynamic LU naming is configured on the PU named PU1, issue the show extended
channel tn3270-server pu command. Confirm that lu-deletion is set to named.
Router# show extended channel 6/2 tn3270-server pu pu1
Specify the INCLUD0E=YES parameter on VTAM so that the TN3270 server will always receive the
LU name generated by the VTAM User Exit for TN3270 Name Pushing.
Step 1 To list all nailing statements with a specific nailed-domain name, enter the show extended channel
tn3270-server nailed-domain command:
Router# show extended channel 1/2 tn3270-server nailed-domain .cisco.com
CISCO.COM listen-point 172.18.4.18 pool PCPOOL
Step 2 To list all nailing statements with a specific nailed machine name, enter the show extended channel
tn3270-server nailed-name command:
Router# show extended channel 1/2 tn3270-server nailed-name myclient.cisco.com
MYCLIENT.CISCO.COM listen-point 172.18.4.18 pool PCPOOL
HISCLIENT.CISCO.COM listen-point 172.18.4.18 pool UNIXPOOL
HERCLIENT.CISCO.COM listen-point 172.18.4.19 pool GENERALPOOL
This action removes any potential security risk but presents potential disadvantages—the client
could be denied a valid LU, and the generic-pool permit and deny settings might be ignored. For
these reasons, it is strongly recommended that users configure the Inverse DNS Nailing
enhancement on a PU that does not support LUs that have been assigned from a generic pool or a
PU that has the generic-pool command configured with the deny keyword specified.
• If an inverse DNS lookup succeeds, but the name is not nailed or the client has no machine name,
then the client is not nailed and the TN3270 server reverts to the legacy LU nailing process.
Step 1 To verify the security profile on the TN3270 server, enter the show extended channel tn3270-server
security command using the sec-profile option. Confirm that the status is enabled (status: ENABLE),
and that the security certificate is loaded (Certificate Loaded: YES).
Router# show extended channel 3/2 tn3270-server security sec-profile cert40
status:ENABLE Default Profile: (Not Configured)
Name Active LUs keylen encryptorder Mechanism
CERT40 0 40 RC4 RC2 RC5 DES 3DES SSL
Servercert:slot0:coach188.pem
Certificate Loaded:YES Default-Profile:NO
Step 2 To verify the security profile on the TN3270 server listen-point, enter the show extended channel
tn3270-server security command using the listen-point option. Confirm that the status is enabled
(status: ENABLE) and that the state is active (State ACTIVE).
Router# show extended channel 3/2 tn3270-server security listen-point 172.18.5.188
status:ENABLE Default Profile: (Not Configured)
IPaddress tcp-port Security-Profile active-sessions Type State
172.18.5.188 23 CERT40 0 Secure ACTIVE
Active Sessions using Deleted Profile:0
Command Purpose
Step 1 Router(tn3270-resp-time)# response-time group name Configures the client subnet response-time group.
[bucket boundaries t1 t2 t3 t4] [multiplier m]
Step 2 Router(tn3270-resp-time)# client ip ip-address Specifies the IP address of the subnet being added
[ip-mask] to this client group.
To display the response-time collection parameters for a specific subnet, along with a list of the client
members and their response-time statistics, use the following form of the command:
Router# show extended channel 3/2 tn3270-server response-time subnet
10.10.10.0 255.255.255.192 detail
group SUBNETGROUP1
subnet 10.10.10.0 255.255.255.192
aggregate NO excludeip NO dynamic definite response NO
sample period multiplier 30
bucket boundaries 10 20 50 100
client 10.10.10.129:23
buckets 5 8 11 9 4
average total response time 33 average IP response time 24
number of transactions 37
client 10.10.10.130:23
buckets 6 9 10 10 2
average total response time 32 average IP response time 25
number of transactions 37
client 10.10.10.131:23
buckets 11 14 10 8 7
average total response time 27 average IP response time 19
number of transactions 50
Command Purpose
Router# show extended channel slot/port tn3270-server Displays the current server configuration
parameters and the status of the PUs defined in
each server.
Router# show extended channel slot/port tn3270-server Displays information about all clients at a specific
client-ip-address ip-address [disconnected | in-session | IP address.
pending]
Router# show extended channel slot/port tn3270-server dlur Displays information about the SNA session
switch.
Router# show extended channel slot/port tn3270-server dlurlink Displays information about the DLUR
name components.
Router# show extended channel slot/port tn3270-server Displays mappings between a nailed client IP
nailed-ip ip-address address and nailed LUs.
Router# show extended channel slot/virtual channel Displays information about the client LUs
tn3270-server pu pu-name [cluster] associated with a specified PU including the
cluster layout and pool name.
Router# show extended channel tn3270-server pu pu-name lu Displays the status of the LU.
lu-number [history]
Router# show extended channel slot/port tn3270-server Displays information about each client group
response-time application [appl-name [detail]] application for the specified VTAM appl name.
List each member of the client group with its
individual response-time statistics.
Router# show extended channel slot/port tn3270-server Displays information about the global client
response-time global groups.
Router# show extended channel slot/port tn3270-server Displays information about the specified
response-time link [link-name] per-host-link client group.
Router# show extended channel slot/port tn3270-server Displays information about listen-point type client
response-time listen-point groups.
Router# show extended channel slot/port tn3270-server Displays information about the specified client
response-time subnet [ip-address ip-mask [detail]] group.
Command Purpose
Step 1 Router(tn3270-dlur-lsap)# link name Creates named links to hosts, or if this is an existing dynamic link,
[rmac rmac] [rsap rsap] converts the dynamic link to a static link.
Step 1 Router(tn3270-dlur-lsap)# no link name Removes the link definition.
Command Purpose
Router# show extended channel tn3270-server Displays current server configuration parameters and the status of the
PUs defined for the TN3270 server.
Router# show extended channel tn3270-server pu Displays configuration parameters for a PU and all the LUs currently
client-name attached to the PU, with the client machine name substituted for the
client IP address.
Command Purpose
Router# show extended channel tn3270-server Displays information about all connected clients with a specific
client-name machine name.
Router# show extended channel tn3270-server Lists all nailing statements with a specific nailed-domain name.
nailed-domain
Router# show extended channel tn3270-server Lists all nailing statements with a specific nailed- machine name.
nailed-name
Router# show extended channel tn3270-server pu Displays configuration parameters for a PU and all the LUs currently
client-name attached to the PU, with the client machine name substituted for the
client IP address.
• Listen-point configuration mode—Shuts down a listen point and all of its associated configuration
entities.
• Listen-point PU configuration mode—Shuts down an individual PU within the listen point
configuration.
To shut down the TN3270 server or a specific entity within the TN3270 server configuration, use the
following command in the appropriate configuration mode:
Command Purpose
Router# shutdown Shuts down the entities corresponding to the configuration level in which the shutdown command
is entered.
Note The first three configuration examples in this section apply only to users who are already
using TN3270.
The following example shows the same router with a later TN3270 server configuration that replaces the
existing configuration and uses the listen-point command to accomplish LU pooling. The listen-point
command was first introduced in Cisco IOS Release 11.2(18)BC.
tn3270-server
listen-point 10.10.10.1 tcp-port 40
pu PU1 94223456 tok 1 08
keepalive 10
Note In the new configuration, the IP address is not configured in the PU. Instead, the IP address
is configured as a listen point and the PU is configured within the scope of the listen point.
The tcp-port command is not configured within the scope of the PU, instead it is specified
with the listen-point command.
The following example shows the same router replaced with a later TN3270 server configuration that
uses the listen-point command introduced in Cisco IOS Release 11.2(18)BC:
tn3270-server
listen-point 10.10.10.2
pu PU1 94201231 tok 1 10
listen-point 10.10.10.3
pu PU2 94201232 tok 1 12
pu PU3 94201234 tok 1 14
listen-point 10.10.10.4
pu PU5 94201236 tok 2 08
listen-point 10.10.10.4 tcp-port 40
pu PU4 94201235 tok 1 16
In this example, PU2 and PU3 are grouped into one listen point because they have the same IP address.
Note that even though PU4’s IP address is identical to PU5’s IP address, they are not configured within
the same listen point because the listen point indicates a unique IP address and TCP port pair. If you do
not specify the TCP port, the default port value is 23.
The following example shows the same router replaced with a later TN3270 server configuration that
uses the new listen-point command introduced in Cisco IOS Release 11.2(18)BC:
tn3270-server
dlur NETA.RTR1 NETA.HOST
dlus-backup NETA.HOST
lsap token-adapter 15 08
link MVS2TN rmac 4000.b0ca.0016
listen-point 10.10.10.6
pu PU1 017ABCDE dlur
In this example, the PU is not configured within the scope of DLUR. Instead the PU is configured within
the listen-point scope. The keyword dlur differentiates the listen-point direct PU from the listen-point
DLUR PU. Note that the DLUR configuration must be completed before PU1 is configured.
Any siftdown commands configured within the scope of listen point are automatically inherited by the
PUs that are configured within the scope of that listen point. To override the siftdown configurations,
you can explicitly configure the siftdown configuration commands within the scope of the listen-point
PU.
PCPOOL
TN3270 Server
Mainframe
on Cisco 7500
host
series
Cluster 1 Cluster 2
51967
To understand how LUs are allocated for clients that are nailed to pools in the TN3270 server, consider
the router configuration for PU2 on the following pages, and assume that cluster 1 for PCPOOL has no
LUs currently assigned to clients.
For a PC client with IP address 20.40.34.1, the TN3270 server reserves LUs 201–205 for cluster 1 of the
PCPOOL. PCPOOL is defined with a cluster layout of “4s1p” for a total of 5 LUs (Figure 282). Because
the cluster 1 LUs are reserved, a second PC client with IP address 20.40.34.7 (also nailed to the
PCPOOL) is given LUs 206 to 210 for cluster 2 of the PCPOOL (provided that cluster 2 is the next
available cluster without LUs currently allocated).
Next, consider that a total of 4 clients with IP address 20.40.34.1 have connected with a request for a
screen LU. These clients are allocated LUs 201 to 204 (cluster 1) because according to the cluster
definition “4s1p”, the first 4 LUs are screen LUs. According to the cluster definition the last (5th) LU is
a printer LU.
This means that cluster 1 is fully allocated for screen LUs. In this example, the next client with IP
address 20.40.34.1 that connects with a request for a screen LU reserves the next available cluster, with
LUs 211 to 215. This client is allocated LU 211, which is a screen LU.
The first client with IP address 20.40.34.1 to request a printer LU from the TN3270 server is allocated
LU 205. LU 205 is the first available printer LU in the first cluster of reserved LUs for IP address
20.40.34.1.
Clients that connect with a request for a specific pool but that are not nailed to that pool are allocated an
LU from the generic pool. In this example, an available LU in the range 251 to 255 is allocated.
The following router configuration shows an example of commands used to define the TN3270 server
with LU pools.
Router Configuration
logging buffered
! logs Cisco IOS software messages to the internal buffer using the default
! buffer size for the router platform
interface Channel 6/1
no ip address
no keepalive
csna E160 40
!
interface Channel 6/2
ip address 172.18.4.17 255.255.255.248
no keepalive
lan TokenRing 15
source-bridge 15 1 500
adapter 15 4000.b0ca.0015
lan TokenRing 16
source-bridge 16 1 500
adapter 16 4000.b0ca.0016
tn3270-server
pool NEREGION cluster layout 1a
pool PCPOOL cluster layout 4s1p
pool UNIXPOOL cluster layout 49s1p
dlur NETA.SHEK NETA.MVSD
lsap token-adapter 15 04
link SHE1 rmac 4000.b0ca.0016
listen-point 172.18.4.18
client ip 10.20.20.30 pool UNIXPOOL
client ip 10.20.40.0 255.255.255.0 pool PCPOOL
client ip 10.20.30.0 255.255.255.128 pool NEREGION
pu PU1 91903315 dlur
allocate lu 1 pool PCPOOL clusters 10
allocate lu 51 pool UNIXPOOL clusters 2
allocate lu 200 pool NEREGION clusters 50
listen-point 172.18.4.19
client ip 20.30.40.40 pool UNIXPOOL
client ip 20.40.34.0 255.255.255.0 pool PCPOOL
client ip 20.40.50.0 255.255.255.128 pool NEREGION
pu PU2 91913315 dlur
allocate lu 1 pool UNIXPOOL clusters 2
allocate lu 101 pool NEREGION clusters 100
allocate lu 201 pool PCPOOL clusters 10
Figure 281 shows cluster layouts for PU1 in the TN3270 server.
PCPOOL
1 2 3 4 5 46 47 48 49 50 Cluster layout
s s s s p s s s s p 4s1p
Cluster 1 Cluster 10
UNIXPOOL
51 52 53 54 55 ... 100 101 102 103 104 105 ... 150 Cluster layout
49s1p
Cluster 1 Cluster 2
Generic-pool LUs
151 152 153 154 155 ... 199
NEREGION
200 201 202 203 204 ... 250 Cluster layout
1a
50 Clusters
Generic-pool LUs
22348
Figure 282 shows cluster layouts for PU2 in the TN3270 server.
UNIXPOOL
1 2 3 4 5 6 7 ... 50 51 52 53 54 55 56 ... 100 Cluster layout
49s1p
Cluster 1 Cluster 2
NEREGION
101 102 103 104 105 ... 200 Cluster layout
1a
100 Clusters
PCPOOL
201 202 203 204 205 246 247 248 249 250 Cluster layout
4s1p
Cluster 1 Cluster 10
Generic-pool LUs
22349
251 252 253 254 255
router(cfg-tn3270)#listen-point 10.10.20.2
router(tn3270-lpoint)#pu pu2 05d99003 dlur
router(tn3270-lpoint-pu)#exit
router(tn3270-lpoint)#exit
router(cfg-tn3270)#listen-point 10.10.20.5
router(tn3270-lpoint)#pu pu3 05d00001 tok 1 24 rmac 4100.cafe.0001 lu-seed pu3###
router(tn3270-lpoint-pu)#exit
router(tn3270-lpoint)#pu pu4 05d00002 tok 1 28 rmac 4100.cafe.0001 lu-seed pu4###
router(tn3270-lpoint-pu)#end
The following configuration results from the initial CIP configuration and the configuration dialog:
interface Channel2/2
ip address 10.10.20.126 255.255.255.128
no ip redirects
no keepalive
lan TokenRing 0
source-bridge 223 1 2099
adapter 0 4100.cafe.0001
llc2 N1 2057
adapter 1 4100.cafe.0002
llc2 N1 2057
tn3270-server
dlur SYD.TN3020 SYD.VMG
lsap token-adapter 1
vrn SYD.LAN4
link HOSTB rmac 4000.7470.0009
link HOSTA rmac 4100.cafe.0001 rsap 08
listen-point 10.10.20.1
pu PU0 05D99001 dlur
pu PU1 05D99002 dlur
listen-point 10.10.20.2
pu PU2 05D99003 dlur
listen-point 10.10.20.5
pu PU3 05D00001 tok 1 24 rmac 4100.cafe.0001 lu-seed PU3###
pu PU4 05D00002 tok 1 28 rmac 4100.cafe.0001 lu-seed PU4###
To remove a nailing definition, the complete range of LOCADDRS must be specified as configured. So
for the example above, the following command would remove the LU nailing definition:
no client ip 171.69.176.28 255.255.255.0 lu 1 50
If an attempt is made to remove a subset of the range of configured LOCADDRS then the command is
rejected:
no client ip 171.69.176.28 255.255.255.0 lu 1 20
% client ip 171.69.176.28 lu not matched with configured lu 1 50
VTAM
NN
LLC2 TCP/IP
51968
TN3270 client
Cisco 7500 series
Mainframe neta.mvs2
neta.mvs2
CIP, slot 6
2F8 read cmpc-tg lagunab TN3270 server
2F9 write
mvs2trle Adapter 5
mvs2lne SAP: 50
4000.eeee.eeee Adapter 3
4000.0000.eeee
SAP: 34
S6231
Ring 88
172.18.1.218
PC Laguna
172.18.1.1.30
TN3270 client
mvs2trle
MVS2TRE VBUILD TYPE=TRL
MVS2TRLE TRLE LNCTL=MPC,MAXBFRU=8,REPLYTO=3.0,
READ=(2F8),
WRITE=(2F9)
mvs2lne
MVS2NNE VBUILD TYPE=LOCAL
MVS2PUE PU TRLE=MVS2TRLE,
ISTATUS=ACTIVE,
XID=YES,CONNTYPE=APPN,CPCP=YES
swlagtn
SWLAGTN VBUILD TYPE=SWNET,MAXGRP=10,MAXNO=10,MAXDLUR=10
LAGTNPU PU ADDR=01, X
MAXPATH=1, X
IDBLK=017,IDNUM=EFEED, X
PUTYPE=2, X
MAXDATA=4096, X
LUGROUP=TNGRP1,LUSEED=LAGLU##
tngrp1
TNGRP1E VBUILD TYPE=LUGROUP
TNGRP1 LUGROUP
DYNAMIC LU DLOGMOD=D4C32XX3, X
MODETAB=ISTINCLM,USSTAB=USSTCPIP,SSCPFM=USS3270
@ LU DLOGMOD=D4C32784, X
MODETAB=ISTINCLM,USSTAB=USSTCPIP,SSCPFM=USS3270
!The following statement allocates LUs ABC01PQR through ABC32PQR to the pool named
!simple.
!
allocate lu 1 pool simple clusters 50
!
!The following statement allocates LUs ABC64PQR through ABC96PQR to the pool named
!pcpool.
!
allocate lu 100 pool pcpool clusters 10
pu pu2 91913315 dlur lu-seed pqr###
!
!The following statement allocates LUs PQR010 through PQR035 to the pool named pcpool.
!
allocate lu 10 pool pcpool clusters 5
!
!The following statement allocates LUs PQR100 through PQR199 to the pool named simple.
!
allocate lu 100 pool simple clusters 100
Mainframe configuration
The following mainframe configuration is an example of the VTAM configuration that can be used if
the TN3270 server is configured with the Dynamic LU Naming enhancement.
Note PUs are defined with the LUGROUP command. It is not necessary to specify an LUSEED.
If the LUSEED operand is specified, it is ignored.
Note You must specify the INCLUD0E=YES parameter on VTAM so that the TN3270 server
receives the LU name generated by the VTAM exit.
*
BMPU6001 LU LOCADDR=01
BMPU6002 LU LOCADDR=02
BMPU6003 LU LOCADDR=03
BMPU6004 LU LOCADDR=04
BMPU6005 LU LOCADDR=05
BMPU6006 LU LOCADDR=06
BMPU6007 LU LOCADDR=07
BMPU6008 LU LOCADDR=08
BMPU6009 LU LOCADDR=09
BMPU6010 LU LOCADDR=10
.
BMPU6255 LU LOCADDR=255
*
tn3270-server
security
profile CERT128 SSL
servercert slot0:verisign128.pem
encryptorder RC4 RC2 DES
keylen 128
profile CERT40 SSL
servercert slot0:coach188.pem
listen-point 172.18.5.186
pu BMPU4 91946821 token-adapter 15 04 rmac 4000.b0ca.0016
listen-point 172.18.5.187
sec-profile CERT128
pu BMPU5 91956821 token-adapter 15 08 rmac 4000.b0ca.0016
listen-point 172.18.5.188
sec-profile CERT40
pu BMPU6 91966821 token-adapter 15 0C rmac 4000.b0ca.0016