![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275150.webp)
Foundry Switch and Router Installation and Configuration Guide
5 - 26
December 2000
To change all files on a flash card to read-only, enter a command such as the following:
BigIron# attrib ro *.*
This command changes the read-write attribute for all files on the flash card that currently has the management
focus to read-only.
Deleting a File from a Flash Card
To delete a file from a flash card, use the following method.
CAUTION:
By default, the delete option deletes all files on the flash card. Make sure you specify the files you
want to delete.
CAUTION:
The software does not have an undelete option. Make sure you really want to delete the file.
USING THE CLI
To delete a file on the flash card that has the management focus, enter a command such as the following:
BigIron# delete cfg.cfg
If the command is successful, the CLI displays a new command prompt.
Syntax:
delete [slot1 | slot2] [<file-name>]
The command in this example deletes the specified file. To delete all files that contain a specific string of
characters, enter a command such as the following:
BigIron# delete test*.*
This command deletes all files whose names start with “test”. To delete all the files on a flash card, enter a
command such as the following:
BigIron# delete slot2
The command in this example deletes all files on the flash card in slot 2. In this example, slot 1 has the
management focus, but the files to be deleted are on the flash card in slot 2.
Recovering (“Undeleting”) a File
You can undelete a command you have deleted from a flash card. To do so, enter a command such as the
following:
BigIron# undelete
Undelete file "?LD.CFG" ? (enter ’y’ or ’n’):
y
Input one character:
O
File recovered successfully and named to OLD.CFG
The command in this example starts the undelete process for the flash card and subdirectory that currently have
the management focus. For each file that can be undeleted, the CLI displays the remaining name entry in the file
directory and prompts you for the first character of the file name. You can enter any valid file name character.
You do not need to enter the character that was used before in the deleted file name.
Once you enter a character and the CLI undeletes the file, the CLI continues with the next file that can be
undeleted. For each file, specify “y” or “n”, and specify a first character for the files that you select to undelete.
To end the undelete process, enter the CTRL + C key combination.
Syntax:
undelete [slot1 | slot2] [\<to-dir-path>]
NOTE:
When you delete a file from a flash card, the CLI leaves the file intact but removes the first letter in the file
name from the file directory. However, if you save file changes or new files that use part of the space occupied by
the deleted file, you cannot undelete the file. The
undelete
command lists only the files that can be undeleted.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...