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

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

Advertisement

Managing the ExtremeWare XOS Software
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 a the switch, a message similar to the following appears:
Copy config test.cfg to config test1.cfg on switch? (y/n)
Enter
to copy the file. Enter
to cancel this process and not copy the file.
y
n
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
command to display a complete list of
ls
files.
Modular Switches Only
This command also replicates the action from the primary MSM to the backup MSM. For example, if
you copy a file on the primary MSM, the same file is copied to the backup MSM.
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 external
memory 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.
Example
The following example copies an existing configuration file named test.cfg and names the copied
configuration file test_rev2.cfg:
cp test.cfg test_rev2.cfg
On a modular switch, the following command makes a copy of a configuration file named primary.cfg
from the switch to the external memory card with the same name, primary.cfg:
cp primary.cfg memorycard

Displaying Files on the Switch

To display a list of the configuration and policy files stored on your switch, use the following command:
ls {memorycard}
Where the
option lists all of the files on the external memory card. (Modular switches only.)
memorycard
Output from this command includes the file size, date and time the file was last modified, and the file
name.
100
ExtremeWare XOS 11.3 Concepts Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.3

Table of Contents