Managing the ExtremeWare XOS Software
ExtremeWare XOS 11.1 Concepts Guide
74
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 root 50 Jul 30 14:19 hugh.pol
-rw-r--r-- 1 root root 94256 Jul 23 14:26 hughtest.cfg
-rw-r--r-- 1 root root 100980 Sep 23 09:16 megtest.cfg
-rw-r--r-- 1 root root 35 Jun 29 06:42 newpolicy.pol
-rw-r--r-- 1 root root 100980 Sep 23 09:17 primary.cfg
-rw-r--r-- 1 root root 94256 Jun 30 17:10 roytest.cfg
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:
●
memorycard
—Specifies the removable external compact flash card
●
file-name
—Specifies the name of the configuration or policy file to delete
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
y
to remove the file from your system. Enter
n
to cancel the process and keep the file on your
system.
For the
memorycard
option, this command removes/deletes an existing file on the card.
Example
The following example removes the policy file named
newpolicy.pol
from the system:
rm newpolicy.pol
Содержание ExtremeWare XOS 11.1
Страница 16: ...Contents ExtremeWare XOS 11 1 Concepts Guide 16...
Страница 20: ...Preface ExtremeWare XOS 11 1 Concepts Guide 20...
Страница 21: ...1 Using ExtremeWare XOS...
Страница 22: ......
Страница 78: ...Managing the ExtremeWare XOS Software ExtremeWare XOS 11 1 Concepts Guide 78...
Страница 168: ...Virtual LANs ExtremeWare XOS 11 1 Concepts Guide 168...
Страница 200: ...Policies and ACLs ExtremeWare XOS 11 1 Concepts Guide 200...
Страница 252: ...Security ExtremeWare XOS 11 1 Concepts Guide 252...
Страница 265: ...2 Using Switching and Routing Protocols...
Страница 266: ......
Страница 294: ...Ethernet Automatic Protection Switching ExtremeWare XOS 11 1 Concepts Guide 294...
Страница 354: ...Extreme Standby Router Protocol ExtremeWare XOS 11 1 Concepts Guide 354...
Страница 416: ...IP Multicast Routing ExtremeWare XOS 11 1 Concepts Guide 416...
Страница 417: ...3 Appendixes...
Страница 418: ......
Страница 432: ...Software Upgrade and Boot Options ExtremeWare XOS 11 1 Concepts Guide 432...