After a device is powered on, it initializes the configuration by reading the configuration file from the flash memory. When you run the dir flash:
command in the user view, the following information is displayed:
<HUAWEI> dir flash:
Directory of flash:/
Idx Attr Size(Byte) Date Time FileName
0 -rw- 812 Jan 01 2008 00:00:56 private-data.txt
1 -rw- 948 Jan 01 2008 07:16:55 vrpcfg.zip
2 -rw- 90,602 Jan 03 2008 03:58:15 v200r008sph001.pat
3 -rw- 6,418,980 Jan 19 2008 20:19:42 s2700-v100r005.cc
4 -rw- 12,240 Jan 03 2008 04:52:43 $_patchstate_reboot
14,632 KB total (8,228 KB free)
In the command output:
· The private-data.txt
file saves service initialization data. Initialization data of some tasks is irrelevant to the configuration and is not recorded in the configuration file. The private-data.txt
file records initialization data of these tasks, for example, the number of times the device restarts.
· The $_patchstate_reboot
file records the patch status. This file is created after the device runs a patch and cannot be deleted. The file records the status of all patches, for example, the active state and running state.
· The v200r008sph001.pat
is a patch file. The file name extension of patch files is .pat.
Sometimes, the flash memory saves a notilogindex.txt
file. If a destination host is configured for Inform traps, the number recorded in this file is used as the initial serial number and filled in the Request ID field in Simple Network
Management Protocol (SNMP) packets. The system starts a timer when the SNMP task starts and updates the file every 12 hours.