ONTAP 9.13.1 commands

vserver cifs session file close

Close an open CIFS file

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver cifs session file close command closes the specified open CIFS file.

Parameters

-node {<nodename>|local} - Node

If you specify this parameter, the command will close all the opened CIFS files on the specified node.

-vserver <vserver name> - Vserver

If you specify this parameter, the command will close all the opened CIFS files on the specified CIFS-enabled Vserver.

-file-id <integer> - File ID

If you specify this parameter, the command will close the opened CIFS file that matches the specified file ID.

[-connection-id <integer>] - Connection ID

If you specify this parameter, the command will close all the opened CIFS files connected on the specified connection ID.

[-session-id <integer>] - Session ID

If you specify this parameter, the command will close all the opened CIFS files connected on the specified session ID.

Examples

The following example closes all the opened CIFS files that are connected to the data LIFs of Vserver vs1 on the node node1 with the connection-id 1:

cluster1::> vserver cifs session file close -node node1 -vserver vs1 -connection-id 1
5 entries were acted on.

The following example closes all the opened CIFS files on the node node1 with the file-id 1, connection-id 1 and the session-id 1:

cluster1::> vserver cifs session file close -node node1 -file-id 1 -connection-id 1 -session-id 1
2 entries were acted on.
Top of Page