Using an SD Card
SD Card Operation
SD Card Operation
The SD card can be accessed by either the switch boot-loader or by the IOS. The following sections describe the
operations that can be performed by the controlling software:
Boot Loader Operation, page 1058
IOS Operation, page 1058
Boot Loader Operation
The following boot loader commands can be executed on the SD card:
boot—Load and boot an executable IOS image
cat—Concatenate (type) file or files
copy—Copy a file
delete—Delete file of files
dir—List files in directories
fsck—Check file system consistency
format—Format a file system
mkdir—Create directories
more—Concatenate (display) file
rename—Rename a file
rmdir—Delete empty directories
sd_init—Initialize sd flash file systems
Important: The switch can be booted from its internal flash memory or from an SD card. The SD card takes precedence
over internal flash memory. If an SD card is installed in the switch, the switch attempts to boot in the following order:
1.
From the IOS image that is specified in the SD card system boot path
2.
From the first IOS image in the SD card
3.
From the IOS image that is specified in the internal flash memory system boot path
4.
From the first IOS image in the internal flash
IOS Operation
You can insert or remove an SD card while the IOS is running. If you insert a supported Cisco SD card while the IOS is
running, the switch validates the Cisco embedded string in the Product Name (PNM) field and displays the product
number and the flash capacity of the SD card. If you remove an SD card while the IOS is running, the switch displays a
warning message to alert you that the SD card has been removed.
If syslog is enabled, the system also sends a message when the SD card is inserted or removed.
When an SD card is installed in a switch, the following IOS commands operate as described:
1058