tips:airos

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tips:airos [2019/03/15 11:20] – [SNMP] scipiotips:airos [2019/03/15 11:24] (current) – [SNMP] scipio
Line 4: Line 4:
  
 <code> <code>
-snmpwalk -c lessinianet.snmp -v 1 10.210.12.249 IF-MIB::ifDescr                                 SIGINT(2) ↵  3784  11:15:45+snmpwalk -c lessinianet.snmp -v 1 10.210.12.249 IF-MIB::ifDescr                                
 IF-MIB::ifDescr.1 = STRING: lo IF-MIB::ifDescr.1 = STRING: lo
 IF-MIB::ifDescr.2 = STRING: eth0 IF-MIB::ifDescr.2 = STRING: eth0
Line 19: Line 19:
 </code> </code>
  
-Cercando dalla prima query i "wifi*" e sostituendo l'indice corrispondente nella seconda query si ottiene il mac+Cercando dalla prima query i "wifi*" e sostituendo l'indice corrispondente (nell'esempio 4) nella seconda query si ottiene il mac. Ovviamente da fare usande le librerie SNMP PHP
  
 ===== http API ===== ===== http API =====
  • tips/airos.1552645250.txt.gz
  • Last modified: 2019/03/15 11:20
  • by scipio