Bulk configuration backup and command output using script (perl or batch)

Hi,
Can you please guide me how to run a script to get configuration backup, and/or running a particular command on multiple devices in one go and then get the output in a text file?
It would be very nice, if you could give me a sample (containing the perl/batch configuration, and the step by step on how) to get output of "show version" from multiple (only IOS based) devices....
regards,
Mohsin

I think this site can get you started. It has the scripts that can do what you want
http://cosi-nms.sourceforge.net
cheers,
Michel

Similar Messages

  • How are Windows Server Backup and Command Line Tools used in vCSHB installation?

    How are Windows Server Backup and Command Line Tools used during the installation of vCSHB?  Is it required in all types of deployments (PtoV, VtoV, PtoP)? Is it used to create the files that are put in the file share for the second node to use during vCSHB installation or is it only used during a vCSHB clone operation of a Physical to Physical deployment?  Are these tools not used in some deployments?

    You need Windows Server Backup installed on source and destination, and during the installation of vCSHB the installer will invoke the wbadmin (Windows Server Backup Utility) and will backup configuration and application data (application data is optimal but can decrease the sync time after installation of secondary node). On the secondary node you will need only run the vCSHB installer and everything will be restored.
    Check this blog entry for some more info about some problems in P2P deployment: http://www.vcoportal.de/2013/12/vmware-vcenter-server-heartbeat-restore-on-a-second-node-a-journey/

  • Backup SQL Agent Jobs - whats the difference between "create to" and "drop to" using "script job as"?

    Hi,
    This should be straightforward, but being new to SQL Server 2008, can someone advise the difference between "create to" and "drop to" using "script job as"?
    Thanks
    IT Support/Everything

    hello,
    "CREATE TO" create a CREATE statement for the job, e.g. to execute this script on a other server to create the same job there.
    "DROP TO" means you get a script to delete an existing job.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • HT3406 Can I restore a new Iphone 5 from an existing 4GS backup and then still use the existing backup?

    Can I restore a new iphone 5 from an existing 4GS backup and then still use the 4GS backup for another phone?

    Sorry, a 4G. Its not my phone. its for my employer. He just got a 5 and wants both phones to use the same backup information in itunes.

  • I have already used time machine backup and I last used on june 2012 . Today when I tried to backup the time machine is still stuck on preparing my backup?What shallI do?

    I have already used time machine backup and I last used on june 2012 . Today when I tried to backup the time machine is still stuck on preparing my backup?What shallI do?

    See Section C here  >  http://pondini.org/TM/Troubleshooting.html
    From Here  >   http://pondini.org

  • Cisco NCS configuration backup and restore of WLC issues found

    Hi,
    I recently tested the process for a customer of defaulting a Cisco WLC to factory configuration and then restoring the configuration from Cisco NCS.  It was not seamless to say the least and I wonder if I have just gone about it the wrong way. 
    Have have set the NCS platform to configuration sync with the 5508 controllers at 04:00 every day and prior to the controller defaulting I ensured that NCS also reported that the config was in sync.
    I have also set NCS to complete a tftp backup of the controller every night 23:00 - interestingly though I have no idea where this is stored on the NCS platform ( a VM appliance ) or what it's filename is.
    Anyway my experiences where as follows:-
    1.  defaulted WLC and via serial CLI ended up at the configuration wizard.
    2.  Set the correct LAG, management IP, hostname that NCS knew this controller by.
    3.  To test things just created a dummy WLAN ( SSID ) as I assumed this would be overwritten ( big mistake ! ).
    At this point I connected the controller to the network and tried to restore the configuration from the config sync version.
    First problem - you have to remember to set up the SNMP community string you were using as it is needed by the configuration sync process.  After adding this to the controller I could push the configuration to the controller.
    Second problem - failed to add the first WLAN from the backup as I have added the temporary dummy WLAN via the wizard and NCS reported a conflict.  So had to delete WLAN ID 1 from the WLC GUI directly and then the config push no longer reported this error.
    Third problem - for some reason did not add the TACACS server details - reported the error that it could not added them.  I manually added these via a template via NCS and all was well.
    Fourth problem - all but the first WLAN was in the disabled state - had to re-enable all of the WLANs
    Fifth problem - any default items I had disabled or removed have not been saved - therefore I have removed the public and private SNMP communities - but these were still on the WLC after the restore.  I have disabled unused ports not in the LAG as they show an error in NCS - these where not disabled after the restore.
    So all in all not a very satisfactory restore process from NCS to an defaulted WLC ( ment to simulate to the customer what would be needed if they had to replace a controller due to hardware failure ).
    So - anybody like to comment on what I did wrong - is there a different / better way of achieving this ??
    Regards
    Robert

    Hello Robert,
    all the tasks you did seem to be fine for me.
    I was also wondering the process os restoring from NCS controller configuration backups ...
    If anyone else could give another method with less drawbacks, that would be appreciated, but i doubt about it.
    regards,
    Guillaume.

  • How can apply configure file in ssis by using script task ?

    I had  two config file in ssis
     1. config file as per QA
    2. config file as per Production
     I think apply dynamically by using script task for above file (acc to server)
    How can I apply in script task for config file path in C# script
    any one provide Helpful code ??
    Thanks

    I applied script Task  with below code :
    public void Main()
    //User::Config,User::Config_Pd,User::Config_QA
    Application App = new Application();
    Package Pack = new Package();
    DTSExecResult pkgResults;
    string strPackageName;
    string filename = "";
    string configvalue;
    configvalue = Dts.Variables["Config"].Value.ToString();
    strPackageName = Directory.GetCurrentDirectory().ToString() + "\\Excel Reports from Remittance advice\\Child.dtsx";
    try
    Pack = App.LoadPackage(strPackageName, null);
    if (Pack != null)
    if (configvalue == "DEV")
    filename = Dts.Variables["Config_QA"].Value.ToString();
    else if (configvalue == "PROD")
    filename = Dts.Variables["Config_Pd"].Value.ToString();
    else
    Dts.TaskResult = (int)ScriptResults.Failure;
    System.Windows.Forms.MessageBox.Show("Unable to bind the XML Configurations");
    return;
    } System.Windows.Forms.MessageBox.Show("Config:"+filename);
    Pack.ImportConfigurationFile(@filename);
    Pack.EnableConfigurations = true;
    Pack.Configurations.Add();
    App.SaveToXml(strPackageName, Pack, null)
    pkgResults = Pack.Execute(); //Pack.Execute();
    System.Windows.Forms.MessageBox.Show("Results:" + pkgResults.ToString());
    Dts.TaskResult = (int)ScriptResults.Success;
    But ouput in ssis showing as
    But some thing missed in code  plz help me ...

  • Router's Configurations - Backup and Restore

    Hi, anyone tried Router's Backup and Restore Configurations (after logging on to 192.168.1.1 - it is under Administration tab)
    i have WRT350N - firmware=1.03.2 running WinXP
    i tried "backup" then "restore" - as a results, i lost all configurations (SSID, WEP NW key, Router password, Storage users and share) from what i can tell, "Restore" wipes out all user settings and restore Linksys default ...
    would appreciate any comments please...
    /v

    I had this exact same problem today. Tried restoring it and nothing. What's worse is that it isn't a text file so it can't be read. ANy help pls?

  • Can I use the Time Capsule strictly for system backup and continue to use my Airport Extreme for all my wireless needs

    I want to use the Apple Time Capsule as an external drive and continue to use my Airport Extreme for all my wireless needs. Can I do that? The reason I ask is that my Time Machine utility cannot find the TIme Capsule - it only shows me the Airport Extreme, even when I "Rescan". SO I am unable to use the Time Capsule.

    You will need to connect an Ethernet cable from one of the LAN <-> ports on the AirPort Extreme to the WAN "O" port on the Time Capsule.
    Perform a "hard reset" on the Time Capsule by holding in the reset button for 9-10 seconds, then give it another minute to restart to a slow, blinking amber light.
    Open AirPort Utility, select the Time Capsule, and click Manual Setup
    Click the Time Capsule tab located below the row of icons to assign a name to the Time Capsule, a device password, and adjust Time Zone settings.
    Next, click the Wireless tab located to the right of the Time Capsule tab
    Change the setting for Wireless Mode to Off
    Click the Internet icon, then click the Internet Connection tab
    Connect Using = Ethernet
    Connection Sharing = Off (Bridge Mode)
    Click Update at the lower right to save the settings and allow 30 seconds for the Time Capsule to restart to a green light.
    You are all set

  • Setting drag and drop components using script

    Hi,
    Is there a way to set the drag object name and target name of
    the Drag and Drop component using actionscript? I have looked
    through the help files and there is no mention of how to do this. I
    cannot find any methods relating to the Learning Interactions
    either. Can this be done or am I trying to do something that Flash
    is not capable of?
    The reason I wish to do this is so I can retrofit the D&D
    component into existing code. The existing code generates new
    object/target pairs and stores them in an array. I need to be able
    to read these values and plug them into the component at runtime.
    Any ideas?
    TIA
    Colin

    What about the product documentation ?
    http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_dnd.htm#CIHCHGIF
    Also, the following book:
    has a chapter (chapter 14) on drag and drop
    http://www.amazon.com/Oracle-Fusion-Developer-Guide-Applications/dp/0071622543/ref=sr_1_cc_1?s=aps&ie=UTF8&qid=1343975521&sr=1-1-catcorr&keywords=Oracle+Fusion+Developer+Guide
    Frank

  • How to configure email and calendar to use my Yahoo mail box

    Hello,
    Please can someone help me to configure email and calendar sun microsystem edition on solaris 10 to access and send email through my yahoo inbox.
    I have tried configure it with yahoo POP and SMTP address but still i am receiving error message fetching the mail from the server.
    Yahoo Incoming Mail Server (POP3) - pop.mail.yahoo.com (port 110)
    Yahoo Outgoing Mail Server (SMTP) - smtp.mail.yahoo.com (port 25)
    Thanks

    Hi,
    <b>Creating E-mail transport:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/36/eacfb72888e04eaf523f7236c0892f/frameset.htm
    also do <b>SMTP confiduration:</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm
    <b>Activate Calender Repository</b>
    Goto System Admin>System config>KM>Content management>Repository managers>Calendar Repository>New
    <b>Calendar Repository Manager</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/9b/4b21436ed70448bf689c5f5c79dea1/frameset.htm
    Rewars points if its udeful
    Regards,
    Senthil K.

  • Difference between "Configuration Backup" and "WCS Server Backup" on WCS

    Hello,
    it would be fine if somebody could tell me in one short sentence the difference between the two above mentioned scheduled tasks on WCS.
    Many thanks in advance,
    Thorsten

    Hi Thorsten,
    WCS Server Backup - backing up the WCS database
    Configuration Backup - backing up configurations from the controllers
    Hope this helps!
    Rob

  • How to configure Time Capsule for Automatic Backup AND HARD DRIVE USE

    I tried to configure Time Capsule for back up and as a hard drive. I record music and need to copy the music myself onto an external hard drive for speed, so I want the TC to double as an external hard drive, and do the back up. I want to be able to open the TC as a hard drive, to open my songs from it. Can it do both?

    I finally figured it out. I am able to access my TC from the "shared folder." When I click on it, I get the "connection failed message." I failed to notice the login button in the upper right -- user error due to my Windows based education. The button is very subtle. Once I login, I can create folders and add content.
    I didn't see a partition option. Where is that? Just curious.
    Thanks!

  • Help needed extracting information from command output using sed

    I want to be able to pipe the output of:
    playerctl metadata
    into sed and extract only the relevant information. I have a working knowledge of regular expressions but I'm not how to get sed to only output the matched text. For reference, this is an example output of the playerctl command:
    {'mpris:artUrl': <'http://open.spotify.com/thumb/ddf652a13affe3346b8f65b3a92bd3abfdbf7eca'>, 'mpris:length': <uint64 290000000>, 'mpris:trackid': <'spotify:track:0xqi1uFFyefvTWy0AEQDJ7'>, 'xesam:album': <"Smokey's Haunt">, 'xesam:artist': <['Urthboy']>, 'xesam:autoRating': <0.23000000000000001>, 'xesam:contentCreated': <'2012-01-01T00:00:00'>, 'xesam:discNumber': <1>, 'xesam:title': <'On Your Shoulders'>, 'xesam:trackNumber': <6>, 'xesam:url': <'spotify:track:0xqi1uFFyefvTWy0AEQDJ7'>}%
    I'm trying to get the track name and artist name and combine them into one string. Perhaps sed isn't the tool for the job but I'm not really sure what else to try. Any help is very appreciated.

    If that was valid json, which it doesn't appear to be, you could use jshon to query it.
    Are you sure that is the exact output of the command? It looks sort of off...
    In the meatime, this is pretty hacky:
    awk 'BEGIN { RS=","; FS="'\''" }; /artist/ { artist = $4 }; /title/ { title = $4 } END { print artist": "title }' file
    Urthboy: On Your Shoulders

  • How to configure ME38 and Message Output

    topic:EDI in procurement - delivery forecast  (DELINS)
    ME38 - ERROR:Output LPH1 for partner  cannot be processed 
    How would I configure the same in ME38 and the resultant PrintOuts and EDI messages?
    I've had a look in SPRO, andthis is the standard step by step procedure for Message determination that I done in SPRO:
    SPRO > Material Management-> Purchasing -> Message -> Output Control->MESSAGE TYPE->Maintain
    Message Types for Forecast Delivery Schedule/Expediter ->OK
    109-LP->EL document
    SPRO > Material Management-> Purchasing -> Message -> Output Control-> Maintain Requirements for
    Message Control
    LPH1->109
    SPRO > Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message
    Type-> Define Partner Roles for Scheduling Agreement Release/Exped
    LPH1-6->OA
    WE20
    SPRO > Material Management-> Purchasing -> Message -> Output Control-> EDI->Set Up Partner Profile
    defined Partner LI, message DELINS
    SPRO > Material Management-> Purchasing -> scheduling agreements->set up stock transport sc.ag-> maint.REL.crea.profile for sc.agr.w rel.docu
    MN12
    LPH1-doc.Type-PurchORG-Vendor
    ME32L
    in Additional DATA      -> Scheduling Control (Firm zone=90&TradeOff-Zone=90
                   -> output control -> Plant-Profile
    ME38
    create schedules
    ME84
    run
    but in ME38 don't exist the message iDoc "LPH1"
    if I tried to create manually the system show the following message:ù
    OUTPUT LPH1 for partner cannot be processed
    message n.VN043
    Diagnosis                                                                  
        The proposed output cannot be processed. You can only display details.
    but I am not an MM configuration specialist (we don't have one at our company at present) and am therefore a little lost, any / all help appreciated.
    Best Regards
    Antonio Giovanniello

    Hi
    have you maintained the Partner Profile for the Partner role OA in the Outbound Parameters. Please maintain
    Thanks & Regards
    Kishore

Maybe you are looking for

  • Schedule a background job

    Hi All, I have an urgent query here regarding the Bakcground job. Let's say I need to schedule a background job on hourly basis to fetch the data. If first job runs more than 60 minutes, then will the second job will fetch the data. What will happen

  • Any suggestions how to get facetime working again?

    Face time was working but stopped working recently. Will not make connection, either side can get to the point of making a connection but then the connection fails. I have tried ichat and it works without any problem but since I am trying to get to a

  • How to get the CSV,DATA output from RTF template

    Hi Jorge Thanks for your help. as in the link you have given RTF template can have the output type CSV,DATA but in the preview i can see only html,powerpoint,pdf,html excel . How to see the output in SCV,DATA format using my RTF template do i need to

  • Possible update solution for some Jelly Bean issues on Razr Maxx

    I bought a Razr Maxx used two weeks ago and wanted to a post a possible solution to the broken Jelly Bean update. My Razr Maxx (practically new) was slow, lagged, and gave me about 10 hours of battery life. Also, my Wi-Fi was horrible just 10 feet fr

  • Photoshop CS6 interface and canvas buggy after upgrading to 10.8 on Retina MBP

    An image says more than 1000 words.. In case you can't notice, the lower part of the layer panel isn't appearing, so I can't create new layers, etc.