Opposite of "save configuration as-script"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-03-2016 03:20 PM
I am looking to reconfigure MANY switches "remotely". I have approximately 180 switches, mostly Summit x series, spread across more than 100 remote sites, so doing this remotely would be "Extreme"ly beneficial. (Pun intended). I would like to start with a defaulted switch. I have a script that works great when I'm consoled into the switch, but when I'm telnet-ed into the switch I lose my connection when I "unconfigure switch all".
I tried editing the cfg file with an XML editor and saving with a different name, but that doesn't work either. When I "use configuration.cfg" and reboot, the switch boots with a defaulted config.
Is there a command that is the opposite of "save configuration as-script", such as "save script as configuration"? Then I could "use configuration.cfg" to utilize my new config.
Any help would be greatly appreciated,
Jerry
I tried editing the cfg file with an XML editor and saving with a different name, but that doesn't work either. When I "use configuration
Is there a command that is the opposite of "save configuration as-script", such as "save script as configuration"? Then I could "use configuration
Any help would be greatly appreciated,
Jerry
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-03-2016 04:13 PM
Henrique, Andreas, and Drew,
Thank You! I just tested it on a switch at my desk and it does exactly what I needed it to do. I will be testing it on a production switch later this week or weekend.
Thank You! I just tested it on a switch at my desk and it does exactly what I needed it to do. I will be testing it on a production switch later this week or weekend.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-03-2016 04:13 PM
Great! Glad we could help!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-03-2016 03:40 PM
Hi Jerry,
When you
Anytime you use
You may also find it useful to name your config script (not the XML) "
When you
code:
, make sure you aren't saving the config before rebooting. You're effectively overwriting the "saved" config with the current blank one.use configuration
Anytime you use
code:
the switch will boot to a defaulted configuration and you won't have an IP on the VLAN to use.unconfigure switch all
You may also find it useful to name your config script (not the XML) "
code:
." This will execute anytime the switch is booted from a default configuration.
default.xsf
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎05-03-2016 03:39 PM
Hi Jerry,
I believe you can accomplish that using the command below:
save configuration as-script default
That means a file name as "default.xsf" will be created and loaded every time you do an "unconfigure switch all"
I believe you can accomplish that using the command below:
save configuration as-script default
That means a file name as "default.xsf" will be created and loaded every time you do an "unconfigure switch all"
