This document describes how to configure and monitor the Serial Interface Dialer. It includes the following sections:
Overview
Modem Requirements
Configuring the Serial Interface Dialer
Displaying the DIAL Monitoring Prompt
Manually Dialing the DIAL Circuit Interface
DIAL Commands
Overview
The Serial Interface Dialer (DIAL) handles the process of placing and receiving calls on the public switched telephone network. DIAL supports asynchronous and synchronous communication, including synchronous V.25 bis communication. Figure 1 shows a sample DIAL configuration.
Figure 1 Sample DIAL Configuration

To dial on demand when there is data to send.
As a dedicated serial link that connects automatically when you restart the router or connects manually on command.
Each WAN device on the router can have multiple DIAL circuit interfaces configured. Each DIAL circuit interface is a normal serial line network, running Point-to-Point Protocol (PPP). DIAL circuit interfaces support the following forwarding protocols:
IP
IPX
AppleTalk
Figure 2 Relationship Between Routing Protocols, DIAL Circuit Interfaces, WAN Device, and Modem

Modem Requirements
To work with DIAL, your modem must support the following circuits and configuration.
Circuits Required
DIAL requires your modem to support the following V.24 circuits:
Circuit 103 - Transmitted Data
Circuit 104 - Received Data
Circuit 105 - Request to Send (RTS)
Circuit 106 - Clear to Send (CTS)
Circuit 107 - Data Set Ready (DSR)
Circuit 108/2 - Data Terminal Ready (DTR)
Circuit 109 - Data Carrier Detect (DCD)
Circuit 125 - Ring Indicator (RI)
Enables hardware flow control between the router and modem using RTS and CTS.
Sets CTS to track the state of RTS for asynchronous hardware flow control.
Sets automatic dial and answer capabilities that do not conflict with the DIAL configuration. Auto answering is enabled in the DIAL modem definition as the default. If you enable manual answering in the DIAL modem definition, thereby disabling auto answering, you also need to disable auto answering on the modem. (To enable manual answering in the modem definition, enter enable answer at the Modem Config> prompt.)
Sets a fixed speed between the DIAL device and the modem.
Allows pass-through of DC1 (XON) and DC3 (XOFF) control characters. Remote end systems that communicate through the router may use these characters for asynchronous software flow control. Using these control characters to control flow between the router and the modem could conflict with their use by the remote end systems. Also, if software flow control is configured on the modem and these characters appear in binary data, they can cause spurious flow control events.
Matches the device type (synchronous or asynchronous). You cannot establish a connection using asynchronous methods and then switch to synchronous transmission because you must restart the router.
Sets modem timers so as not to conflict with timers set in the DIAL configuration. For example, Hayes-compatible modems have a modem register (S7) that specifies the number of seconds the originating modem waits for carrier from the answering modem. The default is 60 seconds. Set this register to a value greater than the value set with the set connect-timeout command, which also defaults to 60 seconds.
Initializes the modem so that DSR is always on.
Disabling echoing by the modem of command strings that the router issues to the modem. DIAL assumes that any data it receives from a modem in response to a modem command is a result code string.
Setting DCD to track the state of the carrier signal. If DCD is always on, it may be impossible for the DIAL software to detect that a connection is broken.
Before You Begin
To configure DIAL, you need the following information:
Whether you are using asynchronous or synchronous communication.
Destination telephone numbers, including any telephone extensions.
For outgoing asynchronous calls, whether the remote sites require login authentication. If they do, find out what they expect to send or receive so that you can create a chat script with the information.
Your modem configuration and capabilities.
Config>set data-link ppp
Interface Number [0]? 1
If your router has multiple WAN devices, the software prompts you for a device name. To see a list of devices on your router, enter list devices.
Config>enable dial
Device name? WAN2
Config>network
What is the network number [0]? 1
Circuit Configuration
Circuit Config <NET-1>
Circuit Config <NET-1>dial
Serial Interface Dialer Configuration
DIAL Config <WAN>
DIAL Config <WAN>add address
Address name (1-23 characters)? seattle
Network dial address (1-31 digits)? 1-555-3421
Adding a Modem Definition
The modem definition supplies commands to configure the modem to dial, accept connections, and disconnect. It also tells the router how the modem is configured and what result codes to expect from the modem. The following steps show how to add a modem definition to your DIAL configuration. For more information on these commands, see Modem Definition Commands.
Configurable modems accept commands and return result codes.
Non-configurable modems accept only two modem configuration commands, enable carrier-wait or disable carrier-wait.
V.25bis modems do not accept commands. If you select this modem type, go to step 4 after you add a modem.
For example, to add a configurable modem definition, enter
DIAL Config <WAN> add modem configurable
Modem name (1-23 characters)? usr288
Enter modem, followed by the modem name that you added in step 1.
DIAL Config <WAN>modem
Modem name (1-23 characters)? usr288
Modem Config>
Modem Config>list
Configuration of Modem:
Options
-------
Initialization: Enabled
Answer: Disabled
Dial: Enabled
Disconnect: Disabled
Carrier Wait: Disabled
Ready Wait: DisabledCommands
--------
Initialization: ATE0M0S0=1\r
Answer: ATA\r
Dial Prefix: ATDT
Dial Suffix: \r
Disconnect: ATH\r
Escape Sequence: +++Guard Time: 50
Result Codes
------------
BUSY: BUSY
CONNECT: CONNECT
ERROR: ERROR
NO ANSWER: NO ANSWER
NO CARRIER: NO CARRIER
NO DIALTONE: NO DIALTONE
OK: OK
RING: RING
To enable or disable the Options, use the enable and disable modem configuration commands.
To change Commands or Result Codes, use the set modem configuration commands.
Modem Config>exit
DIAL Config <WAN>
DIAL Config <WAN>set modem
Modem name?usr288
When connecting two routers running OpenROUTE software, you do not need a chat script. In fact, if you create a chat script in this case, the routers do not run the chat script and the chat script prevents the routers from connecting.
Chat script strings are case sensitive. If you enter login: and the remote router sends Login:, the login authentication fails.
The router software ignores all strings it receives until it receives the string that you enter with the receive command. For example, if you enter a receive string of Login:, and the router receives the string, Welcome to ISP. Login:, the chat script succeeds.
DIAL Config <WAN>add chat-script
Chat script name? seattle
Enter chat-script, followed by the name of the chat script that you added in step 1.
DIAL Config <WAN>chat-script
Chat script name?seattle
Chat Config>
Chat Config>receive
Receive string []?Login:
Chat Config>wait
Wait in seconds [0]? 5
Note: You must enter a \r (carriage return character) at the end of your transmit string or the router does not send the string.
Chat Config>transmit
Transmit string []?boston\r
Chat Config>receive
Receive string []?password:
Chat Config>transmit
Transmit string []?abracadabra\r
Chat Config>list
Configuration of Chat Script: seattle1 receive Login:
2 wait 5
3 transmit boston\r
4 receive password:
5 transmit abracadabra\r
To change the order of lines in the script, use the move command.
To change a line in the script, use the change command.
To delete lines from the script, use the delete command.
Chat Config>exit
DIAL Config <WAN>
Circuit Config <NET-1> sl
Serial Line Configuration
Serial Config <WAN>
Serial Config <WAN>set line-discipline async
Synchronous, use the set hdlc commands if you need to adjust the following HDLC parameters.
| Parameter | Default |
|---|---|
| Cable Type* | RS-232 DTE |
| Clocking* | External |
| Encoding | NRZ |
| Frame size | 2048 bytes |
| Idle | Flag |
| Speed | 64,000 bps |
| Transmit delay | 0 |
Asynchronous, use the set async commands if you need to adjust the following async parameters.
| Parameter | Default |
|---|---|
| Cable Type* | RS-232 DTE |
| Databits | 8 |
| Frame size | 2048 |
| Parity | None |
| Speed | 57600 bps |
| Stopbits | 1 |
* Not configurable on all platforms. Some platforms automatically detect the cable type. Setting DIAL Circuit Configuration Parameters
You can set up multiple circuit interfaces for each DIAL device. The circuit configuration includes a remote destination, which chat script to use, whether the connection is dial-on-demand, and whether the circuit accepts inbound calls, places outbound calls, or both. Note:
Nx Networks recommends that the maximum number of dial interfaces you configure on a GT 60 Series or GT 70 Series is eight. Adding more than eight dial interfaces can cause the router to exhaust available memory and crash during initialization. If this happens, you have to clear your configuration before reloading, unless you saved a configuration with no more than eight dial interfaces.
Enter network followed by the interface number of the DIAL circuit interface. To see a list of interfaces, enter list interfaces at the Config> prompt.
Config>network
What is the network number [0]? 1
Circuit Configuration
Circuit Config <NET-1>
Enter one of the names you defined using add address at the DIAL Config <WAN>.
Circuit Config <NET-1> set destination
Assign destination address name []? seattle
Circuit Config <NET-1>set idle
Idle timer (seconds, 0 means always active) [0]? 180
Use the disable or enable commands. The options are inbound, outbound, or any-inbound. For example:
Circuit Config <NET-1>enable outbound
Circuit Config <NET-1> set chat-script
Assign chat script name? seattle
Note: To turn off use of the chat script, enter set chat-script off at this prompt.
Circuit Config <NET-1> set access-list
Enter 1st name:? new york
Enter 2nd name:? pittsburg
Enter 3rd name:?
Destination Name: seattle
Chat Script Name: seattle
Outbound calls: Allowed
Inbound calls: Allowed
Idle Time: 180 seconds
Access List: seattle (destination), new york, pittsburg
Config>add interface ppp
Adding interface 3 linked to base device WAN.
*monitor
Monitor>
Monitor>network 1
Circuit <NET-1>
Circuit <NET-1> dial
Serial Interface Dialer Console
DIAL <WAN>
To enable the interface, enter test interface followed by the number of the DIAL circuit interface.Monitor>list interfaces
Self-Test Self-Test Maintenance
Nt Interface Passed Failed Failed
0 Eth/0 0 0 0
1 PPP/0 0 0 0
2 PPP/1 0 0 0Monitor>disable interface
Interface number [0]? 2
Monitor>test interface
Interface number [0]? 2
Add [C]
Adds dial addresses, chat scripts, and modem definitions to the DIAL configuration.
Syntax: add
Address name (1-23 characters)? portland
Network dial address (1-31 digits)? 1-555-2323
chat-script name
Adds a chat script to your configuration. Note:
You can use chat scripts only over asynchronous lines.
For the chat script name, enter up to 23 printable ASCII characters. After you add a chat script, configure it by entering chat-script. See Creating Chat Scripts.
Chat script name? seattle
Configurable modems accept commands and return result codes.
Non-configurable modems accept only two modem configuration commands, enable carrier-wait and disable carrier-wait.
V.25 bis modems do not accept commands. V.25 bis modems use a predefined set of commands to communicate with the router.
Once you add a modem, enter set modem to specify the name of the modem definition to be used with this DIAL device.
Example:
add modem configurable
Modem name (1-23 characters)?usr288
calls
Refused Refused
Remote Site In Out Remotely Locally Blocked
Seattle 0 0 0 0 0
Chat-Script [C]
Displays the configuration prompt for the chat script that you specify. For steps to configure a chat script, see Creating Chat Scripts. For a description of the chat commands, see Chat Script Commands.
chat-script
Chat script name []? seattle
Chat Config>
copy chat-script
Chat script name? seattle
Name of new chat script? fairbanks
circuits
State Reason Duration
Connected Up 6:58:17
Delete [C]
Deletes a specific dial address, all dial addresses for an address name, a chat script, or a modem definition from the DIAL configuration.
Syntax: delete
delete address
Address name? portland
Network dial address? 1-555-2323
delete all-addresses
Address name? portland
delete chat-script
Chat script name? seattle
delete modem
Modem name?usr288
exit
Circuit Config>
list addresses
Address assigned name Network Address
--------------------- ---------------
portland 1-555-2323
list chat-scripts
Chat Script Name
----------------
boston
seattle
list modems
Modem Name Modem Type
---------- ----------
usr288 Configurable
microcom Non-configurable
list parameters
Serial Interface Dialer Configuration
Modem Name: usr288
Non-Responding Addresses
------------------------
Retries: 1
Timeout: 0 seconds
Call Timeouts
-------------
Connect: 60 seconds
Disconnect: 2 seconds
You cannot configure V.25 bis modems. Syntax: modem
Example:modem
Modem name (1-20 characters)? usr88
Modem Config>
modem-info
parameters
Serial Interface Dialer Parameters
Modem Name: usr288
Non-Responding Addresses
------------------------
Retries: 1
Timeout: 0 seconds
Call Timeouts
-------------
Connect: 60 seconds
Disconnect: 2 seconds
set connect-timeout
Connect Timeout (0-65535 Seconds, 0 means no timeout)[60]?
set disconnect-timeout
Disconnect Timeout (0-65535 sec, 0 means no timeout)[2]?
Modem name []?
set retries-no-answer
Retries-no-answer (0-10, 0 means no limit) [1]?
set timeout-no-answer
Timeout-no-answer (0-65535 Seconds, 0 means no timeout) [0]?