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/

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

Reply via email to