Command Reference Upgrade and Maintenance Commands
Upgrade and Maintenance Commands
copy tftp
Upgrade and maintain by the tftp protocol or upload and download by the tftp protocol.
copy flash: filename tftp://location/filename
copy tftp://location/filename flash: filename
copy flash: filename tftp://location/filename vrf vrfname
copy tftp://location/filename flash: filename vrf vrfname
Parameter
Description
Parameter Description
filename File name
vrfname VRF name
Defaults
N/A
Command
mode
Privileged user mode.
Usage Guide
If there is a space in the source file name, quotation mask is necessary for the TFTP link, for
example:
copy tftp:”//location/filename” flash: filename vrf vrfname
So does the destination file name, for example:
copy tftp://localtion/filename flash:”filename” vrf vrfname
copy tftp://localtion/filename flash:”filename” vrf vrfname
If there is a space in the source file name, quotation mask is necessary for the TFTP
link, for example:
copy tftp:”//location/filename” flash: filename vrf vrfname
So does the destination file name, for example:
copy tftp://localtion/filename flash:”filename” vrf vrfname
Configuration
Examples
The following is two examples: The first one transmits the backup parameter file (config.bak) from the
local host (ip 192.168.12. 1) to the switch; The second one transmits the file (switch.bin) from the
switch to the local switch (ip 192.168.12.1):
Ruijie# copy tftp://192.168.12.1/config.bak flash:
config.text
Ruijie# copy flash: switch.bin tftp://192.168.12.1/