Previous | Contents | Index |
On OpenVMS, for OSI transport using DECnet/OSI, you will need to define the PMDF-X400 application together with appropriate OSI network service. Supported network services are connection-less (CLNS) and connection-oriented (CONS). CONS is likely to be of use only if you are implementing an X.400 connection over an X.25 datalink.
The definitions need to include:
NCL> create osi transport application ... NCL> set osi transport application ... |
NCL> create osi transport template ... NCL> set osi transport template ... |
During configuration of PMDF-X400 using the PMDF CONFIGURE X400
(OpenVMS) utility, a pmdf_x400_service.ncl
file will be
created in the PMDF table directory containing the NCL commands
required for the service and any associated OSI transport entities. You
will need to ensure that this file of NCL commands is executed by your
system startup procedures sometime after the PMDF startup procedure has
run.
The first section of the generated pmdf_x400_service.ncl
file defines the PMDF-X400 service as an OSI transport application,
specifying the TSEL at which you configured PMDF-X400; see
Section 41.5.1.1 below. The next section of the generated file contains
OSI transport definitions required for your chosen network service and
beginning with an OSI Transport Template. The contents here will depend
upon whether CLNS or CONS network service was chosen; see
Section 41.5.1.2 or Section 41.5.1.3, respectively.
41.5.1.1 DECnet OSI TSEL
The first part of the pmdf_x400_service.ncl
file defines
the PMDF-X400 service as an OSI transport application:
create osi transport application PMDF-X400 set osi transport application PMDF-X400 file name PMDF_COM:x400_slave.com set osi transport application PMDF-X400 user name "PMDF-account" set osi transport application PMDF-X400 called tsel TSEL-octet-string |
PMDF-account
is the username associated
with the PMDF account (usually just PMDF), and where
TSEL-octet-string
is a hexadecimal string of
octets specifing the TSEL. For instance, if you use the typical account
name PMDF and the TSEL corresponds to the printable-string selector
PMDF-X400
then the commands would be:
create osi transport application PMDF-X400 set osi transport application PMDF-X400 file name PMDF_COM:x400_slave.com set osi transport application PMDF-X400 user name "PMDF" set osi transport application PMDF-X400 called tsel {%X504D44462D58343030} |
Regardless of whether or not you are using Session and Presentation selectors, i.e., SSEL and PSEL, only the TSEL will be specified in the service definition.
41.5.1.2 DECnet OSI Using CLNS
When using a CLNS network layer, the second part of the
pmdf_x400_service.ncl
file generated by the PMDF-X400
configuration utility contains commands to configure DECnet/OSI for
PMDF-X400 using CLNS. This usually requires nothing more than the
definition of a single OSI transport template with default parameter
values.
Such an NCL command is:
create osi transport template template-name |
template-name
matches the transport
template name specified using the PMDF CONFIGURE X400 utility.
For instance, suppose the PMDF CONFIGURE X400 utility was instructed to
use a transport template named PMDF-CLNS
. This results in
an entry in the file which includes:
TEMPLATE=PMDF-CLNS |
pmdf_x400_service.ncl
is simply:
create osi transport template PMDF-CLNS |
In the unlikely event that your network requires modification of the standard CLNS template parameters, you will need to add additional
set osi transport template PMDF-CLNS ... |
pmdf_x400_service.ncl
file.
41.5.1.3 DECnet/OSI Using CONS
When using a CONS network layer, the second part of the
pmdf_x400_service.ncl
file generated by the PMDF-X400
configuration utility contains commands to configure DECnet/OSI for
PMDF-X400 using CONS. This is complex and requires entities to be
properly defined at several levels. You must also be very careful to
properly specify the names used to link each entity to that at the next
level above or below. In addition, you must have installed, configured,
and tested the X.25 components of DECnet/OSI as well as any X.25
routers, modems, or other equipment.
Such NCL commands to configure the CONS connection would be along the lines of:
create osi transport template template-name set osi transport template template-name classes {0,2,4} set osi transport template template-name cons template X25-name set osi transport template template-name checksums false set osi transport template template-name inbound true |
template-name
is the template name
specified using PMDF CONFIGURE X400, and where
X25-name
is the name of an X.25 template defined
with commands such as
create X25 access template X25-name set X25 access template X25-name dte class DTE-class-name set X25 access template X25-name call data %X03010100 |
DTE-class-name
is the name of the DTE class,
as defined during DECnet/OSI X.25 configuration.
That takes care of outbound calls. For inbound calls, X.25 must be directed to pass OSI calls up to the OSI transport. DECnet/OSI allows this by default, so normally nothing further need be done. However, if you want to explicitly configure it to allow incoming calls to PMDF-X400, (note that you will need to shutdown DECnet/OSI in order to do so), see the following procedure.
Normally the Call User Data of 03010100
indicates an OSI
call; i.e.,
create X25 access filter X25-name set X25 access filter X25-name call data value %X03010100, - call data mask %XFFFFFFFF set X25 access filter X25-name priority 255 |
X25-name
is the same X.25 template name
used above. This defines a filter which will match any incoming calls
with that Call User Data. Note that you can also use other criteria
such as a particular subaddress or a particular DTE Class. If
necessary, this will require that you add additional NCL commands.
Finally, the OSI Transport is instructed to accept calls on that filter so that inbound calls with that Call User Data will be passed to and accepted by the OSI Transport.
add osi transport cons filters {X25-name} |
41.5.1.3.1 Sample CONS Configuration NCL Commands
This sections shows sample NCL commands for a CONS connection. Suppose
that the PMDF-X400 configuration utility was instructed to use a
transport template named PMDF-CONS
. This results in an
entry in the x400_local_option.
file which includes:
TEMPLATE=PMDF-CONS |
In addition, the predefined X.25 access DTE class named
SAT
, is assumed to already exist, (presumably having been
defined during the configuration of X.25). (Note that your DTE class is
very likely to use some name other than SAT
, as this is
quite site-specific.)
Continuing this example, the definition of the OSI Transport Template would look like:
create osi transport template PMDF-CONS set osi transport template PMDF-CONS network service CONS set osi transport template PMDF-CONS classes {0,2,4} set osi transport template PMDF-CONS cons template PMDF-X25 set osi transport template PMDF-CONS checksums false set osi transport template PMDF-CONS inbound true |
PMDF-X25
which is defined:
create X25 access template PMDF-X25 set X25 access template PMDF-X25 dte class SAT set X25 access template PMDF-X25 call data %X03010100 |
SAT
and
sets the Call User Data to the OSI standard value. (As mentioned above,
the DTE Class is presumed to have been defined previously, during
DECnet/OSI X.25 configuration.)
The above commands take care of the case of outbound calls. Normally, nothing need be done to allow incoming calls since DECnet/OSI allows them by default. However, if you want to explicitly configure it to allow incoming calls to be routed to PMDF-X400, see the following additional example commands.
The commands to handle inbound calls, i.e., to direct X.25 to pass OSI calls up to the OSI transport, would be:
create X25 access filter PMDF-X25 set X25 access filter PMDF-X25 call data value %X03010100, - call data mask %XFFFFFFFF set X25 access filter PMDF-X25 priority 255 |
03010100
indicates an
OSI call. This defines a filter which will match any incoming calls
with that Call User Data. (Additional NCL commands could be used to
allow matching on other criteria such as a particular subaddress or a
particular DTE class.)
Finally, the OSI Transport is instructed to accept calls on that filter so that inbound calls with that Call User Data will be passed to and accepted by the OSI Transport.
add osi transport cons filters {PMDF-X25} |
Previous | Next | Contents | Index |