Configure an SD card on a Cisco IOS XE switch to enable storage and file management capabilities.
Enable an SD card on a Cisco IOS XE switch to provide additional storage capacity and file management capabilities for the device.
SD cards can be enabled on Cisco IOS XE switches to provide additional storage for files, logs, and configurations. You can enable the SD card using ROMMON mode or switch CLI mode, depending on your access level and requirements.
Procedure
|
1. |
To enable an SD card on a Cisco IOS XE switch, use one of the following options:
- ROMMON mode: Set the SD card related ROMMON variable to no.
switch: set var DISABLE_SD_FLASH=no
- Switch CLI mode: Enable the SD card from the switch using the command in the configuration mode.
Switch> enable
Switch# config terminal
Switch(config)# sdflash
|
|
2. |
(Optional) To confirm whether the SD card is enabled, 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:
3967811584 3962859520 disk rw sdflash:
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:
|
|
3. |
(Optional) To monitor the SD card files, use the dir sdflash: command.
Switch# dir sdflash:
Directory of sdflash:/
5 drwx 4096 Nov 4 2024 12:25:50 +00:00 System Volume Information
8 drwx 4096 Nov 4 2024 07:11:22 +00:00 ProfinetGSD
7 drwx 8192 Nov 4 2024 07:10:50 +00:00 EDScisco
6 drwx 4096 Jun 17 2014 23:49:52 +00:00 moncfg
|