pysnmp icon indicating copy to clipboard operation
pysnmp copied to clipboard

how to implement com2sec like net-snmp

Open korimas opened this issue 2 years ago • 1 comments

i want to implement the snmp agent. at the agent side, i want to specify the source address and each source address can use different community, what should id do?

i can use config below to implement by net-snmp image

korimas avatar Apr 27 '22 00:04 korimas

What you asked is actually how to configure an agent so that it handles security name/community name mapping properly.

The code base has an example showing the right way to go,

https://github.com/lextudio/pysnmp/blob/v5.0.35/examples/v3arch/asyncio/agent/cmdrsp/multiple-snmp-communities.py#L40

lextm avatar Feb 11 '24 01:02 lextm