snmpgetnext result

"Dbgong" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <000801cb013d$02d298a0$0877c9e0$@cn>
Hi all,

 

I’m using net-snmp 5.4.2.1 to test ipAddressTable。

and use following command:

 

snmpgetnext -v 2C -c IPv6Ready udp6:3ffe:501:ffff:100:2E0:FFF:FE8E:7075 1.3.
6.1.2.1.4.34.1.3.2.63.254.5.1.255.255.1.0.0.0.0.0.0.0.0.0
1.3.6.1.2.1.4.34.1.4.2.63.254.5.1.255.255.1.0.0.0.0.0.0.0.0.0 1.3.6.1.2.1.4.
34.1.5.2.63.254.5.1.255.255.1.0.0.0.0.0.0.0.0.0
1.3.6.1.2.1.4.34.1.6.2.63.254.5.1.255.255.1.0.0.0.0.0.0.0.0.0

 

and result is as following:

IP-MIB::ipAddressIfIndex.ipv6.63.254.5.1.255.255.1.0.2.224.15.255.254.142.11
2.117 = INTEGER: 312

IP-MIB::ipAddressType.ipv6.63.254.5.1.255.255.1.0.2.224.15.255.254.142.112.1
17 = INTEGER: unicast(1)

IP-MIB::ipAddressPrefix.ipv6.63.254.5.1.255.255.1.0.2.224.15.255.254.142.112
.117 = OID: joint-iso-ccitt.0 # return the index in the
ipAddressPrefixTable,not real prefix

IP-MIB::ipAddressOrigin.ipv6.63.254.5.1.255.255.1.0.2.224.15.255.254.142.112
.117 = INTEGER: manual(2)

 

My questions is that the result of
IP-MIB::ipAddressPrefix.ipv6.63.254.5.1.255.255.1.0.2.224.15.255.254.142.112
.117 is right or wrong?

 

If the result of ipAddressPrefix is wrong, could you please tell me the
answer?  

 

 

in rfc4293:

ipAddressPrefix OBJECT-TYPE

    SYNTAX     RowPointer

    MAX-ACCESS read-only

    STATUS     current

    DESCRIPTION

           "A pointer to the row in the prefix table to which this

            address belongs.  May be { 0 0 } if there is no such row."

    DEFVAL { zeroDotZero }

    ::= { ipAddressEntry 5 }

 

 

 

Any help appreciated

 

Daobiao Gong

BII

------------------------------------------------------------------------------

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