Re: Problem trying to set the value of an IP address
Fulko Hew <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 3, 2010 at 3:15 AM, Roycey Cheeran <[email protected]>wrote: > Hi All > > I am trying to set an oid with a IP address with no luck so far. > > The OID is 1.3.6.1.4.1.9.9.42.1.2.2.1.2.1 > > My snmpset command is > > snmpset -v2c -c NE 192.168.101.3 1.3.6.1.4.1.9.9.42.1.2.2.1.2.1 s > 61.246.208.125 > > I get the following error message > Error in packet. > Reason: inconsistentValue (The set value is illegal or unsupported in some > way. > Your syntax should probably at the very least be: snmpset -v2c -c NE 192.168.101.3 1.3.6.1.4.1.9.9.42.1.2.2.1.2.1 a 61.246.208.125 ie. Specifying 'a' should let it translate the dotted quad address into an OCTET STRING. ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ 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