04-20-2021 07:37 AM
Hello community,
if you query a switch with a pyhton script in XMC, when you execute the script via the XMC GUI, everything that the switch returns is displayed under results. So e.g. if you send a "show vlan" all vlans will be displayed, even if you only want to process the output and not display it.
Is there a way to change the behavior so that all results are suppressed and only shows what you want to see, e.g. what you output with print?
Solved! Go to Solution.
04-20-2021 12:12 PM
Don’t think that is possible.
The approach I use is to have a clean summary printed at the very end. So you just scroll to the bottom to see that.
04-20-2021 01:11 PM
Hello Ludivico,
thank you for the quick reply. Your suggestion I use so far also.
If you have a lot of show commands the output becomes a bit long and the customer has a long way to scroll down.
But no problem, would have been only a nice optical thing.
04-20-2021 12:12 PM
Don’t think that is possible.
The approach I use is to have a clean summary printed at the very end. So you just scroll to the bottom to see that.