Snacfg Workstation

Purpose The workstation assignment feature allows you to add, delete, modify, or view workstations. You can specify parameters such as IP address, workstation name, and define access parameters to the workstation.

Note   Configuration settings specified with snacfg workstation correspond to local workstation settings configured with SNA Server Manager. Syntax snacfg [#configpath] workstation /list
snacfg [#configpath] workstation workstationid
snacfg [#configpath] workstation workstationid /print
snacfg [#configpath] workstation workstationid /add [options]
snacfg [#configpath] workstation workstationid [options]
snacfg [#configpath] workstation workstationid /delete

where
 

#configpath
Specifies the path of the configuration file to view or change. If the configuration path is omitted, SNA Server will attempt to access the configuration file on the local system, using the path \SNAServerRoot\SYSTEM\CONFIG\COM.CFG, where SNAServerRoot is the SNA Server root directory.
/list
Generates a list of configured workstations.
/print
Displays a list of the configuration settings of a workstation. The displayed command does not contain the word snacfg so that it can be redirected to a command file. Command files are discussed earlier in this chapter.
/add
Adds the workstation ID using a either a name or IP address to identify the workstation. The workstation ID is usually the workstation name, except in the following cases:
  • NetWare Windows 3.x/DOS clients: use the IPX node address
  • Banyan VINES Windows 3.x/DOS clients: use the Banyan VINES Streetalk address
  • Windows 3.x TCP/IP clients: use the IP address.

If using an IP address to identify the workstation, the /address option is a required parameter.

To configure the workstation, either specify other options after /add or specify configuration options in additional snacfg workstation workstationid commands.

/delete
Deletes the workstation.
Options
Are as shown in the following list.
Options for Workstation
/insert:luname[,luname,…]
Assigns the specified 3270 or LUA LUs or pools to the workstation. Separate multiple names with commas.
/remove:luname[,luname,…]
Deletes the assignment of 3270 or LUA LUs or pools to the workstation. Separate multiple names with commas.
/insertrlu:rluname[,rluname,...]
Assigns APPC Remote LUs to the workstation. Separate multiple names with commas. The name rluname can be either the RLU alias or its fully-qualified name of the form "netname.luname".
/removerlu:rluname[,rluname,...]
Deletes the assignment of APPC Remote LUs to the workstation. Separate multiple names with commas. The name rluname can be either the RLU alias or its fully-qualified name of the form "netname.luname".
/comment:"comment"
Sets the workstation’s comment field.
/wkstaonly: { yes | no }
If yes, it restricts resources available on the computer to the LUs assigned to the workstation. Users will not be able to access LUs assigned to them unless the LU is also assigned to the workstation. If no, it allows users access to the LUs assigned to the workstation and the LUs assigned to the user. The default is no.
/address: { yes | no }
If yes, SNA Server will look for an IP address in place of an alphanumeric name for the workstation ID. This parameter must be set to yes if using an IP address. The default is no.