0

我正在接收来自设备的陷阱并希望转发它。在转发之前,我想设置源系统的对等地址。

4

1 回答 1

0

Your SNMP manager could for example add the variable binding snmpTrapAddress.0 to the trap, setting its value to the address of the originating host.

But this is a bit of a hack. If you're writing custom software just to forward traps, I'd suggest that you're reinventing the whell. Consider instead installing net-snmp and letting it forward the traps for you.

于 2017-07-24T13:56:28.053 回答