How to Troubleshoot and Fix "bootflash" Directory Issues in Cisco Nexus Switches

How to Troubleshoot and Fix "bootflash" Directory Issues in Cisco Nexus Switches

Purpose

This article explains how to troubleshoot and resolve "bootflash" directory issues in Cisco Nexus switches. This method applies to both lab environments (GNS3/EVE-NG) and real production switches.


Common Symptoms

  • bootflash: No such file or directory

  • dir bootflash: shows empty

  • Image file missing

  • Switch stuck in loader mode

  • Switch not booting NX-OS

Step 1: Verify NX-OS Image in Bootflash

After logging into the switch, first check whether the NX-OS image is present.

Run:
dir bootflash:


Step 2: Enter Configuration Mode

Enter global configuration mode:

Run
configure terminal


Step 3: Set Boot Variable

Run
boot nxos bootflash:nxos.9.3.10.bin


Step 4: Save Configuration

Save the configuration:

copy running-config startup-config





    • Related Articles

    • Enabling Microburst Monitoring on Cisco Nexus Switches

      Summary This article explains how to enable and verify microburst detection on Cisco Nexus 9000 series switches. Microbursts are short spikes of traffic that can momentarily exceed interface buffer capacity, leading to output discards even when ...
    • How to Upload and Add Custom Device Image in GNS3

      Purpose This article explains how to upload and add custom device images (IOS, QCOW2, etc.) in GNS3 so they can be used in your lab topology. Supported Image Types (Examples) Cisco IOS (Dynamips) IOU/IOL images QEMU (QCOW2) CSR1000v FortiGate Palo ...
    • Collect Logs from NVIDIA QM9700 InfiniBand Switch (Sysdump) - Web GUI

      Purpose This article describes the procedure to collect diagnostic logs (sysdump) from an NVIDIA QM9700 InfiniBand switch. The sysdump file is typically requested by NVIDIA Networking Support for troubleshooting fabric, port, firmware, or stability ...
    • How to Collect Logs from NVIDIA UFM (UFM System Dump)

      Purpose This article explains how to collect diagnostic logs from NVIDIA Unified Fabric Manager (UFM) using the web-based GUI. The UFM system dump is typically required by NVIDIA Support for troubleshooting fabric health, host visibility, alerts, and ...
    • How to Collect Logs from NVIDIA Cumulus Linux Switch

      Purpose This article describes how to collect diagnostic logs from a switch running NVIDIA Cumulus Linux. These logs are typically required by NVIDIA Networking Support for troubleshooting switch-level issues such as port flaps, routing problems, ...