This command only supports to move the local file, but not to transfer the file to the server using the
protocol. The supported prefixes are: usb0/1, flash and slave.
Example 1: Move the log.txt to the upper-level directory and rename it config.txt:
Ruijie# rename tmp/log.txt ../config.txt
Example 2: Move the log.txt in the slave board to the usb0 device:
Ruijie# rename slave:/log.txt usb0:/log.txt
Example 3: Rename the log.txt in the present directory as log.txt.bak:
Ruijie# rename log.txt log.txt.bak
Example 4: Move the rgos.bin in the SD card to the flash:
Ruijie# rename sd0:/rgos.bin flash:/rgos_bak.bin
Example 5: Move the test.txt in the U disk to the SD card:
Ruijie# rename usb0:/test.txt sd0:/test2.txt config-interface-vfc)#bind
mac-address 001d.0928.b62f