16: Command Reference
EMG™ Edge Management Gateway User Guide
346
Connection Commands
connect bidirection
Syntax
connect bidirection <Port # or Name> <endpoint> <one or more Parameters>
Parameters
Endpoint is one of:
charcount <# of Chars>
charseq <Char Sequence>
charxfer <toendpoint|fromendpoint>
date <MMDDYYhhmm[ss]>
deviceport <Device Port # or Name>
exclusive <enable|
disable
>
ssh <IP Address or Name> [port <TCP Port>][<SSH flags>]
where
<SSH flags> is one or more of:
user <Login Name>
version <1|2>
command <Command to Execute>
tcp <IP Address> [port <TCP Port>]
telnet <IP Address or Name> [port <TCP Port>]
trigger <
now
|datetime|chars>
If the trigger is
datetime
(establish connection at a specified date/time), enter the date
parameter. If the trigger is
chars
(establish connection on receipt of a specified number or
characters or a character sequence), enter the
charxfer
parameter and either the
charcount
or the
charseq
parameter.
udp <IP Address> [port <UDP Port>]
Description
Connects a device port to another device port or an outbound network connection (data flows in
both directions).
connect direct
Syntax
connect direct <endpoint>
Parameters
Endpoint is one of:
deviceport <Device Port # or Name>
ssh <IP Address or Name> [port <TCP Port>][<SSH flags>]
where
<SSH flags> is one or more of:
user <Login Name>
version <1|2>
command <Command to Execute>