nv-l
[Top] [All Lists]

Re: Using snmpset/get to remotely configure devices

To: nv-l@lists.tivoli.com
Subject: Re: Using snmpset/get to remotely configure devices
From: "Leslie Clark" <lclark@us.ibm.com>
Date: Fri, 20 Apr 2001 08:30:07 -0400
What I do is use the MIB Browser, go to the part of the private tree that
I know I have loaded, and let it rip. In the output, I see the output
change
from names to numbers, eg

  word1.word2.word3.44.33.55.66...

Then go to /usr/OV/snmp_mibs, where the Cisco mibs are all sitting, and

    grep " { word3 44 }"  *
or just
    grep "{ word3 "  *

That tells me which mib file contains the definition of that next part of
the tree.
Load and repeat.

Your solution made me laugh. Sometimes brute force is just the ticket, eh?

Cordially,

Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit


danny@uk.ibm.com@tkg.com on 04/20/2001 03:42:37 AM

Please respond to IBM NetView Discussion <nv-l@tkg.com>

Sent by:  owner-nv-l@tkg.com


To:   nv-l@tkg.com
cc:
Subject:  [NV-L] Using snmpset/get to remotely configure devices





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@uk.ibm.com
Tel: 665520 (01926-465520) -- MOBX: 275520 (07967-275520)


_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l


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

Archive operated by Skills 1st Ltd

See also: The NetView Web