Extreme Networks ExtremeWare XOS Command Reference Manual page 240

Version 11.3
Hide thumbs Also See for ExtremeWare XOS:
Table of Contents

Advertisement

Commands for Managing the ExtremeWare XOS Software
cp
cp {memorycard} <old-name> {memorycard} <new-name>
Description
Copies an existing configuration or policy file in the system.
Syntax Description
memorycard
old-name
new-name
Default
N/A.
Usage Guidelines
Use this command 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.
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 on the switch, the switch displays a message similar to the following:
Copy config test.cfg to config test1.cfg on switch? (y/n)
Enter
to copy the file. Enter
y
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. In this example, the switch displays the original file named test.cfg and the copied file named
test_rev2.cfg.
The following is sample output from the
...
-rw-r--r--
-rw-r--r--
...
If you enter
n
Copy cancelled.
240
Specifies the removable external compact flash memory card.
NOTE: This parameter is available only on modular switches.
Specifies the name of the configuration or policy file that you want to copy.
Specifies the name of the copied configuration or policy file.
to cancel this process and not copy the file.
n
1 root
root
1 root
root
, the switch displays a message similar to the following:
command to display a complete list of
ls
command:
ls
100980 Sep 23 09:16 test.cfg
100980 Oct 13 08:47 test_rev2.cfg
ExtremeWare XOS 11.3 Command Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.3

Table of Contents