From: SourceForge.net <no...@so...> - 2005-01-28 17:26:26
|
Bugs item #1111585, was opened at 2005-01-28 09:10 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1111585&group_id=12694 Category: feature request Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: IF-MIB::ifPhysAddress reports invalid MAC when using net-snm Initial Comment: When using the net-snmp to get or walk a device it reports an invalid MAC by ignoring some zeros in the MAC. Other SNMP tools pull the information without issues. Here is the invalid output: IF-MIB::ifPhysAddress.16777219 = STRING: 0:4:23:a7:67:55 Here are other utilities and there output output: Switch1 return from Solarwinds MIb Browser: ifPhysAddress.1 000B.5FB6.2E81 ifPhysAddress.2 000B.5FB6.2E82 ifPhysAddress.3 000B.5FB6.2E83 ifPhysAddress.4 000B.5FB6.2E84 ifPhysAddress.5 000B.5FB6.2E85 ifPhysAddress.6 000B.5FB6.2E86 Switch2 return from Solarwinds MIb Browser: ifPhysAddress.1 000F.8FF7.AE40 ifPhysAddress.10001 000F.8FF7.AE03 ifPhysAddress.10002 000F.8FF7.AE04 ifPhysAddress.10003 000F.8FF7.AE05 ifPhysAddress.10004 000F.8FF7.AE06 ifPhysAddress.10005 000F.8FF7.AE07 From SNMPWALK on MAC OSX using BASH shell snmpwalk -v1 -cprivate 192.168.1.3 1.3.6.1.2.1.2.2.1.6 IF-MIB::ifPhysAddress.1 = STRING: 0:b:5f:b6:2e:81 IF-MIB::ifPhysAddress.2 = STRING: 0:b:5f:b6:2e:82 IF-MIB::ifPhysAddress.3 = STRING: 0:b:5f:b6:2e:83 IF-MIB::ifPhysAddress.4 = STRING: 0:b:5f:b6:2e:84 IF-MIB::ifPhysAddress.5 = STRING: 0:b:5f:b6:2e:85 IF-MIB::ifPhysAddress.6 = STRING: 0:b:5f:b6:2e:86 IF-MIB::ifPhysAddress.7 = STRING: 0:b:5f:b6:2e:87 IF-MIB::ifPhysAddress.8 = STRING: 0:b:5f:b6:2e:88 AP return from Solarwinds MIb Browser: ifPhysAddress.1 000E.844B.0A82 ifPhysAddress.2 000B.BEA9.E21D AP from GETIF 2.3.1 int. admin oper type MTU descr. speed ip address mask phys Vendor 1 up up 71 1500 Dot11Radio0 11000000 000E844B0A82 2 up up ethernet-csmacd 1500 FastEthernet0 100000000 000BBEA9E21D 3 up up other 1500 Null0 4294967295 "" 4 up up 135 1500 Dot11Radio0.1-802.1Q vLAN subif 11000000 000E844B0A82 5 up up 135 1500 Dot11Radio0.98-802.1Q vLAN subif 11000000 000E844B0A82 6 up up 135 1500 FastEthernet0.1-802.1Q vLAN subif 100000000 000BBEA9E21D 7 up up 135 1500 FastEthernet0.98-802.1Q vLAN subif 100000000 000BBEA9E21D 8 up up ethernet-csmacd 1500 BVI1 11000000 192.168.001.007 255.255.255.000 000BBEA9E21D 9 up down 71 1500 Virtual-Dot11Radio0 11000000 000E844B0A82 10 up down 135 1500 Virtual-Dot11Radio0.1-802.1Q vLAN subif 11000000 000E844B0A82 11 up down 135 1500 Virtual-Dot11Radio0.98-802.1Q vLAN subif 11000000 000E844B0A82 From SNMPWALK on MAC OSX using BASH shell snmpwalk -v1 -cprivate 192.168.1.7 1.3.6.1.2.1.2.2.1.6 IF-MIB::ifPhysAddress.1 = STRING: 0:e:84:4b:a:82 IF-MIB::ifPhysAddress.2 = STRING: 0:b:be:a9:e2:1d IF-MIB::ifPhysAddress.3 = STRING: IF-MIB::ifPhysAddress.4 = STRING: 0:e:84:4b:a:82 IF-MIB::ifPhysAddress.5 = STRING: 0:e:84:4b:a:82 IF-MIB::ifPhysAddress.6 = STRING: 0:b:be:a9:e2:1d IF-MIB::ifPhysAddress.7 = STRING: 0:b:be:a9:e2:1d IF-MIB::ifPhysAddress.8 = STRING: 0:b:be:a9:e2:1d IF-MIB::ifPhysAddress.9 = STRING: 0:e:84:4b:a:82 From SNMPUTIL command line tool (Windows 2000 Server Resource Kit) snmputil walk 192.168.1.7 private .1.3.6.1.2.1.2.2.1.6 Variable = interfaces.ifTable.ifEntry.ifPhysAddress.1 Value = OCTET STRING - <0x00><0x0e><0x84><0x4b><0x0a><0x82> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.2 Value = OCTET STRING - <0x00><0x0b><0xbe><0xa9><0xe2><0x1d> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.3 Value = OCTET STRING - <NULL> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.4 Value = OCTET STRING - <0x00><0x0e><0x84><0x4b><0x0a><0x82> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.5 Value = OCTET STRING - <0x00><0x0e><0x84><0x4b><0x0a><0x82> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.6 Value = OCTET STRING - <0x00><0x0b><0xbe><0xa9><0xe2><0x1d> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.7 Value = OCTET STRING - <0x00><0x0b><0xbe><0xa9><0xe2><0x1d> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.8 Value = OCTET STRING - <0x00><0x0b><0xbe><0xa9><0xe2><0x1d> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.9 Value = OCTET STRING - <0x00><0x0e><0x84><0x4b><0x0a><0x82> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.10 Value = OCTET STRING - <0x00><0x0e><0x84><0x4b><0x0a><0x82> Variable = interfaces.ifTable.ifEntry.ifPhysAddress.11 Value = OCTET STRING - <0x00><0x0e><0x84><0x4b><0x0a><0x82> snmpwalk 5.1.2 OS OpenBSD 3.6 command: snmpwalk -v 1 -c community IP | more ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1111585&group_id=12694 |