Does anyone have a device template file that works to download configs from a Cisco IronPort appliance?
BINGO! Good work -
for anyone looking for the template, it is:
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by () --><!--SolarWinds Network Management Tools--><!--Copyright 2005 SolarWinds.Net All rights reserved--><Configuration-Management Device="IRONPORT" SystemOID=" 1.3.6.1.4.1.15497.1.1.1"> <Commands> <Command Name="DownloadConfig" Value="showconfig${CRLF}Y${CRLF}"/> <Command Name="PreCommand" Value="Y${CRLF}"/> <Command Name="MenuBased" Value="false"/> <Command Name="VirtualPrompt" Value=">"/> <Command Name="More" Value="-Press Any Key For More-"/> </Commands></Configuration-Management>
Any way to remove that first line in the config file that asks you whether passwords should be included? No biggie -- could always edit it out before import.
Any updates on this? We just purchased an Ironport C350 and need to monitor it with Orion.
If you are comfortable downloading configurations via Telnet, then we can help you create the template. If you require SSH, you'll need to wait until 5.1 is available due to the Ironport's requirement for keyboard interactive login on SSH sessions.
Let us know if Telnet is an option and we can take it from there.
ANy update Im interested in downloading via telnet. thanks
Ok, we should be able to create a new device template for the Ironport using telnet to download the config. Please list the exact key commands you type to show the running config (including login steps).
I've got an Ironport and have the same requirement to download the config. I use SSH2 though. showconfig is the "show run" equivilent in Ironport. After you type showconfig it asks you if you want the passwords included. For a restore to work correctly you need the passwords so you want to respond with a Y.
Here's what it looks like:
smtp.johndoe.com> showconfig
Do you want to include passwords? Please be aware that a configuration withoutpasswords will fail when reloaded with loadconfig. [N]> Y [Enter]
I'm not getting this to work. I used the following in the template:
<Configuration-Management Device="Cisco Ironport" SystemOID=" 1.3.6.1.4.1.9"> <Commands> <Command Name="DownloadConfig" Value="showconfig${CRLF}Y"/> </Commands></Configuration-Management>
It gets logged in fine when I do a "verify login information", but when I try to download the config, it hangs for a while with "transferring data", then eventually errors out with "connection refused."
I'm guessing I've done something wrong with the template; any suggestions?
I'm in the same boat, I know how to show the config in Ironport but I can't get NCM to pull it. I used the same command you did in your script. I'm on NCM 5.1 but am thinking it may have something to do with the interactive keyboard issue mentioned above. (I'm using SSH)
Anyone ever find a template to work? Seems like when you execute script manually for showconfig${CRLF}Y${CRLF} you get the first part of the config then it just hangs?
Hello?
Can you post a session trace and we'll see what we can do to figure this out?