Copy <file – Enterasys Networks X-Pedition XSR CLI User Manual

Page 114

Advertising
background image

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#

The following example renames the firmware file as part of an FTP/TFTP transfer. After entering 
the command, you are prompted by this script:

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

This command changes the current directory to 

flash:

 or 

cflash:

 on the XSR file system.

Syntax

cd [flash: | cflash:]

Mode

Privileged EXEC:

XSR#

Example

XSR#cd cflash:

copy <file>

This command copies a file to a new file which may reside in a local directory, 

flash:

 or 

cflash:

or on a remote TFTP server. You can omit the destination filename if new and source file names 
are identical. The XSR’s MS‐DOS‐compatible file system of On‐Board Flash (

flash:

) or 

CompactFlash (

cflash:

) memory. 

Copy

 initiates a script prompting your confirmation.

Syntax

copy source destination

The possible options are:

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:

Default directory in Flash memory.

cflash:

Default directory in CompactFlash memory.

Advertising