Re: creating row in inetCidrRouteTable

"Asaf Ohaion" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks Ryota

I tried:

snmpset 192.168.43.113
IP-FORWARD-MIB::inetCidrRouteStatus.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
i 4
IP-FORWARD-MIB::inetCidrRouteIfIndex.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
i 2
IP-FORWARD-MIB::inetCidrRouteMetric1.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
i 0
IP-FORWARD-MIB::inetCidrRouteType.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
i 4

but i'm getting :

Error in packet.
Reason: notWritable (That object does not support modification)
Failed object:
IP-FORWARD-MIB::inetCidrRouteStatus.ipv4."192.168.20.1".32.2.0.0.ipv4."192.168.0.1"

10x

> Dear Asaf
>
> I could create an easy entry.
>
> snmpset -v2c -c private 127.0.0.1 \
>>
> IP-FORWARD-MIB::inetCidrRouteStatus.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 4  \
>>
> IP-FORWARD-MIB::inetCidrRouteIfIndex.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 2 \
>>
> IP-FORWARD-MIB::inetCidrRouteMetric1.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 0 \
>>
> IP-FORWARD-MIB::inetCidrRouteType.1.4.192.168.20.1.32.2.0.0.1.4.192.168.0.1
> i 4
>
>
>> how can the agent separate the parts? (e.g : oid is 0.0, but could be
>> longer)
> The syntax of the object is explained in Chapter 7.7 of RFC2578.
> It could be an answer to your question.
>
> Regards
>
>
> yushina
> --------------------------------------
> 2010 FIFA World Cup News [Yahoo!Sports/sportsnavi]
> http://pr.mail.yahoo.co.jp/southafrica2010/
>


-- 
Asaf Ohaion
Lingnu Open Source Consulting Ltd
09-7655871 (204), 0547-920828
http://www.lingnu.com


------------------------------------------------------------------------------
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
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.