I want to change the UDP port number for the SNMP service on my Windows system.


Changing the SNMP Port Number on a Windows System


In order to change the UDP port number for the SNMP service on Windows systems, you have to edit the SERVICES file in the %SYSTEMROOT%\SYSTEM32\DRIVERS\ETC folder (usually c:\windows\system32\drivers\etc).

Open the file in a text editor and change the port number from the default value 161 to your desired value in the following line:

snmp 161/udp #SNMP

Save the file and restart the SNMP service in the services applet of the control panel.


Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.