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

Examples
The following example renames the configuration file named Test.cfg to Final.cfg:
mv Test.cfg Final.cfg
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
memorycard
—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
Configuration files have a .cfg file extension; policy files have a .pol file extension.
When you copy a configuration or policy file from the system, make sure you specify the appropriate
file extension. For example, if you want to copy a policy file, specify the filename and .pol.
When you copy a file, the switch displays a message similar to the following:
Copy test.cfg to test_rev2.cfg on both primary and backup MSM? (y/n)
Enter
to copy the file to both the primary and backup MSMs. Enter
y
copy the file.
If you enter
, the switch copies the file with the new name and keeps a backup of the original file with
y
the original name. After the switch copies the file, use the
files.
If you enter
, the switch displays a message similar to the following:
n
Copy cancelled.
For the
option, the source and/or destination is the memorycard. You must mount the
memorycard
memory card for this operation to succeed. this command copies a file from the switch to the card or a
file already on the card. If you copy a file from the switch to the external memory card, and the new
filename is identical to the source file, you do not need to re-enter the filename.
ExtremeWare XOS 11.1 Concepts Guide
Using the ExtremeWare XOS File System
to cancel this process and not
n
command to display a complete list of
ls
73

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.1

Table of Contents