Class Protocols.SNMP.protocol
- Inherit
snmp
inherit Stdio.UDP : snmp
- Variable
snmp_community
string
Protocols.SNMP.protocol.snmp_community- Description
SNMP community string
should be set to the appropriate SNMP community before sending a request.
- Note
Set to "public" by default.
- Variable
snmp_version
int
Protocols.SNMP.protocol.snmp_version- Description
SNMP version
currently version 1 and 2 are supported.
- Method
create
Protocols.SNMP.protocol Protocols.SNMP.protocol(
int
|void
rem_port
,string
|void
rem_addr
,int
|void
loc_port
,string
|void
loc_addr
)- Description
create a new SNMP protocol object
- Parameter
rem_port
- Parameter
rem_addr
remote address and UDP port (optional)
- Parameter
loc_port
- Parameter
loc_addr
local address and UDP port (optional)