Advertisement
sissou123

Untitled

Nov 12th, 2023
487
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.37 KB | Source Code | 0 0
  1. >>> from pysnmp.hlapi import *
  2. >>>
  3. >>> SnmpEngine()
  4. SnmpEngine(snmpEngineID=OctetString(hexValue='80004fb80567'))
  5. iterator = getCmd(SnmpEngine(),
  6.                   CommunityData('public'),
  7.                   UdpTransportTarget(('192.168.149.29', 161)),
  8.                   ContextData(),
  9.                   ObjectType(ObjectIdentity("1.3.6.1.2.1.1.3")))
  10. https://tii.la/r2Qf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement