Hi ,

I am new SNMP protocol ,I have below requirement.Can anyone please help in this 
below requirement.

I need the guidance to start with this,I mean please let me know what all the 
things I need to include to do this.

And how to do snmp walk to pim neighbors table?,I have a snmp service enabled 
in my system apart from this what all the jar files need to be include let me 
know please.


The requirement follows like this:
1)To implement multicast network discovery using snmp in java
2)Create CompletedRouterList (initially NULL) to store the routers for which 
discovery was complete and a PendingRouterList containing the routers for which 
discover is pending.
3)At initialization time, statically populate the PendingRouterList with 
initial set of routers from some config file.
4)For each router in the PendingRouterList, if multicast is enabled then query 
the pimInterfaceTable to obtain the list of interfaces on which PIM is enabled. 
For example if R1 has PIM enabled and has interfaces 1/1 and 1/2/ on which PIM 
is enabled then we will have:-
            1/2         1/1
      --------- R1 ----------
5)For each router that has at least 1 interface that has PIM enabled on it, 
query it's PIM Neighbor table to obtain the list of it's PIM neighbors. PIM 
neighbor table also gives the interface index with which the router is 
connected with it's neighbor. This information can be used to build the link 
between the router and neighbor(s).
For example if R1 has neighbors R2 connected to 1/1 and R3 connected to 1 / 2 
then we can build the table as:-
                     1/2     1/1
         R3----------R1 ---------- R2


Anyone please help ,Thanks in advance

Regards,
Sudha
_______________________________________________
SNMP4J mailing list
[email protected]
https://oosnmp.net/mailman/listinfo/snmp4j

Reply via email to