26-10
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
OL-8978-04
Chapter 26 Working With the Flash File System
Working with the Flash File System on the Switch
In the format command syntax, use the device2 argument to specify the device that contains the monlib
file to use. If you omit the entire device2 argument, the switch formats the device using the monlib file
that is bundled with the software. If you omit just the device name (device2) from the
[[device2:][monlib-filename]] argument, the switch formats the device using the named monlib file from
the default flash device. If you omit the monlib-filename from the [[device2:][monlib-filename]]
argument, the switch formats the device using the monlib file from device2. If you specify the entire
[[device2:][monlib-filename]] argument, the switch formats the device using the specified monlib file
from the specified device. If the switch cannot find a monlib file, it terminates the formatting process.
Note If the flash device has a volume ID, you must provide the volume ID to format the device. The volume
ID is displayed using the show flash m/device: filesys command.
To format a flash device, perform this task in privileged mode:
This example shows how to format the flash device in slot0:
Console> (enable) format slot0:
All sectors will be erased, proceed (y/n) [n]?y
Enter volume id (up to 31 characters):
Formatting sector 1
Format device slot0 completed.
Console> (enable)
Task Command
Format a flash device. format [spare spare-number] [m/]device1:
[[device2:] [monlib-filename]]