ONTAP 9.12.1 commands

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

    Display NetBIOS information over TCP connection

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

    Description

    The vserver cifs nbtstat command displays information about NetBIOS over TCP (NBT) connections for the cluster. It displays the IP address associated with the interfaces, the IP addresses of the WINS servers in use, and information about the registered NetBIOS names for the cluster. You can use this command to troubleshoot NetBIOS name resolution problems.

    NetBIOS name service (NBNS) over IPv6 is not supported.

    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 optional parameter, the command displays the NetBIOS name service information only for the specified node.

    [-vserver <vserver name>] - Vserver

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified Vserver.

    [-nbt-name <text>] - NBT Name

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified NetBIOS name.

    [-netbios-suffix <Hex String>] - NetBIOS Suffix

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified NetBIOS suffix.

    [-interface <IP Address>,…​] - Interfaces

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified IP address.

    [-wins-servers <IP Address>,…​] - Servers

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified WINS servers.

    [-server-state <text>,…​] - Server State (active, inactive)

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified WINS server state. The following are possible values for this parameter:

    • active

    • inactive

    [-nbt-scope <text>] - NBT Scope

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified NetBIOS name scope.

    [-nbt-mode <text>] - NBT Mode

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified NetBIOS name service mode. The following are possible values for this parameter:

    • 'p' - Point to Point

    • 'h' - Hybrid

    • 'm' - Mixed

    • 'b' - Broadcast

    [-state <text>] - State

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified NetBIOS name registration state. The following are possible values for this parameter:

    • must_register

    • must_unregister

    • wins

    • broadcast

    • name_released

    • wins_conflict

    • broadcast_conflict

    [-time-left <integer>] - Time Left

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified registration time left in minutes with the WINS server.

    [-type <text>] - Type

    If you specify this optional parameter, the command displays the NetBIOS name service information only for the specified name registration type. The following are possible values for this parameter:

    • registered

    • active

    • permanent

    • group

    Examples

    The following example displays the NetBIOS name service information.

    cluster1::> nbtstat
              (vserver cifs nbtstat)
    
              Vserver: vs1
              Node:    cluster1-01
              Interfaces:
                       10.10.10.32
                       10.10.10.33
             Servers:
                       17.17.1.2  (active  )
             NBT Scope:
                      [ ]
             NBT Mode:
                      [h]
             NBT Name           NetBIOS Suffix   State         Time Left     Type
             ------------------ ---------------  ------------- ---------     -----
             CLUSTER_1          00               wins          57
             CLUSTER_1          20               wins          57
    Vserver: vs1
             Node:    cluster1-02
             Interfaces:
                     10.10.10.35
             Servers:
                     17.17.1.2  (active  )
             CLUSTER_1          00               wins          58
             CLUSTER_1          20               wins          58
             4 entries were displayed.
    Top of Page