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}

no modem init-string

Syntax Description

default

Downloads the default initialization string.

user-input

Downloads the user-input initialization string.


Command Default

The default initialization string is ATE0Q1&D2&C1S0=1\015.

Command Modes

Terminal line configuration mode

Command History

Release
Modification

4.0(0)N1(1a)

This command was introduced.


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:

switch# configure terminal  switch(config)# line console  switch(config-console)# modem init-string default  

This example shows how to download the user-input initialization string to the modem connected to the console port:

switch# configure terminal  switch(config)# line console  switch(config-console)# modem init-string user-input  

This example shows how to remove the initialization string to the modem connected to the console port:

switch# configure terminal  switch(config)# line console  switch(config-console)# no modem init-string  

Related Commands

Command
Description

line console

Enters console port configuration mode.

modem set-string

Configures the user-input initialization string for a modem.

show line

Displays information about the console port configuration.