opensolutions / OSS_SNMP

A PHP SNMP library for people who hate SNMP, MIBs and OIDs!
https://github.com/opensolutions/OSS_SNMP/wiki
Other
107 stars 58 forks source link

how to get L3 interface IP #42

Closed nchucc closed 6 years ago

nchucc commented 7 years ago

I can use snmpwalk get cisco L3 switch interfaces IP information snmpwalk -v 2c -c community switchIP 1.3.6.1.2.1.4.20.1.1 I search Document "\ OSS_SNMP \MIBS \Iface" not can find class Is it possible to use in oss_snmp?

kantholy commented 6 years ago

use should be query all assigned IP addresses via $host->useIP()->ipAddressList()

see OSS_SNMP/MIBS/Ip.php - issue can be closed.

barryo commented 6 years ago

Thanks @kantholy