Command-line Installation of SNA Server 3.0 Link Services

Last reviewed: December 3, 1997
Article ID: Q171625
The information in this article applies to:
  • Microsoft SNA Server, version 3.0 or later

SUMMARY

SNA Server 3.0 includes the new LINKCFG command-line tool to install SNA Server link services. Prior to this release, link service installation could only be performed using the SNA Server 3.0 Manager program, or using the "LINKSET" program to install back-level link services.

The following steps are required to install and use a link service using the SNA Server LINKCFG and SNACFG command-line configuration tools:

  1. Use LINKCFG to install the SNA Server link service. This installs the necessary files in the <snaroot>\system directory, adds the required Windows NT registry settings, and runs the Windows NT network control panel bindings.
2. Use "SNACFG LINK ..." to define the link service in the SNA Server
   configuration file.
3. Use "SNACFG CONNECTION ..." to create a new connection in the
   configuration file and associate the new link service with the
   connection.

MORE INFORMATION

The following example shows how to use the LINKCFG and SNACFG commands to install a distributed link service:

  1. Installing the remote link service using LINKCFG:

          C:\>linkcfg  LINKSVC "SnaRem1" /SERVER:STEVED2 /LSTYPE:"Distributed
    
              Link Service" /REMOTELINKTYPE:TokenRing802.2 
              /REMOTELIST:\\truth\snadlc3 /DOMAIN:STEVED2_DOMAIN 
              /USERID:snaservice /PASSWORD:snaservice
    
       The above command installs a link service name of "SnaRem1" to server 
       STEVED2 to run under a user account of STEVED2_DOMAIN\snaservice, pointing 
       to a distributed link on \\TRUTH\SNADLC3.
    
    

  2. Define the link service to the configuration file using SNACFG:

         
          C:\>snacfg link STEVED2:SnaRem1 /ADD /LINKTYPE:Token
         
    
    The above command defines the SnaRem1 link service to the SNA Server configuration file.

  3. Define a connection to use this link service:

          C:\>snacfg connection TRUTH /ADD /SERVER:STEVED2 /LINKSERVICE:SnaRem1 
    
              /CONNTYPE:802.2 /REMOTEEND:Host /REMOTENETADDR:400017001100 
              /LOCALBLOCKNO:017 /LOCALNODENO:10001
    
       The above command creates a new connection called TRUTH on STEVED2, and 
       associates the connection to the SnaRem1 link service. Note that the
       various connection properties will vary depending on the host
       configuration settings, such as /REMOTENETADDR, /LOCALBLOCKNO, and
       /LOCALNODENO, though these are included to show a complete example. 
    


Additional query words:
Keywords : prodsna snamanager kbhowto
Version : 3.0
Platform : WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: December 3, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.