Introducing SOC Insights for BloxOne Threat Defense: Boost your SOC efficiency with AI-driven insights to eliminate manual work and accelerate investigation and response times. Read the blog announcement here.

Network Change & Configuration Management

Reply

Editing the pre-template commands on a config template

[ Edited ]
Adviser
Posts: 9
2496     1

How do I edit the pre-commands from a config template or CCS script? For example, the following commands are not supported on the switch:

 

enable

terminal no editing

 

The switch is a Cisco NXOS, but the commands are for IOS. The NXOS version is specified in the template Edit Template window. This issue also happens in a CCS script.

 

We are running an older version of NetMRI, 7.1.4.87397.

 

The job adds commands that aren't in the template form:

 

Warning: Permanently added '192.168.20.57' (RSA) to the list of known hosts.

User Access Verification
Password:

Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (C) 2002-2020, Cisco and/or its affiliates.
All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under their own
licenses, such as open source. This software is provided "as is," and unless
otherwise stated, there is no warranty, express or implied, including but not
limited to warranties of merchantability and fitness for a particular purpose.
Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or
GNU General Public License (GPL) version 3.0 or the GNU
Lesser General Public License (LGPL) Version 2.1 or
Lesser General Public License (LGPL) Version 2.0.
A copy of each such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://opensource.org/licenses/gpl-3.0.html and
http://www.opensource.org/licenses/lgpl-2.1.php and
http://www.gnu.org/licenses/old-licenses/library.txt.

switch#


switch#


switch#


switch# terminal no monitor


switch# terminal no editing

^
% Invalid command at '^' marker.

switch# exit

Connection to 192.168.20.57 closed.

 

*** Job Failed [1] ***

 

 

 

Re: Editing the pre-template commands on a config template

Adviser
Posts: 9
2497     1

The switch has to be discovered via SNMP as a Nexus switch before you run the script. Then the commands will work.

Showing results for 
Search instead for 
Did you mean: 

Recommended for You