System Management Configuration Guide, Cisco Catalyst IE3x00 Rugged, IE3400 Heavy Duty, and ESS3300 Series Switches

PDF

System Management Configuration Guide, Cisco Catalyst IE3x00 Rugged, IE3400 Heavy Duty, and ESS3300 Series Switches

Disable an SD card

Want to summarize with AI?

Log in

Configure the system to disable an SD card on a Cisco IOS XE switch using either ROMMON mode or switch CLI mode.


Disable an SD card on a Cisco IOS XE switch to prevent the system from recognizing or accessing the SD card storage.

You can disable an SD card on a Cisco IOS XE switch using two different methods: ROMMON mode or switch CLI mode.

Procedure

1.

To disable an SD card on a Cisco IOS XE switch, choose one of these options:

  • ROMMON mode: Set the SD card-related ROMMON variable to yes.
switch: set var DISABLE_SD_FLASH=yes 
  • Switch CLI mode: Disable the SD card on the switch using the command in configuration mode.
Switch(config)# no sdflash 
2.

(Optional) After logging in to the switch, the SD card does not appear in the list of file systems. To confirm, use the show file systems command.

Switch# show file systems 

File Systems:
Size(b) Free(b) Type Flags Prefixes
- - opaque rw system:
- - opaque rw tmpsys:
518885376 474765312 disk rw crashinfo:
* 1697755136 1133522944 disk rw flash: bootflash:
1711341568 1645002752 disk ro webui: 
- - opaque ro xmodem:
- - opaque ro ymodem:
- - opaque rw null:
- - opaque ro tar:
- - network rw tftp:
33554432 33492400 nvram rw nvram:
- - opaque wo syslog:
3.

(Optional) To confirm that the SD card has been disabled, use the dir sdflash: command.

Switch# dir sdflash:

%Error opening flash:/sdflash (No such file or directory)