File System Commands
3-108 Configuring the XSR Platform
XSR(config)#rename VPN_XSR1800.fls xsr1800.fls
Rename flash:VPN_xsr1800.fls to flash:xsr1800.fls(y/n) ? y
renaming file flash:VPN_xsr1800.fls -> flash:xsr1800.fls
XSR#
ThefollowingexamplerenamesthefirmwarefileaspartofanFTP/TFTPtransfer.Afterentering
thecommand,youarepromptedbythisscript:
XSR-1800#copy tftp://192.168.37.162/c:\firmware\VPN_xsr1800.fls flash:xsr1800.fls
Copy 'c:\firmware\VPN_xsr1800.fls' from server as 'xsr1800.fls' into Flash(y/n) ? y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Download from server done
File size: 3242460 bytes
XSR-1800#

cd

Thiscommandchangesthecurrentdirectorytoflash:orcflash:ontheXSRfilesystem.
Syntax
cd [flash: | cflash:]
Mode
PrivilegedEXEC: XSR#
Example
XSR#cd cflash:

copy <file>

Thiscommandcopiesafiletoanewfilewhichmayresideinalocaldirectory,flash:orcflash:,
oronaremoteTFTPserver.Youcanomitthedestinationfilenameifnewandsourcefilenames
areidentical.TheXSR’sMSDOScompatiblefilesystemofOnBoardFlash(flash:)or
CompactFlash(cflash:)memory.Copyinitiatesascriptpromptingyourconfirmation.
Syntax
copy source destination
Thepossibleoptionsare:
XSR#copy {flash:| cflash:}[filename]{flash:| cflash:}[filename]
XSR#copy {flash:| cflash:}[filename] tftp: [[[// location]/directory]/filename]
XSR#copy tftp: [[[//location]/directory]/filename]{flash: cflash:}[filename]
flash: DefaultdirectoryinFlashmemory.
cflash: DefaultdirectoryinCompactFlashmemory.