I want to send running config to central server periodically for backup,
I succeded to send running config using copy run commad as below:
##copy run scp://username@IP_address/home/username/$HOSTNAME.txt
But i can not use HOSTNAME value with command line copy command.
Do i have to use bash sudo command to use HOSTNAME value? and can i use switch’s crontab for this purpose?
(Software image version: 4.23.0F)
Thanks in advance.
Post your Answer
You must be logged in to post an answer.