The switch IOS is stored in Flash memory. Additionally the Flash memory will often contain Web based HTML files, NVRAM emulation configuration storage, VLAN configuration, and environmental settings. For various reasons, the Flash may get erased by accident or by simple hardware failure.