Displaying Files On The Switch; Deleting Files From 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
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

Displaying Files on the Switch

To display a list of the configuration and policy files stored on your switch, use the following command:
ls
Output from this command includes the file size, date and time the file was last modified, and the file
name.
The following is sample output from this command:
total 424
-rw-r--r--
1 root
-rw-r--r--
1 root
-rw-r--r--
1 root
-rw-r--r--
1 root
-rw-r--r--
1 root
-rw-r--r--
1 root

Deleting Files From the Switch

To delete a configuration or policy file from your system, use the following command:
rm {memorycard} <file-name>
Where the following is true:
—Specifies the removable external compact flash card
memorycard
—Specifies the name of the configuration or policy file to delete
file-name
When you delete a configuration or policy file from the system, make sure you specify the appropriate
file extension. For example, if you want to delete a policy file, specify the filename and .pol. After you
delete a file, it is unavailable to the system.
When you delete a file, the switch displays a message similar to the following:
Remove testpolicy.pol from both primary and backup MSM? (y/n)
Enter
to remove the file from your system. Enter
y
system.
For the
option, this command removes/deletes an existing file on the card.
memorycard
Example
The following example removes the policy file named newpolicy.pol from the system:
rm newpolicy.pol
ExtremeWare XOS 11.1 Concepts Guide
root
50 Jul 30 14:19 hugh.pol
root
94256 Jul 23 14:26 hughtest.cfg
root
100980 Sep 23 09:16 megtest.cfg
root
35 Jun 29 06:42 newpolicy.pol
root
100980 Sep 23 09:17 primary.cfg
root
94256 Jun 30 17:10 roytest.cfg
to cancel the process and keep the file on your
n
74

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.1

Table of Contents