HP UX Internet and Networking Software manual Querycos, Primaryrc

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 322
Image 322

Administration Commands

query_cos

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:

BAD_CONV_ID

The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied conversation ID, but the conv_id parameter value was not valid.

INVALID_LU_ALIAS

The lu_alias parameter value was not valid.

INVALID_LU_NAME

The lu_name parameter value 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.

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.111 query_cos

The query_cos command returns route calculation information for a specific class of service (COS). This command can be used to obtain information about a specific COS or about multiple COSs, depending on the options used.

2.111.1 Supplied Parameters

Parameter name

Type

Length

Default

[query_cos]

 

 

 

num_entries

decimal

 

1

list_options

constant

 

LIST_INCLUSIVE

cos_name

character

8

(null string)

Supplied parameters are:

num_entries

Maximum number of classes of service (COSs) for which data should be returned. You can specify 1 to return data for a specific COS, a number greater than 1 to return data for multiple COSs, or 0 (zero) to return data for all COSs.

list_options

The position in the list of COSs from which SNAplus2 begins to return data.

322

Page 322
Image 322
HP UX Internet and Networking Software manual Querycos, Primaryrc