what is the device and what code running.
Most of the interface information is retrievable using this OID:
.1.3.6.1.2.1.2.2.1.7
snmpwalk -c public X.X.X.X ( make sure you configured snmp configuration and example i used here public, change as per your setup)