M Commands
This chapter describes the basic Cisco NX-OS system commands that begin with M.
modem in
To enable the modem connection on the console port, use the modem in command. To disable the modem connection, use the no form of this command.
Syntax Description
Command Default
Command Modes
Terminal line configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can configure the console port only from a session on the console port.
Examples
This example shows how to enable a modem connection on the console port:
This example shows how to disable a modem connection on the console port:
Related Commands
|
|
---|---|
modem init-string
To download the initialization string to a modem connected to the console port, use the modem init-string command. To revert to the default, use the no form of this command.
modem init-string { default | user-input }
Syntax Description
Command Default
Command Modes
Terminal line configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can configure the console port only from a session on the console port.
The default initialization string ATE0Q1&D2&C1S0=1\015 is defined as follows:
- AT—Attention
- E0 (required)—No echo
- Q1—Result code on
- &D2—Normal data terminal ready (DTR) option
- &C1—Enable tracking the state of the data carrier
- S0=1—Pick up after one ring
- \015 (required)—Carriage return in octal
Use the modem set-string command to configure the user-input initialization string.
Examples
This example shows how to download the default initialization string to the modem connected to the console port:
This example shows how to download the user-input initialization string to the modem connected to the console port:
This example shows how to remove the initialization string to the modem connected to the console port:
Related Commands
|
|
---|---|
Configures the user-input initialization string for a modem. |
|
modem set-string user-input
To configure the user-input initialization string to download to a modem connected to the console port, use the modem set-string user-input command. To revert to the default, use the no form of this command.
modem set-string user-input string
Syntax Description
User-input string. This string is alphanumeric and case sensitive, can contain special characters, and has a maximum of 100 characters. |
Command Default
Command Modes
Terminal line configuration mode
Command History
|
|
---|---|
Usage Guidelines
You can configure the console port only from a session on the console port.
Examples
This example shows how to configure the user-input initialization string for the modem connected to the console port:
This example shows how to revert to the default user-input initialization string for the modem connected to the console port:
Related Commands
|
|
---|---|
move
To move a file from one directory to another, use the move command.
move {[ filesystem :] [// server /] [ directory ] source-filename } [ filesystem :] [// server /] [ directory ] [ destination-filename ]
Syntax Description
Command Default
The default filename for the destination file is the same as the source file.
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can make a copy of a file by using the copy command.
Tip You can rename a file by moving it within the same directory.
Examples
This example shows how to move a file to another directory:
This example shows how to move a file to another file system:
This example shows how to move a file to another supervisor module:
Related Commands
|
|
---|---|