Editing Login Script - ZyXEL Communications Prestige 653HWI series User Manual

Adsl security gateway with ieee802.11g and isdn backup
Hide thumbs Also See for Prestige 653HWI series:
Table of Contents

Advertisement

Prestige 653HWI Series User's Guide
RIP
Press [SPACE BAR] and then [ENTER] to select the RIP Direction.
Direction
Options are Both, In Only, Out Only or None.
Version
Press [SPACE BAR] and then [ENTER] to select the RIP version.
Options are RIP-1, RIP-2B or RIP-2M.
IGMP-v1 sets IGMP to version 1, IGMP-v2 sets IGMP to version 2 and
Multicast
None disables IGMP.
IP Policies
You can apply up to four IP Policy sets (from 12) by typing in their
numbers separated by commas. Configure the filter sets in menu 25 first
(see the IP Policy Routing chapter) and then apply them here.
When you have completed this menu, press [ENTER] at the prompt "Press ENTER to confirm or ESC to
cancel" to save your configuration or press [ESC] to cancel and go back to the previous screen.

25.10 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 'Send' string. Please note
that both variables must been entered exactly as shown. No other characters may appear before or after,
either, i.e., they must be used alone in response to login and password prompts.
Please note that the ordering of the sets is significant, i.e., starting from set 1, the Prestige 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
25-16
Table 25-7 Menu 11.2 Remote Node PPP Options
None
RIP-1
None
3, 4, 5, 6
Menu 2 WAN Backup Setup

Advertisement

Table of Contents
loading

Table of Contents