Copying Files From Device
To copy files from the remote server, use the following command:
Reference
Command
copy scp <server_url> [timeout <interval> ] { running-config [replace] | startup-config |
sonic-image }
Description
Copies new file ISCLI config file from remote SCP server and install to the switch.
Parameters
Server_url username@ipaddress:filepathandname
timeout timeout
interval Specifies the maximum time (in seconds) to wait for the server to reply to the connection request. The timeout interval is from 1 to 100 seconds running-config Copies to the running configuration startup-config Copies to the startup configuration
sonic-image SONIC image replace Removes the existing running configuration and replaces it with the new file(full update
Mode
EXEC
CLI Example
//copying running-config from remote server
pbnoscli# copy scp <user>@<IP>:/<file.cfg> running-config
//Example - copy scp aviz@10.2.2.10:/rsw.cfg running-config
//copying startup-config from remote server
pbnoscli# copy scp <user>@<IP>:/<file.cfg> startup-config
//Example - copy scp aviz@10.2.2.10:/ssw.cfg startup-config
//copying OPBNOS from a remove server
pbnoscli# copy scp <user>@<IP>:/<opbnos.bin> opbnos-image
//Example - copy scp aviz@10.2.2.10:/OPBNOS.bin opbnos-image
Last updated
Was this helpful?