752CHAPTER 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

Operation

Command

 

 

Configure modem through the AT

sendat at-string

Command

 

 

 

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-stringcommand is invalid.

Perform the following configuration in system view.

Table 779 Configure a Modem Script

Operation

Command

 

 

Define a modem script

script-string script-name

 

script-content

 

 

Delete the modem script

undo script-string script-name

 

 

For the format of script, refer to the modem script syntax description.

Execute a Modem Script If necessary, the user can execute the modem script through the start-chatManually 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

Operation

Command

 

 

Manually execute a modem script

start-chat script-name

 

 

Specify the Events that Associating modem scripts with events, is to automatically execute the

Trigger Modem Scripts 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.

Page 756
Image 756
3Com 10014299 manual Configure Modem Through the AT Command, Configure a Modem Script, Execute a Modem Script Manually