[c-nsp] SNMP descrepancy
Phil Mayers
p.mayers at imperial.ac.uk
Wed Jun 23 10:32:35 EDT 2010
On 23/06/10 15:11, Drew Weaver wrote:
> router#sh ip arp vlan 643
> Protocol Address Age (min) Hardware Addr Type Interface
> Internet 10.1.164.46 2 0080.a38c.33d4 ARPA Vlan643
> Internet 10.1.164.41 - 000f.f8a6.6d40 ARPA Vlan643
> Internet 10.1.164.42 146 0030.48bf.3230 ARPA Vlan643
>
> [root at dev html]# snmpwalk -v2c -c public at 643 192.168.0.1 .1.3.6.1.2.1.17.4.3.1.1
This is the dot1dTpFdb i.e. the "sh mac-address"; and by default, its
just for vlan 1.
> SNMPv2-SMI::mib-2.17.4.3.1.1.0.15.248.166.109.64 = Hex-STRING: 00 0F F8 A6 6D 40
> SNMPv2-SMI::mib-2.17.4.3.1.1.0.128.163.140.51.212 = Hex-STRING: 00 80 A3 8C 33 D4
>
> Does anyone know why I appear to get different data from SNMP than I do from the switch?
Because you're polling the wrong oid?
ipNetToMedia is the arp table.
More information about the cisco-nsp
mailing list