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 trying to create a script to automatically upgrade our Cat2950's.
I've got all the commands sorted out
delete flash:*.bin ${CRLF}
${CRLF}
${CRLF}
delete flash:html/* ${CRLF}
archive tar /xtract t
ftp://192.168.51.65/c2950.tar
flash: ${CRLF}
${CRLF}
wr
reload
My problem is that the delete flash:html/* takes so long and I haven't found a way to automatically accept every file to be deleted instead it goes through every file in the folder one by one and if there are any commands after the delete it uses the characters in the command as the aceepantece to delete the file. So neither the files get deleted or the firmware gets upgraded.
The only way I have found to get round this is to have two seperate scripts one to deleted the old firmware and html and one to upload and install the new one.
Can anyone suggest a more efficient way of running this script so I can have all the commands in one script?
Thanks
Jon
IT Infrastructure Manager
Pilgrim Hospital
UK
Find more posts tagged with
Accepted answers
All comments
ceclark
del /force /recursive
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of