B-26
Cisco 2600 Series Routers Hardware Installation Guide
OL-2171-02
Appendix B Maintaining the Router
Installing and Formatting Compact Flash Memory Cards in Cisco 2691 Routers
• Entering the home directory of a compact Flash memory card (flash:/)
• Verifying that you are in the home directory
• Displaying the contents of the home directory
• Entering the /config directory
• Verifying that you are in the /config directory
• Returning to the home directory (flash:/)
• Verifying that you are in the home directory
Router# cd
Router# pwd
flash:
Router# dir
Directory of flash:/
3 -rw- 14221136 May 07 1993 03:18:24 c2691-i-mz.122-7.6.T1
3475 -rw- 9169616 Mar 01 1993 00:08:24 c2691-i-mz.tmp
1 drw- 0 Mar 01 1993 00:11:04 config
127832064 bytes total (104431616 bytes free)
Router# cd config
Router# pwd
flash:/config/
Router# cd
Router# pwd
flash:
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.
File Operations
Copy Files
To copy the files to another location, use the copy flash: command.
The following example shows output for copying a configuration file to the startup configuration in an
internal compact Flash memory card (
flash:):
Router# copy flash:my-config1 startup-config
Destination filename [startup-config]?
[OK]
517 bytes copied in 4.188 secs (129 bytes/sec)
Router#
The following example shows output for copying a configuration file to the running configuration in an
internal compact Flash memory card (
flash:):
Router# copy flash:my-config2 running-config