nv-l

Using snmpset/get to remotely configure devices

2001-04-20 03:42:37
Subject: Using snmpset/get to remotely configure devices
From: danny AT uk.ibm DOT com
To: nv-l AT lists.tivoli DOT com
Date: Fri, 20 Apr 2001 08:42:37 +0100

Hi Everyone,

I am currently writing a variety of scripts to configure lots of devices
that support SNMP to send NetView certain traps. I am doing this using
snmpget and snmpset. I have successfully configured loads of printers and
RF access points.

The way I do it is to snmpwalk the entire MIB tree of one device, telnet to
it and configure it how I want it and then re-snmpwalk it. Compare the
walks and there are the changes I need to make (a little simplistic but you
get the gist). Often I had to locate the appropriate MIB definition file to
load in to NetView so I can get some meaningful words instead of just a
string of numbers (e.g. 1.3.6.1.4.1.388.1.683.1)

I am now attempting to do the same on a Cisco 2900XL switch. I can do the
walk and think I have found the appropriate part of the tree, but it's
still just numbers - no text. I have tried loading a variety of Cisco MIBs
to no avail.

So, why not ask Cisco - well I've trawled their website and have found yet
more MIBs to load, which I will experiment with when I have the
opportunity.

However, what I would like to find out from you guys (and gals) is whether
there is an easier way of doing this - i.e. finding out what MIB
definitions I have to load to get a certain part of the tree.

And if you have any better suggestions for how I should be making these
bulk changes, they would also be gratefully received.

Regards,

Danny Williams
Tivoli & AIX Specialist
IBM Global Services - Integrated Technology Services
mailto:danny AT uk.ibm DOT com
Tel: 665520 (01926-465520) -- MOBX: 275520 (07967-275520)


<Prev in Thread] Current Thread [Next in Thread>