Here's what helped for me. Sorry I cross posted in another thread as well.
Another method I found was with the use of excel and notepad ++. the cli command i was after interms of scripting was
interface vlan <ID> no ip address
but i needed to do this 600 times per controller x 4 :-)
- On an Excel spread sheet. I did the following;
- column 1 : interface vlan
- column 2 : <vlan id>
- column 3 : no ip address
I did a file down from so i was able to get vlan id's 10-11 for instanace
so essentially it looked like this
no vlan 10 ipaddress
no vlan 11 ip address
no vlan 12 ip address
etc......
Copied and pasted all the filled cells in notepadd++
select all, edit -> Blank operations -> TAB to Space
copied the text/cli commands from notepad ++
pated in cli via putty and and voila.
It seems more convuleded than it really is. It took roughly 5 minutes to get rid of 600 vlans on each of our 4 of my controllers.
I attached a test excel sheet along with the test txt file that has had the TAB converted in notepadd++.
NOTE: You will need to convert the TAB to spaces so the cli commands will work properly. If you have not converted the TAB to spaces the controller will not like the pasted commands :-)