754 CHAPTER 52: CONFIGURING MODEM
Table 783 Configure Authentication for Modem Dial-In 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
Modem Configuration
Examples
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
Managing a Modem
Through a Modem Script
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
1 Configure a modem script.
[Router]script-string baud "" AT OK AT&W OK
2 Execute the corresponding script in interface view, supposing the modem is
connected to the interface Serial0.
[Router]interface serial 0
[Router-Serial0]start-chat baud
Operation Command
Configure authentication for modem
dial-in user
modem-login
Delete authentication for modem dial-in
user
undo modem-login
Operation Command
Enable debugging of the AT command of
modem
debugging modem at [ interface type
number ]
Enable modem event debugging debugging modem event [ interface
type number ]
PC
PSTN
Router
Modem