[SNMP4J] Community String Indexing
Frank Fock
fock at agentpp.com
Wed Jan 2 18:53:02 CET 2008
Hi,
You can use the setContextName of the ScopedPDU
class to set the context for SNMPv3 PDUs:
http://www.snmp4j.org/doc/org/snmp4j/ScopedPDU.html#setContextName(org.snmp4j.smi.OctetString)
Best regards,
Frank
UmaShanker Sivagurunathan wrote:
> Hi,
>
> For querying the bridge MIB we use the community indexing.
> (ie., For SNMP v2, we use the community as community at vlanid
> for SNMP v3, we need to set the context to vlan-vlanid)
>
> I do not see any API to set the context for querying the bridge MIB
> using SNMP v3.
>
> Can you please let me know if any SNMP library is available for this?
>
> This is required to query the dot1dTpFdbTable MIB table using
> SNMP v3 for different VLANs. Hence to query for different
> VLAN the context has to be set.
>
> Would be grateful if you give an example code to poll dot1dTpFdbTable MIB using SNMP4J.
>
> Thanks in Advance
> UmaShanker
>
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j
--
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com
More information about the SNMP4J
mailing list