Run a Set of Commands Using Prime Infrastructure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2022 01:51 AM
Hi Guys,
I want to do a weekly backup of my devices. I found another thread about doing backup in PI. It is said that go to Administration -> Job Dashboard -> System Jobs -> Infrastructure, there's a Job called "Device Config Backup-External". But my backup usually takes more than that. I usually run these commands:
wr
show run
show version
etc.
Can I run a set of commands to a set of devices then store the file into a remote server on Cisco PI? Thank you.
- Labels:
-
Network Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2022 01:58 AM
Prime genereally take device backup as expected (depends on how many device in the network) - we need to know why taking longer than as expected.
Prime infra - you can customise repots, but what is the use case to write config here ? show run and show version you should see part of the backup ?
or you looking something extra commands the that should be in config level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2022 05:36 AM
Hi Balaji,
Sometimes me and my colleagues forgot to write the config after changing something. This is just a prevention, so the most up to date config is written into the memory. Because in the past we had some issue the switch restarted with various reasons (electricity, software failure, rommon, etc.).
Other commands are just a bunch of show commands, nothing on config level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2023 01:53 PM
So many moons ago, Ciscoworks had the ability to create a job with the ability to just run several CLI commands on an unmanaged device. All it needed was to be able to connect with a switch, have a valid login (tacacs or local). Then it would run the cli commands as if I was logged into the switch myself.
Im trying to find that same ability in PI 3.10, but its alluding my efforts.
Does anyone have any ideas how this is done in todays version?
