我可以通过与 UDP 不同的协议使用 SNMP 吗?
Can I use SNMP over different protocol than UDP?
我正在寻找 SNMP 运行ning 在不同于 UDP 的协议中的示例。我需要和一位教授争论,他说只能通过 UDP 运行 SNMP。有谁知道在ATM上是怎么操作的?在我看来,SNMP 是第 7 层协议,使用什么协议进行传输并不重要,但我只找到了对 UDP 的引用。请post参考。
来自RFC 1157 'A Simple Network Management Protocol (SNMP)' #4:
Protocol Specification
The network management protocol is an application protocol by which
the variables of an agent's MIB may be inspected or altered.
Communication among protocol entities is accomplished by the exchange
of messages, each of which is entirely and independently represented
within a single UDP datagram using the basic encoding rules of ASN.1
(as discussed in Section 3.2.2). A message consists of a version
identifier, an SNMP community name, and a protocol data unit (PDU).
A protocol entity receives messages at UDP port 161 on the host with
which it is associated for all messages except for those which report
traps (i.e., all messages except those which contain the Trap-PDU).
Messages which report traps should be received on UDP port 162 for
further processing.
SNMP当然可以通过除UDP之外的其他协议。例如,RFC 3430 定义了 SNMP over TCP,
https://www.rfc-editor.org/rfc/rfc3430
然而,广泛使用的 SNMP 实现在大多数情况下仍然只是 UDP,因此您很少看到 TCP 或其他协议上的应用程序(我知道 Cisco 的一些内部用法)。
嗯,真的不建议争论,希望你和你的教授有礼貌地交谈。
我正在寻找 SNMP 运行ning 在不同于 UDP 的协议中的示例。我需要和一位教授争论,他说只能通过 UDP 运行 SNMP。有谁知道在ATM上是怎么操作的?在我看来,SNMP 是第 7 层协议,使用什么协议进行传输并不重要,但我只找到了对 UDP 的引用。请post参考。
来自RFC 1157 'A Simple Network Management Protocol (SNMP)' #4:
Protocol Specification
The network management protocol is an application protocol by which the variables of an agent's MIB may be inspected or altered.
Communication among protocol entities is accomplished by the exchange of messages, each of which is entirely and independently represented within a single UDP datagram using the basic encoding rules of ASN.1 (as discussed in Section 3.2.2). A message consists of a version identifier, an SNMP community name, and a protocol data unit (PDU). A protocol entity receives messages at UDP port 161 on the host with which it is associated for all messages except for those which report traps (i.e., all messages except those which contain the Trap-PDU). Messages which report traps should be received on UDP port 162 for further processing.
SNMP当然可以通过除UDP之外的其他协议。例如,RFC 3430 定义了 SNMP over TCP,
https://www.rfc-editor.org/rfc/rfc3430
然而,广泛使用的 SNMP 实现在大多数情况下仍然只是 UDP,因此您很少看到 TCP 或其他协议上的应用程序(我知道 Cisco 的一些内部用法)。
嗯,真的不建议争论,希望你和你的教授有礼貌地交谈。