I know they are EOL but does anyone know where can I obtain the SNMP
MIB's for the switches and does anyone know whether or not you can
change the port's admin status (link up/down) and the port's access VLAN
using SNMP?
I'd prefer not to have to jump on over telnet and fire the commands at
it so was thinking of using SNMP.
Thanks
Steve
--
Steve Carr
http://gpf.me.uk
>I know they are EOL but does anyone know where can I obtain the SNMP=20
>MIB's for the switches
Choose the oldest supported switch (2950), and an image that ran on
the 2924XL (ie. 12.0(5)WS) and you'll be close enough (99.5% of the way).
Or download them from ftp://ftp-sj.cisco.com/pub/mibs
>and does anyone know whether or not you can=20
>change the port's admin status (link up/down) and the port's access VLAN =
>using SNMP?
Not the best of my knowledge. You could have SNMP tickle the switch
to download config fragements VIA tftp.
Although having a process that can telnet into the switch
automagically and do the config commands could do what you need
(ie. the clogin script out of the RANCID package, or something from
the COSI-NMS collection on Source Forge) could work for you?
Thanks, just after posting I stumbled across that FTP site and managed
to get most of the MIBs, had to hunt for the rest that were being
complained about when trying to do an snmpwalk.
>> and does anyone know whether or not you can=20
>> change the port's admin status (link up/down) and the port's access VLAN =
>> using SNMP?
>
> Not the best of my knowledge. You could have SNMP tickle the switch
> to download config fragements VIA tftp.
>
> Although having a process that can telnet into the switch
> automagically and do the config commands could do what you need
> (ie. the clogin script out of the RANCID package, or something from
> the COSI-NMS collection on Source Forge) could work for you?
Thought that would be the case, I have to write this bit by hand
unfortunately, it's for a University (degree) project, written in Java,
so if I cant do it by SNMP will need to use one of the telnet classes to
jump on and do what I need.
Do you know if you can get the current VLAN from SNMP, I did dump the
snmpwalk but couldn't seem to see anything that looked like the VLAN
numbers I am using.