Administration Commands

delete_port

2.85.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

INVALID_PLU_NAME

The supplied fqplu_name parameter did not match any defined partner LU name.

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.86 delete_port

The delete_port command deletes a port. This command also deletes the following:

All link stations and connection network TGs associated with the port

All PUs associated with link stations on the port and all LUs owned by these PUs The port must be inactive when the command is issued.

2.86.1 Supplied Parameters

Parameter name

Type

Length

[delete_port]

 

 

port_name

character

8

Supplied parameter is:

port_name

Name of the port to be deleted.

2.86.2 Returned Parameters

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

2.86.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.

278

Page 278
Image 278
HP UX Internet and Networking Software manual Deleteport, Portname