ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver vscan connection-status show-not-connected

    Display connection status of Vscan servers which are allowed to connect but not yet connected

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

    Description

    The vserver vscan connection-status show-not-connected command displays connection status information of the external virus-scanning servers, or "Vscan servers" that are ready to accept connection but are not yet connected. This command could be useful for troubleshooting. If you do not specify any parameters, the command displays the following information for all Vscan servers:

    • Vserver name

    • Node name

    • Vscan server

    • Connection status

    • Disconnect reason

    You can specify the -fields parameter to specify which fields of information to display. In addition to the fields above, you can display the following fields:

    • Server type

    • Vscan server disconnected since

    Parameters

    { [-fields <fieldname>,…​]

    If you specify the -fields <fieldname>, …​ parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.

    | [-instance ] }

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

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

    If you specify this parameter, the command displays information only about the Vscan servers attached to the specified node.

    [-vserver <vserver name>] - Vserver

    If you specify this parameter, the command displays information only about the Vscan servers for the specified Vserver.

    [-server <IP Address>] - Server

    If you specify this parameter, the command displays information only about the Vscan server that you specify.

    [-server-status <Status>] - Server Status

    If you specify this parameter, the command displays information only about the Vscan servers that have the specified status.

    [-disconnect-reason <reason>] - Server Disconnect Reason

    If you specify this parameter, the command displays information only about the Vscan servers that are disconnected because of the specified reason.

    [-disconnected-since <MM/DD/YYYY HH:MM:SS>] - Time When Vscan Server Was Disconnected

    If you specify this parameter, the command displays information only about the Vscan servers that have been disconnected since the specified time.

    [-server-type <Server type>] - Server Type

    If you specify this parameter, the command displays information only about the Vscan servers that have the specified server type.

    Examples

    The following example displays connection-status information about all Vscan servers which are ready to accept connection but not yet connected.

    cluster1::> vserver vscan connection-status show-not-connected
                                                     Connection    Disconnect
    Vserver       Node              Server           Status        Reason
    ------------- ----------------- ---------------- ------------- ---------------
    vs2           Cluster-01        3.3.3.3          disconnected  invalid-
                                                                   session-id
    vs2           Cluster-01        4.4.4.4          disconnected  remote-closed
    2 entries were displayed.

    The following example displays detailed connection-status information about Vscan servers which are disconnected because the connection is remotely closed.

    cluster1::> vserver vscan connection-status show-not-connected -instance
                -disconnect-reason remote-closed
    Node: Cluster-01
                                Vserver: vs2
                                 Server: 4.4.4.4
                          Server Status: disconnected
               Server Disconnect Reason: remote-closed
    Time When Vscanner Was Disconnected: 6/4/2013 06:51:32
                            Server Type: primary
    Top of Page