SNMP community string question

Why is the trap string different? Would it be bad if I made it the same. Just starting to use SNMP pointing to a Solar Winds machine.

system-group-read-community     public
read-community  public
trap-community  SNMP-trap
jjc_mnAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jeffkellCommented:
The SNMP trap community must match the community string on the trap receiver, it serves to authenticate that the traps are coming from valid sources (to keep someone from flooding the trap receiver with bogus traps).  The SNMP community strings in your clients are used to validate requests from the server, or in your case, Solarwinds.

What actually happens is Solarwinds issues an SNMP get to your client with what it thinks is your community string.  If the community string in the request matches your clients, the client will answer.

For a trap, the process is reversed.  Your trap goes out with the community string for Solarwinds.  When the trap is received, if the community string matches Solarwinds string, the trap is processed; else it is dropped.

It's not "one string" that is used both ways -- there is a password on your client (to answer queries) and a password on the server (to accept traps).
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.