Changing the Notifications Version

 

By default, the snmpd.cnf file configures the SNMP Research International (SRI) master agent to send SNMPv2c notifications only. You can change this so that the master agent sends the SNMPv1 notifications. This section describes how to change the notification version.

 

Open the file: snmpd.cnf. This file is is found in the following directories:

Windows: snmp\srconf\agt

Unix: /etc/srconf/agt

 

Changing the Notification Version

Follow the steps below to change the notification version from SNMPv2c to SNMPv1 notifications.

1 Find the line that looks like this:

snmpTargetAddrEntry 32 snmpUDPDomain 127.0.0.1:0 100 3 Console

v2cExampleParams nonVolatile 255.255.255.255:0 2048

2 Change the field containing the entry v2cExampleParams to:

v1ExampleParams

This causes only SNMPv1 notifications to be sent.

3 If you want both versions of notifications, then duplicate the entire line:

v1ExampleParams

Then on one line, set the first entry to the following:

v2cExampleParams

On the other line set the first entry to the following:

v1ExampleParams

On the new line, increment the snmpTargetAddrName.