Starting and Stopping the SNMP Service

After the SNMP service has been installed, it automatically starts when the computer is started and so you will usually not need to start the SNMP service. However, if you stop SNMP, you must then restart it because it does not automatically restart. Stopping a service cancels any network connections the service is using.

You can start and stop the SNMP service at the command prompt by typing the commands net start snmp and net stop snmp. You can also point to Control Panel and double-click the Services icon, then select SNMP and click the Start or Stop service buttons.

You must stop and restart the SNMP service to add new extension-agent DLLs and MIBs.

Note

The syntax for the net start snmp and net stop snmp commands has changed in Windows NT 4.0. SNMP error logging parameters are not supported and have been replaced by improved SNMP error handling in the Windows NT Event Log. The syntax for these commands is:

net start snmp

net stop snmp