cancel
Showing results for 
Search instead for 
Did you mean: 

Suppress printout of results at XMC->Scripts

Suppress printout of results at XMC->Scripts

StephanH
Valued Contributor III

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?

 

Regards Stephan
1 ACCEPTED SOLUTION

Ludovico_Steven
Extreme Employee

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.

View solution in original post

2 REPLIES 2

StephanH
Valued Contributor III

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.

Regards Stephan

Ludovico_Steven
Extreme Employee

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.

GTM-P2G8KFN