Cisco MDS 9000 Family Command Reference, Release 1.0(2)
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. Please see the Command Mode section to determine the appropriate mode for each command. For more information, see the Cisco MDS 9000 Family Configuration Guide.

mkdir

move

mkdir

To create a new directory in the flash file system, use the mkdir command.

mkdir {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

directory

Name of the directory to create.


Defaults

This command has no default settings.

Command Modes

EXEC

Usage Guidelines

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

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

Examples

This example creates a directory called test in the slot0 directory.

switch# mkdir slot0:test 

This 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.

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

directory

Name of the directory to move, or to create.


Defaults

This command has no default settings.

Command Modes

EXEC

Usage Guidelines

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

Examples

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

switch# move slot0:samplefile slot0:mystorage/samplefile

This 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 new directory in the flash file system

rmdir

Removes an existing directory in the flash file system.