Using the cwcli netconfig to make changes to devices from the command line without the need of webui has many advantages such as simplicity, practicality and speed of deployment for mass pushing of config.
This document will explain how to deploy changes to a single device by creating a subinterface with name description and community strings using the command files, device list and cwcli utilities. The example below applies to both LMS 3.2 and LMS 4.0.
Device must be managed by LMS.
Device must have correct credentials with correct privileges to make changes.
User must have correct privileges to make changes from LMS.
1. Create the content of the files using the following examples for creating community strings and sub-interface with a name description. Note that command1, command2, command3, and command4 are command list examples and not actual syntaxes. You will need to create two files, one for the commands only and the second for the device using the display name as it appears in LMS.
GigabitEthernet0_1.cmd command file:
Command List File
snmp-server community private rw
snmp-server community public ro
Note: Commands are not validated so you must define the complete cli syntax.
GigabitEthernet0_1.dev device file:
Device List File
2. Go to NMSROOT/bin
Running cwcli netconfig
The cwcli config command is located in the following directories, where install_dir is the directory in which LMS is installed:
This example uses NMSROOT/bin/cwcli commands. NMSROOT is the installation directory of CiscoWorks Lan Management Solution.
On UNIX systems, /opt/CSCOpx/bin
On Windows systems, install_dir\CSCOpx\bin where the default install directory is C:\Program Files.
3. Use the following syntax as an example for creating “netconfig” jobs from the cli.
Welcome to the follow-up discussion for Ask the Experts (ATXs) sessions:
Feature Overview: Wireless in SD-Access on May 27. Register now: 1:00 PM PT │ 11:30 AM BST │ 2:30 PM SGT
Cisco experts Danmu Wu, Dilip Jasutkar, and J...
In the past I have 2 units C9500-24Y4C-A running IOS 16.9.4. the SVL(Stackwise Virtual Link) between both 25G x2.so total 50GAs belowMY01-NSW30-CORE-OT#sh stackwise-virtual linkStackwise Virtual Link(SVL) Information:--------------------------------------...
Hi All, We have a couple of 4500-X switches in VSS mode that would need a routine maintenance reboot. We plan to reboot both the chassis together and bring them back to the same state as before. What are the commands that need to be executed from the...
I bought a router and it did not have iso only running in rommon and when I try to download iso image via xmodem I get an error message that the memory is not enough and when I write the dir flash command, I will not see any iso and .My ...