snmpEngineBoots
Ann Lo <[email protected]> Fri, 02 May 2003 17:08:45 -0700
| Newsgroups | gmane.ietf.snmpv3 |
|---|---|
| Organization | Alcatel CID |
| Message-ID | <[email protected]> |
Hi,
Should snmpEngineBoots be initialized to 0 or 1? rfc3414 (USM) says 0.
rfc3411 says 1. It is not impossible to stick to what two rfc's say but
it is still confusing. Would it be a problem to simply start from 1
instead of 0?
To be really consistent with both rfc's, the implemention could be as
follows:
* Set snmpEngineBoots to 0 when the SNMP agent is first installed.
* Do not provide a MIB instance to snmpEngineBoots when it is 0.
This implementation could cover the descriptions in the two rfc's:
rfc3414, Section 2.2
When an SNMP engine is first installed, it sets its local values of
snmpEngineBoots and snmpEngineTime to zero.
rfc3414, Section 2.4
UsmSecurityParameters ::=
...
msgAuthoritativeEngineBoots INTEGER (0..2147483647),
msgAuthoritativeEngineTime INTEGER (0..2147483647),
...
rfc3411 Section 5
snmpEngineBoots OBJECT-TYPE
SYNTAX INTEGER (1..2147483647)
Comments would be appreciated.
Thanks,
Ann