User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Configuration of Modem Management

For specific format of script, please refer to Modem script syntax.

2.3.4 Executing Modem Script Manually

The start-chat command can be used, when necessary, to execute the specified Modem script, in order to manage the Modem externally connected with the interface.

Perform the following task in asynchronous serial port mode.

Table DC-2-5Manually execute modem script

Operation

Command

 

 

Manually execute Modem script

start-chat script-name

2.3.5 Specifying the Event to Trigger Modem Script

Relate modem script to events, that is, the router will automatically execute corresponding script when a specific event occurs. In VRP1.4, the script events supported include:

zWhen the call-out connection of the line is established successfully: execute the specified script when the modem call-out connection is established successfully.

zWhen the call-in connection of the line is established successfully: execute the specified script when the modem call-in connection is established successfully.

zDDR dialing: start the dial script during DDR dialing.

zLine reset: execute the specified script when the line is disconnected.

zSystem power on and reboot: execute the specified script for corresponding asynchronous serial port during system power on and initialization.

The script command may be used to specify corresponding scripts for all the above events.

Perform the following task in asynchronous serial port mode.

Table DC-2-6Specify events triggering modem script

Operation

Command

 

 

Specify the modem script to execute when call-out connection of

Script activation script-name

the line is established successfully

 

Specify the modem script to execute when call-in connection of

Script connection script-name

the line is established successfully

 

Specify the modem script to execute during DDR dialing.

Script dialer script-name

Specify the modem script to execute during line reset

Script reset script-name

Specify the modem script to execute during system power on and

Script startup script-name

reboot

 

Specify the default modem initialization string

Script init-string init-string

2.3.6 Configuring Modem Answer Mode

Perform the following task in asynchronous serial port mode.

2-4

Page 188
Image 188
Huawei v200r001 user manual Executing Modem Script Manually, Specifying the Event to Trigger Modem Script