Snacfg TNIPID
Purpose
Allows you to view, add, delete, or modify TelNet IP (Internet Protocol) addresses. SNA Server Manager is the recommended interface for adding TNIPIDs.
Note Configuration settings specified with snacfg tnipid correspond to session settings configured with SNA Server Manager.
Syntax
snacfg [#configpath] tnipid /list
snacfg [#configpath] tnipid tnipid
snacfg [#configpath] tnipid tnipid /print
snacfg [#configpath] tnipid tnipid /add / [options]
snacfg [#configpath] tnipid tnipid [options]
snacfg [#configpath] tnipid tnipid /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 the TNIPIDs on the local subdomain.
- tnipid
- Specifies the TN Internet Protocol (IP) address.
- /print
- Displays a list of the configuration settings of a print session. 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 a TNIPID called tnipid. For adding a tnipid, the recommended method is to use SNA Server Manager, not snacfg tnipid.
- /delete
- Deletes tnipid.
Options for TNIPID
- /tn3server:tn3servername
- Specifies the computer name of the TN 3270 server on which settings will be viewed or changed.
- /tn5server:tn5servername
- Specifies the computer name of the TN 5250 server on which settings will be viewed or changed.
Note
These two options (TN3server, TN5server) are mutually exclusive: one or the other is required.
- /subnet:tnipaddress
- Specifies the TN Internet Protocol (IP) address. If a tnipid parses as "n.n.n.n," it will be treated as an IPADDRESS. Otherwise, it will be treated as an IPNAME.