cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
739
Views
0
Helpful
1
Replies

ciscoStackMIB questions

yjdabear
VIP Alumni
VIP Alumni

The following can get configs tftp'ed from most of the CatOS 8.x Cat6Ks except one:

snmpset -c string cat8sup32switch 1.3.6.1.4.1.9.5.1.5.1.0

OctetString tftphost 1.3.6.1.4.1.9.5.1.5.2.0 OctetString cat8sup32switch.config

1.3.6.1.4.1.9.5.1.5.3.0 integer 1 1.3.6.1.4.1.9.5.1.5.4.0 integer 3

On this particular one, 1.3.6.1.4.1.9.5.1.5.3.0 returns integer 5, which corresponds to the slot number where the supervisor module is. The only difference I find so far is this switch has an empty slot 1, unlike the few others I checked. Does that explain why the snmpset works against the others even though the SUPs are really all in slot 5, but fails against this one?

What're the potential pitfalls of simply using the following, without having to bother with specifying the slot number, etc. as in the previous approach?

snmpset -v 2c -c string cat8sup32switch .1.3.6.1.4.1.9.2.1.55.tftphost-ip-addr OctetString cat8sup32switch.config

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Using the OLD-CISCO* MIBs with CatOS will not work. Try using the CISCO-CONFIG-COPY-MIB instead. A tech tip can be found at http://www.cisco.com/en/US/tech/tk648/tk362/technologies_configuration_example09186a0080094aa6.shtml .