beautypg.com

ZyXEL Communications PRESTIGE 128MH User Manual

Page 86

background image

Prestige 128MH PSTN Router/Hub

4-14

Remote Node Configuration

Table 4-2.

Remote Node PPP Options Menu Fields (continued)

Field

Description

Option

Add Persist

This parameter specifies the number of seconds
where traffic is above the adding threshold before
the Prestige will bring up the second link.

Default = 5 sec

Subtract Persist

This parameter specifies the number of seconds
where traffic is below the subtraction threshold
before your Prestige drops the second link.

Default = 5 sec

Once you have completed filling in Menu 11.2 - Remote Node PPP Options, press [Enter] at the
message [Press ENTER to Confirm…] to save your configuration, or press [Esc] at any time to cancel.

4.1.6 Editing Login Script

For some remote gateways, text login is required before PPP negotiation is started. The Prestige
provides a script facility for this purpose. The script has six programmable sets; each set is
composed of an ‘Expect’ string and a ‘Send’ string. After matching a message from the server to
the ‘Expect’ field, the Prestige returns the set’s ‘Send’ string to the server.

For instance, a typical login sequence starts with the server printing a banner, a login prompt for
you to enter the user name and a password prompt to enter the password:

Welcome to Acme, Inc.

Login: myLogin

Password:

To handle the first prompt, you specify “

ogin:

” as the ‘Expect’ string and “

myLogin

” as the

‘Send’ string in set 1. The reason for leaving out the leading “

L

” is to avoid having to know

exactly whether it is upper or lower case. Similarly, you specify “

word:

” as the ‘Expect’ string

and your password as the ‘Send’ string for the second prompt in set 2.

You can use two variables,

$USERNAME

and

$PASSWORD

(all UPPER case), to represent the actual

user name and password in the script, so they will not show in the clear. They are replaced with
the outgoing login name and password in the remote node when the Prestige sees them in a