I created a script that will convert non stacking configurations to stacking configurations for slot 1. I haven't tested every situation possible, but it worked on the configurations I tested it on. Try it out and let me know what you think, and if I can add anything.
How to use:
- The script was made on python 2.7. Make sure it's installed.
- Place the switch show configuration output into a file.
- place the configuration file in the same directory as the python script.
- The script will ask you for the configuration file name. (enter it)
- the script will create a new file with "stack_" in front of the original file name that has the new stacking configuration.
- Check over the new configuration file to make sure it's right.
Script output: test@lab_server:~$./stacking.py Note: please only use the show configuration output for this script. Make sure the starting non stack configuration file is in the same folder as the python script what is the non stacking configuration file name? config.txt The new stacking configuration will be saved as stack_config.txt?
Python Script Source:
https://github.com/extremenetworks/ExtremeScripting/blob/master/EXOS/Python/non_stacking_config_conv...
Enjoy, and contribute to our GitHub!