ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver cifs connection show

    Displays established CIFS connections

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

    Description

    The vserver cifs connection show command displays information about established CIFS connections.

    Parameters

    { [-fields <fieldname>,…​]

    Use this parameter to display only the specified fields

    | [-instance ] }

    If you specify the -instance parameter, the command displays detailed information about all fields.

    [-node {<nodename>|local}] - Node

    Use this parameter to display information about CIFS connections on the specified node.

    [-vserver <vserver name>] - Vserver

    Use this parameter to display information about CIFS connections on the specified CIFS-enabled SVM.

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

    Use this parameter to display information about CIFS connections that match the specified connection ID.

    [-session-id <integer>,…​] - Session ID

    Use this parameter to display information about CIFS connections that match the specified session ID.

    [-workstation-ip <IP Address>] - Workstation IP Address

    Use this parameter to display information about CIFS connections that are established through the specified data LIF IP address.

    [-workstation-port <integer>] - Workstation Port Number

    Use this parameter to display information about CIFS connections that are opened from the specified Port number.

    [-lif-ip <IP Address>] - Incoming Data LIF IP Address

    Use this parameter to display information about CIFS connections that are opened from the specified IP address.

    [-network-context-id <integer>] - Network Context ID

    Use this parameter to display information about CIFS connections that match the specified network context ID.

    Examples

    The following example displays information about all CIFS connections:

    cluster1::> vserver cifs connection show
    Node:    node1
    Vserver: vs1
    Connection Session                           Workstation
    ID         IDs                Workstation IP Port        LIF IP
    ---------- ------------------ -------------- ----------- -----------
    127834     1,2                172.17.193.172 15536       10.53.50.42

    The following example displays information about a CIFS connection at advanced privilege level:

    cluster1::*> vserver cifs connection show
    Node:    node1
    Vserver: vs1
    Connection Session                           Workstation             Network
    ID         IDs                Workstation IP Port        LIF IP      Context ID
    ---------- ------------------ -------------- ----------- ----------- ----------
    127834     1,2                172.17.193.172 15536       10.53.50.42 2

    The following example displays information about a CIFS connection with session-id 1:

    cluster1::*> vserver cifs connection show -session-id 1 -instance
    
    Vserver: vs1
    Node: node1
                   Connection ID: 127834
                      Session ID: 1
          Workstation IP Address: 172.17.193.172
         Workstation Port Number: 15536
    Incoming Data LIF IP Address: 10.53.50.42
              Network Context ID: 2
    Top of Page