HP-UX SNAplus2 R7 Administration Command Reference

Administration Commands
query_cn
No parameters are supplied for this command.
2.107.2 Returned Parameters
Parameter name Type
enabled constant
If the command executes successfully, SNAplus2 returns the following parameter:
enabled
Species whether central logging is enabled or disabled. Possible values are:
YES
Central logging is enabled. All log messages are sent to a single central le on the node that is currently
the central logger.
NO
Central logging is disabled. Log messages from each server are sent to a le on that server (specied
using the
set_log_file command).
2.107.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 specic 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
NOT_CENTRAL_LOGGER
The command was issued to a specic node. It must be issued without specifying a node name.
State Check
No specic state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands,
occur for this command.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary
return codes that are common to all commands.
2.108 query_cn
The query_cn command returns information about adjacent connection networks. This command can be used to
obtain information about a specic connection network or about multiple connection networks, depending on the
options used.
The command is valid only at a network node or an end node; it is not valid at a LEN node.
314