Smarts NCM: How to export device configurations using the extract_config.sh utility
search cancel

Smarts NCM: How to export device configurations using the extract_config.sh utility

book

Article ID: 303557

calendar_today

Updated On:

Products

VMware

Environment

VMware Smart Assurance - NCM

Resolution

Smarts NCM includes a utility called extract_config.sh that can be used to extract the device configurations (configs) in the environment.This article explains how to use this utility export device configurations (configs).



The Smarts NCM extract_config.sh is located in the <NCM/VOYENCE_HOME>/tools directory. The following sections show the command usage syntax and an example of how this utility can be used to extract the device configs.

Usage

sh extract_config.sh -network <Network_Name> -outputdir <Directory> -user <NCM_User> -password <NCM_Pass> -ext <FileExtension> -debug


Example

sh extract_config.sh -network Austin -outputdir /tmp -user sysadmin -password sysadmin -ext txt -debug

The example command above would create a directory named "Austin" under the /tmp directory. Within the directory that is created using the extract_config.sh utility, the utility will create device sub-directories, and each sub-directory will contain the respective device configuration in a text file as shown in the following example: