stdResPorts

Last Updated : May 18, 2019 |
This API is used to enable or disable the standard ports.
Prolog information
Syntax
stdResPorts -nm [service name] [enable|disable]
stdResPorts -no [port no] [enable|disable]
For example, stdResPorts -no 80 enable
where:
Argument
Description
-nm [service name]
Accepts the name of service. It is case sensitive. All the values must be in lower case.
-no [port no]
Accepts the port number of service. If port number entered is 514, then the last argument should be [shell/syslog].
Return codes:
Return code
Description
4
Action is invalid. It should either be enable or disable.
5
Invalid service name.
6
Invalid port number.