186
Setting the modem answer mode
Set the modem answer mode according to the actual answer mode of the modem:
• If the modem is in auto-answer mode (a modem is in auto-answer mode if its AA LED lights are
on), use the modem auto-answer command to prevent the device from issuing answer
instructions.
• If the modem is in non-auto answer mode, use the undo modem auto-answer command to
enable the device to issue answer instructions when incoming calls reach.
Make sure you set the same answer mode as on the modem. If a different answer mode is set, the
modem might operate incorrectly. Do not perform the operation unless absolutely needed.
To set modem answer mode:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter user interface view.
user-interface
{ first-num1
[ last-num1 ] | {
aux
|
console
|
tty
|
vty
} first-num2 [ last-num2 ] }
N/A
3. Set the modem to operate in
auto-answer mode.
modem auto-answer
Optional.
Non-auto answer mode by
default.
Issuing an AT command to a modem
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface
interface-type
interface-number
N/A
3. Configure the modem by
issuing an AT command to it.
sendat
at-string
This command is applicable to
asynchronous serial interfaces
(including
synchronous/asynchronous
interfaces operating in
asynchronous mode), AUX
interfaces, and AM interfaces.
Modem management configuration example
Network requirements
A device is connected to a Cisco router through its Serial 2/0 interface and two modems. A
connection between the two devices is established through DCC dialup when data is to be
transmitted between them. For more information about DCC dialup, see "Configuring DCC."