pysnmp.sourceforge.net
HOME QUICK START DOCUMENTATION EXAMPLES DOWNLOAD
DEVELOPMENT | CONTACT |

Table of content

Network management «
PySNMP architecture
Standard SNMP Apps
Security configuration
Transport configuration
MIB variables
Other MIB Services

WARNING: you are reading historical documentation! Please, refer here.

Transport configuration

Transport configuration object is Transport domain specific. UdpTransportTarget class represents a remote network endpoint of a UDP-over-IPv4 transport.

class UdpTransportTarget( transportAddr, timeout=1, retries=5 )

Create an object representing a network path connecting two SNMP entities through a UDP/IPv4 socket.

Mandatory transportAddr parameter indicates remote address in form of a tuple of FQDN, port where FQDN is a string representing either hostname or IPv4 address in quad-dotted form, port is an integer.

Optional timeout and retries parameters may be used to modify default response timeout (1 second) and number of succesive request retries (5 times).

class Udp6TransportTarget( transportAddr, timeout=1, retries=5 )

Create an object representing a network path connecting two SNMP entities through a UDP/IPv6 socket.

Mandatory transportAddr parameter indicates remote address in form of a tuple of FQDN, port where FQDN is a string representing either hostname or IPv6 address in semicolon-separated form, port is an integer.

Optional timeout and retries parameters may be used to modify default response timeout (1 second) and number of succesive request retries (5 times).


Need help? Try PySNMP mailing lists or report to library maintainers.
SourceForge Logo