Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Add Service Table Entry (ADDSRVTBLE) command is used to add a service entry to the service table. You can use the service table to manage the mapping of network services to ports and to record the protocols that the services use.
The service table is shipped with some standard port assignments. Values for common functions supported by Transmission Control Protocol/Internet Protocol (TCP/IP) are available to the Internet community in the assigned numbers RFC (Request for Comments) document, a formal specification of proposals and standards for a portion of TCP/IP.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
SERVICE | Service | Character value | Required, Positional 1 |
PORT | Port | 1-65535 | Required, Positional 2 |
PROTOCOL | Protocol | Character value | Required, Positional 3 |
TEXT | Text 'description' | Character value, *BLANK | Optional |
ALIAS | Aliases | Single values: *NONE Other values (up to 4 repetitions): Character value, *NONE |
Optional |
Top |
Specifies the network service to be added to the table. A service can be added to the table more than once. Each service must be uniquely identified by a combination of the port number and the protocol name parameters.
This is a required parameter.
Top |
Specifies the port number to be assigned to the service.
This is a required parameter.
Top |
Specifies the protocol that the service uses. You can specify a maximum of 32 characters for the protocol name. No checking is done to ensure that the protocol exists.
This is a required parameter.
Top |
Specifies text that briefly describes the network service entry.
Top |
Specifies the alternate name for the network service. You can specify a maximum of four aliases. No checking is done to ensure that an alias is unique.
Single values
Other values (up to 4 repetitions)
Top |
ADDSRVTBLE SERVICE(FTP) PORT(21) PROTOCOL(TCP)
This command adds a service entry to the service table for the FTP network service. The service uses port 21 and the TCP protocol.
Top |
*ESCAPE Messages
Top |