Table Of Contents
M Commands
mkdir
modem connect line
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
•modem connect line
•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
None.
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:, slot0, or volatile:. If you do not specify the device, the switch creates the directory on the current directory.
Examples
The following example creates a directory called test in the slot0: directory.
The following example creates a directory called test at the current directory level. 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.
|
modem connect line
To enable a modem connection when the switch is already in operation, use the modem connect line command in EXEC mode.
modem connect line {com1 | console}
Syntax Description
com1
|
Connects the modem through a COM1 line connection
|
console
|
Connects the modem through a console line connection
|
Defaults
Disabled.
Command Modes
EXEC mode.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.2(2).
Usage Guidelines
If the switch is already in operation when the modem is connected, issue this command to notify the software that a modem is going to be added.
You must issue the modem connect line command before setting the user-input string for initialization.
Examples
The following example announces a modem connection from the line console.
switch# modem connect line console
The following example announces a modem connection from the COM1 port.
switch# modem connect line com1
move
To remove a file from the source file and place it in the destination file, use the move command in EXEC mode.
move {bootflash: | slot0: | volatile:}[directory/]filename
{bootflash: | slot0: | volatile:}[directory/]filename
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
|
Specifies the name of the directory.
|
filename
|
Specifies the name of the file to move or 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
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.
|