3-19
Cisco MWR 1941-DC Mobile Wireless Edge Router Hardware Installation Guide
78-15827-06B0
Chapter 3 Installing the Router
Replacing or Upgrading the CF
Create a New Directory
To create a directory in CF memory, use the
mkdir
slot0:
directory
-
name
command.
The following example shows output for first displaying the contents of an external CF card, and then
creating a directory named config and a subdirectory named test-config:
Router#
dir slot0:
Directory of slot0:/
3 -rw- 6458208 Mar 01 1993 00:04:08 mwr1941-i-mz.tmp
128094208 bytes total (121634816 bytes free)
Router#
mkdir slot0:/config
Create directory filename [config]?
Created dir slot0:/config
Router#
mkdir slot0:/config/test-config
Create directory filename [/config/test-config]?
Created dir slot0:/config/test-config
Router#
dir slot0:
Directory of slot0:/
3 -rw- 6458208 Mar 01 1993 00:04:08 mwr1941-i-mz.tmp
1580 drw- 0 Mar 01 1993 23:48:36 config
128094208 bytes total (121626624 bytes free)
Router# cd slot0:/config
Router#
dir slot0:
Directory of slot0:/config/
1581 drw- 0 Mar 01 1993 23:50:08 test-config
128094208 bytes total (121626624 bytes free)
Remove a Directory
To remove a directory from CF memory, use the
rmdir
slot0:
/
directory
-
name
command.
Before you can remove a directory, all files and subdirectories must be removed from the directory.
The following example shows output for displaying the contents of an external CF card, then removing
the subdirectory named test-config:
Router#
dir slot0:
Directory of slot0:/config/
1581 drw- 0 Mar 01 1993 23:50:08 test-config
128094208 bytes total (121626624 bytes free)
Router#
rmdir slot0:/config/test-config