We use a mainly Foundry network, and are trying to use Cirrus to manage our configurations. However Foundry devices do not display their passwords by default in their configuration files (rather they are obsecured as "...."). In order to get a Foundry device to successfully display the password the command: "enable display-passwords" needs to be run from config terminal before showing the config. Otherwise if we upload the config that Cirrus downloads as is, all the passwords and usernames on the switch would be reset to this obscured text!
I have not been able to successfully edit the device template to achieve this though - can anyone help me out? I'd like to run that command from enable, download the config - and finally run "no display-passwords", as for obvious reasons we do not wish to leave the switch configured to show its passwords.
Thanks,
Dakaix.
Can you post your current edited device command template? I'd like to know what you've tried thus far and we'll work on getting you up and running.
Hello Chris,
My current template looks like this:
<!-- edited with XML Spy v4.4 U http://www.xmlspy.com) by Brian K Rogers (Solarwinds.Net) --><!--SolarWinds Network Management Tools--><!--Copyright 2005 SolarWinds.Net All rights reserved--><Configuration-Management Device="Foundry Devices" SystemOID=" 1.3.6.1.4.1.1991"> <Commands> <Command Name="RESET" Value="terminal length 0"/> <Command Name="Reboot" Value="${SaveConfig}${CR}reload${CRLF}y${CRLF}y"/> <Command Name="RebootAt" Value="reload at ${HH}:${NN} ${MM}-${DD}-${YY}${CRLF}Yes"/> <Command Name="EnterConfigMode" Value="config terminal"/> <Command Name="ExitConfigMode" Value="exit"/> <Command Name="Startup" Value="configuration"/> <Command Name="Running" Value="running"/> <Command Name="DownloadConfig" Value="${EnterConfigMode}${CRLF}enable password-display${CRLF}Show ${ConfigType}${CRLF}no enable password-display"/> <Command Name="UploadConfig" Value="${EnterConfigMode}${CRLF}${ConfigText}${CRLF}"/> <Command Name="DownloadConfigIndirect" Value="${EnterConfigMode}${CRLF}enable password-display${CRLF}copy ${ConfigType} ${TransferProtocol} ${StorageAddress} ${StorageFilename}${CRLF}no enable password-display"/> <Command Name="UploadConfigIndirect" Value="${CRLF}copy ${TransferProtocol} ${ConfigType} ${StorageAddress} ${StorageFilename}${CRLF}"/> <Command Name="EraseConfig" Value="erase startup"/> <Command Name="SaveConfig" Value="write memory"/> <Command Name="Version" Value="show version"/> </Commands></Configuration-Management>
Attempting to download this with Cirrus, results in the error "Connectivity issues discarding config file".
-Dakaix
Thanks for that. One thing to note is that Cirrus will attempt to execute all commands in the "Value" field in series and won't pause to wait for a particular command to complete. Here's what I would suggest as far as changes:
1. Change Download Config back to the original format
2. Change EnterConfigMode Value="config terminal${CRLF}enable password-display${CRLF}"
3. Change ExitConfigMode Value="no enable password-display${CRLF}exit${CRLF}"
Let me know how this works.
chris.lapoint:Thanks for that. One thing to note is that Cirrus will attempt to execute all commands in the "Value" field in series and won't pause to wait for a particular command to complete. Here's what I would suggest as far as changes:1. Change Download Config back to the original format2. Change EnterConfigMode Value="config terminal${CRLF}enable password-display${CRLF}"3. Change ExitConfigMode Value="no enable password-display${CRLF}exit${CRLF}"Let me know how this works.
Can you try changing the DownloadConfig command as follows
<Command Name="DownloadConfig" Value="${EnterConfigMode}${CRLF}Show ${ConfigType}${CRLF}"/>
"
Making that change causes the "Connectivity issues discarding config file" error.
Here is another change that you may want to try
<Command Name="DownloadConfig" Value="${EnterConfigMode}${CRLF}Show ${ConfigType}${CRLF}${ExitConfigMode}"/>
Also in case this does not work, could you please post the session trace.
Thanks
Sham Chauthani:Here is another change that you may want to try<Command Name="DownloadConfig" Value="${EnterConfigMode}${CRLF}Show ${ConfigType}${CRLF}${ExitConfigMode}"/> Also in case this does not work, could you please post the session trace. Thanks
Hello Sham,
No luck I am afraid. The session trace includes the entire configuration for the switch, please email me - and I will then reply to the email with the session trace included.
After some help from SolarWinds - they've been able to resolve this issue. I have posted a modified version of the device template on the community zone:
http://thwack.com/files/folders/cirrus_device_templates/entry44294.aspx