Control NFS access over TCP and UDP
You can enable or disable NFS access to storage virtual machines (SVMs) over TCP and UDP by modifying the -tcp
and -udp
parameters, respectively. This enables you to control whether NFS clients can access data over TCP or UDP in your environment.
These parameters only apply to NFS. They do not affect auxiliary protocols. For example, if NFS over TCP is disabled, mount operations over TCP still succeed. To completely block TCP or UDP traffic, you can use export policy rules.
You must turn off the SnapDiff RPC Server before you disable TCP for NFS to avoid a command failed error. You can disable TCP by using the command |
-
Perform one of the following actions:
If you want NFS access to be…
Enter the command…
Enabled over TCP
vserver nfs modify -vserver vserver_name -tcp enabled
Disabled over TCP
vserver nfs modify -vserver vserver_name -tcp disabled
Enabled over UDP
vserver nfs modify -vserver vserver_name -udp enabled
Disabled over UDP
vserver nfs modify -vserver vserver_name -udp disabled