- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Labels:
-
Network Management
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.-
