Table Of Contents
AT Command Set and Register Summary for V.34, 56K, and V.90 12-Port Modules
Sn? (Read Configuration Register)
Wn (Connection Speed Reporting)
^V (Display Bootstrap Revision)
%An (Autoreliable Fallback Character)
%Gn (Independent Serial Port and Modem Port Speed)
%V (Display Modem Firmware Version)
&W (Store Current Configuration)
)Mn (Power Level Adjustment for Cellular Telephone Connections)
*W (Store Complete Configuration)
Changing Country Codes on Microcom Modems
-Mn (MNP Class Connect Messages)
-Qn (Fallback Modulation Speed)
-V (Split Modem Port Speed with Multiprotocol Autoanswer)
:Tn? (Read Configuration Register)
@Cn (CTR, DSR, and DCD Connect Message Control)
@E (Detailed Modem Call Status)
@Mn (Select Transmit Level for Cellular Connections)
@Un (Minimum Connection Speed)
\Dn (Serial Port DSR/CTS Control)
\F (Display Stored Phone Numbers)
\Pn{dial string} (Store a Telephone Number)
\ Qn (Serial Port Flow Control)
\Rn (Serial Port Ring Indicator)
\Vn (Error Correction Result Code Form)
#En (Answer Mode Escape Sequence)
Modem S and :T Register Summary
Point to a New Reference Register
Change the Value of a Register
Display the Value of the Reference Register
Change the Value of the Reference Register
S3 (Carriage Return Character)
S7 (Wait for Carrier After Dial)
S8 (Pause Time for Dial Delay)
S9 (Carrier Detect Response Time)
S10 (Delay for Hangup After Carrier Loss)
S12 (Escape Code Guard Time and Remote Access Attention Sequence Guard Time)
S16 (Bit-Mapped Register for Test Options)
S25 (Delay to DTR and Asynchronous/Synchronous Time Delay)
:T0 (Timer for V.22 bis, V.22, and V.32 Modes During Multi-Protocol Answer)
:T3 (Timer for V.21 and V.23 Answer Tone Duration)
:T4 (Timer for Line Turnaround Delay and Carrier On)
:T6 (Timer for DCD Turn On Delay)
:T9 (Primary XON Flow Control Character)
:T10 (Primary XOFF Flow Control Character)
:T11 (Secondary XON Flow Control Character)
:T12 (Secondary XOFF Flow Control Character)
:T14 (Connect Message Delay Timer)
:T16 (CTS Turn On Delay Timer)
:T17 (V.32/V.32 bis Connection Training Timer)
:T110 (Select V.8 or V.8 bis Modem Exchange Register)
:T114 (56KFlex Control Register)
:T120 (Answerback Tone Duration)
:T121 (Answerback Tone Configuration for PoS)
Example of Modemcap Creation, Assignment, Audit
V.90 56K AT Command Set Support
AT Command Set and Register Summary for V.34, 56K, and V.90 12-Port Modules
April 25, 2002
This document describes AT commands and S and :T registers for the following universal access server modules:
•
V.34 12-port module
–
V.34 modulation, 28.8 kbps, firmware version 1.x.xx
–
V.34 annex 12 modulation, 33.6 kbps, firmware version 2.x.xx
•
56K 12-port module
–
K56flex modulation, 56 kbps, firmware version 3.x.xx
•
56K 12-port module
–
K56flex and V.90 modulation, 56 kbps firmware version 5.x.xx
See "V.90 56K AT Command Set Support," page 86 for specific information pertaining to the AT command set which supports the K56flex and V.90 speeds. These commands are in support of firmware version 5.x.xx (use the show modem version command).
Note
Except where noted, this document lists defaults and descriptions for the latest firmware, that is version 3.2.20 (for 56K 12-port modules) and version 2.3.6 (for V.34 12-port modules). For defaults for previous firmware versions, see the universal access server modem firmware release notes, which are available on the World Wide Web at http://www.cisco.com, http://www-china.cisco.com, or http://www-europe.cisco.com.
Note
For Point of Sale (PoS) support, make sure that the 12-port board is running firmware version 3.2.10 or later (use the show modem version command).
Note
Customers using Cisco IOS Release 12.0(4)XI1 or higher will be prompted to use the Service Processing Element (SPE) command instead of the modem-pool command to download code. The modem-pool command will no longer be available, and the existing modem firmware configurations in the router will be converted to the new spe command format. See the Cisco document, SPE and Firmware Download Enhancements at the following URL for more information about the spe command:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios120/120newft/120t/120t7/spe1206t.htmIf you have questions or need help, refer to the last section "Cisco Connection Online" for further information.
This document contains the following sections:
•
Modem S and :T Register Summary
Entering AT Commands
Keep in mind the following guidelines when you send AT commands to a modem:
•
Entering AT command mode involves two main configuration tasks: configuring a manageable modem to permit a direct-connect session and then establishing the session. Table 1 describes all the steps necessary to enter AT command mode on the access server.
Table 1 AT Commands
Note
ATA, ATO, ATD, and all dial modifiers are not valid in direct-connect sessions.
•
To exit a direct-connect session with a modem, press Ctrl-C.
•
All commands except A/ (Repeat Last Command) and +++ (Escape Code) are preceded by the AT prefix and are executed when you press Return or Enter.
•
Enter commands as either uppercase or lowercase, not mixed case.
•
Commands are limited to 98 characters, not including the AT prefix, Return, and space characters.
•
A missing numeric argument is assumed to be zero. For example, the Data Echo command \E is equivalent to \E0.
•
The modem operates in one of two modes: idle state (no connection established with another modem) or connect state. Use the following commands to change operating states:
–
To enter command state from connect state without breaking the connection, enter +++ (Escape Code) without pausing and do not press Return.
–
To return to connect mode, enter AT0 and press Return.
Note
The default for the #E command is #E1, which means that the escape code sequence is disabled in answer mode. For more information, refer to the section, "# Character Command Set," on page 60.
Alphabetic Command Set
This section describes modem commands that begin with an alphabetic (A to Z) character.
A (Answer)
Forces the modem off-hook in answer mode, regardless of the value of register S. If result codes are enabled, the workstation displays RING (long form) or 2 (short form) when it receives a call.
A/ (Repeat Last Command)
Reexecutes the last command one time. A/ is not preceded by the AT prefix and is not followed by a Return.
AT (Attention)
Informs the modem that commands are being sent to it. AT must precede all other commands except A/ and +++.
Bn (ITU/Bell Mode)
Selects the ITI-U/Bell connection mode used when connecting at 300 and 1200 bps. Bn is ignored when the modem port is set to other speeds. Table 2 lists command options.
Table 2 ITI-U/Bell Mode Command Options
Command MeaningB0
ITU V.22 standard at 300 and 1200 bps, international default1
B1
Bell 212A standard at 300 and 1200 bps, USA default1
1 Default is determined by country setting.
D {dial string} (Dial)
Dials a telephone number to establish a connection. The Dial command must be the last command on the command line. The dial string can contain up to 98 characters; valid characters are the digits 0 to 9, the dial modifiers listed in Table 3, and # and * for tone dialing. The modem ignores invalid characters; dial strings longer than 98 characters return an error. For example, to dial the telephone number 1 617 555 1234, enter the following command:
D 16175551234To cancel the Dial command, press any key or set Data Terminal Ready (DTR) to off unless &D0 (DTR ignored) is set. After disconnect, there is a five-second delay before the modem is set off-hook in originate mode.
Dial Modifiers
The dial modifiers listed in Table 3 add conditions to the telephone number that you are dialing. You can use several dial modifiers with the same telephone number, and, unless otherwise noted, you can place dial modifiers anywhere in the dial string.
En (Command Echo)
Configures the modem to echo commands to the workstation. Table 4 lists command options.
Default
E1
Table 4 Command Echo Options
Command MeaningE0
Disables echoing commands to the workstation
E1
Enables echoing commands to the workstation
H (Hang Up)
Disconnects from the remote system and hangs up the telephone line. If the %Dn (Disconnect Buffer Delay) time is nonzero, the hangup can be delayed until the modem has transmitted all data in its transmit buffer.
In (Identification)
Displays modem information and results of checksum tests on firmware. Table 5 lists identification command options.
Table 5 Identification Command Options
On (Enter Connect State)
Sets the modem to connect state. Table 6 lists command options.
Table 6 Connect State Command Options
Qn (Quiet)
Configures the modem to send result and status codes, such as OK, BUSY, and RING, to your workstation. Table 7 lists command options.
Default
Q0
Sn? (Read Configuration Register)
Displays the contents of S register n (where n is a decimal number).
Range
0 to 27
Default
S0
T (Tone Dial)
Sets the current dialing mode to tone. This is the default dialing mode.
Vn (Result Code Form)
Selects the result code format sent to your workstation. The \Vn command (Error Correction Result Code Form) modifies the connect messages to reflect a reliable link connection. Table 8 lists command options.
Default
V1
Table 8 Result Code Form Command Options
Wn (Connection Speed Reporting)
Displays the serial port or modem port speed in connect messages. When the X0 command (Extended Result Codes) is set, CONNECT displays for any Wn command option. Table 9 lists command options.
Default
W2
Table 9 Connection Speed Reporting Command Options
Command MeaningW0
Displays serial port connect messages
W1
Displays serial port connect messages
W2
Displays modem port connect messages
Xn (Extended Result Codes)
Selects the extended result code format sent to the workstation. Table 10 lists command options.
The following commands also affect the result code format:
•
The Vn command (Result Code Form) selects short or long form result codes.
•
The \Vn command (Result Code Form) or -M1 command (MNP Class Connect Messages) must be set to indicate MNP reliable mode in the result code.
When the modem is set to ignore dial tone, it waits for the register S6 time delay and dials with or without a dial tone.
Default
X4
Note
The W dial modifier causes a wait for dial tone regardless of the Xn command setting.
Yn (Long Space Disconnect)
Configures the modem to send a four-second Break on receipt of an H command (Hang Up). The answering modem disconnects if it receives the Break. This command is used only in normal and direct connections. Table 11 lists command options.
The four-second Break is also sent if Y1 and one of the following &Dn commands (Data Terminal Ready Control) are set:
•
&D2 is set and DTR drops.
•
&D3 is set and DTR drops. The sending modem disconnects after the Break.
Default
Y0
Z (Reset)
Hangs up the telephone line, clears the modem and the serial port buffers, and restores any settings stored with the &W or *W commands. If no settings are stored, the command restores the factory default (&F) settings.
Caret Command Set
This section describes modem commands that begin with a caret (^) character.
^H (Host Port Upgrade)
Copies new firmware from a computer file to the modem's Flash memory.
^V (Display Bootstrap Revision)
Displays the modem's current Flash memory bootstrap revision.
Dollar Command Set
This section describes modem commands that begin with a dollar ($) character.
$Bn (Serial Port Bps Rate)
Sets the serial port rate to n bps.
Range
300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps
Default
$B115200
$D (Power-Up Diagnostics)
Runs power-up diagnostics.
Percent Command Set
This section describes modem commands that begin with a percent (%) character.
Note
Modifications have been made to certain percent (%) AT commands as a result of enhancements made to the firmware version 5.0.4. Changes affect commands %B, %Gn, %G1, and %M.
%An (Autoreliable Fallback Character)
Specifies the ASCII character recognized as the autoreliable fallback character on the answering modem. In autoreliable mode, when the modem encounters an incoming autoreliable fallback character from the remote system, it automatically switches to normal mode and passes the character to the serial port. Autoreliable fallback character recognition stops if the modem receives a SYN character (decimal 22). The \N3 (Operating Mode) and \C2 (Autoreliable Buffer) commands must also be set.
CautionDo not use the settings n = 63 or n = 126. They interfere with V.42.
Range
0 to 127 (ASCII decimal)
Default
%A0 (autoreliable fallback character is disabled)
%Bn (Modem Port Bps Rate)
Sets the modem port data rate. Downshifting can still occur.
Note
The user must always set %M before setting the %B option. Setting %M results in %B getting set to the maximum baud rate for that modulation. With AT%G0, setting %M will have no effect on %B. With AT%G1, setting %M will cause the %B to be set to the maximum value in that modulation. See %M (Modulation).
The %Bn command is affected by the following %Gn command (Independent Serial/Modem Port Speed) options:
•
If %G0 is sent locally, the modem port speed is matched to the serial port speed, regardless of any previous %Bn setting.
•
If %G1 is set, the modem speed changes only when a %Bn command is entered.
Range
300, 600, 1200, 2400, 4800, 7200, 9600, 12000, 14400, 16800, 19200, 21600, 24000, 26400, 2800, 28800, 29333, 30666, 31200, 32000, 33333, 34000, 34666, 33600, 36000, 37333, 38000, 38666, 40000, 41333, 42000, 42666, 44000, 45333, 46000, 46666, 48000, 49333, 50000, 50666, 52000, 53333, 54000, 54666, 56000 bps
Note
Includes V.90 speeds
Default
%B33600 for V.34 modems
%B56000 for 56 kbps modems%Cn (Compression Control)
Sets the modem to use a data compression method in reliable connections. The recommended default command setting of %C3 allows the modem to establish a reliable connection using V.42 bis compression or MNP Class 5 Data Compression, depending on the capability of the remote modem.
If the remote modem does not support data compression or has data compression disabled, the modem can establish a noncompression connection with any %Cn setting.
Throughput is affected by the \Jn command (Bps Rate Adjust) options:
•
\J0 (Disable Bps Rate Adjust) is recommended for the highest throughput.
•
\J1 (Enable Bps Rate Adjust) causes the serial port to adjust to 9600 bps when a reliable connection is established at a speed from 2400 to 14400 bps. At 16800 bps or higher, the serial port speed adjusts to 19200 bps.
Default
%C3
Table 12 Compression Control Command Options
%Dn (Disconnect Buffer Delay)
Specifies a delay time for the modem to process data in its transmit or receive buffers before disconnecting. When DTR transitions off or an H command (Hang Up) is entered, the modem attempts for n seconds to empty its transmit buffer before disconnecting. When carrier transitions off, the modem attempts for n seconds to empty its receive buffer before disconnecting. If the buffers are empty or if n = 0, the modem disconnects immediately.
If a physical disconnect occurs (for example, the connection is lost), only the receive buffer can be processed. If the delay expires before the modem empties its buffers, or if the modem is in command state at disconnect, data can be lost. The receive buffer may not empty before disconnecting if %E1 (Autoretrain) is set during normal mode connections at 2400 bps or higher.
Range
0 to 255 seconds
Default
%D0
%En (Autoretrain)
Sets the modem to resynchronize (autoretrain) up to three times (for a total of up to 6 seconds) before hanging up. The modem resynchronizes only for connection speeds of 2400 bps or higher. The %En command is ignored in V.32 communication. Table 13 lists command options.
Default
%E1
Table 13 Autoretrain Command Options
%Fn (V.23 Mode)
Configures the modem for V.23 mode. Table 14 lists the V.23 command options.
Default
%F0
Table 14 V.23 Command Options
%Gn (Independent Serial Port and Modem Port Speed)
Sets the modem port speed independent of the serial port speed. The modem port speed is set by the %Bn command (Modem Port Bps Rate). Table 15 lists command options.
Default
%G0
The following tables list command strings for setting modem port speeds:
•
Table 16 lists commands for modem protocols up to 14400 bps.
•
Table 17 lists commands for V.34 modem port speeds up to 33600 bps.
•
Table 18 lists commands for 56 kbps modem port speeds up to 56000 bps.
Table 16 Modem Protocol Commands
Table 17 V.34 Commands
When %M2 or %M3 Is Set: V.34 Speed %G12400 bps
%B24001
4800 bps
%B4800
7200 bps
%B7200
9600 bps
%B9600
12000 bps
%B12000
14400 bps
%B14400
16800 bps
%B16800
19200 bps
%B19200
21600 bps
%B21600
24000 bps
%B24000
26400 bps
%B26400
28800 bps
%B28800
31200 bps
%B31200
33600 bps
%B33600
1 In answer mode, this will result in V.22 bis connection.
%Ln (Speed Matching)
Configures the modem to use speed matching when establishing a connection. Table 18 lists command options.
Default
%L1
Table 18 Speed Matching Command Options
Command Meaning%L0
Provides partial speed matching
%L1
Enables speed matching
%L2
Disables speed matching
%L3
Enables V.8 automode with fallback to ITU-T1 automode
%L4
Enables V.8 automode only
1 International Telecommunications Union Telecommunication Standardization sector.
Modem Connection Modes Using Speed Matching
The following tables list connections the modem can establish with %L1 or %L3 set.
•
Table 19—lists connections if a 56K modem in the access server originates the call.
•
Table 20—lists connections if a 56K modem in the access server answers the call.
•
Table 21—lists connections if a V.34 modem in the access server originates the call.
•
Table 22—lists connections if a V.34 modem in the access server answers the call.
Table 19 56K Modem Originates Call
Mode Setting on Originating Access Server 56K Modem Mode Setting on Answering Modem Bell 103 Bell 212A V.22[b] V.22[a] V.22 bis V.32 V.32 bis V.FC V.34 K56flex/
V.90K56flex (32000-56000)
V.90 (28000-56000)-
V.22[a]
-
-
V.22 bis
V.32
V.32 bis
V.FC
V.34
K56flex1
V.34 annex 12- (31200-33600)
V.22[a]
-
-
V.22 bis
V.32
V.32 bis
V.FC
V.34
V.34
V.34 (2400-28800)
-
V.22[a]
-
V.22[a]
V.22 bis
V.32
V.32 bis
V.FC
V.34
V.34
V.FC (14400-28800)
-
V.22[a]
-
V.22[a]
V.22 bis
V.32
V.32 bis
V.FC
V.FC
V.FC2
V.32 bis (4800-14400)
-
V.22[a]
-
V.22[a]
V.22


