Re: SNMP v1 traps-community string

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/4/8 Tanisha Kashyap <[email protected]>:
> Is it mandatory to enter something in the community string field?

The structure of an SNMP request is fixed.
Community-based SNMP requests *must* include a community
string in the appropriate place.

> Can it be of zero length?

In principle, yes.
A zero-length string is a perfectly valid string,
and is legal within the SNMP specs.

It's possible that certain SNMP applications may have difficulty
with processing such a community string, but it is strictly valid.


> If yes, then is there any  default value that will be used or is it left to
> the developer to decide?

There is no default community defined in the SNMP specs.
That's left up to the developer.

With the Net-SNMP toolkit, this will either be "public" or the
empty string, depending on how the code was originally configured.


Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.