Hi, Thanks for your response. It is working now. But if I give like
[r...@a2md06031 snmp]# snmpget -v1 -c democommunity 172.22.68.14 system.sysLocation.0 SNMPv2-MIB::sysLocation.0 = STRING: HW_LAB [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0="hai" system.sysLocation.0=hai: Needs type and value Note: I have set rwcommunity in snmpd.conf Could you please point about that? Regards, Raghu -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Thursday, April 16, 2009 4:02 PM To: Raghu Ramaraj Cc: [email protected] Subject: Re: snmpd.conf IPaddress 2009/4/16 Raghu Ramaraj <[email protected]>: > Is there any other way to give network address like from IP (172.22.*.*) to > IP(172.23.*.*) ? > > If I want to access the agent from more that one system , do we need to give > IPaddress in snmd.conf? Please read the snmpd.conf(5) man page. In particular, the sections on "rocommunity" and "com2sec" com2sec [-Cn CONTEXT] SECNAME SOURCE COMMUNITY map[s] an SNMPv1 or SNMPv2c community string to a security name - either from a particular range of source addresses, or globally ("default"). A restricted source can either be a specific host- name (or address), or a subnet - represented as IP/MASK (e.g. 10.10.10.0/255.255.255.0), or IP/BITS (e.g. 10.10.10.0/24)... Note that the SOURCE token (in ro/wcommunity) is optional. You can omit this completely, to allow access from anywhere. Dave http://www.mindtree.com/email/disclaimer.html ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ 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
