![](/images/new-backgrounds/1308428/308428503x1.webp)
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
If the node supports
252