rmassoc
Use the rmassoc command to remove a session association from the host system; this command removes a session associated with a host system but does not remove the connection to the host system.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -quiet
- Suppresses the confirmation prompt for this command. This flag answers yes to all confirmation prompts.
- -session_name session_name
- Specifies the name of the session to remove from the host system.
- -port port
- Specifies the port number for the host system if the system was added with a port other than the default port 9930.
- IP_Address | -
- Specifies the IP address or host name of the host system to remove
the session from.
Alternatively, use the dash (-) to specify that input for this parameter comes from an input stream (stdin). The dash is supported only in single-shot mode.
Example: Removing a session from a host system
The following command shows how to remove the MyMMsession session from the host system with the 9.11.223.43 IP address. In this example, you could omit the -port parameter because port 9930 is the default.
csmcli> rmassoc -session_name MyMMsession –port 9930 9.11.223.43