Chapter 30 WAN and Dial Backup Setup

Please note that the ordering of the sets is significant, i.e., starting from set 1, the ZyWALL will wait until the ‘Expect’ string is matched before it proceeds to set 2, and so on for the rest of the script. When both the ‘Expect’ and the ‘Send’ fields of the current set are empty, the ZyWALL will terminate the script processing and start PPP negotiation. This implies two things: first, the sets must be contiguous; the sets after an empty one are ignored. Second, the last set should match the final message sent by the server. For instance, if the server prints:

login successful.

Starting PPP...

after you enter the password, then you should create a third set to match the final “PPP...” but without a “Send” string. Otherwise, the ZyWALL will start PPP prematurely right after sending your password to the server.

If there are errors in the script and it gets stuck at a set for longer than the “Dial Timeout” in menu 2 (default 60 seconds), the ZyWALL will timeout and drop the line. To debug a script, go to Menu 24.4 to initiate a manual call and watch the trace display to see if the sequence of messages and prompts from the server differs from what you expect.

Figure 343 Menu 11.3.3: Remote Node Script

Menu 11.3.3 - Remote Node Script

 

Active= No

 

Set 1:

Set 5:

Expect=

Expect=

Send=

Send=

Set 2:

Set 6:

Expect=

Expect=

Send=

Send=

Set 3:

 

Expect=

 

Send=

 

Set 4:

 

Expect=

 

Send=

 

Enter here to CONFIRM or ESC to CANCEL:

 

 

 

The following table describes the fields in this menu.

Table 207 Menu 11.3.3: Remote Node Script

FIELD

DESCRIPTION

Active

Press [SPACE BAR] and then [ENTER] to select either Yes to enable the AT strings or

 

No to disable them.

 

 

Set 1-6:

Enter an Expect string to match. After matching the Expect string, the ZyWALL returns

Expect

the string in the Send field.

 

 

Set 1-6:

Enter a string to send out after the Expect string is matched.

Send

 

 

 

 

553

ZyWALL 2WG User’s Guide