User Manual
Command Reference Site Commands
12-138
12.10.4 Define Site Chat
Configures a chat script to automate the login sequence when connecting to a remote site. Chat scripts are
a set of commands that send data to the remote site and wait for certain replies after the modems (if any)
have connected. Based on the replies, other commands are executed.
Restrictions Requires privileged user status.
Parameters SiteName
Enter a site name of up to 12 characters.
After
Inserts a line after another line.
Before
Inserts a line before another line.
Replace
Replaces a line with another line, specified with the LineNum parameter.
The default is to append information to the end of the script.
Timeout
Sets the time to wait before commands, or the number of times to wait for input
on a command before giving up. Must be used in conjunction with the seconds
parameter.
seconds
A number of seconds or tries between zero and 65500.
Expect
Looks for a string before executing the next line of the script.
DEFINE SITE SiteName CHAT
AFTER LineNum
BEFORE LineNum
REPLACE LineNum
TIMEOUT seconds
EXPECT string
FAIL
SEND
string
DELETE LineNum