Simple Network Management Protocol

Previous Topic Next Topic

Changing SNMP Port Settings

SNMP uses the default UDP port 161 for general SNMP messages and UDP port 162 for SNMP trap messages. If these ports are being used by another protocol or service, you can change the settings by modifying the local Services file on the agent. The Services file is located in \%SystemRoot%\System32\Drivers\Etc

There is no file name extension. You can use any text - based editor to modify the file. The management system must also be configured to listen and send on the new ports.


caution-icon

Caution

If you have previously configured IP security to encrypt SNMP messages on the default ports, you must also update the IP security policy with the new port settings. Otherwise, communication can be erroneously blocked or SNMP communications might not be secured.

© 1985-2000 Microsoft Corporation. All rights reserved.