交换机上的SNMP代理配置为V1。我使用lextm snmp库VersionCode.V2来获取无效的端口号。版本是否匹配以获取信息?
答案 0 :(得分:0)
根据SNMPv1 & SNMPv2c interoperability,他们似乎会这样做:
As presently specified, SNMPv2c is incompatible with SNMPv1 in two key
areas: message formats and protocol operations. SNMPv2c messages use
different header and protocol data unit (PDU) formats from SNMPv1 messages.
SNMPv2c also uses two protocol operations that are not specified in SNMPv1.
Furthermore, RFC 2576 defines two possible SNMPv1/v2c coexistence
strategies: proxy agents and bilingual network-management systems.
在定位v1代理时,您选择在v2中实施客户端的原因是什么?