Thanks Robert story.

I have changed it to 
com2sec local     127.0.0.1       MQT
com2sec mynetwork 192.168.0.0/24     MQT

and snmpwalk,snmpget ,snmp can't work. 

Then I changed to the fellowing:
com2sec local     127.0.0.1       MQT
com2sec mynetwork 192.168.0.123/32     MQT

snmpget ,snmpwalk can get out information of the MIB,
But snmpset still can't work.
 snmpset -v 2c -c MQT 192.168.0.123 system.sysName.0 s
"mm"
Timeout: No Response from 192.168.0.123

I use ucd-snmp 4.1.2 .


 --- Robert Story <[EMAIL PROTECTED]> 的正文:
> On Fri, 7 Jan 2005 10:30:22 +0800 (CST) hui wrote:
> HG> com2sec local     127.0.0.1       MQT
> HG> com2sec mynetwork 192.168.0.123/24      MQT
> 
> This line is not valid, and should have logged an
> error. You have a host IP w/a
> network mask. Change it to .0.0/24 or .0.123/32.
> 
> -- 
> Robert Story; NET-SNMP Junkie
> Support: <http://www.net-snmp.org/>
> <irc://irc.freenode.net/#net-snmp>  
> Archive:
>
<http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>
> 
> You are lost in a twisty maze of little standards,
> all different. 
> 
> 
>
-------------------------------------------------------
> The SF.Net email is sponsored by: Beat the
> post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt
> from ThinkGeek.
> It's fun and FREE -- well,
> almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> 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/listinfo/net-snmp-users
>  

_________________________________________________________
Do You Yahoo!?
150万曲MP3疯狂搜,带您闯入音乐殿堂
http://music.yisou.com/
美女明星应有尽有,搜遍美图、艳图和酷图
http://image.yisou.com
1G就是1000兆,雅虎电邮自助扩容!
http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to