I have a small tcl script that I'm executing with tclsh on an IE3010 switch. The script only contains a number of ios_config rows and changes the configuration in various ways. Everything works as expected, the only row that fails is the following:
ios_config "no vlan 2000-4094" "end"
I've tried both with and without the "end" subcommand. When I execute the command interactively from tclsh it's accepted without any output, but it's not executed and the VLANs remain.
Do I have to treat "no vlan" in any special way in my script?