HP UX Internet and Networking Software manual Deletecos

Models: UX Internet and Networking Software

1 651
Download 651 pages 11.83 Kb
Page 252
Image 252

Administration Commands

delete_cos

If you are deleting ports without deleting the connection network, specify the names of the ports to be deleted. Each port name is a string of up to eight characters. To delete the connection network, do not specify any port names.

2.65.2 Returned Parameters

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

2.65.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 fqcn_name parameter was not set to a valid CN name.

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.66 delete_cos

The delete_cos command deletes a class of service (COS) entry. Only locally-defined COSs can be deleted; the default COSs defined by SNA cannot be deleted.

If the node supports mode-to-COS mapping (as defined by the mode_to_cos_map_supp parameter on the define_node command) and the configuration includes modes that are mapped to the COS you are deleting,

252

Page 252
Image 252
HP UX Internet and Networking Software manual Deletecos