Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hello,I'm trying to clean old software packages on Cat9300 Switch during ZTP.The command "request platform software package clean switch all" shows following confirmation prompt "Do you want to proceed? [y/n]".I tried to use an EEM script with Action...
Hi Seb,Thanks for your hint. I found the following variable $(SWITCHNAME), so action 2.0 looks like this:"action 2.0 cli command \"request platform software package clean switch all\" pattern \"proceed|$(SWITCHNAME)#\" "Finally, it works.
Thanks, Sep. It works! But there is one problem: If there are no old packages, the pattern is never true. (see output below) host#request platform software package clean switch allThis operation may take several minutes...Running command on switch 1C...