Skip to main content
We are redesigning the NetApp Knowledge Base site to make it easier to use and navigate. The new and improved site will be available the first week of October. Check out our video or read this KB article to know more about changes you’ll see on the site.
NetApp Knowledge Base

Which Network File System (NFS) TCP and NFS UDP ports are used on the storage system?

Views:
12,308
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
nfs
Last Updated:

 

Applies to

  • ONTAP 9
  • Data ONTAP 8
  • Data ONTAP 7-Mode
  • NFS v3

Answer

The default ports used by the storage controller are as follows,

Data ONTAP:
111   TCP/UDP portmapper
2049  TCP/UDP nfsd
635   TCP/UDP mountd
4045  TCP/UDP nlockmgr
4046  TCP/UDP status


Data ONTAP 7-Mode:
111   TCP/UDP portmapper
2049  TCP/UDP nfsd
4046  TCP/UDP mountd
4045  TCP/UDP nlockmgr
4047  TCP/UDP status

 
It is possible to modify those default ports, therefore to check the currently configured ports on your storage controller please use the following commands,

Data ONTAP 7-Mode:

7dot> options rpc
rpc.mountd.tcp.port          4046
rpc.mountd.udp.port          4046
rpc.nlm.tcp.port             4045
rpc.nlm.udp.port             4045
rpc.nsm.tcp.port             4047
rpc.nsm.udp.port             4047
rpc.pcnfsd.tcp.port          4048
rpc.pcnfsd.udp.port          4048
rpc.rquotad.udp.port         4049

Data ONTAP:
cDot::*> nfs show -vserver NFSsvm -fields rquotad-port ,nlm-port ,nsm-port ,mountd-port
vserver mountd-port nlm-port nsm-port rquotad-port
------- ----------- -------- -------- ------------

NFSsvm    635         4045     4046     4049

cDot::*>

 

These ports list can also be seen from from most unix clients with the command: rpcinfo -p <storage-controller-IP>

Data ONTAP:
   program vers proto   port  service
    100000    2   udp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    3   udp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    4   tcp    111  portmapper
    100003    3   udp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100005    1   udp    635  mountd
    100005    2   udp    635  mountd
    100005    3   udp    635  mountd
    100005    1   tcp    635  mountd
    100005    2   tcp    635  mountd
    100005    3   tcp    635  mountd
    100021    4   udp   4045  nlockmgr
    100021    4   tcp   4045  nlockmgr
    100024    1   udp   4046  status
    100024    1   tcp   4046  status


Data ONTAP 7-Mode:
   program vers proto   port  service
    100011    1   udp   4049  rquotad
    100024    1   tcp   4047  status
    100024    1   udp   4047  status
    100021    4   tcp   4045  nlockmgr
    100021    3   tcp   4045  nlockmgr
    100021    1   tcp   4045  nlockmgr
    100021    4   udp   4045  nlockmgr
    100021    3   udp   4045  nlockmgr
    100021    1   udp   4045  nlockmgr
    100005    3   tcp   4046  mountd
    100003    3   tcp   2049  nfs
    100005    2   tcp   4046  mountd
    100005    1   tcp   4046  mountd
    100003    2   tcp   2049  nfs
    100005    3   udp   4046  mountd
    100003    3   udp   2049  nfs
    100005    2   udp   4046  mountd
    100005    1   udp   4046  mountd
    100003    2   udp   2049  nfs
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper

Additional Information

additionalInformation_text

 

******************************************************* *******************************************************