cancel
Showing results for 
Search instead for 
Did you mean: 

Converting standalone x670-G2-48x-4q to a stack. Best way to edit port number configuration?

Converting standalone x670-G2-48x-4q to a stack. Best way to edit port number configuration?

Ken_Applebaum
New Contributor II
We have 2 stand-alone, MLAG'ed x670-G2-48x-4q switches. I have purchased 2 more of the same model. We want to convert the stand alone switches to stacks, add a switch to each one, and mlag these stacks.

I realize that when we convert the stand-alone switch to a stack, the switch configuration needs to be manually edited to change the port numbering scheme from Port to Slot:Port.

The configuration file is 1800 lines long, with references to ports and port ranges throughout, so a simple search and replace won't work. Is there any tool, or automated way this can be done? Does anyone have any tips on how we can best accomplish this, and avoid missing port renames in the config?

Thanks,
Ken
10 REPLIES 10

Drew_C
Valued Contributor III
Hi Ken,
Take a look at this Python script on The Hub. You can even run it on the switch if you're running 16.1.
https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/non_stacking_config_conv...

-Drew
GTM-P2G8KFN