Bluehost.com Web Hosting $6.95

[SOLVED]: the accurate description of the snmp error

This is a discussion on [SOLVED]: the accurate description of the snmp error within the SNMP Users forums, part of the Networking and Network Related category; Hi Dave, Thank you! I got it. > With SNMPv1, a read-only community (not user) trying to > SET ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-20-2005
Ying Wang
 
Posts: n/a
Default [SOLVED]: the accurate description of the snmp error

Hi Dave,

Thank you! I got it.

> With SNMPv1, a read-only community (not user) trying to
> SET a value will result in a noSuchName error.


I still think noSuchName is not a suitable error type for this case.

BR

yolanda

-----Original Message-----
From: Dave Shield [mailto:D.T.Shield@csc.liv.ac.uk]=20
Sent: 2005=C4=EA9=D4=C219=C8=D5 16:18
To: Ying Wang(CD)
Cc: net-snmp-users@lists.sourceforge.net
Subject: Re: the accurate description of the snmp error

On Mon, 2005-09-19 at 13:49 +0800, Ying Wang(CD) wrote:
> Where can I find the accurate description of the snmp error?=20


In the SNMP specification documents - RFC 1157 for SNMPv1,
RFC 1905 for SNMPv2c, RFCs 3414 and 3416 for SNMPv3/USM.


> Which error is right when a invalid user to access mib,
> such as a SNMPv1 read-only user does a configuration,
> or a unknown user read something?


With SNMPv1, a read-only community (not user) trying to
SET a value will result in a noSuchName error.
With SNMPv2c (or SNMPv3), a read-only community (or user)
trying to SET a value will result in a noAccess error.

With SNMPv1 and SNMPv2c, a completely unknown community will
be silently dropped, and no response will be returned at all.
With SNMPv3, this will return an authenticationFailure
report.



See the RFCs for the full gory details.

Dave


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:12 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0