Solved

SNMP community string question

Posted on 2007-03-27
1
2,598 Views
Last Modified: 2012-05-05
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
0
Comment
Question by:jjc_mn
1 Comment
 
LVL 5

Accepted Solution

by:
jeffkell earned 500 total points
ID: 18804574
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Redesigning network for lab and gaming, cisco switch, pfsense router 9 100
ftp using powershell 11 51
Wireshark 7 69
policy routing to fw2 18 52
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now