tags:

views:

32

answers:

1

I want invoke my .NET assembly from snmp agent and return an XML document to the agent in order to transmit that XML file to the server (manager).

Can I use SNMP to transmit big files to the manager?

+3  A: 

The max size of an SNMP PDU is 64k (i.e. the max size of a UDP datagram). Some implementations may have smaller limits. Some networks will not pass large datagrams cleanly (they may get fragmented and not reliably reassembled).

You don't want to transfer a file through SNMP. Use a more suitable protocol: TFTP, FTP, HTTP, SCP all come to mind, depending on the needs of your application.

bstpierre
Yes, you're right. Thanks for response.
ASergan
@ASergan, please mark this as answer.
Lex Li