3Com Router 3000 Ethernet Family
Configuration Guide
2)
Network diagram
PC
PC
Figure 3-1 Network of the configuration for the router to manage the modem
3)
Configuration procedure
# Set interface serial0/0/0 to asynchronous mode.
[3Com-serial0/0/0] physical-mode async
# Enable modem on interface serial0/0/0. (In this example, tty1 is associated with
serial0/0/0. You may see the actual tty index by executing the display user-interface
command.)
[3Com] user-interface tty 1
[3Com-ui-tty1] modem
# Configure a modem script.
[3Com] script-string baud "" AT OK AT&W OK
# Execute the script in user view
<3Com> start-script baud 1
If the interface is an asynchronous interface, you do not need to configure the
physical-mode async command.
II. Restoring the ex-factory modem settings
1)
Configuration requirement
To restore the ex-factory modem settings, use the "AT&F" command.
2)
Configuration procedure
[3Com] script-string factory "" AT OK AT&F OK
<3Com> start-script factory 1
3.4.2 Power-on Initialization through the Initialization Script
I. Configuration requirement
Enable the router to initialize the modem to which the asynchronous interface is
connected when powering on the router or rebooting it.
II. Configuration procedure
[3Com] script-string init "" AT OK AT&B1&C1&D2&S0=1 OK AT&W OK
[3Com] user-interface tty1
[3Com-ui-tty1] modem
Modem
Modem
Router
Router
3Com Corporation
3-7
Chapter 3 Modem Configuration
PSTN
PSTN