I want to configure the ip's of the snmp trap receiver of a few of switch's using a PERL script. Where are those IP saved ? not in th MIB i think ( i have searched... )
our switch come from Eterasys (Vertical Horizon & Matrix E1, E7)
I can access to thoses switch with telnet, but there is an user interface and no command line, so how can I enter commands?
With an snmpset, i think it isn't possible because i can't see the receiver address in the MIB
of course I checked the manuals but it only explains how to contigure ip trap manager with the wieb or telnet interface but it doesn't deal with any command line or else.
I found some command lines which could be interesting, but i need to be connected with the console port, so it isn't very intersting for an automatic script...
You can telnet into the switch but you get a menu based gui. So a script won;t work..
You can go there webbased... but again this does not work with a script.
you found some commandline commands you can use but you have to be able to be connected through the console. so this is not what you want either.
Well last option you have is to use a scripting language and set the ip trap manager by doing an snmpset. I have tried to find the OID you need to set it, but I failed.
Best thing you can do is:
Set the ip trap manager through the console or through the web or telnet.
do an snmpwalk on the switch and pipe it to a file.
then do a search on the file for the set values and you will find the OID probably.
Thank you for your help.
I've allready tried with an IP that is easy to recognize (like 1.2.3.4). There was about 13000 lines on my MIB text file, but I didn't find the IP adress that I was looking for.
So I think that this adress isn't saved in the MIB...
I have found !!! ... but only for 1 switch ...
i've found oid's for ip trap manager, community and enable/disable state.
But on an another switch (same brand, same model) those oid's don't exist. Can i add oids to a MIB ???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.