Copying Files On The Switch - Extreme Networks ExtremeWare XOS Guide Manual

Concepts guide
Hide thumbs Also See for ExtremeWare XOS Guide:
Table of Contents

Advertisement

Where the following is true:
—Specifies the removable external compact flash memory card. (This parameter is
memorycard
available only on modular switches.)
—Specifies the current name of the configuration or policy file.
old-name
—Specifies the new name of the configuration or policy file.
new-name
Configuration files have a .cfg file extension; policy files have a .pol file extension.
When you rename a file, make sure the renamed file uses the same file extension as the original file. If
you change the file extensions, the file may be unrecognized by the system. For example, if you have an
existing configuration file named test.cfg, the new filename must include the .cfg file extension.
When you rename a file on the switch, a message similar to the following appears:
Rename config test.cfg to config megtest.cfg on switch? (y/n)
Enter
to rename the file on your system. Enter
y
Modular Switches Only
This command also replicates the action from the primary MSM to the backup MSM. For example, if
you rename a file on the primary MSM, the same file on the backup MSM is renamed.
For the
option, this command can move files between the external memory card and the
memorycard
switch. If you use the
memorycard
renames a file on the external memory card.
Examples
The following example renames the configuration file named Test.cfg to Final.cfg:
mv Test.cfg Final.cfg
On a modular switch, the following command moves the configuration file named test1.cfg from the
switch to the external memory card:
mv test1.cfg memorycard test1.cfg

Copying Files on the Switch

The copy function allows you to make a copy of an existing file before you alter or edit the file. By
making a copy, you can easily go back to the original file if needed.
To copy an existing configuration or policy file on your switch, use the following command:
cp {memorycard} <old-name> {memorycard} <new-name>
Where the following is true:
—Specifies the removable external compact flash memory card. (This parameter is
memorycard
available only on modular switches.)
—Specifies the name of the configuration or policy file that you want to copy.
old-name
—Specifies the name of the copied configuration or policy file.
new-name
ExtremeWare XOS 11.3 Concepts Guide
to cancel this process and keep the existing filename.
n
option for both the
old-name
Using the ExtremeWare XOS File System
and the
, this command only
new-name
99

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.3

Table of Contents