- Community Home
- >
- Networking
- >
- Legacy
- >
- Switches, Hubs, Modems
- >
- Re: configuration uploading?
Switches, Hubs, and Modems
1753297
Members
6578
Online
108792
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО03-04-2003 05:06 PM
тАО03-04-2003 05:06 PM
configuration uploading?
OK, I've figured out how to use the hpicfDownload mib to automate configuration and flash downloading.
Now I'm trying to figure out a way to automate configuration uploading. I'd like to be able to do one of the following:
1. Use an SNMP command to have the switch tftp it's running or startup config to my NMS.
2. Or, use a TFTP client on the NMS to download the startup config from the switch.
From my search of the HP mibs, I can't find a command for 1.
Since the switches run a TFTP server, and you can download the firmware from it, it seems to me that the startup config might be available also, I'd just need to know what the filename is.
These are the switches I'm working with:
4100gl series
2524
4000M
Thanks.
-David
Now I'm trying to figure out a way to automate configuration uploading. I'd like to be able to do one of the following:
1. Use an SNMP command to have the switch tftp it's running or startup config to my NMS.
2. Or, use a TFTP client on the NMS to download the startup config from the switch.
From my search of the HP mibs, I can't find a command for 1.
Since the switches run a TFTP server, and you can download the firmware from it, it seems to me that the startup config might be available also, I'd just need to know what the filename is.
These are the switches I'm working with:
4100gl series
2524
4000M
Thanks.
-David
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2003 07:18 PM
тАО03-04-2003 07:18 PM
Re: configuration uploading?
I'd be surprised if it were possible to get the config with tftp. Bit of a security problem I'd think. I suppose if it has a name it's startup_config.
The only MIBS I see are the switchconfig mibs but then you only get one little piece at a time.
Have you looked at kiwi cattools? They are meant for cisco routers but the HPs are so close that they should work OK.
http://www.kiwisyslog.com/products.htm#cattools
Ron
The only MIBS I see are the switchconfig mibs but then you only get one little piece at a time.
Have you looked at kiwi cattools? They are meant for cisco routers but the HPs are so close that they should work OK.
http://www.kiwisyslog.com/products.htm#cattools
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2003 08:57 AM
тАО03-05-2003 08:57 AM
Re: configuration uploading?
Thanks for the reply. Cattools looks interesting, but my NMS is Linux based.
The startup config filename is apparently "startup-config" on the 4100gl, but it results in an access violation if you try and get it with tftp even if the client IP has been granted manager level authorization.
Anyone else have any suggestions before I'm forced to script a telnet login to send the cli copy command?
Thanks.
-David
The startup config filename is apparently "startup-config" on the 4100gl, but it results in an access violation if you try and get it with tftp even if the client IP has been granted manager level authorization.
Anyone else have any suggestions before I'm forced to script a telnet login to send the cli copy command?
Thanks.
-David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-05-2003 11:50 AM
тАО03-05-2003 11:50 AM
Re: configuration uploading?
Perhaps I can save you a little trouble on the scripting. The following is cleaned up version of an actual script that we use to talk to our 3COM switches:
REMOTE=A.B.C.D
(sleep 5
echo "\r"
sleep 1
echo "loginname\r"
sleep 1
echo "devicepassword\r"
sleep 5
echo "command 1\r"
sleep 1
echo "command 2\r"
sleep 1
echo "command 3\r"
sleep 5
echo "exit\r"
sleep 1
echo "logout\r"
echo "\r") |telnet $REMOTE
The need for the \r changes between devices. Sometimes they need it and sometimes they don't. You can adjust the sleep times as required.
Ron
REMOTE=A.B.C.D
(sleep 5
echo "\r"
sleep 1
echo "loginname\r"
sleep 1
echo "devicepassword\r"
sleep 5
echo "command 1\r"
sleep 1
echo "command 2\r"
sleep 1
echo "command 3\r"
sleep 5
echo "exit\r"
sleep 1
echo "logout\r"
echo "\r") |telnet $REMOTE
The need for the \r changes between devices. Sometimes they need it and sometimes they don't. You can adjust the sleep times as required.
Ron
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP