Default file types in the flash memory of an S series switch

17

After an S series switch (except the S1700) is powered on, it initializes the configuration by reading the configuration file from the flash memory by default. When you run the dir flash: command in the user view, the following information is displayed:
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:
- vrpcfg.cfg: indicates the configuration file.
- s2700-v100r005.cc: indicates the system software.
- private-data.txt: indicates the file used to save service initialization data. Initialization data of some tasks (for example, the number of times the switch restarts) is irrelevant to the configuration and is not recorded in the configuration file. The private-data.txt file records initialization data of these tasks.
- $_patchstate_reboot: records patch status. This file is created after the switch runs a patch. This file is protected by the system and cannot be deleted. The file records status of all patches, for example, the active state and running state.
- v200r008sph001.pat: indicates a patch file. The 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 SNMP packets. The system starts a timer when the SNMP task starts, and updates the file every 12 hours.

Other related questions:
Upgrading S series switch through BootROM
To upgrade S series switches (except S1700 switches) using the BootROM, perform as follows: 1. Prepare the software package to be uploaded, and start the FTP or TFTP software on the PC as an FTP or TFTP server. 2. Connect the PC to the switch through a console cable, and start the terminal software (such as SecureCRT or HyperTerminal). 3. Power off and restart the switch. When the message "Press Ctrl+B to enter BOOTROM menu..." is displayed, press Ctrl+B to enter the BootROM menu. (The default BootROM password of fixed switches is huawei in versions earlier than V100R006C03 and Admin@huawei.com in V100R006C03 and later. The default BootROM password of modular switches is 9300 in versions earlier than V100R006 and Admin@huawei.com in V100R006 and later.) 4. Enter the file system submenu to verify that sufficient space is available for storing the system software. 5. Enter the Ethernet submenu to set FTP or TFTP parameters as prompted and download the system software package for the upgrade from the FTP server. 6. Enter the startup submenu to specify the newly uploaded system software package as the software for next startup. 7. Restart the switch.

Memory and flash specifications of S series fixed switch
For memory and flash specifications of the S1720, see "Hardware Structure" in the Product Description. For memory and flash specifications of the S3700, see "System Configuration" in the Hardware Description. For memory and flash specifications of the S2700, S5700, S6700, and S600, see "Technical Specifications" in the Hardware Description. For the product description of the S1720, see < S1720 Hardware Description >. For the hardware description of the S2700, see . For the hardware description of the S3700, see . For the hardware description of the S5700, see < S5700Hardware Description >. For the hardware description of the S6700, see < S6700Hardware Description >. For the hardware description of the S600, see < S600Hardware Description >.

What files will be displayed in the flash memory in addition to the default startup system software package and configuration file
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: 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.

How is the lightningstrikerecord.txt file in the flash memory of the S2700 generated
A device automatically generates this file in the flash memory after a lightning strike. The file records the total number of exceptions and the time when the latest five exceptions occur.

How can I clear logs on a WLAN device
Logs generated on a WLAN device are saved in the log buffer. After the number of logs reaches the specified threshold, the logs are saved to the syslogfile or logfile folder in the device's flash memory. When the WLAN device has been running for a long time, it generates a large number of logs. In this case, you can run the info-center max-logfile-number command to set the maximum number of logs to be saved on the device. You can clear all logs in the buffer and the flash memory. 1. Clear logs in the log buffer or trap buffer. - Run the reset logbuffer command in the user view to clear logs in the log buffer. - Run the reset trapbuffer command in the user view to clear traps in the trap buffer. 2. Clear log files in the flash memory. Run the delete command in the user view to delete log files in the flash memory. To delete logs in the logfile folder, perform the following operations: - delete flash:/logfile/xxx //Delete a log record. xxx specifies the log file name saved in the flash memory. - delete /unreserved flash:/logfile/xxx //Permanently delete a log record, which cannot be restored. - reset recycle-bin //Empty the recycle bin.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top