Running a script on a switch

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2012
09:32 AM
- last edited on
03-25-2019
04:19 PM
by
ciscomoderator
Hello
I have been tasked to run a script on a switch.
All I was given was a script.txt file with command line entries in it.
Does anybody know of a way to run this as a script, instead of adding each line one by one in the config?
Thanks
- Labels:
-
Other Switching
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2012 09:44 AM
Copy and paste while in config mode?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2012 10:00 AM
Hi Edison,
That could be all they simply mean by 'running a script'.
Thanks for the input!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2012 10:15 AM
Yes, fancy term
You can also do the same by copying from a tftp or ftp server into the running config or startup config but if you are already in the switch, a simply copy and paste while in config mode would do.
