I have successfully create EEM script to backup configuration to the TFTP but for the file name i hardcode like this command
action 1.4 cli command "C9500-CR1"
Can we change the C9500-CR1 to getting value from the hostname automatically, so incase the hostname is changed so the filename also changed automatically.