Partager via


Specify Server for NFS TCP and UDP Settings

Applies To: Windows Server 2008

Specifying TCP and UDP settings

  • Using the Windows interface

  • Using the command prompt

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

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

  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.

Additional references

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

  1. Open the command prompt with elevated privileges.

    1. Click the Start button, and click All Programs.

    2. Click Accessories.

    3. Right-click the command prompt, and click Run as administrator.

  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.

    • 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

    The transport or combination of transports to enable for the given NFS protocol.

    • TCP - Enables only the Transmission Control Protocol (TCP) transport.

    • UDP - Enables only the User Data Protocol (UDP) transport.

    • TCP+UDP - Enables both the TCP and UDP transports.

Important

These changes will not take effect until Server for NFS is restarted.

Note

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

Additional references