User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Configuration of Modem Management

Example 3: Configure modem initialization parameter

Correctly initialize modem configuration is an important step to connect modem correctly. The following is a brief introduction to the common AT initialization commands and work to do for initialization.

zDuring consulting between modems, modem rates must remain unchanged, otherwise new rate matching should be performed with AT command.

zModem locks EIA/TIA-232 serial port rate in different ways. The modem manual may be consulted to learn how modem locks rate (optional items include &b, \j, &q, \n or using s register).

zModem must use data carrier detection (DCD) to indicate the establishment of its remote connection, such configuration of most modems is performed with &c1 command. Refer to modem manuals for details.

zModem must allow to hook on its active connection through Data Terminal Ready (DTR) signal, such configuration for most modems is performed with &d2 or &d3. Refer to modem manuals for details.

zIf the modem is required of call-in function, it must be configured with incoming call off-hook ringing number, our requirement is not to adopt the automatic answer ring mode, most modems are configured as S0=0. Refer to modem manuals for details.

In consideration of the above conditions, our typical initialization string is as follows:

AT&b1&c1&d2&s0=0

Explanation for functionality of the initialization string:

zLock serial port rate

zEnable DCD detection

zEnable DTR hook-on function

zConfigure as non-automatic answer

The procedure to configure is as follows:

Quidway(config)# chat-script init "" AT&b1&c1&d2&s0=0 OK

Quidway(config)# interface serial 0

Quidway(config-if-Serial0)# start-chat init

2.4.2Remote Configuration Using Modem and Through Asynchronous Interface

I.Networking requirements

AS introduced above, modem can be used for remote configuration through Console interface, Quidway router series also support the remote configuration using modem through asynchronous interface.

2-6

Page 190
Image 190
Huawei v200r001 user manual Networking requirements