ONTAP 9.12.1 commands

50←PDF
  • ONTAP 9.12.1 commands(CA08871-263en.pdf)
  • vserver services name-service getxxbyyy getnameinfo

    Gets the name information by using the IP address.

    Availability: This command is available to cluster administrators at the advanced privilege level.

    Description

    The ` vserver services name-service getxxbyyy getnameinfo ` gets the host and service by using the socket address. The underlying service for doing the lookup is selected based on the configured name service switch order.

    Parameters

    -node {<nodename>|local} - Node Name

    Use this parameter to specify the node where the lookup will be performed

    -vserver <vserver name> - Vserver Name

    Use this parameter to specify the Vserver where the lookup will be performed

    -ipaddress <IP Address> - IP Address

    Use this parameter to specify IPv4/IPv6 address for which the name information is requested

    [-show-source {true|false}] - Source used for Lookup

    Use this parameter to specify if source used for lookup needs to be displayed

    [-use-cache <true>] - Enable/Disable cache

    If set to true , locally-cached values will be used. The default value is false .

    Examples

    The following example gets the name information for the given IP Address:

    cluster1::*> vserver services name-service getxxbyyy getnameinfo -node cluster1-01 -vserver vs1 -ipaddress 127.0.0.1 -show-source false -use-cache false
          IP address: 127.0.0.1
          Host name: localhost
    Top of Page