- Community Home
- >
- Networking
- >
- IMC
- >
- Re: Bypass SNMP backup on Cisco devices
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
тАО09-07-2017 06:28 AM
тАО09-07-2017 06:28 AM
Hello eveyrone,
I'm working on HP iMC for about two months. My first job was to integrate the auto config backup of Gigamon devices, which wasn't initially planned in HP iMC. After few weeks, the job is done !
Now, we're experiencing an issue on Cisco Nexus 7K :
By default, HP iMC backup their configuration file easily. But ! Our Nexus 7K are configured with 2 VDCs. We'd like to backup a file in iMC wich contains the configuration of each one of device VDCs.
A solution that I've found is to make/modify TCL scripts and xml files of NexusIOSGeneric adapter folder, and add the appropriate option "vdc-all" to the backup command sent by script. Then it's necessary to move them into CiscoNX7K adapter folder, and remove the "<uses-adapter>" balise in its adapter.xml, which points out to NexusIOSGeneric adapter folder.
But, when SNMP Write is correctly configured, iMC is forcing a backup throught it instead of using my TCL scripts... The only way I've found is to remove the Write Community Field of the device in iMC, but I'd like to know if there's another way to force the use of scripts before SNMP instead of this tricky one way...
Thanks for your attention, hope someone will help me figure it out !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-07-2017 09:40 AM
тАО09-07-2017 09:40 AM
SolutionI can't 100% remember if this works, but assuming your adapter supports SCP, then make sure login type is SSH, and file transfer type is SCP. Then it should go straight to the script-based backup.
If you *must* use CLI for your backups, then the only other option is to remove the SNMP write string. Is there a specific reason you need to enter the write string for those devices? I would not have thought you would be doing anything with SNMP write with them anyway?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2017 01:52 AM - edited тАО09-08-2017 05:10 AM
тАО09-08-2017 01:52 AM - edited тАО09-08-2017 05:10 AM
Re: Bypass SNMP backup on Cisco devices
Hi @LindsayHill, thanks for your reply.
Well, by now, the login type to the device is SSH, but file tranfer is TFTP. I could try to make a SCP transfer version of scripts and see what happens.
Indeed, we must use these scripts to backup configuration through CLI, because I don't see any other solution to backup both of device VDCs configuration . Except maybe by creating an @Ip for the second one, and let iMC consedering its a standalone equipment.
Today, I don't believe that write strings are necessary on these devices. But, even if it's the easiest method to solve the problem, I don't consider that as a clean way to do it... I was wondering a solution in iMC to tell our preferences about SNMP backup.
Do you know why iMC is forcing a SNMP backup with Cisco devices ? That's not the case for F5, for example...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2017 06:44 AM
тАО09-08-2017 06:44 AM
Re: Bypass SNMP backup on Cisco devices
You shouldn't be using tftp anywhere anyway. It is 2017, not 1997.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2017 05:18 AM
тАО09-11-2017 05:18 AM
Re: Bypass SNMP backup on Cisco devices
I'm in apprenticeship, and I'm working on a sandbox environment. I'm trying to solve a specific problem that doesn't matter if I use one specific protocol or another. I was asking "Why is iMC forcing a SNMP backup on Cisco devices ?" not "What protocol should I use to backup my configuration files please ?", but thanks for the advise. That could be usefull in case of a timestamp problem in my head ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2017 04:11 PM
тАО09-16-2017 04:11 PM
Re: Bypass SNMP backup on Cisco devices
> I'm in apprenticeship, and I'm working on a sandbox environment. I'm trying to solve a specific problem that doesn't matter if I use one specific protocol or another
If you're starting out in your career, then why start with outdated protocols? Why not do things the right way, from the start?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-22-2017 08:18 AM
тАО09-22-2017 08:18 AM
Re: Bypass SNMP backup on Cisco devices
I'm not really starting by now, I just said that to explain that i'm working on a sandbow environment. I think it's easier to understand why they're outdated protocols by using them ;) And, once again, it wasn't an initial problem.
Anyway, thank you for all your support, I'm going back to school time for few months, so iMC will wait for a moment haha !