- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Comware Based
- >
- How to backup HP5130 configuration using snmp comm...
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
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
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
04-26-2017 08:34 AM
04-26-2017 08:34 AM
How to backup HP5130 configuration using snmp commands ( as it can be done with Cisco devices)
Hello Everybody,
I've try to find if ther was a post allready opened for this kind of request, but I cannot find it?
Is it possible to generate automatic backup of HP 5130 configurations to a tftp server using snmp command, which used the snmp write community ?
For cisco device we can have these commands. look at this link:
http://www.ciscozine.com/how-to-save-configurations-using-snmp/
have you the same thing for HP switch devices ?
VBest regards.
JL MARTI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2017 07:05 AM
05-04-2017 07:05 AM
Re: How to backup HP5130 configuration using snmp commands ( as it can be done with Cisco devices)
Hi,
you might want to look into:
hh3c-config-man.mib
as an example
snmpset -v2c -c<write-community> <ip-address-of-switch> HH3C-CONFIG-MAN-MIB::hh3cCfgOperateType.5 i 3 HH3C-CONFIG-MAN-MIB::hh3cCfgOperateProtocol.5 i 2 HH3C-CONFIG-MAN-MIB::hh3cCfgOperateFileName.5 s 5130snmp2017.cfg HH3C-CONFIG-MAN-MIB::hh3cCfgOperateServerAddress.5 a <ip-address-of-tftp-server> HH3C-CONFIG-MAN-MIB::hh3cCfgOperateRowStatus.5 i 4
will write current-configuration of the switch using tftp onto the tftp-server naming the file "5130snmp2017.cfg"
Where the recurring "5" in for example HH3C-CONFIG-MAN-MIB::hh3cCfgOperateType.5 is just a "session-id".
HH3C-CONFIG-MAN-MIB::hh3cCfgOperateProtocol.5 is set to "2" which is "tftp".
All the info is in the MIB, and its sort-a selfexplaining... sort of.
Regards.
Region Midtjylland