Additional Remote Networking
Chat Scripts
5-3
1
Deny all IP traffic matching a particular rule
2
Allow any packet
When this filter list is used, all IP traffic matching the specified rule is discarded. Therefore, some IP packets
are discarded without being compared to the second filter.
To prevent all packet traffic from the IP protocol, use the
Define Site IP Disabled
command instead of a
filter list.
Figure 5-3:
Preventing IP Packet Traffic
Configuring filter lists involves two primary steps: creating the filter list and associating the list with a
particular site. See
Setting Up a Filter List
on page 11-24 for complete configuration instructions.
5.2 Chat Scripts
Chat scripts enable the SCS to communicate with virtually any type of equipment at the remote site. They
are typically configured to send a string of characters, then wait to receive a particular string in return.
For example, the SCS might log into a remote site that has a login program. Using a chat script defined for
the site, the SCS could send carriage returns until the login prompt is returned, send a username, wait for
the password prompt, and send a password.
5.2.1 Creating a Chat Script
Chat scripts are defined one line at a time following a given syntax. A chat script to be used for outgoing
connections from a particular site can be created with the
Define Site Chat
commands. These commands
enable you to do the following: send a particular string, replace, add, or delete existing lines in the script,
expect a particular string, and configure timeout periods.
For example, to configure the script to send or expect strings, use the following command.
Figure 5-4:
Sending and Expecting Strings
Note:
Chat script expect strings are case-sensitive.
5.2.2 Editing and Adding Entries
To replace, delete, or insert entries, specify the line numbers. Figure 5-5 displays a few examples.
Figure 5-5:
Editing Script Entries
Local>> DEFINE SITE irvine IP DISABLED
Local>> DEFINE SITE irvine CHAT SEND "hello?"
Local>> DEFINE SITE irvine CHAT EXPECT "login:"
Local>> DEFINE SITE irvine CHAT REPLACE 1 EXPECT "login:"
Local>> DEFINE SITE irvine CHAT DELETE 4
Local>> DEFINE SITE irvine CHAT AFTER 3 EXPECT "login:"
Local>> DEFINE SITE irvine CHAT BEFORE 3 EXPECT "login:"
Summary of Contents for SCS
Page 14: ...xii ...
Page 171: ...Modem Sharing Examples 10 6 ...
Page 314: ...Command Reference Service Commands 12 110 ...
Page 403: ...Show 802 11 Errors Rightmost Number B 5 00000002 Internal error 00000001 Internal error ...
Page 424: ...Index 13 ...