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

Example
The following command displays all of the configuration and policy files stored on your switch:
ls
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
On a modular switch, the following command displays all of the configuration and policy files stored
on the external memory card:
ls memorycard
The following is sample output from this command:
-rwxr-xr-x
1 root
-rwxr-xr-x
1 root
-rwxr-xr-x
1 root
-rwxr-xr-x
1 root
-rwxr-xr-x
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. (This parameter is available only
memorycard
on modular switches.)
—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 from the switch, a message similar to the following appears:
Remove testpolicy.pol from switch? (y/n)
Enter
to remove the file from your system. Enter
y
system.
Modular Switches Only
This command also replicates the action from the primary MSM to the backup MSM. For example, if
you delete a file on the primary MSM, the same file on the backup MSM is deleted.
ExtremeWare XOS 11.3 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
0
15401865 Mar 30 00:03 bd10K-11.2.0.13.xos
0
10 Mar 31 09:41 test-1.pol
0
10 Apr
0
10 Mar 31 09:41 test_1.pol
0
223599 Mar 31 10:02 v11_1_3.cfg
to cancel the process and keep the file on your
n
Using the ExtremeWare XOS File System
4 09:15 test.pol
101

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.3

Table of Contents