- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: SNMP and hpsystem MIBS
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2006 01:01 PM
тАО05-01-2006 01:01 PM
What I would like to do is send an snmp tftp command to have there current config send to a storage location.
I have the oids from the hp mib files, but can not get them to work.
Note: I think the hpSystem mibs/oids sub-branch are not on these switches.
eg: I can't walk
HP ProCurve Switch 2524# walkmib iso.3.6.1.4.1.11.2.3
No such variable: iso.3.6.1.4.1.11.2.3.
Yet a one level back works
walkmib iso.3.6.1.4.1.11.2
... results ...
Is there something that needs to be enabled, or is there a different set of OIDs I can use to tell the switch to tftp a config.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2006 02:02 PM
тАО05-01-2006 02:02 PM
SolutionWhat you can do instead though, is enable and disable the TFTP server on the switch:
5308# walkmib 1.3.6.1.4.1.11.2.14.11.5.1.7.1.5.6
hpSwitchIpTftpMode.0 = 1 - indicates disabled hpSwitchIpTftpMode.0 = 2 -
indicates enabled
Below are some example linux commands to achieve this:
# snmpset -v2c -c public
tftp
tftp> get startup-config
tftp> quit
# snmpset -v2c -c public
For the 4000M I believe you need to get 'browse' instead of the startup-config.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2006 02:23 PM
тАО05-01-2006 02:23 PM
Re: SNMP and hpsystem MIBS
I will play and test a bit more, but it worked form my 2524.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-01-2006 03:56 PM
тАО05-01-2006 03:56 PM
Re: SNMP and hpsystem MIBS
Just been playing and the tftp is restricted to the IP Managers (which is good).
Also the 4000, you need to get config
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 03:25 AM
тАО05-03-2006 03:25 AM
Re: SNMP and hpsystem MIBS
http://www.kiwisyslog.com/cattools2.htm
My favorite feature is the email notification on config changes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-03-2006 11:05 AM
тАО05-03-2006 11:05 AM
Re: SNMP and hpsystem MIBS
eg: When I get snmp traps, or an snmp oid value (relative to a prev. value) is outside a threshold, it will submit a job to our Job Tracking system for a tech to look at.
So when all is working, my techs should just look at there job list and the problems will be listed. A bit more proactive then just waiting until someone tells me its broken, then go looking for the problem.
So, back to task at hand... This was just so I could auto d/l config images as part of the bigger picture.
Thanks again for the help and advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 08:37 AM
тАО05-08-2006 08:37 AM
Re: SNMP and hpsystem MIBS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-08-2006 11:40 AM
тАО05-08-2006 11:40 AM
Re: SNMP and hpsystem MIBS
Some notes (feel free to correct me anyone)
SNMP - Simple Network Management Protocol
In short its a way to send a command to a device and for device to take some action.
Two Key Sides - Read and Write
Read -> Send a command, Receive a value (or group of values)
Write -> Send a command, that either sets a value to start a process.
What are the Commands ?
These are a group of decimal seperated numbers called OIDs. Vendors define these in text form called MIBs.
The are some generic OIDs for base informaion and thats a good place to start.
The hardest thing I have found is "what can it do and what OIDs do I use to do it?"
To help here, you need a MIB Builder (to compile the MIBs into OIDs).
If you have all your MIBs loaded into an snmp system, then to a walk of .1 this will list every value that can be read (or at least what you can currently see). Since the MIBs are loaded you should get text descriptions of the values.
Play, Play then Play some more. Linuc has the cli tools snmpset, snmpget and snmpwalk these are a good place to start.
Feel free to ask any questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2008 11:34 AM
тАО03-27-2008 11:34 AM
Re: SNMP and hpsystem MIBS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 12:36 PM
тАО07-03-2008 12:36 PM
Re: SNMP and hpsystem MIBS
http://www.dpstele.com/layers/l2/snmp_l2_tut_part1.php
Sounds like the introduction you were looking for.
-Eric