Cisco MDS 9000 Family Command Reference, Release 1.2(1a)
M Commands

Table Of Contents

M Commands

mkdir

move


M Commands


The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.

mkdir

move

mkdir

To create a directory in the Flash file system, use the mkdir command in EXEC mode.

mkdir directory

Syntax Description

directory

Name of the directory to create.


Defaults

This command has no default settings.

Command Modes

EXEC

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

This command is only valid on Class C Flash file systems.

You can specify whether to create the directory on bootflash: or on slot0 or on volatile:

If you do not specify the directory name in the command line, the switch prompts you for it.

Examples

The following example creates a directory called test in the slot0 directory.

switch# mkdir slot0:test 

The following example creates a directory called test at the current directory level.

switch# mkdir test

If the current directory is slot0:mydir, this command creates a directory called slot0:mydir/test.

Related Commands

Command
Description

dir

Displays a list of files on a file system.

rmdir

Removes an existing directory in the Flash file system.


move

To remove a file from the source directory and place it in the destination directory, use the move command in EXEC mode.

move {bootflash: | slot0: | volatile:} directory {bootflash: | slot0: | volatile:} directory

Syntax Description

bootflash:

Source or destination location for internal bootflash memory.

slot0:

Source or destination location for the CompactFlash memory or PCMCIA card.

volatile:

Source or destination location for volatile memory.

directory

Name of the directory to move or to create.


Defaults

None.

Command Modes

EXEC mode.

Command History

This command was introduced in Cisco MDS SAN-OS Release 1.0(2).

Usage Guidelines

If you do not specify the directory name in the command line, the switch prompts you for it.

Examples

The following example moves the file called samplefile from the slot0 directory to the mystorage directory.

switch# move slot0:samplefile slot0:mystorage/samplefile

The following example moves a file from the current directory level.

switch# move samplefile mystorage/samplefile

If the current directory is slot0:mydir, this command moves slot0:mydir/samplefile to slot0:mydir/mystorage/samplefile.

Related Commands

Command
Description

dir

Displays a list of files on a file system.

mkdir

Creates a directory in the Flash file system.

rmdir

Removes an existing directory in the Flash file system.