12.4 Notes on Saving to Internal Flash Memory
The Switch uses the built-in flash memory to store device information, such as software, configuration, and log information.
Due to the general characteristics of the device, the on-chip flash memory has an upper limit on the number of rewrites. If the number of rewrites exceeds that number, the internal flash memory may be damaged.
The timing for writing to the internal flash memory of the Switch is when the configuration is saved and some operation commands are executed on the Switch. If these operations are continued at 100-minute intervals, the write limit may be reached in about 10 years.
- <Structure of this section>
(1) Configuration command
The main configuration commands that trigger writing to the on-chip flash memory are shown below.
-
save (write)
-
ip ssh authkey
-
ip dhcp snooping database url flash
(2) Operation command
The following table describes the main operation commands that trigger writing to the on-chip flash memory. This also applies to the dump command of each program.
Category |
Operation command |
---|---|
Configurations and File Operations |
copy, cp, rm, delete, undelete, squeeze, erase configuration, erase startup-config |
Login Security and RADIUS or TACACS+ |
adduser, rmuser, password, clear password |
SSH |
set ssh hostkey, erase ssh hostkey |
Device Management |
reload, backup, restore |
Software Management |
ppupdate, set license, erase license |
Log |
clear logging |
Advanced scripts |
install script, uninstall script |
IPv4 communication and IPv6 communication |
When show tcpdump(writefile parameter is specified) |
Web Authentication |
commit web-authentication, set web-authentication html-files, clear web-authentication html-files |
MAC-based Authentication |
commit mac-authentication |