Administration Commands

stop_ls

To stop an active LS and return to the default settings for auto-activation and remote activation, set this parameter to NO.

To specify that an inactive LS cannot be activated by SNAplus2, or cannot be activated by the remote system, specify one or both of the following values (combined with a + character):

AUTO_ACT

The LS cannot be automatically activated by SNAplus2.

REMOTE_ACT

The LS cannot be activated by the remote system. This value does not alter the defined value of disable_remote_act in the LS definition; when the LS is next started and stopped, it will return to the defined setting.

2.207.2 Returned Parameters

No parameters are returned by SNAplus2 when this command executes successfully.

2.207.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

Possible values are:

LINK_NOT_DEFD

The ls_name parameter did not match the name of a defined LS.

UNRECOGNIZED_DEACT_TYPE

The stop_type parameter was not set to a valid value.

State Check

If the command does not execute because of a state error, SNAplus2 returns the following parameters:

primary_rc

STATE_CHECK

secondary_rc

LINK_DEACT_IN_PROGRESS

The specified LS is already being deactivated.

Other Conditions

If the command does not execute because other conditions exist, SNAplus2 returns the following parameters:

primary_rc

CANCELLED

secondary_rc

621

Page 621
Image 621
HP UX Internet and Networking Software manual 621