
Chapter 2 – Command Line Interface (CLI)
Command Line Interface and Application Examples for Multi-Tech Systems, Inc. IP Modules (S000368F) 33
Serial Commands – Setup
Command Syntax set serial [s0/s1] modem hangup-string <hangup-str>
Description
Sets the Modem hang-up string. Triggers for a reboot upon save.
Default Value
+++ATH0
Success
OK
Error 1. Too few arguments
"Usage: set serial s0/s1 modem hangup-string <hang-str>
Type 'set serial s0/s1 modem hangup-string ?' for more information"
Command Syntax set serial [s0/s1] modem init-string <init-num> <init-str>
Description
Configures the modem initial strings. Init-num can range from 1-5.
Triggers for a reboot upon save.
Example: Set serial s0 modem init-string 1 ATZ
Set serial s0 modem init-string 1 "ATZ AT&F"
Important Note:
Use double quotes if more than one word is used in the <init-str>.
See line 2 of example above. This holds true for all the following commands that
need a string as a parameter.
A ’~’ in init string triggers a delay of 1 second.
Default Value
Init-string 1, Init-string 2, Init-string 3, Init-string 4, Init-string 5 are set to 'ATZ'
Success
OK
Error 1. Too few arguments
"Usage: set serial s0/s1 modem init-string <init-num> <init-str>
Type 'set serial s0/s1 modem init-string ?' for more information"
Invalid init-num
"ERROR: init-num range supported : [1-5]"
Command Syntax set serial s1 modem wakeup-init-string <init-num> <init-str>
Description
Configures the modem initialization strings for wakeup-on-call feature. Init-num can
range from 1-5.
Example: Set serial s1 modem wakeup-init-string 1 ATZ
Set serial s0 modem wakeup-init-string 1 "ATZ AT&F"
Important Note:
Use double quotes if more than one word is used in the <init-str>.
See line 2 of example above. This holds true for all the following commands that
need a string as a parameter.
A ’~’ in init string triggers a delay of 1 second.
Default Value
Init-string 1, Init-string 2, Init-string 3, Init-string 4, Init-string 5 are set to NULL
Success
OK
Error 1. Too few arguments
"Usage: set serial s1 modem wakeup-init-string <init-num> <init-str>
Type 'set serial s1 modem wakeup-init-string ?' for more information"
Invalid init-num
"ERROR: init-num range supported : [1-5]"
Command Syntax set serial [s0/s1] modem ok-string <ok-str>
Description
Sets the modem OK string. Triggers for a reboot upon save.
Default Value
OK
Success
OK
Error 1. Too few arguments
"Usage: set serial s0/s1 modem ok-string <ok-str>
Type 'set serial s0/s1 modem ok-string ?' for more information"
Command Syntax set serial [s0/s1] modem ring-string <ring-str>
Description
Sets the modem ring string. Triggers for a reboot upon save.
Default Value
RING
Success
OK
Error 1. Too few arguments
"Usage: set serial s0/s1 modem ring-string <ring-str>
Type 'set serial s0/s1 modem ring-string ?' for more information"
Comentarios a estos manuales