Administration Commands
start_port
Supplied parameters are:
port_name
Name of the port to be started. The port must already have been defined.
2.197.2 Returned Parameters
No parameters are returned by SNAplus2 when this command executes successfully.
2.197.3 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
PARAMETER_CHECK
secondary_rc
INVALID_PORT
The port_name parameter was not the name of a defined port.
State Check
If the command does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
STATE_CHECK
secondary_rc
Possible values are:
DUPLICATE_PORT
The specified port has already been started.
STOP_PORT_PENDING
The specified port is currently being deactivated. You cannot start the port until deactivation is complete.
Other Conditions
If the command does not execute because other conditions exist, SNAplus2 returns the following parameters:
primary_rc
CANCELLED
secondary_rc
NO_SECONDARY_RC
A stop_port command was issued before this command had completed; the start_port command was canceled.
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.