Port Ownership

Ports on chassis may be shared among a number of users. The following commands in this section control user login and port sharing:

An additional utility command is available to clear all port ownership for the current user. This is as follows:

ixLogin / ixLogout

The ixLogin command registers a name to associate with port ownership and the ixLogout command dissociates ownership. The format of these commands are as follows:

ixLogin ixiaUser

ixLogout

where ixiaUser is the name of the current user.

Refer to “ixLogin” and “ixLogout” for full details on these commands.

ixCheckOwnership

The ixCheckOwnership command is used to check for the availability of a number of ports before taking ownership. The format of this command is as follows:

ixCheckOwnership portList

where portList is a list of ports, which may contain wildcards. The ixCheckOwnership command requires that the list be passed by value. For example,

set p1 {{1 1 1} {1 1 2}}

ixCheckOwnership $p1

A value of 0 is returned if all of the ports are available. Refer to “ixCheckOwnership” for a full description of this command.

ixPortTakeOwnership / ixTakeOwnership / ixPortClearOwnership / ixClearOwnership

The ixPortTakeOwnership and ixTakeOwnership commands take ownership of a single port or list of ports, respectively. The ixPortClearOwnership and ixClearOwnership commands give the ports back. The format of these commands are as follows:

ixPortTakeOwnership chassisID cardID portID [takeType]

ixTakeOwnership portList [takeType]

ixPortClearOwnership chassisID cardID portID [takeType]

ixClearOwnership [portList [takeType]]

where chassisID, cardID and portID define an individual port, portList is a list of ports and takeType may be force to force the taking or release of ownership regardless of ownership by another user. The port list must be passed by value as in the ixCheckOwnership command. A call to ixClearOwnership without any arguments clears all ports owned by the currently logged on user.

Refer to “ixPortTakeOwnership”, “ixTakeOwnership”, “ixPortClearOwnership”and“ixClearOwnership” for complete descriptions of these commands.