Cisco N9K – Transfer Files between Switches
1. Add User
switch(config)# username test password test1234 role network-admin
switch# show user-account
2. Enable SSH
switch(config)# ssh key rsa 2048
### ssh feature is enabled by default
switch(config)# feature ssh
switch# show ssh key
switch(config)# ssh login-attempts 5
switch# show running-config security
3. Enable SCP
switch(config)# feature scp-server
switch# copy bootflash:nxos64-cs.10.4.4.M.bin scp://admin@1.1.1.2/nxos64-cs.10.4.4.M.bin
Enter vrf (If no input, current vrf 'default' is considered):
User Access Verification
(admin@1.1.1.2) Password:
nxos64-cs.10.4.4.M.bin 100% 2654MB 2.2MB/s 20:20
Copy complete, now saving to disk (please wait)...
Copy complete.