Hi,
The default community value will be 'public'. If you have changed the value in your agent you can specify the same using the setCommunity() method. Also the default port number will be 161. You can change it using setTargetPort() method.
Try the above and get back to us.
Thanks,
Devi.