Cisco MWR-1941-DC-2T1 Hardware Installation Guide - Page 59

Create a New Directory, Remove a Directory

Page 59 highlights

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 78-15827-06B0 Cisco MWR 1941-DC Mobile Wireless Edge Router Hardware Installation Guide 3-19

  • 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

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