Configuration File Management Commands 411
Description
Use the undelete command to recover the deleted file.
The file name to be recovered cannot be the same as an existing directory name. If
the destination file name is the same as an existing file name, a prompt will be
displayed asking whether to overwrite the existing file.
Example
Display the information for all of the files in the current directory, including the
deleted files.
<SW5500>dir /all
Directory of unit1>flash:/
0 -rw- 595 Jul 12 2001 20:13:19 test.txt
1 -rw- 50 Jul 12 2001 20:09:23 [sample.bak]
16125952 bytes total (13972480 bytes free)
Recover the deleted file sample.bak.
<SW5500>undelete sample.bak
Undelete unit1>flash:/sample.bak ?[confirm]:y
% Undeleted file unit1>flash:/sample.bak
Display the information for all of the files in the current directory, including the
deleted files .
<SW5500>dir /all
Directory of unit1>flash:/
0 -rw- 50 Jul 12 2001 20:34:19 sample.bak
1 -rw- 595 Jul 12 2001 20:13:19 test.txt
16125952 bytes total (13972480 bytes free)
Configuration File
Management
Commands
This section describes the commands you can use to manage the configuration
files on your Switch 5500G-EI.
display
current-configuration
Syntax
display current-configuration [ controller | interface
interface-type
[
interface-number
] | configuration [
configuration
] ] [ | { begin | exclude | include }
regular-expression
]
View
All views
Parameter
controller: View the configuration information of controllers.
interface: View the configuration information of interfaces.
interface-type
: Type of the interface.
interface-number
: Number of the interface.