List Backup Configuration Data Files(LST CFGFILE)

Function

An OM command that lists the backup files of configuration data.

To list the all backup files of configuration data, do not set any parameter.

To list a specific type of backup file of configuration data, set the File Name.

Note

None.

Parameters

ID Name Description
FN File name

Meaning: file name

Value range: 1-32 characters

Explanation:

1. A file name allows only one wildcard character *, for example, *.dat, bin_*.dat, or *.

2. By default, all the backup configuration files are queried if you do not enter a file name.

Default value: None

Example

1. List all the backup configuration data files:
LST CFGFILE:; or LST CFGFILE:FN="*";
The result is as follows:
+++    HUAWEI        2008-07-23 14:59:46
O&M    #1518
%%LST CFGFILE:;%%
RETCODE = 0  Operation succeeded

List Backup Config data files
-----------------------------
File_Name                        File_Size(Bytes)  Modify_Date  Modify_Time  Access_Date  Access_Time

165SP10_single_A23_separate.dat  491919            2008/7/23    13:40:34     2008/7/23    13:40:42   
123456789                        491919            2008/7/23    14:59:14     2008/7/23    14:59:14   
(Number of results = 2)

List Backup Config data files
-----------------------------
        File_Type  =  bakconfig
         File_Num  =  2
All_File_Size(KB)  =  961
Disk_FreeSize(KB)  =  49346908
(Number of results = 1)


---    END
2. List the backup configuration data files whose names begin with bin_:
LST CFGFILE:FN="bin_*";
The result is as follows:
+++    HUAWEI        2008-07-23 14:41:03
O&M    #1093
%%LST CFGFILE: FN="bin_*";%%
RETCODE = 0  Operation succeeded

List Backup Config data files
-----------------------------
        File_Type  =  bakconfig
         File_Num  =  0
All_File_Size(KB)  =  0
Disk_FreeSize(KB)  =  49348516
(Number of results = 1)


---    END

Output Description

Domain Name Description
File_Name

Name of the backup configuration data file

Modify_Date

Modification date

Modify_Time

Modification time

Access_Date

Last access date

Access_Time

Last access time

File_Type

File type

File_Num

Number of files

All_File_Size(KB)

Total size of all the files (KB)

Disk_FreeSize(KB)

Free disk space (KB)

Related reference
Download Backup Configuration Data File(DLD CFGFILE)
Backup Configuration Data(BKP CFGFILE)
Upload Backup Configuration Data File(ULD CFGFILE)
Restore Configuration Data(RTR CFGFILE)
Remove Backup Configuration Data File(RMV CFGFILE)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.