Couple of days ago I was trying to play with XMC scripting capabilities to combine it with VOSS device (VSP4K).
To start with something simple to check if it works, I did a script to enable a port.
CLI script type with exact port specified worked:
interface GigabitEthernet 1/1
exitI wanted to do the same but with $port variable instead of a fixed port number. I've created a TCL script to be able to do that, and then during the execution XMC did 'configure terminal', I see some standard output about 'CTRL/Z' but then the script didn't continue, there was an error instead:
*** Script Error ***
nullThe same if I try a TCL script but with fixed port number instead of $port.
What do I do wrong with that TCL script?
That looks more like a bug but perhaps there's something I don't know.
I've selected a port with $port version obviously. 😉