Enterasys Networks X-Pedition XSR CLI User Manual

Page 115

Advertising
background image

File System Commands

XSR CLI Reference Guide 3-109

XSR#copy running-config startup-config

.

Mode

Privileged EXEC: 

XSR#

Examples

XSR#copy tftp://192.168.27.1/root/enterasys-sw flash:

Save Configuration to TFTP Server

Save the

startup-config

 file on a TFTP server over the network. Enter:

XSR#copy startup-config tftp: [[//location]/directory]/filename]

Software Image Loading from a TFTP Server

This XSR 1800 Series example loads the XSR software image into a file in Flash memory. If 

flash:

 

is full, you must first delete the existing image file or rename the new image 

xsr1800.fls

so as to 

copy over the old image. Be sure that your TFTP server is running and you know its IP address 
before you issue the command. Entering the 

ipconfig

 command at a DOS prompt will reveal the 

TFTP server IP address.

XSR#copy tftp://192.168.1.100/XSR1800.FLS flash:

Respond to the following script as prompted:

Destination file name [XSR1800.FLS]:
Copy ‘XSR1800.FLS’from server
as ‘XSR1800.FLS’ into Flash (y/n) ?y
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Download from server done
File size: 1856714 bytes

The image is copied to 

flash:

and its checksum verified. Should the transfer fail, then the router 

is temporarily without valid software in Flash and the XSR should not be reloaded or powered‐
down. A new TFTP copy should be initiated. The CLI session which initiated the copy is blocked 
during TFTP loading.

running-config

Keyword alias for current running configuration. This alias is only valid as 
follows:

copy running-config startup-config

This generates the current running configuration and saves it to 

flash:startup-config.

startup-config

Keyword alias for

flash:startup-config.

flash:/cflash:

Alias for Flash or CompactFlash memory as a source or destination.

tftp:

Alias for a Trivial File Transfer Protocol (TFTP) network server which can 
be used as a source or destination. The syntax for this alias is 

tftp:[[//

location]/directory/]filename

The location must be an IP address. 

Default: 0.0.0.0

Note: A TFTP file network transfer may be lengthy especially when loading a software image which
may be 3 - 6 Mbytes. The CLI prints a character every few seconds to indicate a transfer in progress.

Advertising