Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to implement com2sec like net-snmp #419

Open
korimas opened this issue Apr 27, 2022 · 1 comment
Open

how to implement com2sec like net-snmp #419

korimas opened this issue Apr 27, 2022 · 1 comment

Comments

@korimas
Copy link

korimas commented Apr 27, 2022

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

@lextm
Copy link

lextm commented Feb 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants