Reconfigure Model using command line in CA Spectrum
search cancel

Reconfigure Model using command line in CA Spectrum


Article ID: 233945


Updated On:


CA Spectrum DX NetOps


To reconfigure a Model from the OneClick console, you manually select the model, and select:

Tools menu -> Reconfiguration -> Reconfigure Model.

How can this be automated via script?


DX NetOps Spectrum Release 20.2 or later


Use the command line (CLI) to issue the reconfigure command via update action.


In order to script this via the command line, use the Spectrum VNMSH CLI API. The commands would be:

#For Windows
cd %SPECROOT%/vnmsh
#For Linux
cd $SPECROOT/vnmsh

./update action=65550 mh=$MH 


Where $MH is the value of the Model_Handle attribute

This is a one time action, if the device is not reachable or in maintenance then this action will be ignored.

You need to run it again when the device is available.

Additional Information

For further information on the Spectrum CLI API, refer to the TechDocs:

TechDocs : DX NetOps 21.2 Spectrum : Command Line Interface