3Com Router Command Reference Guide — V1.00
For related commands, see script trigger connect.
Example
# Set the Modem externally connected to the asynchronous serial interface Serial0 to
operate authentication for Modem dial-in user.
[3Com-Serial0]modem-login
2.1.5 script init-string
Syntax
script init-string init-string
undo script init-string
View
Interface (asynchronous serial interface, AUX or AM port) view
Parameter
init-string: The default Modem initialization string, containing the AT command.
Description
Using the script init-string command, you can configure the default Modem
initialization string. Using the undo script init-string command, you can cancel the
feature.
By default, the Modem initialization string in the system is AT&C1&D2&S0=0,
indicating locking the serial interface speed, and enabling DCD (Data Carrier
Detected), DTR (Data Terminal Ready) disconnection and non-auto answering.
If this command is configured, the AT command will be used to initialize the Modem
before executing Modem dialing. Normally, the default Modem initialization string
(AT&C1&D2&S0=0) in the system is enough for meeting the requirements. But in
some special circumstances, such as the device is connected to some certain
external TA, the execution of the initialization string may fail. In this case, the
initialization string should be configured according to the manual of the TA.
For related commands, see script-string, start-chat, script trigger login, script
trigger connect, script trigger logout, script trigger init.
Example
# Specify the default Modem initialization string to "AT&C1&D2&S0=0".
30