Enables a service on the running TCP/IP Services software.
Related commands: DISABLE SERVICE, SHOW SERVICE
Format
ENABLE SERVICE [ service ]
[ /ADDRESS=IP_address ]
[ /PORT=n ]
[ /PROCESS=process ]
[ /PROTOCOL=protocol ]
1 – Parameters
service
Optional. Default: All services.
Specifies the service to enable. The service must be defined
in the services database. To specify a lowercase or mixed-case
service name, enclose it in quotation marks.
2 – Qualifiers
2.1 /ADDRESS
/ADDRESS=IP_address
Optional. Default: 0.0.0.0.
Binds the service only to the specified address. If your host
is multihomed, use this qualifier to configure the service to be
offered on a specific Internet interface.
2.2 /PORT
/PORT=n
Optional. Starts the service on the specified port.
2.3 /PROCESS
/PROCESS=process
Optional.
Runs the service as the specified process.
2.4 /PROTOCOL
/PROTOCOL=protocol
Optional. Default: TCP.
Runs the service with the specified protocol.
3 – Examples
1.TCPIP> ENABLE SERVICE TELNET
Initializes TELNET communications.
2.TCPIP> ENABLE SERVICE RLOGIN /ADDRESS=130.180.4.7
Starts the remote login service for users on the host with IP
address 130.180.4.7.
3.TCPIP> ENABLE SERVICE SMTP
Starts the SMTP receiver. To start the SMTP sender, see
the START MAIL command. For instructions on how to start
the SMTP sender when TCP/IP Services starts up, see the SET
CONFIGURATION ENABLE_SERVICE command.