Re: clarification request: V2->V1 Trap conversion
Chris Elliott <[email protected]>
| Newsgroups | gmane.ietf.snmpv3 |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 21 Nov 2002, Dave Shield wrote: > > > > There is not a snmpTrapEnterprise varbind. > > > > > > Ummm.... are you sure? > > [snip] > > > You deleted the critical portion of (4), which states: > > > > ... > > In addition, if the translation is being performed by > > a proxy in order to forward a received trap, three additional > > variable-bindings will be appended, if these three additional > > variable-bindings do not already exist in the SNMPv1 variable- > > bindings > > ... > > Yes. So what if this situation has indeed occurred? > > Consider the case with one proxy that receives a v1 trap, converts it > into a v2 trap (adding snmpTrapEnterprise), and passes it on to some > configured destination. > This happens to be another proxy, that receives the v2 trap, converts > it back into a v1 trap (using the snmpTrapEnterprise varbind) and passes > this on to the final destination. > > What differences (if any) should there be between the original > v1 trap, and the final one? The purpose here is to be able to preserve all the information in the original v1 trap through a proxy. If the v1 trap is one of the generic notifications then the enterprise OID is lost without this field. This varbind allows the second proxy to fill in the enterprise field with the original value. Not that it's useful for generic notifications, but it's true to the original. > > > Dave > Chris Elliott CCIE# 2013 | | Customer Diagnostic Engineer ||| ||| RTP, NC, USA ||||| ||||| 919-392-2146 .:|||||||||:|||||||||:. [email protected] c i s c o S y s t e m s