11-20-2017 07:28 AM - edited 03-01-2019 06:15 PM
Hi,
How can I use variables in EEM aplets ? I tried this method:
action 1.0 cli "copy bootflash:/$(SWITCHNAME)_$(TIMESTAMP).cfg"
but it actually takes the values from variables before putting int config mode. So when I enter this command I have this in running config:
action 1.0 cli copy bootflash:/s-sdc-core-2_2017-11-20-14.51.22.cfg
and from obvious reasons it's not what I ment :)
Thanks for all help !
BR
Solved! Go to Solution.
11-20-2017 02:28 PM
Hi @Stv_666
I have found this blog here and might help you:
https://bestpathconsulting.com/2015/using-variables-in-eem-applets/
-If I helped you somehow, please, rate it as useful.-
11-20-2017 02:28 PM
Hi @Stv_666
I have found this blog here and might help you:
https://bestpathconsulting.com/2015/using-variables-in-eem-applets/
-If I helped you somehow, please, rate it as useful.-
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