Administration Commands

query_cn_port

user_def_parm_1 through user_def_parm_3

User-defined parameters that you can use to include other characteristics not covered by the above parameters. Each of these parameters has a value in the range 0255.

2.108.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:

INVALID_CN_NAME

The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied name, but the value specified in the fqcn_name parameter was not valid.

State Check

No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.

Function Not Supported

If the command does not execute because the node’s configuration does not support it, SNAplus2 returns the following parameters:

primary_rc

FUNCTION_NOT_SUPPORTED

The local node is a LEN node. This command is valid only at a network node or an end node.

secondary_rc

(This parameter is not used.)

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.109 query_cn_port

The query_cn_port command returns information about ports defined on adjacent connection networks. This command can be used to obtain information about a specific port or about multiple ports, 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.

317

Page 317
Image 317
HP UX Internet and Networking Software manual Querycnport, Userdefparm1 through userdefparm3