Pisani Giovanni
2016-03-31 16:47:42 UTC
Hi All,
I am using an "old" net-snmp version (net-snmp-5.5.0-1.x86.exe) to get information from stacked switches via the snmpwalk command, but can't figure out why snmpwalk behaves slightly different in 2 different systems.
I try to explain : I need to get Mac Addresses of devices connected to 3 stacked switches and the std output should be as usual something like this :
snmpwalk -c public -v1 10.14.1.253 .1.3.6.1.2.1.17.4.3.1.1
...
This command works fine at a company site :
snmpwalk -c public -v1 10.14.1.253 .1.3.6.1.2.1.17.4.3.1.1
but...here at my company site I need to add the "-Ox" parameter to get the MAC address in Hex format like this :
snmpwalk -Ox -c public -v1 10.14.1.253 .1.3.6.1.2.1.17.4.3.1.1
I suppose the Switches brand does not affect this behavior and the co-workers ensure they use the same net-snmp version. Do you think is it worth I investigate on net-snmp version difference?
Thanks a lot for your help
Giovanni
I am using an "old" net-snmp version (net-snmp-5.5.0-1.x86.exe) to get information from stacked switches via the snmpwalk command, but can't figure out why snmpwalk behaves slightly different in 2 different systems.
I try to explain : I need to get Mac Addresses of devices connected to 3 stacked switches and the std output should be as usual something like this :
snmpwalk -c public -v1 10.14.1.253 .1.3.6.1.2.1.17.4.3.1.1
...
This command works fine at a company site :
snmpwalk -c public -v1 10.14.1.253 .1.3.6.1.2.1.17.4.3.1.1
but...here at my company site I need to add the "-Ox" parameter to get the MAC address in Hex format like this :
snmpwalk -Ox -c public -v1 10.14.1.253 .1.3.6.1.2.1.17.4.3.1.1
I suppose the Switches brand does not affect this behavior and the co-workers ensure they use the same net-snmp version. Do you think is it worth I investigate on net-snmp version difference?
Thanks a lot for your help
Giovanni