我在python中實現SNMP代理,並使用MIB HOST-RESOURCES-MIB。我需要設置的字段之一是hrSWRunID。該OID被定義爲ProductID類型和定義的用於ProductID狀態 的ProductID :: = TEXTUAL-公約 當前狀態 說明 「這個文本的約定旨在標識 manufacturer, model, and version of a specific
我試圖使用PySNMP模塊從Cisco交換機輸出ifTbale表。 這裏是我當前的代碼: from pysnmp.hlapi import *
for (errorIndication,
errorStatus,
errorIndex,
values) in nextCmd(SnmpEngine(),
CommunityData('publi