03-28-2023 10:20 AM - edited 03-28-2023 10:33 AM
Can you run a Linux bash script on a Cat9k or any newer switch in general? After uploading it I guess to dir, how would you execute it? Basically where is best place to upload it then I guess go into linux shell to execute it?
03-28-2023 10:24 AM
- You can do it on nexus (not on catalyst) : https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x/Bash.html
M.
03-28-2023 11:09 AM - edited 03-28-2023 11:10 AM
Looks like the guestshell enable command is supported as I was also able to turn IOx feature on.
I entered it but got
SW1#guestshell enable
Interface will be selected if configured in app-hosting
Please wait for completion
% Error: No interface configuration for guestshell
03-28-2023 02:47 PM
Use EEM but nevert use KRON.
03-29-2023 04:21 AM
Embedded Event Manager to upload and run a script? I'm sorry not sure I am tracking what you mean.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide