Modifying SNMP Parameters in the Registry

SNMP parameters and information about the SNMP extension-agent DLLs are contained in the Registry. You can view or change this information by using the Registry Editor (Regedt32.exe).

To start the Registry Editor

1. Click the Start button and click Run.

2. Type regedt32 in the command line box.

Warning Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the incorrect use of the Registry Editor can be solved.

Windows NT-based SNMP parameters are contained in the Registry in the following key:


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SNMP\Parameters

The following table describes the SNMP parameters contained in the Registry.

Table 11.5 SNMP Parameters Contained in the Registry

Registry parameter

Description

EnableAuthenticationTraps
Units: Boolean
Range: 0 (Off) or 1 (On)
Default: On

A value of On (1) indicates that the SNMP service sends a trap whenever it receives a request that does not match any community name or host filter in its lists. Off (0) indicates that the SNMP service does not send a trap when this occurs.

ExtensionAgents

Contains information about each of the extension-agent DLLs to load.

ValidCommunities
Units: names
Range: —
Default: public

Specifies one or more community names defining groups of hosts from which the SNMP service will accept requests.

TrapConfiguration
Units: name
Range: —
Default: —

Specifies one or more host names, IP addresses, or IPX addresses defining hosts to which the SNMP service sends traps. Under the TrapConfiguration key, there is a key for each community. Under the ValidCommunities key, there are trap destination values for that community.