使用pysnmp从HP-Comware Swith读取mib HH3C-LSW-DEV-ADM-MIB的数据时,出现以下错误
pyasn1.error.PyAsn1Error:名称名称重复-LSX1CGX8FB0
a, b, c, d = nextCmd(SnmpEngine(), CommunityData('public'), UdpTransportTarget((ipAddress, 161)), ContextData(),
ObjectType(
ObjectIdentity('HH3C-LSW-DEV-ADM-MIB', 'hh3cLswPortType').addAsn1MibSource('/usr/share/snmp',
'http://mibs.snmplabs.com/asn1/@mib@')))
print(d)