Re: specifying SNMP version
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2005-10-10 at 17:06 +0800, Ronnel P. Maglasang wrote:
> Is it possible to specify which SNMP version when running snmpd from
> command line or snmpd.conf? Can I run it on v3? only v2c or both?
You can't completely remove SNMPv3 or SNMPv2c support from the agent
without re-compiling it. But you can configure the agent so that
it only *responds* to SNMPv3 or SNMPv2c requests.
That's done using the access control settings.
Bottom line - if there is no access control configured for a given
SNMP version, then the agent won't respond to such requests.
So if you ensure that *none* of your 'snmpd.conf' files contain
any lines of the form
rouser {something}
rwuser {something}
or
group {some} usm {thing}
then the agent won't respond to SNMPv3 requests.
Similarly, if they don't contain any lines of the form
rocommunity {something}
rwcommunity {something}
or
group {some} v2c {thing}
then the agent won't respond to SNMPv2c requests.
Dave
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users