I want to create a SNMP master and SNMP agent with the help of the
Tnm-Package. Both applications should handle :
GET/SET commands
and
TRAPs
I believe(d) I need two SNMP-Session in each application; one to handle
the GET/SET Commands
and one to handle TRAPs
The generall question is: In how far is Tnm's snmp library configurable
to portnumber and Ip-Addresses??
More detailed questions in following scheme:
SNMP
Master SNMP Agent
on host
m on host a
Session Options
GET/SET
dst-address -address <host
a> -agent
dst-port -port <port
a> -port <port a>
Q1: What's the source portnumber
? Q2: What happens with portnumber
if sequence is the following:
a)
fix
set s [snmp session -port <port a>]
b)
ephemeral
s configure -agent ""
first it is a destination port number
then it is the portnumber bound by SNMP agent (I think)
TRAP
Q3: It this configurable
? -dst-address <host m>
According man-pages/README
-dst-port <trap port host m>
only a agent can bind a local
port Q4: What's the source portnumber ?
Or does Tnm Master only support
a) fix
the default portnumber
162 (?) b) ephemeral
snmp man-page only speaks about destination parameters not about a local
bind.
A local bind of a socket is done in the case you open a agent session!!
-- #-------With best regards, Mit freundlichen Gruessen, Met vriendelijke groet, -------------- #Piet Vloet #Siemens AG Austria #Mooslackengasse 17 Phone : +43-1-1707-42906 #A-1190 Vienna Fax : +43-1-1707-52605 #mailto:petrus.vloet@siemens.at WWW:http://www.siemens.at #X.400 : c=AT;a=ADA;p=SCN;o=SIEMENS;ou1=vie2;s=Vloet;g=Petrus
-- !! This message is brought to you via the `tkined & scotty' mailing list. !! Please do not reply to this message to unsubscribe. To subscribe or !! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>. !! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.