- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Editing the pre-template commands on a config template[ Edited ]
03-01-2021 12:01 PM - edited 03-04-2021 02:06 PM
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:
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, 18.104.22.168397.
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
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
switch# terminal no monitor
switch# terminal no editing
% Invalid command at '^' marker.
Connection to 192.168.20.57 closed.
*** Job Failed  ***
Solved! Go to Solution.
Re: Editing the pre-template commands on a config template
04-06-2021 03:05 PM
The switch has to be discovered via SNMP as a Nexus switch before you run the script. Then the commands will work.