Community
Command Central
MVP Program
Monthly Mission
Blogs
Groups
Events
Media Vault
Products
Observability
Network Management
Application Management
IT Security
IT Service Management
System Management
Database Management
Content Exchange
SolarWinds Platform
Server & Application Monitor
Database Performance Analyzer
Server Configuration Monitor
Network Performance Monitor
Network Configuration Manager
SQL Sentry
Web Help Desk
Free Tools & Trials
Store
Home
Products
Network Configuration Manager (NCM)
Firmware Upgrade Script
jonchill
I'm in the process of creating a firmware upgrade script for our CAT switches but I'm stuck on how to put a carriage return in the script, after the delete flash command it requires 2 carriage returns before the command completes. Anyone know how to do this and also if this the best way of writing the script?
delete flash:*.bin
archive tar /extract t192.168.51.65/c2950.EA5.tar flash:
conf t
boot system flash:/C2950-I6Q412-MZ.121-22.EA6.BIN
exit
copy run start
reload
Thanks
jon
IT Infrastructure Manager
Pilgrim Hospital
UK
Find more posts tagged with
Accepted answers
All comments
greg
Jon,
If you look in the template for your device, most times the macro ${REBOOT} is already defined, which will already have the two CRLF's.
However you can insert Carriage Returns and Line feeds into your scripts by using the ${CRLF} macro.
The template files can be found in <Drive>:\Program Files\SolarWinds\Configuration Management\DeviceTypes.
HTH,
Greg
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of