
C613-50186-01 Rev B
Command Reference for AR2050V
392
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
USB C
ELLULAR
M
ODEM
C
OMMANDS
CHAT
-
SCRIPT
chat-script
Overview
Use this command to set a chat-script, instead of the default chat-script, to connect
to a 3G serial cellular network.
Use the
no
variant of this command to set the chat-script back to the default.
Syntax
chat-script <
file-name
>
no chat-script <
file-name
>
Default
The default chat-script is a built in chat-script that in most cases is sufficient for
connecting to a cellular network.
Mode
Interface Configuration (Cellular)
Usage
The chat-script file must have the file extension “.chat”. The chat-script consists of
a sequence of expect-send pairs of strings. The send strings are AT (Hayes)
commands. Any occurrence of the string $APN in the chat-script will be
substituted with the Access Point Name (APN) configured on a cellular interface.
Examples
To use a non-default chat-script, “connect.chat”, use the commands:
awplus#
configure terminal
awplus(config)#
interface cellular0
awplus(config-if)#
#chat-script connect.chat
To use the default chat-script, use the commands:
awplus#
configure terminal
awplus(config)#
interface cellular0
awplus(config-if)#
#no chat-script
Related
Commands
Parameter
Description
<file-name>
The path to the chat-script file (this file has to have a “.chat”
extension).