Smarts NCM/Voyence: How can I run a find/replace operation on multiple Cisco devices in startup-config?
book
Article ID: 303508
calendar_today
Updated On:
Products
VMware
Issue/Introduction
Symptoms:
How can I run a find/replace operation on multiple Cisco devices in Smarts Network Configuration Manager (Smarts NCM)/Voyence startup-config? How to perform a find/replace task on multiple Cisco devices in startup-config
Smarts NCM find/replace function does not work in startup-config on multiple devices Cannot do a find/replace operation on multiple Cisco devices in Smarts NCM startup-config
Environment
VMware Smart Assurance - NCM
Cause
Smarts NCM does not support editing multiple startup configs at a time for multiple devices.
Resolution
Find/replace functionality for multiple devices can be acheived by using the Automation Library (AL) functionality in Smarts NCM. This is done by creating a new pattern with a new policy/standards/test under AL:
In Smarts NCM, select New test > Rule > Pattern and Remedy.
In the standard, select Manage configurations > device groups.
Create a pattern and remedy under tests.
Apply the test to a policy and enforce the policy to multiple devices.
Additional Information
Using find/replace a word function will not work with AL as AL is restricted to use patterns. See Smarts NCM Help system content for more information about using standards and test when a policy is created under AL.