Export all device configuration files from GUI/CLI to a file on a local disk.
book
Article ID: 315723
calendar_today
Updated On:
Products
VMware Smart Assurance
Issue/Introduction
How to export all device configuration files from Smarts NCM to a file on a local disk using GUI/CLI?
Environment
NCM - 10.1.x
Resolution
Using the Smarts NCM console:
In Smarts NCM, navigate to the following location:
Networks --> [Network Name] --> Devices
Select the devices with the configurations you want to save.
Right click and select Save to --> Save to File.
Specify the location on the local system disk where you would like to save the configurations text file (*.txt). Image added for reference:
Using NCM AS CLI:
The extract_config.shscript, which is located in the $VOYENCE_HOME/toolsdirectory, allows the user to extract configuration data from NCM AS (Application Server).This script can be executed using crontab.
Options available with script are:
-network network_name
-outputdir path_name
-user user_name
-password user_password
-ext file_extension_name
-debug
Example:
Example will extract all the Smarts NCM device configurations (running and startup, if available with device) from the "Labs" network, and save it in /home/ directory and file extension would be *.csv.