Editing Login Script - Nortel Contivity 221 User Manual

Vpn switch
Hide thumbs Also See for Contivity 221:
Table of Contents

Advertisement

20-12 WAN and Dial Backup Setup
Table 20-7 Remote Node Network Layer Options Menu Fields
FIELD
Multicast
IGMP (Internet Group Multicast Protocol) is a network-layer protocol
used to establish membership in a Multicast group. The Contivity 221
supports both IGMP version 1 (IGMP-v1) and version 2 (IGMP-v2).
Press the [SPACE BAR] to enable IP Multicasting or select None to
disable it. See the LAN Setup chapter for more information on this
feature.
Once you have completed filling in Menu 11.3 Remote Node Network Layer Options, press [ENTER]
at the message "Press ENTER to Confirm..." to save your configuration and return to menu 11, or press
[ESC] at any time to cancel.

Editing Login Script

20.9
For some remote gateways, text login is required before PPP negotiation is started. The Contivity
221 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 Contivity 221 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 Contivity 221 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 Contivity 221 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 Contivity 221
will terminate the script processing and start PPP negotiation. This implies two things: first, the sets
317517-A Rev 00
DESCRIPTION
EXAMPLE
None
(default)

Advertisement

Table of Contents
loading

Table of Contents