752 CHAPTER 52: CONFIGURING MODEM
Configure Modem
Through the AT
Command
Perform the following configuration in interface (asynchronous serial, AUX or AM
interface) view.
Table 778 Configure a Modem Script
A modem can accept the AT commands only when it is in AT command mode. If it
is forwarding data, the AT command sent via the
sendat at-string command is
invalid.
Configure a Modem
Script
Perform the following configuration in system view.
Table 779 Configure a Modem Script
For the format of script, refer to the modem script syntax description.
Execute a Modem Script
Manually
If necessary, the user can execute the modem script through the start-chat
command for managing the external modem to which the interface is connected.
Perform the following configuration in interface (asynchronous serial, AUX or AM
interface) view.
Table 780 Execute a Modem Script Manually
Specify the Events that
Trigger Modem Scripts
Associating modem scripts with events, is to automatically execute the
corresponding script after a particular event occurs to the router. In 3Com routers,
the following script events are supported:
■ An outgoing call is established to a line: The specified script will be executed if
a modem outgoing call is established.
■ An incoming call is established to a line: The specified script will be executed if
a modem incoming call is established.
■ DCC dial: Start the dial script when implementing DCC dial.
■ Line reset: Execute the specified script when a line is disconnected.
■ Power on the system and reboot it: Execute the specified script on the
corresponding asynchronous serial interface when the system is powered on
and initialized.
For the the events in the previous list, the corresponding scripts can be specified
through the script command.
Operation Command
Configure modem through the AT
Command
sendat at-string
Operation Command
Define a modem script script-string script-name
script-content
Delete the modem script undo script-string script-name
Operation Command
Manually execute a modem script start-chat script-name