Dear Karthik,
By default our Snmp Agent won't receive any traps from external application. But snmp agent can triggers traps and can send it to manager. This can be done by any of the following means.
1. Just by doing a set operation for a particular node.
2. Just for a get operation.
3. Set value set exceeds some boundary values say the value is greater than 100 . And this are all the validations which we have to implement in the generated code.
We have
8001 port is to send the request (get / set.... etc ) to the application and receive response from the application.
8002 port is to send the generated traps ( which we can generate by any one of the above said means ) to the manager.
8003 port is to receive the sent trap from the agent by the manager.
note : - To generate trap for a particular node during get/set, that node should be trap defined node.
Hope this helps. Do get back to us for further support.
thanks and regards,
subarayan