cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1138
Views
0
Helpful
0
Replies

Starting Guestshell (Python scripts) takes a long time

mario.jost
Level 3
Level 3

We are trying to convert all our TCL scripts to Pyhton script on the new 9200 and 9300 catalyst switches. We tested around with the guestshell and could run some scripts already. The only issue we have is, every time we start a script by following command:

 

 

switch#guestshell run python3 /flash/guest-share/hostname.py

 

It takes around 2min to start the "guestshell" engine and then run the script. This is not an alternative to TCL that was running instantly. Is there some tweak we can do to make the script run immediately (similar to NX-OS)? I know of a way to give the guestshell a seperate IP and connect directly to it and run scripts from there. But we extend the CLI with alot of small TCL scripts and want to be able to start them in the same CLI along commands like 'show ip int brief'

0 Replies 0