Specifying Server for NFS TCP and UDP settings

Applies To: Windows Server 2003 R2

To specify Server for NFS TCP and UDP settings using the Windows interface

  1. Open Microsoft Services for Network File System: click Start, point to Programs, point to Administrative Tools, and then click Microsoft Services for Network File System.

  2. If necessary, connect to the computer you want to manage.

  3. Right-click Server for NFS, and then click Properties.

  4. Click the Server Settings tab.

  5. Select the desired transport protocol setting from the Transport protocol drop-down list, and then click Apply.

    Important

    These changes will not take effect until Server for NFS is restarted. For information about how to stop and start Server for NFS, see Starting and stopping Server for NFS.

To specify Server for NFS TCP and UDP settings using the command line

  1. Open the command prompt.

  2. At the command prompt, type:

    nfsadmin server [ComputerName] config [Protocol]= [Transport]

    Argument Description

    ComputerName

    The name of the computer you want to manage.

    Protocol

    The name of the Network File System (NFS) protocol you want to configure. See the list of “Protocol types” below.

    Transport

    The transport or combination of transports to enable for the given NFS protocol. See the list of “Transport types” below.

    Protocol types:

    Protocol Description

    PortmapProtocol

    Specifies the Portmap protocol.

    MountProtocol

    Specifies the Mount protocol.

    NLMProtocol

    Specifies the Network Lock Manager protocol.

    NSMProtocol

    Specifies the Network Status Manager protocol.

    Transport types:

    Transport Description

    TCP

    Enables only the TCP transport.

    UDP

    Enables only the UDP transport.

    TCP+UDP

    Enables both the TCP and UDP transports.

    Important

    These changes will not take effect until Server for NFS is restarted. For information about how to stop and start Server for NFS, see Starting and stopping Server for NFS.

    Note

    To view the complete syntax for this command, at a command prompt, type: nfsadmin server /?