Cisco 3725 Software Configuration Guide - Page 172

File and Directory Operations

Page 172 highlights

File and Directory Operations Appendix B Formatting the Compact Flash Memory Cards Formatting Compact Flash Memory as a Class C File System Use these formatting commands to: • Format compact Flash memory cards with a Class C Flash file system • Remove the files from a compact Flash memory card previously formatted with a Class C Flash file system For external compact Flash memory cards, enter the format slot0: command. For internal compact Flash memory cards, enter the format flash: command. The following example shows output for formatting an internal compact Flash memory card with a Class C Flash file system: Router# format flash: Format operation may take a while. Continue? [confirm] Format operation will destroy all data in "flash:". Continue? [confirm] Enter volume ID (up to 64 chars)[default flash]: Current Low End File System flash card in flash will be formatted into DOS File System flash card! Continue? [confirm] Format:Drive communication & 1st Sector Write OK... Writing Monlib sectors Monlib write complete .. Format:All system sectors written. OK... Format:Total sectors in formatted partition:250592 Format:Total bytes in formatted partition:128303104 Format:Operation completed successfully. Format of flash complete File and Directory Operations The following sections describe file and directory operations for internal and external Cisco Flash memory cards. File and directory operations vary according to the formatted file system-Class B or Class C. Operations for Use With Class B Flash File System The following file operations are useful for compact Flash memory cards formatted with a Class B Flash file system. Copy Files To copy files to another location, enter the copy {flash: | slot0:} command. The following example shows output for copying a Cisco IOS file from an internal compact Flash memory card (flash:) to an external compact Flash memory card (slot0:): Router# copy flash:c3725-i-mz.tmp slot0: Destination filename [c3725-i-mz.tmp]? Erase slot0:before copying? [confirm]nCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers B-4 OL-1957-04

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196

B-4
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
OL-1957-04
Appendix B
Formatting the Compact Flash Memory Cards
File and Directory Operations
Formatting Compact Flash Memory as a Class C File System
Use these formatting commands to:
Format compact Flash memory cards with a Class C Flash file system
Remove the files from a compact Flash memory card previously formatted with a Class C Flash file
system
For external compact Flash memory cards, enter the
format slot0:
command.
For internal compact Flash memory cards, enter the
format flash:
command.
The following example shows output for formatting an internal compact Flash memory card with a
Class C Flash file system:
Router#
format flash:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in "flash:".
Continue? [confirm]
Enter volume ID (up to 64 chars)[default flash]:
Current Low End File System flash card in flash will be formatted into DOS
File System flash card!
Continue? [confirm]
Format:Drive communication & 1st Sector Write OK...
Writing Monlib sectors
...................................................................
Monlib write complete
..
Format:All system sectors written. OK...
Format:Total sectors in formatted partition:250592
Format:Total bytes in formatted partition:128303104
Format:Operation completed successfully.
Format of flash complete
File and Directory Operations
The following sections describe file and directory operations for internal and external Cisco Flash
memory cards. File and directory operations vary according to the formatted file system—Class B or
Class C.
Operations for Use With Class B Flash File System
The following file operations are useful for compact Flash memory cards formatted with a Class B Flash
file system.
Copy Files
To copy files to another location, enter the
copy
{
flash:
|
slot0:
} command.
The following example shows output for copying a Cisco IOS file from an internal compact Flash
memory card (
flash:
) to an external compact Flash memory card (
slot0:
):
Router#
copy flash:c3725-i-mz.tmp slot0:
Destination filename [c3725-i-mz.tmp]?
Erase slot0:before copying?
[confirm]nCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC