[c-nsp] IPv6 neighbor table via SNMP

Peter Rathlev peter at rathlev.dk
Mon Jul 11 14:24:22 EDT 2011


On Mon, 2011-07-11 at 10:39 -0600, Tom Ammon wrote:
> Hmmm...After generating some IPv6 traffic, then running the walk, it
> doesn't seem to know about this OID:
> 
> [root at marchingmenfs ~]# snmpwalk -v 2c -c xxxxxxxxxxxxxxxxx
>   inscc-rtr-core-a1-2.redhorn CISCO-IETF-IP-MIB::cInetNetToMediaTable
> Cannot find module (CISCO-IETF-IP-MIB): At line 0 in (none)
> CISCO-IETF-IP-MIB::cInetNetToMediaTable: Unknown Object Identifier

This looks like a local problem with locating the module. Are you sure
CISCO-IETF-IP-MIB.my is present and available to your SNMP executable?

Try running this command:

 snmptranslate -m CISCO-IETF-IP-MIB SNMPv2-MIB::sysName.0

It should just output "SNMPv2-MIB::sysName.0" and nothing else. If the
module is missing you'd get something like:

 $ snmptranslate -m CISCO-IETF-IP-MIB SNMPv2-MIB::sysName.0
 No log handling enabled - turning on stderr logging
 Cannot find module (CISCO-IETF-IP-MIB): At line 0 in (none)
 SNMPv2-MIB::sysName.0
 $

-- 
Peter




More information about the cisco-nsp mailing list