Re: specifying SNMP version
"Ronnel P. Maglasang" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Great! thanks a lot.
Dave Shield wrote:
>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
>
>
smime.p7s
(application/x-pkcs7-signature, 3.1 KB) - not displayed