Network Management
How to use multiple download commands in NCM
Details on using multiple commands while downloading configs from devices.
First published date
Last published date
Overview
This article provided details on backing up configuration from devices managed by Network Configuration Manager (NCM), which requires executing a few commands to complete the download. It also addresses cases where you may want to execute a few commands and collect their results as a "device configuration" (custom configuration type).
Product section
Resolution
- Take a note of which template device is being used (for example, by using Edit Node and checking the CLI Device Template section).
- Edit template using XML Editor option (details) by adding the following command definition to the template:
<Command Name="UseMultipleDownloadCommands" Value="True" />
- Once saved, you can test the configuration download.
Example snippet from template:
<Command Name="Running" Value="show running"/>
<Command Name="Startup" Value="show startup"/>
<Command Name="BGP" Value="show ip arp${CRLF}show ip aliases"/>
<Command Name="UseMultipleDownloadCommands" Value="True" />
<Command Name="DownloadConfig" Value="${ConfigType}"/>