C i s c o C o n f i d e n t i a l - B e t a R e v i e w R 3 . 7. 1
File System Commands on Cisco IOS XR Software
mkdir
SMR-240
Cisco ASR 14000 Series Router System Management Command Reference
OL-17231-01
mkdir
To create a new directory on a file system, use the
mkdir
command in EXEC or administration EXEC
mode.
mkdir
filesystem
:
[
location
node-id
|
location
all
]
Syntax Description
Defaults
No default behavior or values
Command Modes
EXEC
Administration EXEC
Command History
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper
task IDs.
After you issue the
mkdir
command, Cisco IOS XR software prompts you to specify the name of the
directory to be created. When specifying the name of the new directory, include the directory path where
you want the new directory to reside. If you do not specify a directory path, the new directory is created
in the /usr directory of the file system specified for the
filesystem
:
argument.
Task ID
Examples
The following example shows how to create a directory named
newdir. The
dir
command is used to
verify that the directory has been added.
RP/0/RP0/CPU0:router#
mkdir harddisk:
Create directory filename []?
newdir
Created dir harddisk:/newdir
RP/0/RP0/CPU0:router#
dir harddisk:
Directory of harddisk:
11193 drwx 4096 Fri Feb 13 06:45:05 2004 newdir
filesystem
:
File system on which to create a new directory.
location
node-id
(Optional) Creates a new directory on a file system on the designated node. The
node-id
argument is expressed in the
rack
/
slot
/
module
notation.
location
all
(Optional) Creates a new directory on a file system on all RP nodes.
Releases
Modifications
Release 3.7.1
This command was introduced on the Cisco ASR 14000 Series Router.
Task ID
Operations
filesystem
execute