Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

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

Views:
19,797
Visibility:
Public
Votes:
13
Category:
ontap-9
Specialty:
nfs
Last Updated:

 

Applies to

  • ONTAP 9
  • Cluster 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
4049  TCP/UDP rquotad


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

 

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

Scan to view the article on your device