01-24-2018 09:34 PM - edited 03-08-2019 01:33 PM
Hi Cisco Team,
Can anyone Help me to provide a solution on automation backup configuration step on Cisco nexus 3k platform. I have done all the steps according to cisco site but still its failing the backup due to permission issue with Backup server. Please find the relevant configuration from my end.
Configuration:
===========
config terminal
feature scheduler
scheduler logfile size 128
end
config terminal
scheduler aaa-authentication username cisco password 7 EyG1Kc02
end
config terminal
scheduler job name NX-BackUp-Config
copy running-config scp://172.22.48.97/home/cisco/NEXUS3K-2/$(SWITCHNAME)-conf.$(TIMESTAMP) vrf management
end
config terminal
scheduler schedule name NX-Schedule
time daily 10:50
end
no feature telnet
feature scp-server
feature vrrp
feature tacacs+
feature scheduler
feature lacp
feature lldp
feature vtp
ip ssh source-interface mgmt0
ip ssh source-interface mgmt0 vrf management
Output error
==========
While doing manually with this script:
============================
BCC_NEXUS_SW_02# copy running-config scp://172.22.48.97/home/cisco/NEXUS3K-2/$(SWITCHNAME)-conf.$(TIMESTAMP) vrf management
Enter username: cisco
The authenticity of host '172.22.48.97 (172.22.48.97)' can't be established.
RSA key fingerprint is 11:5c:d4:78:29:61:eb:59:53:3b:e2:d2:14:97:ee:ae.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.22.48.97' (RSA) to the list of known hosts.
cisco@172.22.48.97's password:
Permission denied, please try again.
cisco@172.22.48.97's password:
BCC_NEXUS_SW_02-running-config 100% 12KB 12.3KB/s 00:00
Copy complete, now saving to disk (please wait)...
BCC_NEXUS_SW_02#
01-28-2018 06:48 AM
Hi,
Anyone there to solve this issue urgently. Thanks
Regards,
Saleh
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