15: Application Examples
EMG™ Edge Management Gateway User Guide
310
1. Configure the device port that the modem is connected to for dial-in:
[EMG]> set deviceport port 1 modemmode text
Device Port settings successfully updated.
[EMG]> set deviceport port 1 initscript "AT&F&K3&C1&D2%C0A"
Device Port settings successfully updated.
[EMG]> set deviceport port 1 auth pap
Device Port settings successfully updated.
[EMG]> set deviceport port 1 localsecret "password"
Device Port settings successfully updated.
[EMG]> set deviceport port 1 modemstate dialin
Device Port settings successfully updated.
[EMG]>
2. Configure the device port that is connected to the console port of the Sun UNIX server:
[EMG]> set deviceport port 2 baud 57600 flowcontrol none
Device Port settings successfully updated.
3. Dial into the EMG via the modem using a terminal emulation program on a remote PC. A
command line prompt displays.
4. Log into the EMG unit.
CONNECT 57600
Welcome to the EMG
login: sysadmin
Password:
Welcome to the EMG Console Manager
Model Number: EMG851000
For a list of commands, type 'help'.
[EMG]>
5. Connect to the SUN Unix server using the direct command.
[EMG]> connect direct deviceport 2
SunOS 5.7
login: frank
Password:
Last login: Wed Jul 14 16:07:49 from computer
Sun Microsystems Inc.SunOS 5.7Generic October 1998
SunOS computer 5.7 Generic_123485-05 sun4m sparc SUNW,SPARCstation-20
$
6. Use the escape sequence to escape from direct mode back to the command line interface.