754CHAPTER 52: CONFIGURING MODEM

Table 783 Configure Authentication for Modem Dial-In User

Operation

Command

 

 

Configure authentication for modem

modem-login

dial-in user

 

 

 

Delete authentication for modem dial-in

undo modem-login

user

 

 

 

By default, the authentication for a modem dial-in user is not configured.

Displaying and Debugging a Modem

Executethe debugging command in all views for the debugging.

Table 784 Display and Debug Modem

Operation

Command

 

 

Enable debugging of the AT command of

debugging modem at [ interface type

modem

number ]

 

 

Enable modem event debugging

debugging modem event [ interface

 

type number ]

 

 

Modem Configuration Examples

Managing a Modem Through a Modem Script

This section provides the following examples:

Managing a Modem Through a Modem Script

Power-on Initialization through the Initialization Script

Use the Script to Dial Directly

Authentication for Modem Dial-in User

Configure a Modem adaptation baud rate

On the asynchronous interface connected to the modem, use a standard AT command to configure the modem baud rate, and send the “AT” command to the modem. If “OK” is received from the modem, it indicates that the modem can automatically adapt to the corresponding baud rate. Then, write the configuration into the modem for conservation, and the corresponding AT command is “AT&W”.

Figure 241 Network of the configuration for the router to manage the modem

PSTN

Modem

PCRouter

1Configure a modem script.

[Router]script-string baud "" AT OK AT&W OK

2Execute the corresponding script in interface view, supposing the modem is connected to the interface Serial0.

[Router]interface serial 0

[Router-Serial0]start-chat baud

Page 758
Image 758
3Com 10014299 manual Displaying and Debugging a Modem, Modem Configuration Examples, Configure a Modem adaptation baud rate