Copy – Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 149

Advertising
background image

Brocade Mobility RFS7000-GR CLI Reference Guide

135

53-1001945-01

Priv Exec Command

4

copy

Priv Exec Command

Use this command to copy any file (config, log, txt ...etc) to and from the switch.

NOTE

Copying a new config file onto an existing running-config file merges it with the
existing running-config. Both, the existing running-config and the new config file are applied as the
current running-config of the switch.

Copying a new config file onto a start-up config file replaces the existing start-up config file with the
parameters of the new config file. It is always better to erase the existing start-up file from the switch
and then copy the new config to the startup config.

Syntax

copy (FILE|URL) (FILE|URL)

Parameters

Example

RFS7000#copy ?

FILE File from which to copy

Files: flash:/path/file

nvram:startup-config

system:running-config

URL URL from which to copy

URLs: sftp://<user>@<hostname:port or IP>/path/file

RFS7000#copy

Transferring file snmpd.log to remote tftp server?

RFS7000#copy flash:/log/snmpd.log

tftp://157.235.208.105:/snmpd.log

Accessing running-config file from remote tftp server into switchrunning-config?

RFS7000#copy tftp://157.235.208.105:/running-

config running-config

FILE

Target file from which to copy. Select from:

flash:/path/file

nvram:startup-config

system:running-config

URL

The target URL from which to copy. Select from:

sftp://<user>@<hostname:port or IP>/path/file

Advertising